WO2017185653A1 - 解决同频干扰的方法和装置 - Google Patents
解决同频干扰的方法和装置 Download PDFInfo
- Publication number
- WO2017185653A1 WO2017185653A1 PCT/CN2016/101633 CN2016101633W WO2017185653A1 WO 2017185653 A1 WO2017185653 A1 WO 2017185653A1 CN 2016101633 W CN2016101633 W CN 2016101633W WO 2017185653 A1 WO2017185653 A1 WO 2017185653A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet
- communication module
- transmission
- external device
- module
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/50—Circuits using different frequencies for the two directions of communication
- H04B1/52—Hybrid arrangements, i.e. arrangements for transition from single-path two-direction transmission to single-direction transmission on each of two paths or vice versa
- H04B1/525—Hybrid arrangements, i.e. arrangements for transition from single-path two-direction transmission to single-direction transmission on each of two paths or vice versa with means for reducing leakage of transmitter signal into the receiver
Definitions
- the present application relates to the field of information technology, for example, to a method and apparatus for solving co-channel interference.
- the implementation of communication between a terminal device and a plurality of external devices supporting different communication protocols generally includes setting at least two communication modules in the terminal device, and each of the supported communication protocols is different, so that each communication module can be conveniently
- the external device that is connected with the own communication protocol communicates, thereby implementing communication of one terminal device to a plurality of external devices supporting different communication protocols.
- a typical application scenario is, for example, a smart gateway device that uniformly monitors multiple smart devices in a set area that support different communication protocols.
- the communication protocol used generally includes: a Wi-Fi communication protocol, a ZigBee communication protocol, a Z-Wave communication protocol, and a Bluetooth communication protocol
- communication frequencies of at least two communication modules in the terminal device are the same.
- the inventors have found that at least the following problems exist in the related art: taking two communication modules (the first communication module and the second communication module respectively) in the terminal device as an example, because the first communication module and the first The communication frequency band of the two communication modules is the same, and the communication between the first communication module in the terminal device and the connected first external device is between the second communication module in the terminal device and the connected second external device.
- the communication generates co-channel interference.
- there is no technology for co-channel interference when the two communication modules having the same communication band in the terminal device communicate with each other at the same time.
- the embodiment of the invention provides a method and a device for solving the same-frequency interference, so as to solve the problem in the terminal device.
- Co-channel interference when the two communication modules with the same frequency band communicate simultaneously with the external devices connected to them.
- an embodiment of the present invention provides a method for solving co-channel interference, including:
- the suspension of the transmission of the first packet may include:
- recovering the transmission of the first packet may include:
- the monitoring of the second communication module in the terminal device and the connection of the second external device to start transmitting the second packet may include:
- the first communication module may include: a Wi-Fi communication module;
- the second communication module may include: a ZigBee communication module, a Z-Wave communication module, or a Bluetooth communication module;
- the communication frequency bands of the first communication module and the second communication module are both 2.4 GHz.
- the terminal device may include: an intelligent gateway device;
- the first packet carries the monitoring information transmitted by the first external device to the first communications module, or carries a control command that is sent by the first communications module to the first external device;
- the second packet carries the monitoring information transmitted by the second external device to the second communication module, or carries the control command that the second communication module transmits to the second external device.
- an embodiment of the present invention provides an apparatus for solving co-channel interference, including:
- the packet transmission suspension module is configured to monitor the second communication module in the terminal device during the process of transmitting the first packet by the first communication module in the terminal device and the connected first external device When the connected second external device starts to transmit the second packet, the transmission of the first packet is suspended;
- the packet transmission recovery module is configured to resume transmission of the first packet after monitoring that the transmission of the second packet is completed.
- the packet transmission suspension module may be configured to monitor the terminal device during the process of transmitting the first packet by the first communication module in the terminal device and the connected first external device.
- the transmission gap corresponding to the first packet is increased to a set value, and the first packet is suspended.
- the packet transmission recovery module may be configured to: after monitoring the completion of the transmission of the second packet, restore the transmission gap corresponding to the first packet from the set value to the original transmission a gap to recover the transmission of the first packet.
- the packet transmission suspension module can be configured to:
- the monitoring of the transmission of the first packet is suspended when the second external device detects that the second communication module starts transmitting the second packet.
- the first communication module may include: a Wi-Fi communication module;
- the second communication module may include: a ZigBee communication module, a Z-Wave communication module, or a Bluetooth communication module;
- the communication frequency bands of the first communication module and the second communication module are both 2.4 GHz.
- the terminal device may include: an intelligent gateway device;
- the first packet carries the monitoring information transmitted by the first external device to the first communications module, or carries a control command that is sent by the first communications module to the first external device;
- the second packet carries the monitoring information transmitted by the second external device to the second communication module, or carries the control command that the second communication module transmits to the second external device.
- an embodiment of the present invention provides a non-transitory computer readable storage medium storing computer executable instructions, when the computer executable instructions are executed by an electronic device, causing the electronic device to perform the foregoing solution Frequency interference method.
- an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instructions are executed by the computer, the computer is caused to perform the above-described method of solving co-channel interference.
- an embodiment of the present invention provides an electronic device, including at least one processor and a memory communicatively coupled to the at least one processor, the memory configured to store executable by the at least one processor An instruction that, when executed by the at least one processor, causes the at least one processor to perform the method of resolving co-channel interference as described above.
- the embodiment of the invention provides a method and a device for solving the same-frequency interference, which are used for solving the problem of co-channel interference when two communication modules with the same communication frequency band in the terminal device communicate with each other at the same time.
- Monitoring the second communication module in the terminal device and the connected second device in a process in which the first communication module in the terminal device and the connected first external device transmit the first packet with a large amount of data When the external device starts to transmit the second packet with a smaller amount of data, the second packet with a smaller amount of data is given a higher transmission priority, and after the transmission is completed, the transmission of the larger amount of data is continued.
- a message packet Since the data volume of the second packet is small, the corresponding transmission time is very short. Therefore, the packet is not lost because the communication frequency band of the first communication module and the second communication module are the same, so that the terminal device can be the first The external device and the second external device communicate effectively.
- FIG. 1 is a flowchart of a method for solving co-channel interference according to Embodiment 1 of the present invention
- FIG. 2 is a schematic structural diagram of an intelligent gateway device applicable to an example of a method according to Embodiment 1 of the present invention
- FIG. 3 is a schematic diagram of an inbound communication module and a smart device in a connected setting area in the smart gateway device shown in FIG. 2;
- FIG. 4 is a schematic structural diagram of an apparatus for solving co-channel interference according to Embodiment 2 of the present invention.
- FIG. 5 is a schematic diagram of the hardware structure of an electronic device for solving co-channel interference according to the present invention.
- FIG. 1 is a flowchart of a method for solving co-channel interference according to Embodiment 1 of the present invention.
- the method of the embodiments of the present invention may be performed by a processing device that solves co-channel interference implemented in hardware and/or software, and the implementation device is typically configured in the terminal device together with the first communication module and the second communication module.
- the method includes:
- the first communication module and the second communication module have the same communication frequency band and different communication protocols.
- the data packet of the first packet transmitted between the first communication module and the first external device is greater than the second packet transmitted between the second communication module and the second external device. The amount of data.
- the first communication module may include: a Wi-Fi communication module, the corresponding communication protocol is a Wi-Fi communication protocol, and the connected first external device is a device supporting a Wi-Fi communication protocol, for example, a smart camera, etc. Big data throughput devices, etc.
- the second communication module may include: a ZigBee communication module, a Z-Wave communication module, or a Bluetooth communication module, and the corresponding communication protocols are respectively a ZigBee communication protocol, a Z-Wave communication protocol, or a Bluetooth communication protocol, and the connected second
- the external devices are devices that support the ZigBee communication protocol, the Z-Wave communication protocol, or the Bluetooth communication protocol, for example, a low-power smart sensing device or a controlled device, and the data throughput is small.
- the communication frequency bands of the first communication module and the second communication module are both 2.4 GHz.
- Suspending the transmission of the first packet may include:
- recovering the transmission of the first packet may include:
- the first packet includes 10 packets
- the original transmission gap of each packet is t1 (that is, the first packet is transmitted, the interval t1 is transmitted, the second packet is transmitted, and the interval is separated.
- T1 transmission 3 packets, such a loop
- the second packet includes 3 packets
- the original transmission gap of each packet is t2, wherein the data volume of the first packet is greater than the data volume of the second packet .
- the first The transmission gap t1 corresponding to the packet is increased to the set value t.
- the first packet in the second packet is transmitted, and the second packet in the second packet is transmitted at interval t2.
- Transmitting the third packet in the second packet by the interval t2 and after detecting the completion of the transmission of the second packet recovering the transmission gap corresponding to the first packet from the set value t Up to the original transmission gap t1, the sixth message in the first packet is transmitted, and the seventh message is transmitted at interval t1, and the loop is continued until the transmission of the 10th message is completed.
- the technical solution of the embodiment is used to solve the problem of co-channel interference when two communication modules with the same communication frequency band in the terminal device communicate with each other at the same time.
- Monitoring the second communication module in the terminal device and the connected second device in a process in which the first communication module in the terminal device and the connected first external device transmit the first packet with a large amount of data When the external device starts to transmit the second packet with a smaller amount of data, the second packet with a smaller amount of data is given a higher transmission priority, and after the transmission is completed, the transmission of the larger amount of data is continued.
- a message packet Since the data volume of the second packet is small, the corresponding transmission time is very short. Therefore, the packet is not lost because the communication frequency band of the first communication module and the second communication module are the same, so that the terminal device can be the first The external device and the second external device communicate effectively.
- the monitoring that the second communication module in the terminal device and the connected second external device start to transmit the second packet may include: polling the second external device to monitor the The second external device starts transmitting the second packet to the second communication module.
- the method of the embodiment is also applicable to solving the interference problem when two communication modules with similar communication bands in the terminal device communicate with each other at the same time.
- the method of this embodiment is described by taking the terminal device as an intelligent gateway device (refer to FIG. 2) as an example.
- the first packet carries the monitoring information transmitted by the first external device to the first communications module, or carries the first communications module to the first external device.
- Control instruction ;
- the second packet carries the monitoring information transmitted by the second external device to the second communication module, or carries the control command that the second communication module transmits to the second external device.
- the following describes the smart gateway device.
- the smart gateway device is typically configured in an area to which multiple smart devices that need to be uniformly monitored belong.
- a home contains multiple smart devices that need to be uniformly monitored, and the smart gateway device is configured in the home.
- the intelligent gateway includes an inbound communication module 11, a central processing unit 12, an external communication module 13, and a power source (not shown).
- the power source is separately connected to the inbound communication module 11, the outbound communication module 13, and the central processing unit 12, and is configured to supply power.
- the central processing unit 12 is connected to the inbound communication module 11 and the external communication module 13, respectively.
- the intra-communication module 11 is configured to connect the smart devices in the set area (for example, each smart home device in a home) to obtain the monitoring information collected by the smart device, as the uplink information, based on the first communication.
- the protocol encapsulates the uplink information, obtains an uplink packet, and transmits the uplink packet to the central processing unit 12; the central processing unit 12 is configured to parse the uplink packet based on the first communication protocol to obtain an uplink packet.
- the plaintext monitoring information is transmitted to the external communication module 13; the external communication module 13 is configured to connect to the remote control device to encapsulate the uplink plaintext monitoring information and transmit to the remote control device based on the second communication protocol. .
- the external communication module 13 is further configured to acquire the information delivered by the remote control device. Controlling, by the control device, the control instruction of the smart device, as downlink information, encapsulating the downlink information according to the second communication protocol, obtaining a downlink packet, and transmitting the downlink packet to the central processing unit 12; the central processing unit 12 And configured to parse the downlink message according to the second communication protocol, to obtain a downlink plaintext control instruction, and transmit the instruction to the intra-communication module 11; the intra-communication module 11 is further configured to And outputting the downlink plaintext control instruction to the smart device according to the first communication protocol.
- the intelligent gateway device implemented by the embodiment implements uplink monitoring and downlink control of the smart device in the set area by the remote control device, and the role of the central processor in the smart gateway device is to perform the internal communication module.
- the intra-communication module 11 may include at least two sub-modules: a Wi-Fi sub-module, a ZigBee sub-module, a Z-Wave sub-module, and a Bluetooth sub-module; wherein the Wi-Fi sub-module is configured to be connected a high-power smart device in a fixed area; a ZigBee sub-module, a Z-Wave sub-module, and a Bluetooth sub-module, each configured to connect to a low-power smart device in the set area;
- the first communication protocol includes at least two items: a Wi-Fi communication protocol, a ZigBee communication protocol, a Z-Wave communication protocol, and a Bluetooth communication protocol.
- the advantages of this setting are: improving the versatility and compatibility of the smart gateway device, establishing a connection with various smart devices in the set area, and realizing the uplink control device to uplink monitoring of various smart devices in the set area. And down control.
- the external communication module 13 may include: an Ethernet submodule.
- the outbound communication module 13 may include: a 3G/4G submodule.
- the outbound communication module 13 may include: a 3G/4G submodule (see FIG. 2) in addition to the Ethernet submodule. Among them, the Ethernet submodule is used as the default external communication module, 3G/4G submodule The block acts as a backup external communication module.
- the advantage of this setting is that the reliability of the uplink monitoring information and the downlink control command between the intelligent gateway device and the remote control device is improved.
- the high-power smart device may include: a smart camera; the low-power smart device may include at least one of the following: a door and window sensor, a motion sensor, a smoke sensor, a smart meter, a smart thermostat, a smart socket, Smart lights and smart door locks.
- This example provides a user with a comprehensive interworking and intelligent response intelligent gateway device.
- the inbound communication module in the smart gateway device interaction with the uplink monitoring information of the smart device in the set area can be realized, and Through the central processor for protocol conversion processing, and then transmitted to the remote control device through the external communication module, the remote control device realizes uplink monitoring of multiple intelligent devices in the set area; on the other hand, obtains remote control through the external communication module.
- the uplink monitoring information may be a monitoring image of the corresponding imaging area;
- the control commands issued by the remote control device for controlling the smart camera may be: a power-on control command, a shutdown control command, and a rotation of the smart camera.
- the uplink monitoring information may be its own reading;
- the control command issued by the remote control device for controlling the smart meter may be: a power-on control command, a shutdown control command, and a control command for reading the time interval of the reading. .
- the uplink monitoring information may be its own reading;
- the control command issued by the remote control device for controlling the intelligent temperature controller may be: a power-on control command, a shutdown control command, And the desired temperature set by the user is used as a temperature control command or the like.
- the uplink monitoring information may be working status information (for example, whether it is turned on or being charged, etc.); the control command issued by the remote control device for controlling the smart socket may be: a power-on control command, a shutdown control command And the charging time set by the user is used as a charging control command or the like.
- the uplink monitoring information may be working status information (for example, whether it is turned on or not in the energy saving mode, etc.); the control command issued by the remote control device for controlling the smart light may be: power on control command, shutdown Control commands, control commands for entering night work mode or energy saving work mode, etc.
- the uplink monitoring information may be the state information of whether it is open or closed, and the unlocking information input by the user;
- the control command issued by the remote control device for controlling the smart door lock may be: boot control Commands, shutdown control commands, and control commands for entering the outbound intrusion mode or the violent unlocking alarm mode.
- the uplink monitoring information may be the sensing signal collected by itself;
- the control command issued by the remote control device for controlling the door and window sensor may be: a power-on control command, a shutdown control command, and an outgoing anti-intrusion alarm.
- the working mode or the control command of the doorbell prompting the working mode at home.
- the uplink monitoring information may be the sensing signal collected by itself;
- the control command issued by the remote control device for controlling the motion sensor may be: a power-on control command, and a shutdown control command.
- the uplink monitoring information may be the smoke concentration collected by itself;
- the control command issued by the remote control device for controlling the smoke sensor may be: a power-on control command, and a shutdown control command.
- FIG. 3 is a schematic diagram of the inbound communication module and the smart device in the connected setting area in the smart gateway device shown in FIG. 2 .
- the setting area is a home
- the internal communication module includes: a Wi-Fi sub-module, a ZigBee sub-module, a Z-Wave sub-module, and a Bluetooth sub-module; wherein the Wi-Fi sub-module is configured to connect to the high in the home
- the smart device for power consumption can be a smart camera; the ZigBee sub-module, the Z-Wave sub-module, and the Bluetooth sub-module are all configured to connect to low-power smart devices in the home.
- the ZigBee sub-module is configured to connect to the smart meter, smart thermostat, smart socket and smart light in the home; the Z-Wave sub-module is configured to connect to the smart door lock in the home; the Bluetooth sub-module is configured to connect to the Door and window sensors, motion sensors and smoke sensors in the home.
- the Wi-Fi sub-module is used as the first communication module in the terminal device (ie, the smart gateway device), and the first external device connected is a smart camera, and the ZigBee sub-module, the Z-Wave sub-module, or the Bluetooth sub-module is used as the terminal.
- the second communication module in the device is described by taking the Bluetooth submodule as the second communication module and the connected smoke sensor as the second external device as an example.
- the Wi-Fi sub-module and the Bluetooth sub-module have the same communication frequency band, both of which are 2.4 GHz, and the communication protocols are different.
- the amount of data of the first packet transmitted between the smart camera and the Wi-Fi sub-module is greater than the amount of data of the second packet transmitted between the Bluetooth sub-module and the smoke sensor.
- the method for solving the same-frequency interference when the two communication modules of the Wi-Fi sub-module and the Bluetooth sub-module having the same communication frequency band in the terminal device (ie, the smart gateway device) are simultaneously communicating with the external devices connected thereto may include :
- the Wi-Fi sub-module in the smart gateway device and the connected smart camera transmit the first packet (the smart camera transmits the first message carrying the monitoring information of the surveillance image of the imaging area to the Wi-Fi sub-module)
- the Bluetooth sub-module in the smart gateway device and the connected smoke sensor are detected to start transmitting the second packet (the smoke sensor transmits the monitoring information carrying the collected smoke concentration to the Bluetooth sub-module).
- the second packet is suspended, and the transmission of the first packet is suspended.
- the method example solves the problem of co-channel interference when two communication modules of the Wi-Fi sub-module and the Bluetooth sub-module having the same communication frequency band in the intelligent gateway device communicate with each other at the same time, and the amount of data is small.
- the second packet gives a higher transmission priority, and after the transmission is completed, continues to transmit the first packet with a larger amount of data. Since the data volume of the second packet is small, the corresponding transmission time is very short, so the packet is not lost, so that the smart gateway device can effectively communicate with the two external devices, the smart camera and the smoke sensor.
- FIG. 4 is a schematic structural diagram of an apparatus for solving co-channel interference according to Embodiment 2 of the present invention.
- the apparatus includes a packet transmission suspension module 210 and a packet transmission recovery module 220.
- the packet transmission suspension module 210 is configured to monitor the second communication in the terminal device during the process of transmitting the first packet by the first communication module in the terminal device and the connected first external device.
- the module and the connected second external device start to transmit the second packet, and suspend transmission of the first packet;
- the packet transmission recovery module 220 is configured to monitor the second packet transmission After completion, the transmission of the first packet is resumed.
- the packet transmission suspension module 210 may be configured to monitor the terminal device during the process of transmitting the first packet by the first communication module in the terminal device and the connected first external device. When the second communication module and the connected second external device start to transmit the second packet, increase the transmission gap corresponding to the first packet to a set value, to pause the first packet. Packet transmission
- the packet transmission recovery module 220 can be configured to: after monitoring the completion of the transmission of the second packet, restore the transmission gap corresponding to the first packet from the set value to the original Transmitting a gap to recover the transmission of the first packet.
- the packet transmission suspension module 210 can be configured to:
- the monitoring of the transmission of the first packet is suspended when the second external device detects that the second communication module starts transmitting the second packet.
- the first communication module may include: a Wi-Fi communication module;
- the second communication module may include: a ZigBee communication module, a Z-Wave communication module, or a Bluetooth communication module;
- the communication frequency bands of the first communication module and the second communication module are both 2.4 GHz.
- the terminal device may include: an intelligent gateway device;
- the first packet carries the monitoring information transmitted by the first external device to the first communications module, or carries a control command that is sent by the first communications module to the first external device;
- the second packet carries the monitoring information transmitted by the second external device to the second communication module, or carries the control command that the second communication module transmits to the second external device.
- the device for solving the same-frequency interference provided by the embodiment of the present invention can implement the method for solving the same-frequency interference provided by the embodiment of the present invention, and has the functional modules and the beneficial effects corresponding to the execution method.
- the embodiment of the present application provides a non-volatile computer storage medium, which stores computer-executable instructions for performing the method for solving the same-frequency interference in any of the embodiments of the present application.
- FIG. 5 is a schematic diagram of a hardware structure of an electronic device for solving co-channel interference according to the present invention. As shown in FIG. 5, the electronic device includes:
- At least one processor 510 and memory 520, one processor 510 is taken as an example in FIG.
- the apparatus for performing the method of solving the same frequency interference may further include: an input device 530 and an output device 540.
- the processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- the memory 520 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer-executable program, and a module, as in the method for solving the same-frequency interference in the embodiment of the present application.
- Program instructions/modules eg, the modules shown in Figure 4
- the processor 510 executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory 520, that is, the method for solving the same-frequency interference of the foregoing method embodiments.
- the memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the same-frequency interference device, and the like. Further, the memory 520 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 520 can optionally include memory remotely located relative to processor 510 that can be connected to resolve interfering interference devices over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Input device 530 can receive input digital or character information and generate key signal inputs related to user settings and function control for resolving co-channel interference devices.
- the output device 540 can include a display device such as a display screen.
- the at least one module is stored in the memory 520, and when executed by the at least one processor 510, performs the same-frequency interference cancellation method in any of the above method embodiments.
- the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
- Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
- Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
- Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
- Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
- Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
- the server consists of a processor, a hard disk, a memory, a system bus, etc.
- the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
- the present application can solve the same-frequency interference when two communication modules with the same communication frequency band in the terminal device communicate with each other at the same time.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种解决同频干扰的方法和装置,属于信息技术领域。该方法包括:在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停第一报文包的传输;在监测到第二报文包传输完成之后,恢复第一报文包的传输。通过对数据量较小的第二报文包给予较高的传输优先级,在其传输完成之后,再继续传输数据量较大的第一报文包,并不会因为第一通信模块与第二通信模块的通信频段相同引起同频干扰而导致丢包,使得终端设备可以与第一外部设备和第二外部设备有效通信。
Description
本申请要求在2016年04月26日提交中国专利局、申请号为2016102659188、公开名称为“解决同频干扰的方法和装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本申请涉及信息技术领域,例如涉及一种解决同频干扰的方法和装置。
相关技术中,一个终端设备与支持不同的通信协议的多个外部设备进行通信的实现,一般是在终端设备内设置至少两个通信模块,各自支持的通信协议不同,这样,各通信模块可以方便的连接与自身通信协议一致的外部设备,进行通信,从而实现一个终端设备对支持不同的通信协议的多个外部设备的通信。典型的应用场景如,一个智能网关设备对设定区域内的支持不同的通信协议的多个智能设备的统一监控。
由于所采用的通信协议一般包括:Wi-Fi通信协议、ZigBee通信协议、Z-Wave通信协议、以及蓝牙通信协议,因此,终端设备内的至少两个通信模块的通信频段相同。在实现本发明过程中,发明人发现相关技术中至少存在如下问题:以终端设备内包括两个通信模块(分别为第一通信模块和第二通信模块)为例,由于第一通信模块和第二通信模块的通信频段相同,导致终端设备内的第一通信模块与所连接的第一外部设备之间的通信,会与终端设备内的第二通信模块与所连接的第二外部设备之间的通信产生同频干扰,然而,并没有解决终端设备内通信频段相同的两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰的技术。
发明内容
本发明实施例提供一种解决同频干扰的方法和装置,以解决终端设备内通
信频段相同的两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰。
第一方面,本发明实施例提供了一种解决同频干扰的方法,包括:
在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输;
在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
在上述方案中,暂停所述第一报文包的传输,可包括:
将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;
相应的,恢复所述第一报文包的传输,可包括:
将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
在上述方案中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包,可包括:
轮询所述第二外部设备,以监测到所述第二外部设备向所述第二通信模块开始传输第二报文包。
在上述方案中,所述第一通信模块可包括:Wi-Fi通信模块;
所述第二通信模块可包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块;
相应的,所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
在上述方案中,所述终端设备可包括:智能网关设备;
所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;
所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
第二方面,本发明实施例提供了一种解决同频干扰的装置,包括:
报文包传输暂停模块,被配置为在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输;
报文包传输恢复模块,被配置为在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
在上述方案中,报文包传输暂停模块可被配置为,在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;
相应的,报文包传输恢复模块可被配置为,在监测到所述第二报文包传输完成之后,将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
在上述方案中,报文包传输暂停模块可被配置为:
在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,轮询所述第二外部设备,以监测所述第二外部设备向所述第二通信模块开始传输第二报文包;
在监测到所述第二外部设备向所述第二通信模块开始传输第二报文包时,暂停所述第一报文包的传输。
在上述方案中,所述第一通信模块可包括:Wi-Fi通信模块;
所述第二通信模块可包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块;
相应的,所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
在上述方案中,所述终端设备可包括:智能网关设备;
所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;
所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
第三方面,本发明实施例提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被电子设备执行时,使得所述电子设备执行上述的解决同频干扰的方法。
第四方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述的解决同频干扰的方法。
第五方面,本发明实施例提供了一种电子设备,包括至少一个处理器和与所述至少一个处理器通信连接的存储器,所述存储器被配置为存储可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行时,使所述至少一个处理器执行上述的解决同频干扰的方法。
本发明实施例提供一种解决同频干扰的方法和装置,用于解决在终端设备内通信频段相同的两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰问题。在终端设备内的第一通信模块与所连接的第一外部设备传输数据量较大的第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输数据量较小的第二报文包时,对数据量较小的第二报文包给予较高的传输优先级,在其传输完成之后,再继续传输数据量较大的第一报文包。由于第二报文包的数据量较小,对应的传输时间非常短,因此,并不会因为第一通信模块与第二通信模块的通信频段相同而导致丢包,使得终端设备可以与第一外部设备和第二外部设备有效通信。
附图概述
至少一个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本发明实施例一提供的一种解决同频干扰的方法的流程图;
图2为本发明实施例一提供的方法实例中适用的一种智能网关设备的结构示意图;
图3为图2所示的智能网关设备中的对内通信模块与所连接的设定区域内的智能设备的示意图;
图4为本发明实施例二提供的一种解决同频干扰的装置的结构示意图;
图5为本发明的解决同频干扰的电子设备的硬件结构示意图。
为使本发明的技术方案和优点更加清楚,下面将结合附图对本发明实施例中的技术方案进行详细描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。可以理解的是,此处所描述的实施例仅用于解释本发明,而非对本发明的限定,基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。
实施例一
请参阅图1,为本发明实施例一提供的一种解决同频干扰的方法的流程图。本发明实施例的方法可以由以硬件和/或软件实现的解决同频干扰的处理装置来执行,该实现装置典型的是与第一通信模块和第二通信模块一起配置于终端设备中。
该方法包括:
110、在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输。
120、在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
其中,所述第一通信模块和所述第二通信模块的通信频段相同,通信协议不同。
其中,所述第一通信模块与所述第一外部设备之间传输的第一报文包的数据量大于所述第二通信模块与所述第二外部设备之间传输的第二报文包的数据量。
所述第一通信模块可包括:Wi-Fi通信模块,对应的通信协议为Wi-Fi通信协议,所连接的第一外部设备为支持Wi-Fi通信协议的设备,例如,智能摄像机等需要较大数据吞吐量的设备等。
所述第二通信模块可包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块,对应的通信协议分别为ZigBee通信协议、Z-Wave通信协议、或蓝牙通信协议,所连接的第二外部设备分别为支持ZigBee通信协议、Z-Wave通信协议、或蓝牙通信协议的设备,例如,低功耗的智能传感设备或受控设备等,数据吞吐量较小。
相应的,所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
暂停所述第一报文包的传输,可包括:
将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;
相应的,恢复所述第一报文包的传输,可包括:
将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
示例性的,假设第一报文包中包括10个报文,每个报文的原始传输间隙为t1(即传输第1个报文,间隔时间t1,传输第2个报文,再间隔时间t1,传输第
3个报文,如此循环),第二报文包包括3个报文,每个报文的原始传输间隙为t2,其中,第一报文包的数据量大于第二报文包的数据量。
假设在传输完第一报文包中的第5个报文之后,监测到终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,将所述第一报文包对应的传输间隙t1增大至设定值t,此时,传输第二报文包中的第1个报文,间隔t2,传输第二报文包中的第2个报文,再间隔t2,传输第二报文包中的第3个报文,在监测到所述第二报文包传输完成之后,将第一报文包对应的传输间隙从所述设定值t恢复至原始传输间隙t1,接着传输第一报文包中的第6个报文,间隔时间t1,传输第7个报文,如此循环,一直到第10个报文传输完成。
本实施例的技术方案,用于解决在终端设备内通信频段相同的两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰问题。在终端设备内的第一通信模块与所连接的第一外部设备传输数据量较大的第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输数据量较小的第二报文包时,对数据量较小的第二报文包给予较高的传输优先级,在其传输完成之后,再继续传输数据量较大的第一报文包。由于第二报文包的数据量较小,对应的传输时间非常短,因此,并不会因为第一通信模块与第二通信模块的通信频段相同而导致丢包,使得终端设备可以与第一外部设备和第二外部设备有效通信。
在上述方案中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包,可以包括:轮询所述第二外部设备,以监测到所述第二外部设备向所述第二通信模块开始传输第二报文包。
本实施例的方法同样适用于解决终端设备内通信频段相近的两个通信模块在与各自连接的外部设备同时进行通信时的干扰问题。
实例
以终端设备为智能网关设备(请参阅图2)为例对本实施例的方法进行说明。
本实例中,所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;
所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
下面对智能网关设备进行介绍。
请参阅图2,该智能网关设备典型的是配置于需要进行统一监控的多个智能设备所属的区域中。例如,一个家庭内包含多个需要进行统一监控的智能设备,该智能网关设备配置于该家庭中。
该智能网关包括:对内通信模块11、中央处理器12、对外通信模块13和电源(图未示)。电源与所述对内通信模块11、所述对外通信模块13和所述中央处理器12分别连接,被配置为供电。中央处理器12与对内通信模块11和对外通信模块13分别连接。
其中,对内通信模块11被配置为连接设定区域内的智能设备(例如,一个家庭内的各智能家居设备),以获取所述智能设备采集的监控信息,作为上行信息,基于第一通信协议,对所述上行信息进行封装,得到上行报文,并传输至中央处理器12;中央处理器12被配置为基于所述第一通信协议,对所述上行报文进行解析,得到上行的明文监控信息,并传输至对外通信模块13;对外通信模块13被配置为连接远程控制设备,以基于第二通信协议,对所述上行的明文监控信息进行封装,并传输至所述远程控制设备。
其中,所述对外通信模块13还被配置为获取所述远程控制设备下发的用于
控制所述智能设备的控制指令,作为下行信息,基于所述第二通信协议,对所述下行信息进行封装,得到下行报文,并传输至所述中央处理器12;所述中央处理器12还被配置为基于所述第二通信协议,对所述下行报文进行解析,得到下行的明文控制指令,并传输至所述对内通信模块11;所述对内通信模块11还被配置为基于所述第一通信协议,对所述下行的明文控制指令进行封装,并传输至所述智能设备。
简言之,通过本实施例提供的智能网关设备,实现了远程控制设备对设定区域内的智能设备的上行监控以及下行控制,智能网关设备中中央处理器的作用在于进行对内通信模块所对应的第一通信协议和对外通信模块所对应的第二通信协议之间的转换。
所述对内通信模块11可包括下述至少两个子模块:Wi-Fi子模块、ZigBee子模块、Z-Wave子模块、以及蓝牙子模块;其中,Wi-Fi子模块,被配置为连接设定区域内的高功耗的智能设备;ZigBee子模块、Z-Wave子模块、以及蓝牙子模块,均被配置为连接所述设定区域内的低功耗的智能设备;
相应的,所述第一通信协议包括下述至少两项:Wi-Fi通信协议、ZigBee通信协议、Z-Wave通信协议、以及蓝牙通信协议。
这样设置的好处在于:提高了智能网关设备的通用性和兼容性,可以与设定区域内的各种智能设备建立连接,并实现远程控制设备对设定区域内的各种智能设备的上行监控和下行控制。
作为一种实现方式,所述对外通信模块13可包括:以太网子模块。
作为另一种实现方式,所述对外通信模块13可包括:3G/4G子模块。
所述对外通信模块13除了包括以太网子模块之外,还可包括:3G/4G子模块(可参阅图2)。其中,以太网子模块作为默认的对外通信模块,3G/4G子模
块作为备份的对外通信模块。
这样设置的好处在于:提高了智能网关设备与远程控制设备之间交互上行监控信息和下行控制指令的可靠性。
所述高功耗的智能设备可包括:智能摄像机;所述低功耗的智能设备可包括下述至少一项:门窗传感器、运动传感器、烟雾传感器、智能仪表、智能温控器、智能插座、智能灯、以及智能门锁。
本实例为用户提供一个全面互联互通与智能响应的智能网关设备,一方面,通过智能网关设备中的对内通信模块,可实现与设定区域内的智能设备的上行的监控信息的交互,并通过中央处理器进行协议转换处理,然后通过对外通信模块传输至远程控制设备,实现了远程控制设备对设定区域内的多个智能设备的上行监控;另一方面,通过对外通信模块获取远程控制设备下发的用于控制所述智能设备的下行的控制指令,并通过中央处理器进行协议转换处理,然后通过对内通信模块传输至所述智能设备,实现了远程控制设备对设定区域内的多个智能设备的下行控制。
下面对上行的监控信息和下行的控制指令进行简单介绍。
对于智能摄像机而言,上行的监控信息可以是对应的摄像区域的监控图像;远程控制设备下发的用于控制智能摄像机的控制指令可以是:开机控制指令、关机控制指令、以及智能摄像机的旋转角度的控制指令等。
对于智能仪表而言,上行的监控信息可以是自身的读数;远程控制设备下发的用于控制智能仪表的控制指令可以是:开机控制指令、关机控制指令、以及读数采集时间间隔的控制指令等。
对于智能温控器而言,上行的监控信息可以是自身的读数;远程控制设备下发的用于控制智能温控器的控制指令可以是:开机控制指令、关机控制指令、
以及将用户设置的期望温度作为温度控制指令等。
对于智能插座而言,上行的监控信息可以是工作状态信息(例如,是否开启或正在充电等);远程控制设备下发的用于控制智能插座的控制指令可以是:开机控制指令、关机控制指令、以及将用户设置的充电时间作为充电控制指令等。
对于智能灯而言,上行的监控信息可以是工作状态信息(例如,是否开启或是否在节能模式等);远程控制设备下发的用于控制智能灯的控制指令可以是:开机控制指令、关机控制指令、以及进入夜间工作模式或节能工作模式的控制指令等。
对于智能门锁而言,上行的监控信息可以是自身处于打开还是关闭的状态信息,以及用户输入的开锁信息等;远程控制设备下发的用于控制智能门锁的控制指令可以是:开机控制指令、关机控制指令、以及进入外出防侵工作模式或暴力开锁报警工作模式的控制指令等。
对于门窗传感器而言,上行的监控信息可以是自身采集的传感信号;远程控制设备下发的用于控制门窗传感器的控制指令可以是:开机控制指令、关机控制指令、以及进入外出防侵报警工作模式或在家门铃提示工作模式的控制指令等。
对于运动传感器而言,上行的监控信息可以是自身采集的传感信号;远程控制设备下发的用于控制运动传感器的控制指令可以是:开机控制指令、以及关机控制指令等。
对于烟雾传感器而言,上行的监控信息可以是自身采集的烟雾浓度;远程控制设备下发的用于控制烟雾传感器的控制指令可以是:开机控制指令、以及关机控制指令等。
示例性的,请参阅图3,为图2所示的智能网关设备中的对内通信模块与所连接的设定区域内的智能设备的示意图。设定区域为一个家庭,对内通信模块包括:Wi-Fi子模块、ZigBee子模块、Z-Wave子模块、以及蓝牙子模块;其中,Wi-Fi子模块被配置为连接该家庭内的高功耗的智能设备,可以是智能摄像机;ZigBee子模块、Z-Wave子模块、以及蓝牙子模块,均被配置为连接该家庭内的低功耗的智能设备。ZigBee子模块被配置为连接该家庭内的智能仪表、智能温控器、智能插座和智能灯;Z-Wave子模块被配置为连接该家庭内的智能门锁;蓝牙子模块被配置为连接该家庭内的门窗传感器、运动传感器和烟雾传感器。
将Wi-Fi子模块作为终端设备(即智能网关设备)内的第一通信模块,所连接的第一外部设备为智能摄像机,将ZigBee子模块、Z-Wave子模块、或蓝牙子模块作为终端设备内的第二通信模块,以蓝牙子模块作为第二通信模块、以及以所连接的烟雾传感器作为第二外部设备为例进行说明。
其中,Wi-Fi子模块和蓝牙子模块的通信频段相同,均为2.4GHz,通信协议不同。智能摄像机与Wi-Fi子模块之间传输的第一报文包的数据量大于蓝牙子模块与烟雾传感器之间传输的第二报文包的数据量。
解决该终端设备(即智能网关设备)内的通信频段相同的Wi-Fi子模块和蓝牙子模块这两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰的方法,可包括:
在该智能网关设备中的Wi-Fi子模块与所连接的智能摄像机传输第一报文包(智能摄像机向Wi-Fi子模块传输携带有摄像区域的监控图像这种监控信息的第一报文包)的过程中,监测到该智能网关设备内的蓝牙子模块与所连接的烟雾传感器开始传输第二报文包(烟雾传感器向蓝牙子模块传输携带有自身采集的烟雾浓度这种监控信息的第二报文包)时,暂停所述第一报文包的传输。
在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
本方法实例解决了在智能网关设备内通信频段相同的Wi-Fi子模块和蓝牙子模块这两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰问题,对数据量较小的第二报文包给予较高的传输优先级,在其传输完成之后,再继续传输数据量较大的第一报文包。由于第二报文包的数据量较小,对应的传输时间非常短,因此,并不会丢包,使得智能网关设备可以与智能摄像机和烟雾传感器这两个外部设备有效通信。
实施例二
请参阅图4,为本发明实施例二提供的一种解决同频干扰的装置的结构示意图。该装置包括:报文包传输暂停模块210和报文包传输恢复模块220。
其中,报文包传输暂停模块210被配置为在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输;报文包传输恢复模块220被配置为在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
在上述方案中,报文包传输暂停模块210可被配置为,在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;
相应的,报文包传输恢复模块220可被配置为,在监测到所述第二报文包传输完成之后,将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
在上述方案中,报文包传输暂停模块210可被配置为:
在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,轮询所述第二外部设备,以监测所述第二外部设备向所述第二通信模块开始传输第二报文包;
在监测到所述第二外部设备向所述第二通信模块开始传输第二报文包时,暂停所述第一报文包的传输。
在上述方案中,所述第一通信模块可包括:Wi-Fi通信模块;
所述第二通信模块可包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块;
相应的,所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
在上述方案中,所述终端设备可包括:智能网关设备;
所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;
所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
本发明实施例提供的解决同频干扰的装置可执行本发明实施例所提供的解决同频干扰的方法,具备执行方法相应的功能模块和有益效果。
本申请实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令用于执行本申请实施例中任一的解决同频干扰方法。
图5是本发明的解决同频干扰的电子设备的硬件结构示意图,如图5所示,该电子设备包括:
至少一个处理器510以及存储器520,图5中以一个处理器510为例。
执行解决同频干扰方法的设备还可以包括:输入装置530和输出装置540。
处理器510、存储器520、输入装置530和输出装置540可以通过总线或者其他方式连接,图5中以通过总线连接为例。
存储器520作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的解决同频干扰方法对应的程序指令/模块(例如,附图4所示的模块)。处理器510通过运行存储在存储器520中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例的解决同频干扰方法。
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据解决同频干扰装置的使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至解决同频干扰装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置530可接收输入的数字或字符信息,以及产生与解决同频干扰装置的用户设置以及功能控制有关的键信号输入。输出装置540可包括显示屏等显示设备。
所述至少一个模块存储在所述存储器520中,当被所述至少一个处理器510执行时,执行上述任意方法实施例中的解决同频干扰方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所
提供的方法。
本申请实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子设备。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这
样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
以上各实施例仅用于说明本发明的技术方案,而非对其进行限制;实施例中的实施方式,并非对其进行限制,对于本领域技术人员而言,本发明可以有各种改动和变化。
本申请能够解决终端设备内通信频段相同的两个通信模块在与各自连接的外部设备同时进行通信时的同频干扰。
Claims (13)
- 一种解决同频干扰的方法,应用于电子设备,所述方法包括:在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输;在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
- 根据权利要求1所述的方法,其中,暂停所述第一报文包的传输,包括:将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;恢复所述第一报文包的传输,包括:将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
- 根据权利要求1所述的方法,其中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包,包括:轮询所述第二外部设备,以监测到所述第二外部设备向所述第二通信模块开始传输第二报文包。
- 根据权利要求1-3任一所述的方法,其中,所述第一通信模块包括:Wi-Fi通信模块;所述第二通信模块包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块;所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
- 根据权利要求1-3任一所述的方法,其中,所述终端设备包括:智能网关设备;所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
- 一种解决同频干扰的装置,包括:报文包传输暂停模块,被配置为在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,暂停所述第一报文包的传输;报文包传输恢复模块,被配置为在监测到所述第二报文包传输完成之后,恢复所述第一报文包的传输。
- 根据权利要求6所述的装置,其中,报文包传输暂停模块被配置为,在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,监测到所述终端设备内的第二通信模块与所连接的第二外部设备开始传输第二报文包时,将所述第一报文包对应的传输间隙增大至设定值,以暂停所述第一报文包的传输;报文包传输恢复模块被配置为,在监测到所述第二报文包传输完成之后,将所述第一报文包对应的传输间隙从所述设定值恢复至原始传输间隙,以恢复所述第一报文包的传输。
- 根据权利要求6所述的装置,其中,报文包传输暂停模块被配置为:在终端设备内的第一通信模块与所连接的第一外部设备传输第一报文包的过程中,轮询所述第二外部设备,以监测所述第二外部设备向所述第二通信模块开始传输第二报文包;在监测到所述第二外部设备向所述第二通信模块开始传输第二报文包时,暂停所述第一报文包的传输。
- 根据权利要求6-8任一所述的装置,其中,所述第一通信模块包括:Wi-Fi通信模块;所述第二通信模块包括:ZigBee通信模块、Z-Wave通信模块、或蓝牙通信模块;所述第一通信模块和所述第二通信模块的通信频段均为2.4GHz。
- 根据权利要求6-8任一所述的装置,其中,所述终端设备包括:智能网关设备;所述第一报文包中携带有所述第一外部设备向所述第一通信模块传输的监控信息,或者携带有所述第一通信模块向所述第一外部设备传输的控制指令;所述第二报文包中携带有所述第二外部设备向所述第二通信模块传输的监控信息,或者携带有所述第二通信模块向所述第二外部设备传输的控制指令。
- 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被电子设备执行时,使得所述电子设备执行权利要求1-5任一项所述的方法。
- 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一项所述的方法。
- 一种电子设备,包括至少一个处理器和与所述至少一个处理器通信连接的存储器,所述存储器被配置为存储可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行时,使所述至少一个处理器执行权利要求1-5任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610265918.8 | 2016-04-26 | ||
| CN201610265918.8A CN105959034A (zh) | 2016-04-26 | 2016-04-26 | 解决同频干扰的方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017185653A1 true WO2017185653A1 (zh) | 2017-11-02 |
Family
ID=56915965
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/101633 Ceased WO2017185653A1 (zh) | 2016-04-26 | 2016-10-10 | 解决同频干扰的方法和装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105959034A (zh) |
| WO (1) | WO2017185653A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114488885A (zh) * | 2022-01-12 | 2022-05-13 | 武汉理工大学 | 一种船舶甲板设备远程控制系统及方法 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105959034A (zh) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | 解决同频干扰的方法和装置 |
| CN107708221A (zh) * | 2017-09-28 | 2018-02-16 | 联想(北京)有限公司 | 数据传输方法以及电子设备 |
| CN109151900B (zh) * | 2018-08-08 | 2022-05-17 | 土巴兔集团股份有限公司 | 一种智能网关、系统及其控制方法 |
| CN112468182A (zh) * | 2020-11-23 | 2021-03-09 | 杭州海康威视数字技术股份有限公司 | 数据传输装置、方法及可读存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130155957A1 (en) * | 2011-04-08 | 2013-06-20 | The Regents Of The University Of Michigan | Coordination amongst heterogeneous wireless devices |
| CN104754588A (zh) * | 2015-04-02 | 2015-07-01 | 南京物联传感技术有限公司 | 一种同频信道抗干扰的装置及方法 |
| CN204559891U (zh) * | 2015-04-02 | 2015-08-12 | 南京物联传感技术有限公司 | 一种同频信道抗干扰的装置 |
| CN104968000A (zh) * | 2015-06-19 | 2015-10-07 | 北京晶点科技有限公司 | 一种降低同一设备中ZigBee与WiFi相互干扰的方法 |
| CN204968114U (zh) * | 2015-08-12 | 2016-01-13 | 奉加微电子(上海)有限公司 | 双模网络协调器、双模路由器和双模mesh组网系统 |
| CN105959034A (zh) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | 解决同频干扰的方法和装置 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8737924B2 (en) * | 2010-08-12 | 2014-05-27 | Mediatek Inc. | Method to trigger in-device coexistence interference mitigation in mobile cellular systems |
| CN103378884A (zh) * | 2012-04-23 | 2013-10-30 | 联想(北京)有限公司 | 通信终端及数据通信控制方法 |
| CN103857070B (zh) * | 2012-12-06 | 2017-08-04 | 中国电信股份有限公司 | 抑制多模干扰的方法、单元和移动终端 |
| US9084288B2 (en) * | 2013-03-14 | 2015-07-14 | Qualcomm Incorporated | Dual-SIM wireless communications device and method for mitigating receiver desense in dual-active operation |
| JP6321460B2 (ja) * | 2014-06-09 | 2018-05-09 | 株式会社東海理化電機製作所 | スマホキーシステム |
-
2016
- 2016-04-26 CN CN201610265918.8A patent/CN105959034A/zh active Pending
- 2016-10-10 WO PCT/CN2016/101633 patent/WO2017185653A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130155957A1 (en) * | 2011-04-08 | 2013-06-20 | The Regents Of The University Of Michigan | Coordination amongst heterogeneous wireless devices |
| CN104754588A (zh) * | 2015-04-02 | 2015-07-01 | 南京物联传感技术有限公司 | 一种同频信道抗干扰的装置及方法 |
| CN204559891U (zh) * | 2015-04-02 | 2015-08-12 | 南京物联传感技术有限公司 | 一种同频信道抗干扰的装置 |
| CN104968000A (zh) * | 2015-06-19 | 2015-10-07 | 北京晶点科技有限公司 | 一种降低同一设备中ZigBee与WiFi相互干扰的方法 |
| CN204968114U (zh) * | 2015-08-12 | 2016-01-13 | 奉加微电子(上海)有限公司 | 双模网络协调器、双模路由器和双模mesh组网系统 |
| CN105959034A (zh) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | 解决同频干扰的方法和装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114488885A (zh) * | 2022-01-12 | 2022-05-13 | 武汉理工大学 | 一种船舶甲板设备远程控制系统及方法 |
| CN114488885B (zh) * | 2022-01-12 | 2023-09-26 | 武汉理工大学 | 一种船舶甲板设备远程控制系统及方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105959034A (zh) | 2016-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10630778B2 (en) | System and method of controlling data transmission of external apparatus connected to gateway | |
| US9602300B2 (en) | Smart device-based home network system and control method therefor | |
| US9654564B2 (en) | Controlling an IoT device using a remote control device via a remote control proxy device | |
| WO2017185653A1 (zh) | 解决同频干扰的方法和装置 | |
| WO2017185654A1 (zh) | 智能网关设备及智能监控系统 | |
| EP3125513A1 (en) | Multi-mode power saving multimedia transmission method and system | |
| US10419280B2 (en) | Methods and apparatus for switching between a wired communication and a wireless communication | |
| CA2985472A1 (en) | Controlling an iot device using a remote control device via an infrastructure device | |
| US9832802B2 (en) | Facilitating communications via a mobile internet-enabled connection interface | |
| US10791177B2 (en) | System to monitor and control sensor devices | |
| WO2015165350A1 (zh) | 智能电视移动端切换、电视端信息获取方法和装置、系统 | |
| CN104168605A (zh) | 数据传输控制方法及装置 | |
| KR20250040887A (ko) | 블루투스 광고 채널을 이용한 IoT 디바이스 식별 및 초기화 시스템 및 방법 | |
| CN104460457A (zh) | 一种利用基于WiFi的智能设备实现远程监控的系统 | |
| TWI795619B (zh) | 內建伺服模組的閘道裝置與通信系統 | |
| US20160308896A1 (en) | Electronic apparatus, wake-up apparatus for turning on electronic apparatus, wake-up system, and control method thereof | |
| CN114401298A (zh) | 数据传输方法、设备及系统 | |
| EP4394635A1 (en) | Data management method and device | |
| CN205377933U (zh) | 基于数字安全芯片的物联网传输系统 | |
| KR20170130817A (ko) | 이중 구조를 가지는 네트워크 장치의 동작 방법 및 그 장치 | |
| WO2017092256A1 (zh) | 一种防止干扰的通信方法、系统、智能电视和遥控装置 | |
| CN104506908A (zh) | 遥控数据处理方法、装置以及系统 | |
| CN106161152B (zh) | 一种智能家居的控制方法和设备 | |
| CN110972332A (zh) | 智能锁联网方法、装置、系统、智能锁及智能网关设备 | |
| RU2765980C1 (ru) | Способ и система сбора идентификаторов пользовательских устройств в виде мас-адресов |
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: 16900161 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16900161 Country of ref document: EP Kind code of ref document: A1 |