WO2019041369A1 - Relay automatic routing method and device - Google Patents

Relay automatic routing method and device Download PDF

Info

Publication number
WO2019041369A1
WO2019041369A1 PCT/CN2017/100742 CN2017100742W WO2019041369A1 WO 2019041369 A1 WO2019041369 A1 WO 2019041369A1 CN 2017100742 W CN2017100742 W CN 2017100742W WO 2019041369 A1 WO2019041369 A1 WO 2019041369A1
Authority
WO
WIPO (PCT)
Prior art keywords
repeater
damaged
terminals
gateway
neighboring
Prior art date
Application number
PCT/CN2017/100742
Other languages
French (fr)
Chinese (zh)
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 WO2019041369A1 publication Critical patent/WO2019041369A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • H04W36/326Reselection being triggered by specific parameters by location or mobility data, e.g. speed data by proximity to another entity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/302Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength

Definitions

  • the present invention relates to the field of communications, and in particular, to a relay automatic routing method and apparatus.
  • a repeater can be set in the network.
  • the repeater can be used for bidirectional forwarding of signals between two network nodes.
  • the technical problem to be solved by the embodiments of the present invention is to provide a relay automatic routing method and apparatus, which can improve the reliability of a communication link.
  • a relay automatic routing method including the following steps:
  • the gateway obtains the number m of terminals of the damaged repeater, where m is a positive integer
  • the gateway acquires the number of terminals of each of the n neighboring repeaters, where The distance between each of the n neighboring repeaters and the damaged repeater is less than a distance threshold, and n is a positive integer greater than zero;
  • the gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  • the number of terminals that the gateway obtains the damaged repeater is specifically:
  • the gateway acquires an access table of the damaged repeater
  • the gateway counts the number of terminals of the damaged repeater according to the access table of the damaged repeater.
  • the method before the obtaining, by the gateway, the number of terminals of each of the neighboring repeaters, the method further includes:
  • the gateway finds the n neighboring repeaters according to the topology table of the damaged repeater.
  • the number of terminals that the gateway acquires each of the neighboring repeaters in the n neighboring repeaters is specifically:
  • the gateway acquires an access table of each of the n neighboring repeaters
  • the gateway separately counts the number of terminals of each of the n neighboring repeaters according to an access table of each of the n neighboring repeaters.
  • the gateway allocates the terminal of the damaged repeater to the n neighboring repeaters according to the number of the terminals of each of the n neighboring repeaters:
  • the gateway allocates the terminal of the damaged repeater to the n neighboring repeaters according to an allocation policy according to the number of terminals of each of the n neighboring repeaters.
  • the n neighboring repeaters are the same device, or the n neighboring repeaters are different devices.
  • the influencing factors of the allocation policy include at least one of: a signal strength between the neighboring repeater and the terminal device, a load capacity of the neighboring repeater, a current load of the neighboring repeater, Information security processing capabilities.
  • a gateway including a first obtaining module, a second acquiring module, and an allocating module,
  • the first obtaining module is configured to acquire the number m of terminals of the damaged repeater, where m is a positive integer greater than zero;
  • the second obtaining module is configured to acquire the number of terminals of each of the n neighboring repeaters, wherein each of the n neighboring repeaters is in the vicinity of the damaged
  • the distance of the relay is less than the distance threshold, and n is a positive integer
  • the allocation module is configured to allocate m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  • the first obtaining module includes a first acquiring unit and a first statistic unit,
  • the first obtaining unit is configured to acquire an access table of the damaged repeater
  • the first statistic unit is configured to count the number of terminals of the damaged repeater according to the access table of the damaged repeater.
  • the second obtaining module includes: a second acquiring unit and a searching unit,
  • the second obtaining unit is configured to acquire a topology table of the damaged repeater
  • the searching unit finds the n neighboring repeaters according to the topology table of the damaged repeater.
  • the second obtaining module further includes: a third acquiring unit and a second statistic unit,
  • the third obtaining unit is configured to acquire an access table of each of the n neighboring repeaters
  • the second statistic unit is configured to separately count, according to an access table of each of the n neighboring repeaters, a terminal of each of the n neighboring repeaters Quantity.
  • the allocating module is specifically configured to allocate, according to an allocation policy, the terminals of the damaged repeater to the n neighboring relays according to the number of terminals of each of the n neighboring repeaters. Device.
  • the n neighboring repeaters are the same device, or the n neighboring repeaters are different devices.
  • the influencing factors of the allocation policy include at least one of: signal strength between the neighboring repeater and the terminal device, load capacity of the neighboring repeater, current load of the neighboring repeater, and information security. Processing capacity.
  • a communication system including a gateway and a plurality of repeaters, wherein the gateway is respectively connected to a plurality of repeaters, and the repeater includes a damaged repeater and n adjacent repeaters, wherein The gateway is for performing the method of any of the first aspects.
  • a computer readable storage medium storing program code for relaying automatic routing performed by a computing device.
  • the program code includes instructions for performing the method of any of the first aspects.
  • a gateway comprising: a processor, a memory, a communication interface, and a bus; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other; Storing executable program code; the processor running a program corresponding to the executable program code by reading executable program code stored in the memory for executing a relay automatic routing method; The method is the method of any of the first aspects.
  • the above invention obtains the number m of terminals of the damaged repeater and the number of terminals of the n adjacent repeaters connected to the damaged repeater when the damaged repeater fails, and according to the damaged repeater The number of terminals of each of the n neighboring repeaters connected to the repeater distributes the m terminals of the damaged repeater to n neighboring repeaters.
  • FIG. 1 is a schematic diagram of a relay network connection relationship provided by the prior art
  • FIG. 2 is a schematic diagram of a relay automatic routing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a gateway according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another gateway according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another gateway according to an embodiment of the present invention.
  • first, second, etc. may be used herein to describe each Units, but these units should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit could be termed a second unit, and similarly a second unit could be termed a first unit, without departing from the scope of the exemplary embodiments.
  • the term “and/or” used herein includes any and all combinations of one or more of the associated listed items.
  • the prior art relay network includes a terminal 111, a repeater 112, and a gateway 113.
  • the terminal may have different representations according to different situations.
  • the terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions, such as smart TV, smart air conditioner, and smart device. Kettle or other smart device.
  • the repeater belongs to the same-frequency amplifying device, and refers to a radio transmitting and transferring device that plays a signal enhancement in the process of wireless communication transmission.
  • the repeater is divided according to the communication system, and may be a GSM repeater or a CDMA repeater. 3G repeaters, 4G repeaters can even be future 5G repeaters and so on. Gateway 113 is also called an inter-network connector.
  • the protocol converter, the gateway on the transport layer to achieve network interconnection, can serve as a conversion task for two networks with different high-level protocols, thereby realizing the interconnection of two networks with different high-level protocols.
  • one or more repeaters may be added between the gateway and the terminal to be responsible for the data.
  • One or more forwardings are performed, that is, the data has to go through multiple hops to reach the terminal.
  • a "gateway-terminal" link is split into two links: “gateway-repeater” and “repeater-terminal”, so that one can have a poor quality.
  • the link is replaced by two better quality links for higher link capacity and better coverage.
  • the communication between the terminal and the repeater belongs to Device to Device (D2D) communication, and the power consumed by data transmission between the two is low. That is to say, the terminal communicates with the gateway through the relay of the repeater, which reduces the transmission power during data transmission.
  • D2D Device to Device
  • the repeater acts as the only connection device between the gateway and the terminal. When there is a problem with the repeater, communication between the terminal accessing the repeater and the gateway will be interrupted.
  • the wireless connection manner between the terminal and the repeater, and the wireless connection manner between the repeater and the gateway include but are not limited to: Bluetooth, WIFI, zigbee, 3G, 4G, and future 5G.
  • the terminal 111 can communicate with the repeater 112 through the downlink and the uplink.
  • the downlink (or forward link) refers to the communication link from the repeater 112 to the terminal 111
  • the uplink (or reverse link) refers to the communication link from the terminal 111 to the repeater 112.
  • SC-FDMA Single-Carrier Frequency-Division Multiple Access
  • OFDM Orthogonal Frequency Division Multiple Access
  • CP Cyclic Prefix cyclic prefix
  • the uplink and downlink carriers can be unified, that is, both uplink and downlink adopt OFDM and CP.
  • an embodiment of the present invention provides a relay automatic routing method, where the method includes the following steps:
  • the gateway obtains the number m of terminals of the damaged repeater, where m is a positive integer greater than zero.
  • the terminal when the terminal is unable to communicate with the damaged repeater, the terminal may feed back the identifier of the damaged repeater to the gateway, so that the gateway obtains the damaged repeater and cannot communicate, and records the Loss in the access table of the repeater.
  • the gateway connects to different repeaters through different ports, and the gateway communicates with the repeater. If the gateway finds that it cannot communicate with the repeater through a certain port, the gateway determines that the corresponding repeater of the port is The damaged repeater records the identity of the damaged repeater in the access list of the damaged repeater.
  • the communication rate between the terminal and the repeater is less than a preset threshold, the repeater can also be considered a damaged repeater.
  • an access table of the damaged repeater is stored in the gateway, and an identifier of the terminal accessing the damaged repeater is recorded in the access table.
  • the gateway reads the access list of the damaged repeater, and counts the number m of terminals connected to the damaged repeater according to the number of identifiers of the terminals recorded in the access table.
  • the damaged repeater is a repeater that has a fault and cannot work normally.
  • the above terminals may have different manifestations depending on different situations, and a terminal (for example, a cellular phone or a smart phone) may utilize a wireless communication system to transmit and receive data for two-way communication.
  • the terminal may include a transmitter for data transmission and a receiver for data reception.
  • the transmitter can modulate the transmit local oscillator (LO) signal with data to obtain a modulated radio frequency (RF) signal, and amplify the modulated RF signal to obtain an output RF signal having an appropriate transmit power level. And transmitting the output RF signal to the base station via the antenna.
  • LO transmit local oscillator
  • RF radio frequency
  • the receiver can obtain the received RF signal via an antenna, amplify and downconvert the received RF signal with the received LO signal, and process the downconverted signal to recover the data transmitted by the base station.
  • Terminal 11 can support communication with multiple wireless systems of different radio access technologies (RATs) (eg LTE/TE-A and NR). Each wireless system may have certain characteristics and requirements to efficiently support simultaneous communication of wireless systems utilizing different RATs.
  • RATs radio access technologies
  • a wireless user equipment may also be referred to as a User Equipment (UE), a mobile station, a terminal, an access terminal, a subscriber unit, a station, and the like.
  • Wireless user equipment can be cellular phones, smart phones, tablet computers, wireless modems, personal digital assistants (PDAs), handheld devices, laptop computers, smartbooks, netbooks, cordless phones, wireless local loop (WLL) sites, Bluetooth Equipment, and so on.
  • terminals can also be other devices with networking capabilities, such as smart lights, smart TVs, smart cleaning devices, smart sleep devices, intelligent monitoring devices, etc.
  • the form of performance can be various, for example, for a smart electric lamp, including but not limited to: a smart table lamp, a smart ceiling lamp, a smart wall lamp, etc., for example, for a smart TV, it can be a Samsung smart TV, of course It can also be a Sharp smart TV.
  • a smart cleaning device can be a smart sweeping robot.
  • it can also include a smart vacuum cleaner, a smart garbage processor, etc., for example, for a smart sleep device,
  • a smart mattress, the smart sofa, and the like for example, for the smart monitoring device, it may be an intelligent sphygmomanometer, a smart thermometer, etc., and the present invention does not limit the specific form, the number or the kind of the terminal.
  • the terminal may be capable of communicating with the wireless system and may also be capable of receiving signals from a broadcast station, satellites in one or more Global Navigation Satellite Systems (GNSS), and the like.
  • GNSS Global Navigation Satellite Systems
  • Terminal 11 may support one or more RATs for wireless communication, such as GSM, WCDMA, cdma2000, LTE/LTE-A, 802.11, and the like.
  • RAT radio access technology
  • RAT radio technology
  • air interface and “standard” are often used interchangeably.
  • the identifier of the terminal may be an International Mobile Equipment Identity (IMEI) of the terminal, or may be a MAC address of the terminal, or may be another device that enables the gateway to identify the terminal. Identification information, no restrictions here.
  • IMEI International Mobile Equipment Identity
  • the repeater may be a relay station, or may be a relay device that has a device to device (D2D) communication connection with the terminal device.
  • the D2D pass
  • the letter connection can be: Wi-Fi (Wireless Fidelity), Bluetooth, Zigbee, and Long Term Evolution (LTE) based D2D communication connection and the like.
  • the gateway acquires the number of terminals of each of the n neighboring repeaters.
  • the topology table of the damaged repeater is stored in the gateway, wherein the topology table records the connection relationship between the damaged repeater and the neighboring repeater.
  • the gateway can find the n neighboring repeaters of the damaged repeater by looking up the topology table of the damaged repeater. Then, the gateway separately obtains an access table of each of the neighboring repeaters of the n neighboring repeaters, and then separately counts n neighboring nodes according to the access table of each of the neighboring repeaters. The number of terminals in each of the relays in the relay (see the description in step 1 for details).
  • n neighboring repeaters may be the same type of relay device or different types of relay devices.
  • n neighboring repeaters may all be relay stations, and n neighboring repeaters may include relay stations, relay devices, and the like, respectively.
  • the identifier of the damaged repeater in the topology table is associated with the identifier of the neighboring repeater and stored as one row in the topology table, indicating that there is a connection relationship between the damaged repeater and the neighboring repeater.
  • the identifier of the damaged repeater and the identifier of the neighboring repeater may be a Radio Network Temporary Identity (RNTI) of the relay device, or may be a MAC address of the relay device, or may be other capable
  • RNTI Radio Network Temporary Identity
  • the gateway is configured to identify the identification information of the relay device, and no limitation is made herein.
  • the gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  • the damaged repeater has a fault and cannot be connected to the terminal of the damaged repeater (for the sake of simplicity, the terminal collectively referred to as the damaged repeater in the article) and the gateway.
  • the communication provides a service.
  • the terminal connected to the damaged repeater needs to be switched to the adjacent repeater of the damaged repeater, and the switched terminal can communicate with the gateway through the adjacent repeater.
  • the distance between each of the n neighboring repeaters and the damaged repeater is less than the distance threshold.
  • the gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the allocation policy, including the following steps:
  • n neighboring repeaters report their own measurement results to the gateway.
  • the n neighboring repeaters report their own measurement results to the gateway through uplink control signaling.
  • the neighboring repeater can report its own measurement result to the gateway through an uplink control signaling; in another embodiment, the neighboring repeater can use multiple uplink control signaling that carries the measurement result.
  • the gateway reports its own measurement result to prevent the gateway from receiving the measurement result because the channel condition is relatively poor.
  • the neighboring repeater repeatedly sends the uplink control signaling carrying the measurement result to ensure that the gateway can receive the measurement result. Measurement results.
  • the measurement results include: signal strength between the neighboring repeater and the terminal device, load capacity of the neighboring repeater (eg, data buffering capability, remaining power, etc.), current load of the adjacent repeater Quantity, information security processing (encryption and decryption) capabilities, and more.
  • load capacity of the neighboring repeater eg, data buffering capability, remaining power, etc.
  • current load of the adjacent repeater Quantity e.g., information security processing (encryption and decryption) capabilities, and more.
  • the gateway determines the allocation strategy based on the measurement results.
  • the allocation policy can be set in advance.
  • the allocation policy may be a load balancing policy, or a policy that the user needs to customize according to actual usage requirements.
  • the allocation policy can follow the following rules: strong signal strength between adjacent repeaters and terminal devices, strong load capacity of adjacent repeaters, less current load of adjacent repeaters, and information security processing capability. Strong neighboring repeaters are assigned to more terminals, and conversely, the signal strength between the neighboring repeater and the terminal device is weak, the load capacity of the neighboring repeaters is weak, and the current neighboring repeater is currently negative. Neighboring repeaters with more load and weaker information security processing capabilities are allocated to fewer terminals.
  • the gateway sends the allocation policy to the terminal.
  • the gateway sends an allocation policy to the terminal by using downlink control signaling.
  • the gateway may send an allocation policy to the terminal by using one downlink control signaling.
  • the gateway may send an allocation policy to the terminal by using multiple downlink control signaling that carries the allocation policy.
  • the terminal does not receive the allocation policy because the channel condition is relatively poor.
  • the gateway repeatedly transmits the downlink control signaling carrying the allocation policy to ensure that the terminal can receive the allocation policy.
  • the terminal accesses the corresponding neighboring repeater according to the received allocation policy.
  • the gateway can evenly allocate m terminals of the damaged repeater to n neighboring repeaters, that is, n neighbors. Any one of the relays in the relay will be assigned to m/n terminals.
  • the adjacent repeater can be a backup device of the damaged device.
  • the adjacent repeater does not normally carry any bearer forwarding service, and the neighboring repeater only serves as a backup for the damaged device, and will be damaged when the damaged device fails.
  • the forwarding service carried by the device is transferred to the neighboring repeater, and the neighboring repeater only bears the forwarding service transferred by the damaged device.
  • the neighboring repeater also carries other forwarding services. When the damaged device fails, the forwarding service carried by the damaged device is transferred to the adjacent repeater, and the adjacent repeater simultaneously bears the transfer of the damaged device. Forward traffic and other forwarding services.
  • FIG. 3 is a schematic structural diagram of a relay automatic routing apparatus according to an embodiment of the present invention.
  • the relay automatic routing device 30 of this embodiment includes: a first acquiring module 310, and a second acquiring Module 320 and allocation module 330.
  • the first obtaining module 310 is configured to acquire the number m of terminals of the damaged repeater, where m is a positive integer.
  • the second obtaining module 320 is configured to acquire the number of m terminals of each of the n neighboring repeaters, wherein each of the n neighboring repeaters and the neighboring The distance of the damaged repeater is less than the distance threshold, and n is a positive integer greater than zero.
  • the allocating module 330 is configured to allocate the terminal of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  • the step 210 in the method embodiment shown in FIG. 2 may be performed by the first obtaining module 310.
  • the step 220 in the method embodiment shown in FIG. 2 may be performed by the second obtaining module 320.
  • the step 230 can be performed by the distribution module 330.
  • FIG. 4 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
  • the gateway of this embodiment is further optimized for the gateway shown in FIG. 3.
  • the gateway of this embodiment is different from the gateway shown in FIG. 3 in that the first acquiring module 310 includes a first acquiring unit 311 and a a statistic unit 312,
  • the first obtaining unit 311 is configured to acquire an access table of the damaged repeater
  • the first statistic unit 312 is configured to count the number of terminals of the damaged repeater according to the access table of the damaged repeater.
  • the second obtaining module 320 includes: a second obtaining unit 321 and a searching unit 322.
  • the second obtaining unit 321 is configured to acquire a topology table of the damaged repeater.
  • the searching unit 322 finds the n neighboring relays according to the topology table of the damaged repeater. Device.
  • the second obtaining module further includes: a third obtaining unit 323 and a second statistics unit 324,
  • the third obtaining unit 323 is configured to acquire an access table of each of the n neighboring repeaters
  • the second statistic unit 324 is configured to separately count, according to an access table of each of the n neighboring repeaters, a terminal of each of the n neighboring repeaters. quantity.
  • the allocating module 330 is specifically configured to allocate the terminal of the damaged repeater to the n neighbors according to an allocation policy according to the number of terminals of each of the n neighboring repeaters. Relay.
  • FIG. 5 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
  • the gateway of this embodiment includes: at least one processor 501, a communication interface 502, a user interface 503, and a memory 504.
  • the processor 501, the communication interface 502, the user interface 503, and the memory 504 can be connected by using a bus or other manner. Take the connection through the bus 505 as an example. among them,
  • the processor 501 can be a general purpose processor, such as a Central Processing Unit (CPU).
  • CPU Central Processing Unit
  • Communication interface 502 can be a wired interface (e.g., an Ethernet interface) or a wireless interface (e.g., a cellular network interface or a wireless local area network interface) for communicating with other electronic devices or websites.
  • the communication interface 502 is specifically configured to recommend the target recommendation object to the user of the electronic device.
  • the user interface 503 may specifically be a touch panel, including a touch screen and a touch screen, for detecting an operation instruction on the touch panel, and the user interface 503 may also be a physical button or a mouse.
  • the user interface 603 can also be a display screen for outputting, displaying images or data.
  • the memory 504 can include a volatile memory (Volatile Memory), such as random access memory.
  • Memory access memory (RAM) may also include non-volatile memory (Non-Volatile Memory), such as read-only memory (ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive (HDD) or Solid State Drive (SSD); the memory 504 may also include a combination of the above types of memories.
  • the memory 504 is configured to store a set of program codes, and the processor 501 is configured to call the program code stored in the memory 504 to perform the following operations:
  • n is a positive integer greater than zero
  • the m terminals of the damaged repeater are allocated to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  • the number of terminals of the damaged repeater is counted according to the access table of the damaged repeater.
  • the terminal of the damaged repeater is allocated to the n neighboring repeaters according to an allocation policy according to the number of terminals of each of the n neighboring repeaters.
  • the above invention obtains the number m of terminals of the damaged repeater and the number of terminals of the n adjacent repeaters connected to the damaged repeater when the damaged repeater fails, and according to the damaged repeater Connection
  • the number of terminals of each of the n neighboring repeaters adjacent to the repeater distributes the m terminals of the damaged repeater to n neighboring repeaters.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Provided by the present invention are a relay automatic routing method and device. The method comprises: a gateway obtaining the number m of terminals of a damaged repeater, wherein m is a positive integer; the gateway obtaining the number of terminals of each adjacent repeater among n adjacent repeaters, wherein the distance between each adjacent repeater among the n adjacent repeaters and the damaged repeater is less than a distance threshold, and n is a positive integer greater than 0; and the gateway assigning the m terminals of the damaged repeater to the n adjacent repeaters according to the number of terminals of each adjacent repeater among the n adjacent repeaters. The described method may improve the reliability of a communication link.

Description

中继自动路由方法以及装置Relay automatic routing method and device 技术领域Technical field
本发明涉及通信领域,尤其涉及一种中继自动路由方法以及装置。The present invention relates to the field of communications, and in particular, to a relay automatic routing method and apparatus.
背景技术Background technique
在偏远的郊区环境,由于地形环境等因素的影响,发射塔的架设密度较低,导致网络覆盖率并不足够,或者,在某些“盲点”区域,由于具有破坏性的多路径干扰的影响,导致“盲点”区域无法正常传输或接收信号,甚至,有时建筑物的材料与结构也可使原本能够正常收发的信号大幅减弱,导致网络的通信质量十分差。为了解决上述问题,可以在网络中设置中继器(repeater,RP)。中继器可以用于两个网络节点之间信号的双向转发工作,通过对数据信号的复制、调整、放大、重新发送或者转发,来实现提高网络覆盖率、克服网络传输“盲点”以及提高网络通信质量。In remote suburban environments, due to factors such as the terrain environment, the erection density of the tower is low, resulting in insufficient network coverage, or in some “blind spot” areas, due to destructive multipath interference. As a result, the "blind spot" area cannot transmit or receive signals normally. Even the material and structure of the building can greatly weaken the signal that can be normally transmitted and received normally, resulting in poor communication quality of the network. In order to solve the above problem, a repeater (RP) can be set in the network. The repeater can be used for bidirectional forwarding of signals between two network nodes. By copying, adjusting, amplifying, resending or forwarding data signals, the network coverage can be improved, the "blind spots" of network transmission can be overcome, and the network can be improved. Communication quality.
在本领域的技术人员长期实践的过程中发现,由于中继器是整个通信链路的一个重要环节,如果中继器出现了故障,会导致整个通信链路中断,而无法正常传输数据。It has been found in the course of long-term practice by those skilled in the art that since the repeater is an important part of the entire communication link, if the repeater fails, the entire communication link is interrupted and the data cannot be transmitted normally.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种中继自动路由方法以及装置,能够提高通信链路的可靠性。The technical problem to be solved by the embodiments of the present invention is to provide a relay automatic routing method and apparatus, which can improve the reliability of a communication link.
第一方面,提供了一种中继自动路由方法,包括如下步骤:In a first aspect, a relay automatic routing method is provided, including the following steps:
网关获取受损中继器的终端的数量m,其中,m为正整数;The gateway obtains the number m of terminals of the damaged repeater, where m is a positive integer;
所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量,其中, n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为大于零的正整数;The gateway acquires the number of terminals of each of the n neighboring repeaters, where The distance between each of the n neighboring repeaters and the damaged repeater is less than a distance threshold, and n is a positive integer greater than zero;
所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的m个终端分配给所述n个邻近中继器。The gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
可选地,所述网关获取受损中继器的终端的数量具体为:Optionally, the number of terminals that the gateway obtains the damaged repeater is specifically:
所述网关获取受损中继器的接入表;The gateway acquires an access table of the damaged repeater;
所述网关根据所述受损中继器的接入表统计受损中继器的终端的数量。The gateway counts the number of terminals of the damaged repeater according to the access table of the damaged repeater.
可选地,所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量之前还包括:Optionally, before the obtaining, by the gateway, the number of terminals of each of the neighboring repeaters, the method further includes:
所述网关获取所述受损中继器的拓扑表;Obtaining, by the gateway, a topology table of the damaged repeater;
所述网关根据所述受损中继器的拓扑表查找到所述n个邻近中继器。The gateway finds the n neighboring repeaters according to the topology table of the damaged repeater.
可选地,所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量具体为:Optionally, the number of terminals that the gateway acquires each of the neighboring repeaters in the n neighboring repeaters is specifically:
所述网关获取n个邻近中继器中的每个邻近中继器的接入表;The gateway acquires an access table of each of the n neighboring repeaters;
所述网关根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。The gateway separately counts the number of terminals of each of the n neighboring repeaters according to an access table of each of the n neighboring repeaters.
可选地,所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端分配给所述n个邻近中继器具体为:Optionally, the gateway allocates the terminal of the damaged repeater to the n neighboring repeaters according to the number of the terminals of each of the n neighboring repeaters:
所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。The gateway allocates the terminal of the damaged repeater to the n neighboring repeaters according to an allocation policy according to the number of terminals of each of the n neighboring repeaters.
可选地,所述n个邻近中继器为相同的设备,或者,所述n个邻近中继器为不同的设备。Optionally, the n neighboring repeaters are the same device, or the n neighboring repeaters are different devices.
可选地,所述分配策略的影响因素包括以下中的至少一个:邻近中继器与终端设备之间的信号强度、邻近中继器的负载能力、邻近中继器的当前负载量、 信息安全处理能力。Optionally, the influencing factors of the allocation policy include at least one of: a signal strength between the neighboring repeater and the terminal device, a load capacity of the neighboring repeater, a current load of the neighboring repeater, Information security processing capabilities.
第二方面,提供了一种网关,包括第一获取模块,第二获取模块以及分配模块,In a second aspect, a gateway is provided, including a first obtaining module, a second acquiring module, and an allocating module,
所述第一获取模块用于获取受损中继器的终端的数量m,其中,m为大于零的正整数;The first obtaining module is configured to acquire the number m of terminals of the damaged repeater, where m is a positive integer greater than zero;
所述第二获取模块用于获取n个邻近中继器中的每个邻近中继器的终端的数量,其中,n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为正整数;The second obtaining module is configured to acquire the number of terminals of each of the n neighboring repeaters, wherein each of the n neighboring repeaters is in the vicinity of the damaged The distance of the relay is less than the distance threshold, and n is a positive integer;
所述分配模块用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的m个终端分配给所述n个邻近中继器。The allocation module is configured to allocate m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
可选地,所述第一获取模块包括第一获取单元以及第一统计单元,Optionally, the first obtaining module includes a first acquiring unit and a first statistic unit,
所述第一获取单元用于获取受损中继器的接入表;The first obtaining unit is configured to acquire an access table of the damaged repeater;
所述第一统计单元用于根据所述受损中继器的接入表统计受损中继器的终端的数量。The first statistic unit is configured to count the number of terminals of the damaged repeater according to the access table of the damaged repeater.
可选地,所述第二获取模块包括:第二获取单元以及查找单元,Optionally, the second obtaining module includes: a second acquiring unit and a searching unit,
所述第二获取单元用于获取所述受损中继器的拓扑表;The second obtaining unit is configured to acquire a topology table of the damaged repeater;
所述查找单元根据所述受损中继器的拓扑表查找到所述n个邻近中继器。The searching unit finds the n neighboring repeaters according to the topology table of the damaged repeater.
可选地,第二获取模块还包括:第三获取单元以及第二统计单元,Optionally, the second obtaining module further includes: a third acquiring unit and a second statistic unit,
所述第三获取单元用于获取n个邻近中继器中的每个邻近中继器的接入表;The third obtaining unit is configured to acquire an access table of each of the n neighboring repeaters;
所述第二统计单元用于根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。The second statistic unit is configured to separately count, according to an access table of each of the n neighboring repeaters, a terminal of each of the n neighboring repeaters Quantity.
可选地,所述分配模块具体用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。 Optionally, the allocating module is specifically configured to allocate, according to an allocation policy, the terminals of the damaged repeater to the n neighboring relays according to the number of terminals of each of the n neighboring repeaters. Device.
可选地,所述n个邻近中继器为相同的设备,或者,所述n个邻近中继器为不同的设备。Optionally, the n neighboring repeaters are the same device, or the n neighboring repeaters are different devices.
可选地,所述分配策略的影响因素包括以下中的至少一个:邻近中继器与终端设备之间的信号强度、邻近中继器的负载能力、邻近中继器的当前负载量、信息安全处理能力。Optionally, the influencing factors of the allocation policy include at least one of: signal strength between the neighboring repeater and the terminal device, load capacity of the neighboring repeater, current load of the neighboring repeater, and information security. Processing capacity.
第三方面,提供了一种通信系统,包括网关以及多个中继器,所述网关分别连接多个中继器,中继器包括受损中继器以及n个邻近中继器,其中,所述网关用于执行如第一方面任一项所述的方法。In a third aspect, a communication system is provided, including a gateway and a plurality of repeaters, wherein the gateway is respectively connected to a plurality of repeaters, and the repeater includes a damaged repeater and n adjacent repeaters, wherein The gateway is for performing the method of any of the first aspects.
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储了计算设备所执行的用于中继自动路由的程序代码。所述程序代码包括用于执行在第一方面中任一项的方法的指令。In a fourth aspect, a computer readable storage medium storing program code for relaying automatic routing performed by a computing device is provided. The program code includes instructions for performing the method of any of the first aspects.
第五方面,提供了一种网关,包括:处理器、存储器、通信接口和总线;所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;所述存储器存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种中继自动路由方法;其中,所述方法为第一方面任一项所述的方法。In a fifth aspect, a gateway is provided, comprising: a processor, a memory, a communication interface, and a bus; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other; Storing executable program code; the processor running a program corresponding to the executable program code by reading executable program code stored in the memory for executing a relay automatic routing method; The method is the method of any of the first aspects.
上述发明通过在受损中继器出现故障时,获取受损中继器的终端的数量m以及与受损中继器连接的n个邻近中继器的终端数量,并根据受损中继器连接的n个邻近中继器中的每个邻近中继器的终端数量,将受损中继器的m个终端的分配给n个邻近中继器。The above invention obtains the number m of terminals of the damaged repeater and the number of terminals of the n adjacent repeaters connected to the damaged repeater when the damaged repeater fails, and according to the damaged repeater The number of terminals of each of the n neighboring repeaters connected to the repeater distributes the m terminals of the damaged repeater to n neighboring repeaters.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the following description The drawings in the drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是现有技术提供的一种中继网络连接关系的示意图;1 is a schematic diagram of a relay network connection relationship provided by the prior art;
图2是本发明实施例提供的一种中继自动路由方法的示意图;2 is a schematic diagram of a relay automatic routing method according to an embodiment of the present invention;
图3是本发明实施例提供的一种网关的示意图;3 is a schematic diagram of a gateway according to an embodiment of the present invention;
图4是本发明实施例提供的另一种网关的示意图;4 is a schematic diagram of another gateway according to an embodiment of the present invention;
图5是本发明实施例提供的又一种网关的结构示意图。FIG. 5 is a schematic structural diagram of still another gateway according to an embodiment of the present invention.
具体实施方式Detailed ways
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, can be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium, such as a storage medium. The processor(s) can perform the necessary tasks.
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。The specific structural and functional details disclosed are merely representative and are for the purpose of describing exemplary embodiments of the invention. The present invention may, however, be embodied in many alternative forms and should not be construed as being limited only to the embodiments set forth herein.
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各 个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It should be understood that although the terms "first", "second", etc. may be used herein to describe each Units, but these units should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit could be termed a second unit, and similarly a second unit could be termed a first unit, without departing from the scope of the exemplary embodiments. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing the particular embodiments, The singular forms "a", "an", It is also to be understood that the terms "comprising" and """ Other features, integers, steps, operations, units, components, and/or combinations thereof.
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that in some alternative implementations, the functions/acts noted may occur in a different order than that illustrated in the drawings. For example, two figures shown in succession may in fact be executed substantially concurrently or sometimes in the reverse order, depending on the function/acts involved.
下面结合附图对本发明作进一步详细描述。The invention is further described in detail below with reference to the accompanying drawings.
为了便于理解,在介绍本发明之前,首先介绍现有技术的中继网络的架构。如图1所示,现有技术的中继网络包括:终端111、中继器112以及网关113。上述终端根据不同的情况可以具有不同的表现形式,例如该终端具体可以为:手机、平板电脑、计算机等设备,当然其也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或其他的智能设备。中继器属于同频放大设备,是指在无线通信传输过程中起到信号增强的一种无线电发射中转设备,中继器按照通讯的制式划分,可以是GSM中继器、CDMA中继器、3G中继器、4G中继器甚至可以是未来的5G中继器等等。网关113又称网间连接器、 协议转换器,网关在传输层上以实现网络互连,能对两个高层协议不同的网络充当转换重任,从而实现两个高层协议不同的网络的互连。For ease of understanding, prior to the introduction of the present invention, the architecture of a prior art relay network is first introduced. As shown in FIG. 1, the prior art relay network includes a terminal 111, a repeater 112, and a gateway 113. The terminal may have different representations according to different situations. For example, the terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions, such as smart TV, smart air conditioner, and smart device. Kettle or other smart device. The repeater belongs to the same-frequency amplifying device, and refers to a radio transmitting and transferring device that plays a signal enhancement in the process of wireless communication transmission. The repeater is divided according to the communication system, and may be a GSM repeater or a CDMA repeater. 3G repeaters, 4G repeaters can even be future 5G repeaters and so on. Gateway 113 is also called an inter-network connector. The protocol converter, the gateway on the transport layer to achieve network interconnection, can serve as a conversion task for two networks with different high-level protocols, thereby realizing the interconnection of two networks with different high-level protocols.
当终端需要通过网关将数据传输至其他的协议的网络时,为了获得更高的链路容量及更好的覆盖,可以在网关与终端之间增加了一个或多个中继器,负责对数据进行一次或者多次的转发,即数据要经过多跳才能到达终端。以较简单的两跳中继为例,就是将一个“网关—终端”链路分割为“网关—中继器”和“中继器—终端”两个链路,从而可以将一个质量较差的链路替换为两个质量较好的链路,以获得更高的链路容量及更好的覆盖。同时,对于终端来说,终端与中继器间的通信属于设备到设备(Device to Device,D2D)通信,二者之间的数据传输所消耗的功率低。也即是说,终端通过中继器的中转与网关进行通信,降低了数据传输时的发射功率。When the terminal needs to transmit data to the network of other protocols through the gateway, in order to obtain higher link capacity and better coverage, one or more repeaters may be added between the gateway and the terminal to be responsible for the data. One or more forwardings are performed, that is, the data has to go through multiple hops to reach the terminal. Taking a simpler two-hop relay as an example, a "gateway-terminal" link is split into two links: "gateway-repeater" and "repeater-terminal", so that one can have a poor quality. The link is replaced by two better quality links for higher link capacity and better coverage. At the same time, for the terminal, the communication between the terminal and the repeater belongs to Device to Device (D2D) communication, and the power consumed by data transmission between the two is low. That is to say, the terminal communicates with the gateway through the relay of the repeater, which reduces the transmission power during data transmission.
中继器作为网关与终端之间的唯一连接设备,当中继器出现了问题时,将会导致接入到该中继器的终端与网关之间的通信将会被中断。The repeater acts as the only connection device between the gateway and the terminal. When there is a problem with the repeater, communication between the terminal accessing the repeater and the gateway will be interrupted.
可以理解的是,终端与中继器之间的无线连接方式,中继器与网关之间的无线连接方式包括但不限于:蓝牙、WIFI、zigbee、3G、4G以及未来的5G等方式。It can be understood that the wireless connection manner between the terminal and the repeater, and the wireless connection manner between the repeater and the gateway include but are not limited to: Bluetooth, WIFI, zigbee, 3G, 4G, and future 5G.
需要说明的是,终端111可以通过下行链路和上行链路与中继器112进行通信。下行链路(或前向链路)是指从中继器112到终端111的通信链路,而上行链路(或反向链路)是指从终端111到中继器112的通信链路。在LTE/LTE-A方式中,上/下行载波分别采用SC-FDMA(Single-carrier Frequency-Division Multiple Access,单载波频分多址)/OFDM(Orthogonal Frequency Division Multiple Access正交频分多址)以及CP(Cyclic Prefix循环前缀)。在5G标准中,示例性的,可以对上下行载波进行统一,即上行链路与下行链路均采用OFDM以及CP。 It should be noted that the terminal 111 can communicate with the repeater 112 through the downlink and the uplink. The downlink (or forward link) refers to the communication link from the repeater 112 to the terminal 111, and the uplink (or reverse link) refers to the communication link from the terminal 111 to the repeater 112. In the LTE/LTE-A scheme, SC-FDMA (Single-Carrier Frequency-Division Multiple Access)/OFDM (Orthogonal Frequency Division Multiple Access) is used for the uplink/downlink carriers. And CP (Cyclic Prefix cyclic prefix). In the 5G standard, for example, the uplink and downlink carriers can be unified, that is, both uplink and downlink adopt OFDM and CP.
为了解决上述问题,本发明实施例提供了一种中继自动路由方法,所述方法包括如下步骤:In order to solve the above problem, an embodiment of the present invention provides a relay automatic routing method, where the method includes the following steps:
210:网关获取受损中继器的终端的数量m,其中,m为大于零的正整数。210: The gateway obtains the number m of terminals of the damaged repeater, where m is a positive integer greater than zero.
在本发明实施例中,当终端无法与受损中继器进行通信时,终端可以向网关反馈受损中继器的标识,以使得网关获取受损中继器无法进行通信,并记录在受损中继器的接入表中。或者,网关通过不同的端口与不同的中继器进行连接,网关与中继器进行通信,如果网关发现无法通过某一端口与中继器进行通信,则网关确定该端口对应的中继器为受损中继器,并将受损中继器的标识记录在受损中继器的接入表中。此外,如果终端与中继器之间的通信速率小于预设阈值,也可以认为中继器为受损中继器。In the embodiment of the present invention, when the terminal is unable to communicate with the damaged repeater, the terminal may feed back the identifier of the damaged repeater to the gateway, so that the gateway obtains the damaged repeater and cannot communicate, and records the Loss in the access table of the repeater. Alternatively, the gateway connects to different repeaters through different ports, and the gateway communicates with the repeater. If the gateway finds that it cannot communicate with the repeater through a certain port, the gateway determines that the corresponding repeater of the port is The damaged repeater records the identity of the damaged repeater in the access list of the damaged repeater. In addition, if the communication rate between the terminal and the repeater is less than a preset threshold, the repeater can also be considered a damaged repeater.
在本发明实施例中,网关中存储了受损中继器的接入表,接入表中记载了接入到受损中继器的终端的标识。网关读取受损中继器的接入表,并根据接入表中记载的终端的标识的个数统计接入到受损中继器的终端的数量m。其中,受损中继器是出现了故障,不能正常进行工作的中继器。In the embodiment of the present invention, an access table of the damaged repeater is stored in the gateway, and an identifier of the terminal accessing the damaged repeater is recorded in the access table. The gateway reads the access list of the damaged repeater, and counts the number m of terminals connected to the damaged repeater according to the number of identifiers of the terminals recorded in the access table. Among them, the damaged repeater is a repeater that has a fault and cannot work normally.
上述终端根据不同的情况可以具有不同的表现形式,终端(例如,蜂窝电话或者智能电话)可以利用无线通信系统来发射和接收数据以用于双路通信。终端可以包括用于数据发射的发射机以及用于数据接收的接收机。对于数据发射,发射机可以利用数据对发射本地振荡器(LO)信号进行调制以获得经调制的射频(RF)信号,对经调制的RF信号进行放大以获得具有恰当发射功率级别的输出RF信号,并且经由天线将输出RF信号发射给基站。对于数据接收,接收机可以经由天线来获得所接收的RF信号,放大并利用接收LO信号将所接收的RF信号下变频,并且处理经下变频的信号以恢复由基站发送的数据。终端11可以支持与不同无线电接入技术(RAT)的多个无线系统的通信 (例如LTE/TE-A和NR)。每个无线系统可能具有某些特性和要求,能够高效地支持利用不同RAT的无线系统的同时通信。无线用户设备还可以被称为用户设备(UE)、移动台、终端、接入终端、订户单元、站点,等等。无线用户设备可以是蜂窝电话、智能电话、平板计算机、无线调制解调器、个人数字助理(PDA)、手持式设备、膝上型计算机、智能本、上网本、无绳电话、无线本地回路(WLL)站点、蓝牙设备,等等。在智能家居以及可穿戴设备高速发展的今天,终端还可以是其也可以包含带有联网功能的其他设备,例如,智能电灯、智能电视、智能清扫设备、智能睡眠设备,智能监控设备等,其表现的形式可以为多种多样,例如对于智能电灯,该智能电灯包括但不限于:智能台灯,智能吸顶灯,智能壁灯等设备,例如对于智能电视来说,其可以为三星牌智能电视,当然其也可以为夏普牌智能电视,例如对于智能清扫设备来说,其可以为,智能扫地机器人,当然其还可以包括智能吸尘器、智能垃圾处理器等设备,例如对于智能睡眠设备来说,其可以为:智能床垫、智能沙发等设备,例如对智能监控设备来说或,其可以为,智能血压计,智能温度计等,本发明对上述终端的具体形式以及数量或种类并不限定。终端可以能够与无线系统进行通信,还可以能够从广播站、一个或多个全球导航卫星系统(GNSS)中的卫星等接收信号。终端11可以支持用于无线通信的一个或多个RAT,诸如GSM、WCDMA、cdma2000、LTE/LTE-A、802.11,等等。术语“无线电接入技术”、“RAT”、“无线电技术”、“空中接口”和“标准”经常可互换地被使用。The above terminals may have different manifestations depending on different situations, and a terminal (for example, a cellular phone or a smart phone) may utilize a wireless communication system to transmit and receive data for two-way communication. The terminal may include a transmitter for data transmission and a receiver for data reception. For data transmission, the transmitter can modulate the transmit local oscillator (LO) signal with data to obtain a modulated radio frequency (RF) signal, and amplify the modulated RF signal to obtain an output RF signal having an appropriate transmit power level. And transmitting the output RF signal to the base station via the antenna. For data reception, the receiver can obtain the received RF signal via an antenna, amplify and downconvert the received RF signal with the received LO signal, and process the downconverted signal to recover the data transmitted by the base station. Terminal 11 can support communication with multiple wireless systems of different radio access technologies (RATs) (eg LTE/TE-A and NR). Each wireless system may have certain characteristics and requirements to efficiently support simultaneous communication of wireless systems utilizing different RATs. A wireless user equipment may also be referred to as a User Equipment (UE), a mobile station, a terminal, an access terminal, a subscriber unit, a station, and the like. Wireless user equipment can be cellular phones, smart phones, tablet computers, wireless modems, personal digital assistants (PDAs), handheld devices, laptop computers, smartbooks, netbooks, cordless phones, wireless local loop (WLL) sites, Bluetooth Equipment, and so on. In today's high-speed development of smart homes and wearable devices, terminals can also be other devices with networking capabilities, such as smart lights, smart TVs, smart cleaning devices, smart sleep devices, intelligent monitoring devices, etc. The form of performance can be various, for example, for a smart electric lamp, including but not limited to: a smart table lamp, a smart ceiling lamp, a smart wall lamp, etc., for example, for a smart TV, it can be a Samsung smart TV, of course It can also be a Sharp smart TV. For example, for a smart cleaning device, it can be a smart sweeping robot. Of course, it can also include a smart vacuum cleaner, a smart garbage processor, etc., for example, for a smart sleep device, For the smart mattress, the smart sofa, and the like, for example, for the smart monitoring device, it may be an intelligent sphygmomanometer, a smart thermometer, etc., and the present invention does not limit the specific form, the number or the kind of the terminal. The terminal may be capable of communicating with the wireless system and may also be capable of receiving signals from a broadcast station, satellites in one or more Global Navigation Satellite Systems (GNSS), and the like. Terminal 11 may support one or more RATs for wireless communication, such as GSM, WCDMA, cdma2000, LTE/LTE-A, 802.11, and the like. The terms "radio access technology", "RAT", "radio technology", "air interface" and "standard" are often used interchangeably.
本发明实施例中,所述终端的标识可以是终端的移动设备国际身份码(International Mobile Equipment Identity,IMEI),也可以是终端的MAC地址,还可以是其他能够使网关辨识出所述终端的标识信息,这里不做限制。In the embodiment of the present invention, the identifier of the terminal may be an International Mobile Equipment Identity (IMEI) of the terminal, or may be a MAC address of the terminal, or may be another device that enables the gateway to identify the terminal. Identification information, no restrictions here.
可以理解的是,中继器可以是中继站,也可以是与所述终端设备之间存在设备到设备(Device to Device,D2D)的通信连接的中继设备。所述D2D通 信连接可以是:Wi-Fi(Wireless Fidelity,中文:无线保真)、蓝牙(Bluetooth)、Zigbee,以及基于长期演进(Long Term Evolution,LTE)的D2D通信连接等等。It can be understood that the repeater may be a relay station, or may be a relay device that has a device to device (D2D) communication connection with the terminal device. The D2D pass The letter connection can be: Wi-Fi (Wireless Fidelity), Bluetooth, Zigbee, and Long Term Evolution (LTE) based D2D communication connection and the like.
220:网关获取n个邻近中继器中的每个邻近中继器的终端的数量。220: The gateway acquires the number of terminals of each of the n neighboring repeaters.
在本发明实施例中,网关中存储了受损中继器的拓扑表,其中,拓扑表记载了受损中继器与邻近中继器之间的连接关系。网关通过查找受损中继器的拓扑表,就可以查找到受损中继器的n个邻近中继器。然后,网关分别获取n个邻近中继器中的每个邻近中继器的接入表,再根据n个邻近中继器中的每个邻近中继器的接入表分别统计n个邻近中继器中的每个邻近中继器的终端的数量(具体请参见步骤1中的描述)。In the embodiment of the present invention, the topology table of the damaged repeater is stored in the gateway, wherein the topology table records the connection relationship between the damaged repeater and the neighboring repeater. The gateway can find the n neighboring repeaters of the damaged repeater by looking up the topology table of the damaged repeater. Then, the gateway separately obtains an access table of each of the neighboring repeaters of the n neighboring repeaters, and then separately counts n neighboring nodes according to the access table of each of the neighboring repeaters. The number of terminals in each of the relays in the relay (see the description in step 1 for details).
可以理解的是,n个邻近中继器中的每个邻近中继器与受损中继器的距离均小于距离阈值,n为正整数,即,邻近中继器在地域上邻近受损中继器,并且,接入到受损中继器的终端至少能与n个邻近中继器中的其中一个邻近中继器进行通信。n个邻近中继器可以是同一类型的中继设备,也可以是不同类型的中继设备。例如,n个邻近中继器可以都是中继站,n个邻近中继器可以分别包括中继站以及中继设备等等。It can be understood that the distance between each adjacent repeater of the n adjacent repeaters and the damaged repeater is less than the distance threshold, and n is a positive integer, that is, the neighboring repeater is geographically adjacent to the damage. And a terminal accessing the damaged repeater can communicate with at least one of the n neighboring repeaters. The n neighboring repeaters may be the same type of relay device or different types of relay devices. For example, n neighboring repeaters may all be relay stations, and n neighboring repeaters may include relay stations, relay devices, and the like, respectively.
可以理解的是,拓扑表中受损中继器的标识与邻近中继器的标识关联,并作为拓扑表中的一行存储,则表示受损中继器与邻近中继器之间存在连接关系。其中,受损中继器的标识与邻近中继器的标识可以是中继设备的无线网络临时标识(Radio Network Temporary Identity,RNTI),也可以是中继设备的MAC地址,还可以是其他能够使网关辨识出所述中继设备的标识信息,这里不做限制。It can be understood that the identifier of the damaged repeater in the topology table is associated with the identifier of the neighboring repeater and stored as one row in the topology table, indicating that there is a connection relationship between the damaged repeater and the neighboring repeater. . The identifier of the damaged repeater and the identifier of the neighboring repeater may be a Radio Network Temporary Identity (RNTI) of the relay device, or may be a MAC address of the relay device, or may be other capable The gateway is configured to identify the identification information of the relay device, and no limitation is made herein.
230:网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的m个终端分配给所述n个邻近中继器。 230: The gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
在本发明实施例中,受损中继器出现了故障,不能为接入到受损中继器的终端(为了简便起见,文章中统一称为受损中继器的终端)与网关之间的通讯提供服务,此时,需要将接入到受损中继器的终端切换至该受损中继器的邻近中继器中去,切换后的终端可以通过邻近中继器与网关进行通信。其中,n个邻近中继器中的每个邻近中继器与受损中继器的距离均小于距离阈值。In the embodiment of the present invention, the damaged repeater has a fault and cannot be connected to the terminal of the damaged repeater (for the sake of simplicity, the terminal collectively referred to as the damaged repeater in the article) and the gateway. The communication provides a service. At this time, the terminal connected to the damaged repeater needs to be switched to the adjacent repeater of the damaged repeater, and the switched terminal can communicate with the gateway through the adjacent repeater. . The distance between each of the n neighboring repeaters and the damaged repeater is less than the distance threshold.
在实际应用中,网关根据分配策略将受损中继器的m个终端分配给n个邻近中继器包括如下步骤:In an actual application, the gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the allocation policy, including the following steps:
(1)n个邻近中继器分别向网关上报自己的测量结果。(1) n neighboring repeaters report their own measurement results to the gateway.
在一具体的实施例中,n个邻近中继器分别通过上行控制信令向网关上报自己的测量结果。在一实施例中,邻近中继器可以通过一个上行控制信令向网关上报自己的测量结果;在另一实施例中,邻近中继器可以通过多个携带了测量结果的上行控制信令向网关上报自己的测量结果以避免因为信道情况比较差等原因而导致网关没有接收到测量结果,也就是说,邻近中继器重复发送携带了测量结果的上行控制信令,以确保网关能够接收到的测量结果。In a specific embodiment, the n neighboring repeaters report their own measurement results to the gateway through uplink control signaling. In an embodiment, the neighboring repeater can report its own measurement result to the gateway through an uplink control signaling; in another embodiment, the neighboring repeater can use multiple uplink control signaling that carries the measurement result. The gateway reports its own measurement result to prevent the gateway from receiving the measurement result because the channel condition is relatively poor. The neighboring repeater repeatedly sends the uplink control signaling carrying the measurement result to ensure that the gateway can receive the measurement result. Measurement results.
在一具体的实施例中,测量结果包括:邻近中继器与终端设备之间的信号强度、邻近中继器的负载能力(例如数据缓冲能力、剩余电量等)、邻近中继器的当前负载量、信息安全处理(加解密)能力等等。In a specific embodiment, the measurement results include: signal strength between the neighboring repeater and the terminal device, load capacity of the neighboring repeater (eg, data buffering capability, remaining power, etc.), current load of the adjacent repeater Quantity, information security processing (encryption and decryption) capabilities, and more.
(2)网关根据测量结果确定分配策略。(2) The gateway determines the allocation strategy based on the measurement results.
在一具体的实施例中,分配策略可以预先进行设置。分配策略可以是负载均衡策略,也可以是用户根据实际使用需要自定义的策略,此处不做具体限定。在设置时,分配策略可以遵循以下的规则:邻近中继器与终端设备之间的信号强度强、邻近中继器的负载能力强、邻近中继器的当前负载量较少以及信息安全处理能力较强的邻近中继器会被分配到较多的终端,而相反,邻近中继器与终端设备之间的信号强度弱、邻近中继器的负载能力弱、邻近中继器的当前负 载量较多以及信息安全处理能力较弱的邻近中继器会被分配到较少的终端。In a specific embodiment, the allocation policy can be set in advance. The allocation policy may be a load balancing policy, or a policy that the user needs to customize according to actual usage requirements. When set, the allocation policy can follow the following rules: strong signal strength between adjacent repeaters and terminal devices, strong load capacity of adjacent repeaters, less current load of adjacent repeaters, and information security processing capability. Strong neighboring repeaters are assigned to more terminals, and conversely, the signal strength between the neighboring repeater and the terminal device is weak, the load capacity of the neighboring repeaters is weak, and the current neighboring repeater is currently negative. Neighboring repeaters with more load and weaker information security processing capabilities are allocated to fewer terminals.
(3)、网关将分配策略发送给终端。(3) The gateway sends the allocation policy to the terminal.
在一具体的实施例中,网关通过下行控制信令向终端下发分配策略。在一实施例中,网关可以通过一个下行控制信令向终端下发的分配策略;在另一实施例中,网关可以通过多个携带了分配策略的下行控制信令向终端下发分配策略以避免因为信道情况比较差等原因而导致终端没有接收到分配策略,也就是说,网关重复发送携带了分配策略的下行控制信令,以确保终端能够接收到的分配策略。In a specific embodiment, the gateway sends an allocation policy to the terminal by using downlink control signaling. In an embodiment, the gateway may send an allocation policy to the terminal by using one downlink control signaling. In another embodiment, the gateway may send an allocation policy to the terminal by using multiple downlink control signaling that carries the allocation policy. The terminal does not receive the allocation policy because the channel condition is relatively poor. The gateway repeatedly transmits the downlink control signaling carrying the allocation policy to ensure that the terminal can receive the allocation policy.
(4)、终端根据接收到的分配策略接入到对应的邻近中继器。(4) The terminal accesses the corresponding neighboring repeater according to the received allocation policy.
可以理解的是,网关除了可以根据分配策略将终端分配给邻近中继器之外,还可以将受损中继器的m个终端平均分配给n个邻近中继器,即,n个邻近中继器中的任意一个邻近中继器将分配到m/n个终端。It can be understood that, in addition to assigning the terminal to the neighboring repeater according to the allocation policy, the gateway can evenly allocate m terminals of the damaged repeater to n neighboring repeaters, that is, n neighbors. Any one of the relays in the relay will be assigned to m/n terminals.
邻近中继器可以是受损设备的备用设备,(1)邻近中继器平时不任何承载转发业务,邻近中继器只作为受损设备的备用,当受损设备出现故障时,将受损设备承载的转发业务转移到邻近中继器中,邻近中继器只承担受损设备转移的转发业务。(2)邻近中继器平时还承载其他的转发业务,当受损设备出现故障时,将受损设备承载的转发业务转移到邻近中继器中,邻近中继器同时承担受损设备转移的转发业务和其他的转发业务。The adjacent repeater can be a backup device of the damaged device. (1) The adjacent repeater does not normally carry any bearer forwarding service, and the neighboring repeater only serves as a backup for the damaged device, and will be damaged when the damaged device fails. The forwarding service carried by the device is transferred to the neighboring repeater, and the neighboring repeater only bears the forwarding service transferred by the damaged device. (2) The neighboring repeater also carries other forwarding services. When the damaged device fails, the forwarding service carried by the damaged device is transferred to the adjacent repeater, and the adjacent repeater simultaneously bears the transfer of the damaged device. Forward traffic and other forwarding services.
上述详细阐述了本发明实施例的方法,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关设备。The foregoing describes the method of the embodiment of the present invention in detail. In the following, in order to facilitate the implementation of the above solution of the embodiment of the present invention, correspondingly, the related device for implementing the above solution is provided below.
请参阅图3,图3是本发明实施例提供的一种中继自动路由装置的结构示意图。本实施例的中继自动路由装置30包括:第一获取模块310,第二获取 模块320以及分配模块330。Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a relay automatic routing apparatus according to an embodiment of the present invention. The relay automatic routing device 30 of this embodiment includes: a first acquiring module 310, and a second acquiring Module 320 and allocation module 330.
所述第一获取模块310用于获取受损中继器的终端的数量m,其中,m为正整数。The first obtaining module 310 is configured to acquire the number m of terminals of the damaged repeater, where m is a positive integer.
所述第二获取模块320用于获取n个邻近中继器中的每个邻近中继器的m个终端的数量,其中,n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为大于零的正整数。The second obtaining module 320 is configured to acquire the number of m terminals of each of the n neighboring repeaters, wherein each of the n neighboring repeaters and the neighboring The distance of the damaged repeater is less than the distance threshold, and n is a positive integer greater than zero.
所述分配模块330用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端分配给所述n个邻近中继器。The allocating module 330 is configured to allocate the terminal of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
其中,图2所示的方法实施例中的步骤210可由第一获取模块310执行;图2所示的方法实施例中的步骤220可由第二获取模块320执行;图2所示的方法实施例中的步骤230可由分配模块330执行,具体请参阅图2以及相关实施例,此处不再展开赘述。The step 210 in the method embodiment shown in FIG. 2 may be performed by the first obtaining module 310. The step 220 in the method embodiment shown in FIG. 2 may be performed by the second obtaining module 320. The method embodiment shown in FIG. The step 230 can be performed by the distribution module 330. For details, please refer to FIG. 2 and related embodiments, and details are not described herein again.
请参阅图4,图4为本发明实施例提供的一种网关的结构示意图。本实施例的网关是对图3所示的网关的进一步优化,本实施例的网关与图3所示的网关的不同之处在于,所述第一获取模块310包括第一获取单元311以及第一统计单元312,Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a gateway according to an embodiment of the present invention. The gateway of this embodiment is further optimized for the gateway shown in FIG. 3. The gateway of this embodiment is different from the gateway shown in FIG. 3 in that the first acquiring module 310 includes a first acquiring unit 311 and a a statistic unit 312,
所述第一获取单元311用于获取受损中继器的接入表;The first obtaining unit 311 is configured to acquire an access table of the damaged repeater;
所述第一统计单元312用于根据所述受损中继器的接入表统计受损中继器的终端的数量。The first statistic unit 312 is configured to count the number of terminals of the damaged repeater according to the access table of the damaged repeater.
可选地,所述第二获取模块320包括:第二获取单元321以及查找单元322,Optionally, the second obtaining module 320 includes: a second obtaining unit 321 and a searching unit 322.
所述第二获取单元321用于获取所述受损中继器的拓扑表;The second obtaining unit 321 is configured to acquire a topology table of the damaged repeater.
所述查找单元322根据所述受损中继器的拓扑表查找到所述n个邻近中继 器。The searching unit 322 finds the n neighboring relays according to the topology table of the damaged repeater. Device.
可选地,第二获取模块还包括:第三获取单元323以及第二统计单元324,Optionally, the second obtaining module further includes: a third obtaining unit 323 and a second statistics unit 324,
所述第三获取单元323用于获取n个邻近中继器中的每个邻近中继器的接入表;The third obtaining unit 323 is configured to acquire an access table of each of the n neighboring repeaters;
所述第二统计单元324用于根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。The second statistic unit 324 is configured to separately count, according to an access table of each of the n neighboring repeaters, a terminal of each of the n neighboring repeaters. quantity.
可选地,所述分配模块330具体用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。Optionally, the allocating module 330 is specifically configured to allocate the terminal of the damaged repeater to the n neighbors according to an allocation policy according to the number of terminals of each of the n neighboring repeaters. Relay.
请参见图5,图5为本发明实施例公开的一种网关的结构示意图。本实施例的网关包括:至少一个处理器501、通信接口502、用户接口503和存储器504,处理器501、通信接口502、用户接口503和存储器504可通过总线或者其它方式连接,本发明实施例以通过总线505连接为例。其中,Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a gateway according to an embodiment of the present invention. The gateway of this embodiment includes: at least one processor 501, a communication interface 502, a user interface 503, and a memory 504. The processor 501, the communication interface 502, the user interface 503, and the memory 504 can be connected by using a bus or other manner. Take the connection through the bus 505 as an example. among them,
处理器501可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)。The processor 501 can be a general purpose processor, such as a Central Processing Unit (CPU).
通信接口502可以为有线接口(例如以太网接口)或无线接口(例如蜂窝网络接口或使用无线局域网接口),用于与其他电子设备或网站进行通信。本发明实施例中,通信接口502具体用于将目标推荐对象推荐给电子设备的用户。 Communication interface 502 can be a wired interface (e.g., an Ethernet interface) or a wireless interface (e.g., a cellular network interface or a wireless local area network interface) for communicating with other electronic devices or websites. In the embodiment of the present invention, the communication interface 502 is specifically configured to recommend the target recommendation object to the user of the electronic device.
用户接口503具体可为触控面板,包括触摸屏和触控屏,用于检测触控面板上的操作指令,用户接口503也可以是物理按键或者鼠标。用户接口603还可以为显示屏,用于输出、显示图像或数据。The user interface 503 may specifically be a touch panel, including a touch screen and a touch screen, for detecting an operation instruction on the touch panel, and the user interface 503 may also be a physical button or a mouse. The user interface 603 can also be a display screen for outputting, displaying images or data.
存储器504可以包括易失性存储器(Volatile Memory),例如随机存取存 储器(Random Access Memory,RAM);存储器也可以包括非易失性存储器(Non-Volatile Memory),例如只读存储器(Read-Only Memory,ROM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);存储器504还可以包括上述种类的存储器的组合。存储器504用于存储一组程序代码,处理器501用于调用存储器504中存储的程序代码,执行如下操作:The memory 504 can include a volatile memory (Volatile Memory), such as random access memory. Memory access memory (RAM); memory may also include non-volatile memory (Non-Volatile Memory), such as read-only memory (ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive (HDD) or Solid State Drive (SSD); the memory 504 may also include a combination of the above types of memories. The memory 504 is configured to store a set of program codes, and the processor 501 is configured to call the program code stored in the memory 504 to perform the following operations:
获取受损中继器的终端的数量m,其中,m为正整数;Obtaining the number m of terminals of the damaged repeater, where m is a positive integer;
获取n个邻近中继器中的每个邻近中继器的终端的数量,其中,n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为大于零的正整数;Obtaining a number of terminals of each of the n neighboring repeaters, wherein a distance between each of the n neighboring repeaters and the damaged repeater is less than a distance threshold , n is a positive integer greater than zero;
根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的m个终端分配给所述n个邻近中继器。The m terminals of the damaged repeater are allocated to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
可选地,获取受损中继器的接入表;Optionally, obtaining an access table of the damaged repeater;
根据所述受损中继器的接入表统计受损中继器的终端的数量。The number of terminals of the damaged repeater is counted according to the access table of the damaged repeater.
可选地,获取所述受损中继器的拓扑表;Optionally, acquiring a topology table of the damaged repeater;
根据所述受损中继器的拓扑表查找到所述n个邻近中继器。Finding the n neighboring repeaters according to the topology table of the damaged repeater.
可选地,获取n个邻近中继器中的每个邻近中继器的接入表;Optionally, acquiring an access table of each of the n neighboring repeaters;
根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。Counting the number of terminals of each of the n neighboring repeaters according to an access table of each of the n neighboring repeaters.
可选地,根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。Optionally, the terminal of the damaged repeater is allocated to the n neighboring repeaters according to an allocation policy according to the number of terminals of each of the n neighboring repeaters.
上述发明通过在受损中继器出现故障时,获取受损中继器的终端的数量m以及与受损中继器连接的n个邻近中继器的终端数量,并根据受损中继器连接 的n个邻近中继器中的每个邻近中继器的终端数量,将受损中继器的m个终端的分配给n个邻近中继器。The above invention obtains the number m of terminals of the damaged repeater and the number of terminals of the n adjacent repeaters connected to the damaged repeater when the damaged repeater fails, and according to the damaged repeater Connection The number of terminals of each of the n neighboring repeaters adjacent to the repeater distributes the m terminals of the damaged repeater to n neighboring repeaters.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the present invention. The equivalent changes required are still within the scope of the invention.

Claims (10)

  1. 一种中继自动路由方法,其特征在于,包括如下步骤:A relay automatic routing method, comprising the following steps:
    网关获取受损中继器的终端的数量m,其中,m为大于零的正整数;The gateway obtains the number m of terminals of the damaged repeater, where m is a positive integer greater than zero;
    所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量,其中,n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为正整数;The gateway acquires the number of terminals of each of the n neighboring repeaters, wherein the distance between each of the n neighboring repeaters and the damaged repeater is Less than the distance threshold, n is a positive integer;
    所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的m个终端分配给所述n个邻近中继器。The gateway allocates m terminals of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  2. 根据权利要求1所述的方法,其特征在于,所述网关获取受损中继器的终端的数量具体为:The method according to claim 1, wherein the number of terminals that the gateway acquires the damaged repeater is specifically:
    所述网关获取受损中继器的接入表;The gateway acquires an access table of the damaged repeater;
    所述网关根据所述受损中继器的接入表统计受损中继器的终端的数量。The gateway counts the number of terminals of the damaged repeater according to the access table of the damaged repeater.
  3. 根据权利要求1所述的方法,其特征在于,所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量之前还包括:The method according to claim 1, wherein before the gateway acquires the number of terminals of each of the neighboring repeaters of the n neighboring repeaters, the method further includes:
    所述网关获取所述受损中继器的拓扑表;Obtaining, by the gateway, a topology table of the damaged repeater;
    所述网关根据所述受损中继器的拓扑表查找到所述n个邻近中继器。The gateway finds the n neighboring repeaters according to the topology table of the damaged repeater.
  4. 根据权利要求3所述的方法,其特征在于,所述网关获取n个邻近中继器中的每个邻近中继器的终端的数量具体为:The method according to claim 3, wherein the number of terminals that the gateway acquires each of the n neighboring repeaters is specifically:
    所述网关获取n个邻近中继器中的每个邻近中继器的接入表;The gateway acquires an access table of each of the n neighboring repeaters;
    所述网关根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。The gateway separately counts the number of terminals of each of the n neighboring repeaters according to an access table of each of the n neighboring repeaters.
  5. 根据权利要求1所述的方法,其特征在于,所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端分配给所述n个邻近中继器具体为: The method according to claim 1, wherein said gateway allocates terminals of damaged repeaters to said n neighbors according to the number of terminals of each of said n neighboring repeaters The repeater is specifically:
    所述网关根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。The gateway allocates the terminal of the damaged repeater to the n neighboring repeaters according to an allocation policy according to the number of terminals of each of the n neighboring repeaters.
  6. 一种网关,其特征在于,包括第一获取模块,第二获取模块以及分配模块,A gateway, comprising: a first acquiring module, a second acquiring module, and an allocating module,
    所述第一获取模块用于获取受损中继器的终端的数量m,其中,m为正整数;The first obtaining module is configured to acquire the number m of terminals of the damaged repeater, where m is a positive integer;
    所述第二获取模块用于获取n个邻近中继器中的每个邻近中继器的m个终端的数量,其中,n个邻近中继器中的每个邻近中继器与所述受损中继器的距离均小于距离阈值,n为大于零的正整数;The second obtaining module is configured to acquire the number of m terminals of each of the n neighboring repeaters, wherein each of the n neighboring repeaters is adjacent to the receiver The distance of the loss repeater is less than the distance threshold, and n is a positive integer greater than zero;
    所述分配模块用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端分配给所述n个邻近中继器。The allocation module is configured to allocate a terminal of the damaged repeater to the n neighboring repeaters according to the number of terminals of each of the n neighboring repeaters.
  7. 根据权利要求6所述的装置,其特征在于,所述第一获取模块包括第一获取单元以及第一统计单元,The device according to claim 6, wherein the first obtaining module comprises a first acquiring unit and a first counting unit,
    所述第一获取单元用于获取受损中继器的接入表;The first obtaining unit is configured to acquire an access table of the damaged repeater;
    所述第一统计单元用于根据所述受损中继器的接入表统计受损中继器的终端的数量。The first statistic unit is configured to count the number of terminals of the damaged repeater according to the access table of the damaged repeater.
  8. 根据权利要求6所述的装置,其特征在于,所述第二获取模块包括:第二获取单元以及查找单元,The device according to claim 6, wherein the second obtaining module comprises: a second acquiring unit and a searching unit,
    所述第二获取单元用于获取所述受损中继器的拓扑表;The second obtaining unit is configured to acquire a topology table of the damaged repeater;
    所述查找单元根据所述受损中继器的拓扑表查找到所述n个邻近中继器。The searching unit finds the n neighboring repeaters according to the topology table of the damaged repeater.
  9. 根据权利要求8所述的装置,其特征在于,第二获取模块还包括:第三获取单元以及第二统计单元,The apparatus according to claim 8, wherein the second obtaining module further comprises: a third obtaining unit and a second counting unit,
    所述第三获取单元用于获取n个邻近中继器中的每个邻近中继器的接入表; The third obtaining unit is configured to acquire an access table of each of the n neighboring repeaters;
    所述第二统计单元用于根据所述n个邻近中继器中的每个邻近中继器的接入表分别统计所述n个邻近中继器中的每个邻近中继器的终端的数量。The second statistic unit is configured to separately count, according to an access table of each of the n neighboring repeaters, a terminal of each of the n neighboring repeaters Quantity.
  10. 根据权利要求6所述的装置,其特征在于,所述分配模块具体用于根据n个邻近中继器中的每个邻近中继器的终端的数量将受损中继器的终端按照分配策略分配给所述n个邻近中继器。 The apparatus according to claim 6, wherein the allocating module is specifically configured to: according to the number of terminals of each of the n neighboring repeaters, the terminal of the damaged repeater according to an allocation policy Assigned to the n neighboring repeaters.
PCT/CN2017/100742 2017-08-29 2017-09-06 Relay automatic routing method and device WO2019041369A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710753815.0A CN107517486A (en) 2017-08-29 2017-08-29 Relay automatic routing method and device
CN201710753815.0 2017-08-29

Publications (1)

Publication Number Publication Date
WO2019041369A1 true WO2019041369A1 (en) 2019-03-07

Family

ID=60724434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100742 WO2019041369A1 (en) 2017-08-29 2017-09-06 Relay automatic routing method and device

Country Status (2)

Country Link
CN (1) CN107517486A (en)
WO (1) WO2019041369A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11546828B2 (en) 2019-08-01 2023-01-03 Qualcomm Incorporated Smart directional repeaters with buffering capability

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339702A (en) * 2021-02-23 2022-04-12 深圳市鼎元智能科技有限公司 Near field communication method and system
CN113286324B (en) * 2021-05-13 2024-03-19 江苏南工科技集团有限公司 Communication quality balance analysis method for sensing terminal equipment of Internet of things based on 5G technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040063440A1 (en) * 2001-01-12 2004-04-01 Mark Beckmann Method for co-ordinating the transmission interruptions in a plurality of base stations in a cellular radio communication system, and corresponding radio communication system
CN105898807A (en) * 2016-06-08 2016-08-24 北京邮电大学 Access point selection and resource distribution combined self-healing method in ultra-dense network
CN106465228A (en) * 2014-04-02 2017-02-22 华为技术有限公司 Method and apparatus for cell interruption compensation
CN106470454A (en) * 2015-08-19 2017-03-01 普天信息技术有限公司 Residence reselecting under fail soft mode of operation and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938795A (en) * 2009-07-03 2011-01-05 中兴通讯股份有限公司 Switching method and system in wireless relay system
US9209886B2 (en) * 2012-01-10 2015-12-08 Electronics And Telecommunications Research Institute Terminal and communication method thereof
CN103888277B (en) * 2012-12-19 2018-09-04 中国移动通信集团公司 A kind of gateway disaster-tolerant backup method, device and system
CN104703234B (en) * 2013-12-04 2018-11-23 中国移动通信集团公司 Access switching method and device in a kind of WLAN
CN105228201B (en) * 2015-10-13 2018-12-25 小米科技有限责任公司 The switching method and device of relay router

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040063440A1 (en) * 2001-01-12 2004-04-01 Mark Beckmann Method for co-ordinating the transmission interruptions in a plurality of base stations in a cellular radio communication system, and corresponding radio communication system
CN106465228A (en) * 2014-04-02 2017-02-22 华为技术有限公司 Method and apparatus for cell interruption compensation
CN106470454A (en) * 2015-08-19 2017-03-01 普天信息技术有限公司 Residence reselecting under fail soft mode of operation and terminal
CN105898807A (en) * 2016-06-08 2016-08-24 北京邮电大学 Access point selection and resource distribution combined self-healing method in ultra-dense network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11546828B2 (en) 2019-08-01 2023-01-03 Qualcomm Incorporated Smart directional repeaters with buffering capability

Also Published As

Publication number Publication date
CN107517486A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US9942944B2 (en) Network-initiated discovery and path selection procedures for multi-hop underlay networks
CN110505160B (en) Communication method and device
KR102339471B1 (en) Report sending method, report receiving method, apparatus and system
US20180317218A1 (en) Data scheduling method, base station, and system
US8958404B2 (en) Apparatus and method for providing access to a local area network
US10798677B2 (en) Methods and apparatus for paging an inactive UE in a wireless network
JP6472507B2 (en) Distributed implementation of self-organized tracking area
CN103238306A (en) Device to device cluster enhancement to support data transmission from/to multiple devices
CN113508639B (en) Method and device for relay communication
WO2012124224A1 (en) Wireless base station device, wireless communication method for wireless base station device, and wireless communication system
US9357580B2 (en) Method for switching communication connection mode, communication system, base station, transmitter and receiver
CN101521909B (en) Signaling forwarding method for communication between base stations based on terminal relays
JP2017521956A5 (en)
JP2022506194A (en) How it is performed by the source device, how it is performed by the network node, how it is performed by the destination device, and the source device.
CN107708085B (en) Repeater guaranteeing method and access point
US11895548B2 (en) Link management for a connected user equipment
CN113099556A (en) Apparatus, system and method for establishing a connection between a cellular node and a core network
WO2019041369A1 (en) Relay automatic routing method and device
KR20230098855A (en) Remote terminal service identification method, device, device and storage medium
US20190305891A1 (en) Processing Method under Data Duplication and Related Devices
CN113676922B (en) Terminal device cooperation method and device
US11212739B2 (en) Establishing tethering cells remotely
CN111836333B (en) Communication method, communication device and terminal equipment
CN113810215A (en) Relay communication method and related equipment
CN109429294B (en) Communication method, base station, relay node and device with storage performance

Legal Events

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

Ref document number: 17923883

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17923883

Country of ref document: EP

Kind code of ref document: A1