WO2018053896A1 - 一种基于中继器的数据自动路由方法及中继器 - Google Patents

一种基于中继器的数据自动路由方法及中继器 Download PDF

Info

Publication number
WO2018053896A1
WO2018053896A1 PCT/CN2016/103372 CN2016103372W WO2018053896A1 WO 2018053896 A1 WO2018053896 A1 WO 2018053896A1 CN 2016103372 W CN2016103372 W CN 2016103372W WO 2018053896 A1 WO2018053896 A1 WO 2018053896A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
quality
repeater
service
data
Prior art date
Application number
PCT/CN2016/103372
Other languages
English (en)
French (fr)
Inventor
杜光东
Original Assignee
深圳市盈广现代网络设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市盈广现代网络设备有限公司 filed Critical 深圳市盈广现代网络设备有限公司
Publication of WO2018053896A1 publication Critical patent/WO2018053896A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Definitions

  • the present application relates to the field of communications, and in particular, to a repeater-based data automatic routing method and a repeater.
  • a repeater is a device that connects network lines and is commonly used for bidirectional forwarding of physical signals between two network nodes.
  • the repeater mainly completes the function of the physical layer, and is responsible for transmitting information bit by bit on the physical layer of the two nodes, completing the signal copying, adjusting and amplifying functions, thereby extending the length of the network. Due to the loss, the signal power transmitted on the line will gradually decay. When it is attenuated to a certain extent, the signal will be distorted, which will cause reception errors.
  • the repeater is designed to solve this problem. It completes the connection of the physical line and amplifies the attenuated signal to remain the same as the original data. In general, the two ends of the repeater are connected to the same media, but some repeaters can also perform the transfer work of different media.
  • the working state may be unstable. At this time, the terminal is prone to packet loss when performing data transmission.
  • the application provides a repeater-based automatic routing method and a repeater. You can avoid network packet loss.
  • a repeater-based data automatic routing method comprising the following steps:
  • the gateway receives the transmission information of the data packet sent by the terminal forwarded by the first repeater after detecting the abnormal transmission of the data packet, where the transmission information is: the quality of service of the data packet;
  • the gateway periodically receives the data transmission quality sent by multiple repeaters
  • the gateway allocates one of the plurality of repeaters to the data packet according to the quality of service of the data packet according to the quality of service of the data packet to complete the sending of the data packet.
  • the gateway selects one of the multiple repeaters to allocate the data packet to the data packet according to the quality of service of the data packet according to the data transmission quality of the multiple relays.
  • the specific delivery of the data packet includes:
  • the gateway assigns high priority to data packets with high quality of service requirements, and assigns low priority to data packets with low quality of service requirements.
  • the gateway allocates high-quality repeaters to high-priority data packets, which are low-priority data.
  • the packet allocates a repeater with low transmission quality.
  • the gateway selects one of the multiple repeaters to allocate the data packet to the data packet according to the quality of service of the data packet according to the data transmission quality of the multiple relays.
  • the specific delivery of the data packet includes:
  • the gateway calculates a matching degree according to the quality of service of the data packet and the data transmission quality of the multiple repeaters;
  • the data packet is allocated to the repeater, and if the calculated matching degree is lower than the set threshold, it is determined whether the data transmission quality of the repeater is higher than the The quality of service of the data packet, such as the data transmission quality of the repeater being higher than the quality of service of the data packet, receiving the load of the repeater, such as the load being lower than the set load threshold, and assigning the data packet to the medium Relay.
  • a data automatic route support method for a repeater includes the following steps:
  • the terminal sends data to the repeater
  • the terminal When the terminal detects that the data packet is abnormal to the first repeater, the terminal transmits the transmission information of the data packet that needs to be transmitted to the first repeater.
  • the terminal detects that sending a data packet to the first repeater is abnormal, including:
  • the terminal collects statistics on the packet loss rate of the data packet sent by the first repeater. If the packet loss rate is greater than the set packet loss threshold, the terminal determines to send the data packet abnormality to the first repeater.
  • the terminal performs statistics on the quality of service of the transmitted data packet. If the quality of service can meet the quality of service requirements of the data packet, it is determined that there is no abnormality. If the quality of service is lower than the service quality requirement of the data packet, an abnormality is determined.
  • a repeater-based data automatic routing device is provided, the device being applied to a gateway, the device comprising:
  • a receiving unit configured to receive, by the first repeater, the transmission information of the data packet sent by the terminal after detecting that the data packet is sent abnormally, where the transmission information is: a quality of service of the data packet;
  • the receiving unit is further configured to periodically receive data transmission quality sent by multiple repeaters;
  • a processing unit configured to select one of the plurality of repeaters to allocate the data packet to complete the data packet according to the quality of service of the data packet according to the data transmission quality sent by the multiple relays Send.
  • the processing unit is configured to allocate a high priority to a data packet with high quality of service requirements, a low priority to a data packet with low quality of service requirements, and allocate a high transmission quality to a high priority data packet.
  • a repeater that allocates low-quality repeaters for low-priority packets.
  • the processing unit is configured to calculate a matching degree according to a quality of service of the data packet and a data transmission quality of the multiple repeaters; if the calculated matching degree is higher than a set threshold, The data packet is allocated to the repeater, and if the calculated matching degree is lower than a set threshold, it is determined whether the data transmission quality of the repeater is higher than the service quality of the data packet, such as the data transmission of the repeater.
  • the quality is higher than the quality of service of the data packet, and the load of the repeater is received, and if the load is lower than the set load threshold, the data packet is allocated to the repeater.
  • a fourth aspect provides a terminal, where the terminal includes:
  • a sending unit configured to send data to the repeater
  • a detecting unit configured to detect whether sending a data packet to the first repeater is abnormal
  • the sending unit is configured to: when the detecting unit detects that the terminal sends a data packet abnormality to the first repeater, send the transmission information of the data packet that needs to be transmitted to the first repeater.
  • the detecting unit is configured to collect statistics on a packet loss rate of the data packet sent by the first repeater, and if the packet loss rate is greater than a set packet loss threshold, determine to send data to the first repeater. Packet exception
  • the terminal performs statistics on the quality of service of the transmitted data packet. If the quality of service can meet the quality of service requirements of the data packet, it is determined that there is no abnormality. If the quality of service is lower than the service quality requirement of the data packet, an abnormality is determined.
  • the technical solution of the routing method of the repeater provided by the present invention is that when the data transmission is abnormal, the gateway receives the transmission information of the data packet forwarded by the relay, and allocates the data packet according to the quality of service in the transmission information. Different priority levels, receiving data transmission quality of multiple repeaters, and assigning repeaters of different transmission qualities to data packets of different priorities, thereby meeting the requirements of the quality of the data packet server and ensuring the transmission of terminal data, so It does not appear to be lost.
  • 1 is a schematic flow chart of a repeater-based data routing method
  • 2 is a flow chart of transmission of a terminal transmitting a data packet to a gateway
  • Figure 3 is a transmission flow chart of the gateway transmitting the data packet to the terminal
  • FIG. 4 is a schematic flowchart of a repeater-based data automatic routing method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an implementation scenario of an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a repeater-based data automatic routing method according to another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a repeater-based data automatic routing apparatus provided by the present application.
  • FIG. 8 is a schematic structural diagram of a terminal provided by the present application.
  • FIG. 9 is a schematic structural diagram of a hardware of a gateway provided by the present application.
  • FIG. 10 is a schematic structural diagram of hardware of a terminal provided by the present application.
  • Computer equipment also known as “computer” means that it can be scheduled to run through An intelligent electronic device that executes a predetermined process, such as numerical calculations and/or logic calculations, that may include a processor and a memory, the processor executing a surviving instruction pre-stored in the memory to perform a predetermined process, or by an ASIC
  • a predetermined process such as numerical calculations and/or logic calculations
  • the hardware such as FPGA or DSP performs a predetermined processing process or is implemented by a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
  • a repeater-based automatic routing method is provided. The method is applied to relaying it or the network management.
  • FIG. 1 is a data routing method of a repeater.
  • the network includes: a terminal 10, a repeater 11, and a gateway 12.
  • 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 a smart TV, a smart air conditioner, a smart water bottle, or some intelligent devices of the Internet of Things.
  • the wireless device is connected to the repeater 11 , and the repeater 11 accesses the Internet through the gateway 12 by using another method (that is, a connection mode different from the wireless mode).
  • the wireless mode includes, but is not limited to, Bluetooth, WIFI, and the like. Another way can be LTE or wired. In Fig. 1, the wired mode is taken as an example, and for convenience of description, it is represented by a solid line.
  • FIG. 2 is a transmission flowchart of a terminal sending a data packet to a gateway. As shown in FIG. 2, the process includes:
  • Step S201 The terminal 10 sends the data packet that needs to be sent to the repeater by using a wireless method.
  • Step S202 the repeater forwards the data packet to the gateway 12;
  • Step S203 The gateway 12 transmits the data packet to the Internet.
  • FIG. 3 is a transmission flowchart of a gateway sending a data packet to a terminal. As shown in FIG. 3, the process includes:
  • Step S301 The gateway receives, from the Internet, a data packet that needs to be sent to the terminal 10;
  • Step S302 The gateway sends the data packet to the relay station.
  • Step S303 The relay station sends the data packet to the terminal.
  • the relay station fails (the fault here mainly refers to the soft fault), the terminal will not be able to send the data packet to the gateway, and the gateway cannot also transmit the data.
  • the packet is sent to the terminal and there is always a packet loss.
  • FIG. 4 is a data routing method of a repeater according to the present invention.
  • the method is implemented in a network architecture as shown in FIG. 5.
  • multiple relays can be connected under one gateway.
  • Each repeater may have multiple terminals, and one terminal may also be in the signal range of multiple repeaters (the dotted line indicates that the terminal is located in the signal range of the repeater), and the method is as shown in FIG. , including the following steps:
  • Step S401 The terminal sends a data packet to the first repeater.
  • the manner in which the terminal sends the data packet to the first repeater may be multiple.
  • the specific embodiment of the present invention does not limit the specific manner of the foregoing sending.
  • the method may be adopted by using the Bluetooth mode.
  • the data packet is sent to the repeater.
  • it can also be sent through WIFI.
  • WIFI Wireless Fidelity
  • it can also be used in other ways, such as Zigbee, LTE, and the like.
  • Step S402 When the terminal detects that the data packet is abnormal to the first repeater, the terminal transmits the transmission information of the data packet that needs to be transmitted to the first repeater.
  • the method for detecting a packet abnormality to the first relay device in the foregoing step S402 may be various.
  • the terminal may perform statistics on the packet loss rate of the data packet sent by the first relay device, for example, If the packet loss rate is greater than the set packet loss threshold, it is determined that the data packet is sent to the first repeater.
  • the abnormality of the data packet may be detected by other means, for example, for sending the data packet.
  • the quality of service Qos is counted. If Qos can meet the QoS requirements of the data packet, it is determined that there is no abnormality. For example, if Qos is lower than the QoS requirement of the data packet, the abnormality is determined.
  • it can be determined by many other methods. Whether it is abnormal or not, the present invention is not limited to the specific way of obtaining an abnormality.
  • the transmission information of the data packet in the above step S402 includes: the quality of service of the data packet (English: Quality of Service, English abbreviation: Qos)
  • the above-mentioned quality of service refers to a network that can utilize various basic technologies to provide better service capabilities for designated network communications. It is a security mechanism of the network and a technology for solving problems such as network delay and congestion. Under normal circumstances, if the network is only used for a specific time-limited application, QoS is not required, such as web applications, or E-mail settings. But it is necessary for critical applications and multimedia applications. When the network is overloaded or congested, QoS can ensure that important traffic is not delayed or discarded, while ensuring efficient operation of the network. There is a description of QoS on RFC3644.
  • Step S403 The first repeater sends the transmission information of the data packet that needs to be transmitted to the gateway.
  • the method for the first repeater to send the transmission information of the data packet to be transmitted to the gateway in the foregoing step S403 may be sent to the gateway in a wired manner, for example, by other means, for example, by using a wireless method.
  • This may include, but is not limited to, wireless methods such as CDMA or LTE.
  • Step S404 The gateway periodically receives data transmission quality sent by multiple relays.
  • Periodically receiving the specific data transmission quality sent by the plurality of repeaters in step S404 The period can be set by the user. For some services with high Qos requirements, such as multimedia, the period needs to be relatively short.
  • Step S405 The gateway allocates different priorities to the data packet according to the QoS of the data packet.
  • the implementation method of the foregoing step S405 may specifically include:
  • Packets with high Qos requirements are assigned high priority, and packets with low Qos requirements are assigned low priority.
  • Step S406 The gateway allocates a repeater of different transmission quality to the data packet according to the priority.
  • the implementation method of the foregoing step S406 may specifically include:
  • the gateway allocates high-quality repeaters for high-priority packets and low-quality repeaters for low-priority packets.
  • the above steps S401 and S402 form the data automatic route support method of the above-mentioned repeater, and the above steps S403 to S406 form the above-mentioned repeater-based data automatic route method.
  • the technical solution of the routing method of the repeater provided by the present invention is that when the data transmission is abnormal, the gateway receives the transmission information of the data packet forwarded by the relay, and assigns different priorities to the data packet according to the quality of service in the transmission information, and receives The data transmission quality of multiple repeaters, assigning repeaters with different transmission qualities to different priority packets, so as to meet the requirements of the quality of the packet server and ensure the transmission of the terminal data, so it will not lose packets. .
  • FIG. 6 is a data routing method of a repeater according to another embodiment of the present invention.
  • the method is implemented in a network architecture as shown in FIG. 5, as shown in FIG. Repeaters, each of which can have multiple terminals, and one terminal can also be in the signal range of multiple repeaters.
  • the method is as shown in FIG. 6, and includes the following steps:
  • Step S601 The terminal sends a data packet to the first repeater.
  • the manner in which the terminal sends the data packet to the first repeater may be multiple.
  • the specific embodiment of the present invention does not limit the specific manner of the foregoing sending.
  • the method may be adopted by using a Bluetooth method.
  • the data packet is sent to the repeater.
  • it can also be sent through WIFI.
  • WIFI wireless fidelity
  • it can also be used in other ways, such as Zigbee, LTE, and the like.
  • Step S602 When the terminal detects that the data packet is abnormal to the first repeater, the terminal transmits the transmission information of the data packet that needs to be transmitted to the first repeater.
  • the method for detecting a packet abnormality to the first repeater in the foregoing step S602 may be various.
  • the terminal may perform statistics on the packet loss rate of the data packet sent by the first repeater, for example, If the packet loss rate is greater than the set packet loss threshold, it is determined that the data packet is sent to the first repeater.
  • the abnormality of the data packet may be detected by other means, for example, for sending the data packet.
  • the quality of service Qos is counted. If Qos can meet the QoS requirements of the data packet, it is determined that there is no abnormality. For example, if Qos is lower than the QoS requirement of the data packet, the abnormality is determined.
  • it can be determined by many other methods. Whether it is abnormal or not, the present invention is not limited to the specific way of obtaining an abnormality.
  • the transmission information of the data packet in the foregoing step S602 includes: the quality of service of the data packet (English: Quality of Service, English abbreviation: Qos)
  • the above-mentioned quality of service refers to a network that can utilize various basic technologies to provide better service capabilities for designated network communications. It is a security mechanism of the network and a technology for solving problems such as network delay and congestion. Under normal circumstances, if the network is only used for a specific time-limited application, QoS is not required, such as web applications, or E-mail settings. But it is necessary for critical applications and multimedia applications. When the network is overloaded or congested, QoS can ensure that important traffic is not delayed or discarded, while ensuring efficient operation of the network. There is a description of QoS on RFC3644.
  • Step S603 The first repeater sends the transmission information of the data packet to be transmitted to the gateway.
  • the method for the first repeater to send the transmission information of the data packet to be transmitted to the gateway in the foregoing step S603 may be sent to the gateway in a wired manner, for example, by other means, for example, by using a wireless method.
  • This may include, but is not limited to, wireless methods such as CDMA or LTE.
  • Step S604 The gateway periodically receives data transmission quality sent by multiple relays.
  • the specific period in the data transmission quality that is periodically received by the multiple repeaters in the above step S404 can be set by the user. For some services with high Qos requirements, such as multimedia, the period needs to be relatively short.
  • Step S605 The gateway calculates a matching degree according to the Qos of the data packet and the data transmission quality of the multiple repeaters.
  • the implementation method of the foregoing step S605 may specifically include:
  • the gateway allocates high-quality repeaters for high-priority packets, which are low-priority packets. Assign a repeater with low transmission quality.
  • Step S606 If the calculated matching degree is higher than the set threshold, the data packet is allocated to the repeater, and if the calculated matching degree is lower than the set threshold, it is determined whether the data transmission quality of the repeater is high.
  • the QoS of the data packet if the data transmission quality of the repeater is higher than the QoS of the data packet, receiving the load of the repeater, if the load is lower than a set load threshold, assigning the data packet to the QoS Repeater.
  • the technical solution of the routing method of the repeater provided by the present invention is that when the data transmission is abnormal, the gateway receives the transmission information of the data packet forwarded by the relay, and assigns different priorities to the data packet according to the quality of service in the transmission information, and receives The data transmission quality of multiple repeaters, assigning repeaters with different transmission qualities to different priority packets, so as to meet the requirements of the quality of the packet server and ensure the transmission of the terminal data, so it will not lose packets. .
  • FIG. 7 is a repeater-based data automatic routing device 700.
  • the device is applied to a gateway, and the device includes:
  • the receiving unit 701 is configured to receive, by the first repeater, the transmission information of the data packet that is sent by the terminal after detecting the abnormal transmission of the data packet, where the transmission information is: a quality of service of the data packet;
  • the receiving unit 701 is further configured to periodically receive data transmission quality sent by multiple relays;
  • the processing unit 702 is configured to select one of the multiple relays to allocate the data packet to complete the data according to the quality of service of the data packet according to the data transmission quality sent by the multiple relays. The delivery of the package.
  • the processing unit 702 is specifically configured to allocate a high priority to a data packet with high quality of service requirements, a low priority to a data packet with a low quality of service requirement, and allocate a high transmission quality to a high priority data packet.
  • the processing unit 702 is configured to calculate a matching degree according to a quality of service of the data packet and a data transmission quality of the multiple repeaters; if the calculated matching degree is higher than a set threshold, The data packet is allocated to the repeater, and if the calculated matching degree is lower than a set threshold, it is determined whether the data transmission quality of the repeater is higher than the service quality of the data packet, such as the data transmission of the repeater.
  • the quality is higher than the quality of service of the data packet, and the load of the repeater is received, and if the load is lower than the set load threshold, the data packet is allocated to the repeater.
  • FIG. 8 provides a terminal 800, where the terminal includes:
  • a sending unit 801, configured to send data to the repeater
  • the detecting unit 802 is configured to detect whether sending a data packet to the first repeater is abnormal
  • the sending unit 801 is configured to: when the detecting unit detects that the terminal sends a data packet abnormality to the first repeater, send the transmission information of the data packet that needs to be transmitted to the first repeater.
  • the detecting unit 802 is configured to collect statistics on a packet loss rate of the data packet sent by the first repeater, and if the packet loss rate is greater than the set packet loss threshold, determine to send the data packet to the first repeater. abnormal;
  • the terminal performs statistics on the quality of service of the transmitted data packet. If the quality of service can meet the quality of service requirements of the data packet, it is determined that there is no abnormality. If the quality of service is lower than the service quality requirement of the data packet, an abnormality is determined.
  • FIG. 9 is a terminal 1000 provided by the present invention.
  • the gateway may be a node deployed in an Internet system.
  • the Internet system may further include: a terminal and a repeater.
  • the terminal 1000 includes but is not limited to: a computer.
  • the terminal 1000 includes a processor 901, a memory 902, a transceiver 903, and a bus 904.
  • the transceiver 903 is configured to transmit and receive data with an external device (eg, other devices in the interconnection system, including but not limited to: a repeater, a core network device, etc.).
  • the number of processors 901 in the terminal 1000 may be one or more.
  • processor 901, memory 902, and transceiver 903 may be connected by a bus system or other means.
  • bus system or other means.
  • the program code can be stored in the memory 902.
  • the processor 901 is configured to call the program code stored in the memory 902, and is configured to perform the following operations:
  • the transceiver 903 is configured to receive, by the first repeater, the transmission information of the data packet that is sent by the terminal after detecting the abnormal transmission of the data packet, where the transmission information is: the quality of service of the data packet, and the periodic receiving multiple The quality of the data transmission sent by the repeater;
  • the processor 901 is configured to select one of the plurality of repeaters to allocate the data packet to the data packet according to the quality of service of the data packet according to the data transmission quality of the multiple relays to complete the data. The delivery of the package.
  • the processor 601 is further configured to perform steps S403 to S406 in the embodiment shown in FIG. 4, a refinement scheme of the steps, and an optional solution.
  • the processor 901 herein may be a processing component or a general term of multiple processing components.
  • the processing element can be a central processing unit (Central Processing Unit, The CPU) may be an Application Specific Integrated Circuit (ASIC) or one or more integrated circuits configured to implement the embodiments of the present application, for example, one or more microprocessors (digital singnal processors, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
  • ASIC Application Specific Integrated Circuit
  • DSP digital singnal processors
  • FPGAs Field Programmable Gate Arrays
  • the memory 903 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 903 may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • the bus 904 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the user equipment may also include input and output means coupled to bus 904 for connection to other portions, such as processor 901, via a bus.
  • the input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
  • FIG. 10 is a terminal 1000 provided by the present invention.
  • the gateway may be a node deployed in an Internet system.
  • the Internet system may further include: a terminal and a repeater.
  • the terminal 1000 includes but is not limited to: a computer.
  • the terminal 1000 includes a processor 1001, a memory 1002, a transceiver 1003, and a bus 1004.
  • the transceiver 1003 is configured to transceive data with and from external devices, such as other devices in the interconnect system, including but not limited to: repeaters, and the like.
  • the number of processors 1001 in the terminal 1000 may be one or more.
  • the processor 1001, the memory 1002, and the transceiver 1003 may be connected by a bus system or other means.
  • a bus system or other means.
  • the program code can be stored in the memory 1002.
  • the processor 1001 is configured to call program code stored in the memory 1002 for performing the following operations:
  • the transceiver 1003 is configured to receive, after the terminal forwarded by the first repeater, detects that the data packet is sent abnormally Transmission information of the transmitted data packet, the transmission information is: quality of service of the data packet and periodic reception of data transmission quality sent by multiple repeaters;
  • the processor 1001 is configured to select one of the multiple relays to allocate the data packet to complete the data according to the quality of service of the data packet according to the data transmission quality sent by the multiple relays. The delivery of the package.
  • the processor 1001 is further configured to perform steps S401 to S402 in the embodiment shown in FIG. 4, a refinement scheme of the steps, and an optional solution.
  • the processor 1001 herein may be a processing component or a general term of multiple processing components.
  • the processing component may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • DSPs digital singal processors
  • FPGAs Field Programmable Gate Arrays
  • the memory 1003 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 1003 may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • the bus 1004 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.
  • the user equipment may also include input and output means coupled to bus 904 for connection to other portions, such as processor 1001, via a bus.
  • the input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

本申请公开了一种基于中继器的数据自动路由方法,所述方法包括如下步骤:网关接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;网关周期性的接收多个中继器发送的数据传输质量;网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。本发明提供的技术方案具有避免丢包的优点。

Description

一种基于中继器的数据自动路由方法及中继器
本申请要求于2016年9月20日提交中国专利局、申请号为201610832541.X、发明名称为“一种基于中继器的数据自动路由方法及中继器”的中国专利申请的优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本申请涉及通信领域,尤其涉及一种基于中继器的数据自动路由方法及中继器。
背景技术
中继器(RP repeater)是连接网络线路的一种装置,常用于两个网络节点之间物理信号的双向转发工作。中继器主要完成物理层的功能,负责在两个节点的物理层上按位传递信息,完成信号的复制、调整和放大功能,以此来延长网络的长度。由于存在损耗,在线路上传输的信号功率会逐渐衰减,衰减到一定程度时将造成信号失真,因此会导致接收错误。中继器就是为解决这一问题而设计的。它完成物理线路的连接,对衰减的信号进行放大,保持与原数据相同。一般情况下,中继器的两端连接的是相同的媒体,但有的中继器也可以完成不同媒体的转接工作。
在中继器出现软故障(即出现软件故障)中,其工作状态会出现不稳定,此时终端在进行数据传输时容易出现丢包。
发明内容
本申请提供一种基于中继器的自动路由方法及中继器。可以避免网络丢包。
第一方面,提供一种基于中继器的数据自动路由方法,所述方法包括如下步骤:
网关接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;
网关周期性的接收多个中继器发送的数据传输质量;
网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
可选的,所述网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送具体,包括:
网关为服务质量要求高的数据包分配高优先级,为服务质量要求低的数据包分配低优先级,网关为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
可选的,所述网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送具体,包括:
网关依据所述数据包的服务质量和所述多个中继器的数据传输质量计算匹配度;
如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的服务质量,如该中继器的数据传输质量高于所述数据包的服务质量,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
第二方面,提供一种中继器的数据自动路由支持方法,所述方法包括如下步骤:
终端向中继器发送数据;
终端检测到向第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器。
可选的,所述终端检测到向第一中继器发送数据包异常具体,包括:
终端通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常;
或终端对发送数据包的服务质量进行统计,如服务质量能够达到数据包的服务质量要求,则确定无异常,如服务质量低于数据包的服务质量要求,则确定异常。
第三方面,提供一种基于中继器的数据自动路由装置,所述装置应用于网关内,所述装置包括:
接收单元,用于接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;
所述接收单元,还用于周期性的接收多个中继器发送的数据传输质量;
处理单元,用于依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
可选的,所述处理单元具体,用于为服务质量要求高的数据包分配高优先级,为服务质量要求低的数据包分配低优先级,为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
可选的,所述处理单元具体,用于依据所述数据包的服务质量和所述多个中继器的数据传输质量计算匹配度;如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的服务质量,如该中继器的数据传输质量高于所述数据包的服务质量,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
第四方面,提供一种终端,所述终端包括:
发送单元,用于向中继器发送数据;
检测单元,用于检测向第一中继器发送数据包是否异常;
所述发送单元,用于在所述检测单元检测到所述终端向所述第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器。
可选的,所述检测单元具体,用于通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常;
或终端对发送数据包的服务质量进行统计,如服务质量能够达到数据包的服务质量要求,则确定无异常,如服务质量低于数据包的服务质量要求,则确定异常。
本发明提供的中继器的路由方法的技术方案在数据传输异常时,网关接收中继器转发的数据包的传输信息,依据该传输信息内的服务质量为数据包分配 不同的优先级,接收多个中继器的数据传输质量,对不同优先级的数据包分配不同传输质量的中继器,从而达到满足数据包服务器质量的要求,并保证终端数据的传输,所以其不会出现丢包。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是一种基于中继器的数据路由方法的流程示意图;
图2是一种终端向网关发送数据包的传输流程图;
图3为网关将数据包发送至终端的传输流程图
图4是本申请一实施例提供的基于中继器的数据自动路由方法的流程示意图;
图5是本申请一实施例的实现场景示意图;
图6是本申请另一实施例提供的基于中继器的数据自动路由方法的流程示意图;
图7是本申请提供的一种基于中继器的数据自动路由装置的结构示意图;
图8是本申请提供的一种终端的结构示意图;
图9为本申请提供的一种网关的硬件结构示意图;
图10为本申请提供的一种终端的硬件结构示意图。
具体实施方式
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定 程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本发明作进一步详细描述。
根据本发明的一个方面,提供了一种基于中继器的自动路由方法。其中,该方法应用在中继其或网管中。
参阅图1,图1为一种中继器的数据路由方法,如图1所示,网络包括:终端10、中继器11、网关12,上述终端根据不同的情况可以具有不同的表现形式,例如该终端具体可以为:手机、平板电脑、计算机等设备,当然其也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或一些物联网的智能设备,上述终端10通过无线方式与中继器11连接,中继器11通过另一种方式(即与无线方式不同的连接方式)与网关12接入互联网,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE或有线方式。图1中以有线方式为示例,为了方便描述,这里以一根实线表示。
参阅图2,图2为终端向网关发送数据包的传输流程图,如图2所示,该流程包括:
步骤S201、终端10将需要发送的数据包通过无线方式发送至中继器;
步骤S202、中继器将该数据包转发给网关12;
步骤S203、网关12将数据包传输至互联网。
参阅图3,图3为网关将数据包发送至终端的传输流程图,如图3所示,该流程包括:
步骤S301、网关从互联网接收需要发送至终端10的数据包;
步骤S302、网关将该数据包发送至中继站;
步骤S303、中继站将该数据包发送至终端。
通过上述图1、图2和图3的表示,在数据包的实际传输中,如果中继站出现故障(这里的故障主要指软故障),终端将无法将数据包发送至网关,网关也无法将数据包发送至终端,从来出现丢包。
参阅图4,图4为本发明提供的一种中继器的数据路由方法,该方法在如图5所示的网络构架下实现,如图5所示,一个网关下可以连接多个中继器,每个中继器可以有多个终端,一个终端也可以处于多个中继器的信号范围内(虚线表示该终端位于该中继器的信号范围内),该方法如图4所示,包括如下步骤:
步骤S401、终端向第一中继器发送数据包;
上述步骤S401中终端向第一中继器发送数据包的方式可以有多种,本发明具体实施方式并不限制上述发送的具体方式,例如,在本发明一个具体实施例中,可以通过蓝牙方式向中继器发送数据包,当然在实际应用,也可以通过WIFI方式发送,当然还可以通过其他的方式,例如通过Zigbee、LTE等方式。
步骤S402、终端检测到向第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器;
上述步骤S402中检测到向第一中继器发送数据包异常的方式可以有多种,例如在实际应用中,可以终端可以通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常,当然在实际应用中,还可以通过其他方式来对数据包的异常进行检测,例如,对发送数据包的服务质量Qos进行统计,如Qos能够达到数据包的Qos要求,则确定无异常,如Qos低于数据包的Qos要求,则确定异常,当然在实际应用中,还可以通过其他的很多方式来确定是否异常,本发明并不局限获得异常的具体方式。
上述步骤S402中的数据包的传输信息包括:数据包的服务质量(英文:Quality of Service,英文简称:Qos)
上述服务质量是指一个网络能够利用各种基础技术,为指定的网络通信提供更好的服务能力,是网络的一种安全机制,是用来解决网络延迟和阻塞等问题的一种技术。在正常情况下,如果网络只用于特定的无时间限制的应用系统,并不需要QoS,比如Web应用,或E-mail设置等。但是对关键应用和多媒体应用就十分必要。当网络过载或拥塞时,QoS能确保重要业务量不受延迟或丢弃,同时保证网络的高效运行。在RFC3644上有对QoS的说明。
步骤S403、第一中继器将该需要传输的数据包的传输信息发送至网关;
上述步骤S403中第一中继器将需要传输的数据包的传输信息发送至网关的方法可以有多种方式,例如通过有线方式发送至网关,当然也可以通过其他方式,例如通过无线方式,具体的可以包括但不限制于:CDMA或LTE等无线方式。
步骤S404、网关周期性的接收多个中继器发送的数据传输质量;
上述步骤S404中周期性的接收多个中继器发送的数据传输质量中的具体 周期可以由用户设定,对于一些Qos要求比较高的业务,例如多媒体等业务,其周期就需要比较短。
步骤S405、网关依据所述数据包的Qos对所述数据包分配不同的优先级;
上述步骤S405的实现方法具体可以包括:
为Qos要求高的数据包分配高优先级,为Qos要求低的数据包分配低优先级。
步骤S406、网关依据优先级的高低为所述数据包分配不同传输质量的中继器。
上述步骤S406的实现方法具体可以包括:
网关为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
上述步骤S401和S402形成了上述的一种中继器的数据自动路由支持方法,上述步骤S403到S406形成了上述一种基于中继器的数据自动路由方法。
本发明提供的中继器的路由方法的技术方案在数据传输异常时,网关接收中继器转发的数据包的传输信息,依据该传输信息内的服务质量为数据包分配不同的优先级,接收多个中继器的数据传输质量,对不同优先级的数据包分配不同传输质量的中继器,从而达到满足数据包服务器质量的要求,并保证终端数据的传输,所以其不会出现丢包。
参阅图6,图6为本发明另一实施例一种中继器的数据路由方法,该方法在如图5所示的网络构架下实现,如图5所示,一个网关下可以连接多个中继器,每个中继器可以有多个终端,一个终端也可以处于多个中继器的信号范围内,该方法如图6所示,包括如下步骤:
步骤S601、终端向第一中继器发送数据包;
上述步骤S601中终端向第一中继器发送数据包的方式可以有多种,本发明具体实施方式并不限制上述发送的具体方式,例如,在本发明一个具体实施例中,可以通过蓝牙方式向中继器发送数据包,当然在实际应用,也可以通过WIFI方式发送,当然还可以通过其他的方式,例如通过Zigbee、LTE等方式。
步骤S602、终端检测到向第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器;
上述步骤S602中检测到向第一中继器发送数据包异常的方式可以有多种,例如在实际应用中,可以终端可以通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常,当然在实际应用中,还可以通过其他方式来对数据包的异常进行检测,例如,对发送数据包的服务质量Qos进行统计,如Qos能够达到数据包的Qos要求,则确定无异常,如Qos低于数据包的Qos要求,则确定异常,当然在实际应用中,还可以通过其他的很多方式来确定是否异常,本发明并不局限获得异常的具体方式。
上述步骤S602中的数据包的传输信息包括:数据包的服务质量(英文:Quality of Service,英文简称:Qos)
上述服务质量是指一个网络能够利用各种基础技术,为指定的网络通信提供更好的服务能力,是网络的一种安全机制,是用来解决网络延迟和阻塞等问题的一种技术。在正常情况下,如果网络只用于特定的无时间限制的应用系统,并不需要QoS,比如Web应用,或E-mail设置等。但是对关键应用和多媒体应用就十分必要。当网络过载或拥塞时,QoS能确保重要业务量不受延迟或丢弃,同时保证网络的高效运行。在RFC3644上有对QoS的说明。
步骤S603、第一中继器将该需要传输的数据包的传输信息发送至网关;
上述步骤S603中第一中继器将需要传输的数据包的传输信息发送至网关的方法可以有多种方式,例如通过有线方式发送至网关,当然也可以通过其他方式,例如通过无线方式,具体的可以包括但不限制于:CDMA或LTE等无线方式。
步骤S604、网关周期性的接收多个中继器发送的数据传输质量;
上述步骤S404中周期性的接收多个中继器发送的数据传输质量中的具体周期可以由用户设定,对于一些Qos要求比较高的业务,例如多媒体等业务,其周期就需要比较短。
步骤S605、网关依据所述数据包的Qos和该多个中继器的数据传输质量计算匹配度;
上述步骤S605的实现方法具体可以包括:
网关为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包 分配传输质量低的中继器。
步骤S606、如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的Qos,如该中继器的数据传输质量高于所述数据包的Qos,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
本发明提供的中继器的路由方法的技术方案在数据传输异常时,网关接收中继器转发的数据包的传输信息,依据该传输信息内的服务质量为数据包分配不同的优先级,接收多个中继器的数据传输质量,对不同优先级的数据包分配不同传输质量的中继器,从而达到满足数据包服务器质量的要求,并保证终端数据的传输,所以其不会出现丢包。
参阅图7,图7为一种基于中继器的数据自动路由装置700,所述装置应用于网关内,所述装置包括:
接收单元701,用于接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;
接收单元701,还用于周期性的接收多个中继器发送的数据传输质量;
处理单元702,用于依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
可选的,上述处理单元702具体,用于为服务质量要求高的数据包分配高优先级,为服务质量要求低的数据包分配低优先级,为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
可选的,上述处理单元702具体,用于依据所述数据包的服务质量和所述多个中继器的数据传输质量计算匹配度;如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的服务质量,如该中继器的数据传输质量高于所述数据包的服务质量,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
参阅图8,图8提供了一种终端800,该终端包括:
发送单元801,用于向中继器发送数据;
检测单元802,用于检测向第一中继器发送数据包是否异常;
发送单元801,用于在所述检测单元检测到所述终端向所述第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器。
可选的,检测单元802具体,用于通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常;
或终端对发送数据包的服务质量进行统计,如服务质量能够达到数据包的服务质量要求,则确定无异常,如服务质量低于数据包的服务质量要求,则确定异常。
参阅图9,图9为本发明提供的一种终端1000,该网关可以为部署在互联网系统中的一个节点,互联网系统还可以包括:终端和中继器,该终端1000包括但不限于:计算机、服务器等设备,如图9所示,该终端1000包括:处理器901、存储器902、收发器903和总线904。收发器903用于与外部设备(例如互联系统中的其他设备,包括但不限于:中继器,核心网设备等)之间收发数据。终端1000中的处理器901的数量可以是一个或多个。本申请的一些实施例中,处理器901、存储器902和收发器903可通过总线系统或其他方式连接。关于本实施例涉及的术语的含义以及举例,可以参考图4对应的实施例,此处不再赘述。
其中,存储器902中可以存储程序代码。处理器901用于调用存储器902中存储的程序代码,用于执行以下操作:
收发器903,用于接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量以及周期性的接收多个中继器发送的数据传输质量;
处理器901,用于依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
可选的,处理器601,还可以用于执行如图4所示实施例中的步骤S403到S406、步骤的细化方案以及可选方案。
需要说明的是,这里的处理器901可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit, CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。
存储器903可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器903可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。
总线904可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
该用户设备还可以包括输入输出装置,连接于总线904,以通过总线与处理器901等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。
参阅图10,图10为本发明提供的一种终端1000,该网关可以为部署在互联网系统中的一个节点,互联网系统还可以包括:终端和中继器,该终端1000包括但不限于:计算机、服务器等设备,如图10所示,该终端1000包括:处理器1001、存储器1002、收发器1003和总线1004。收发器1003用于与外部设备(例如互联系统中的其他设备,包括但不限于:中继器等)之间收发数据。终端1000中的处理器1001的数量可以是一个或多个。本申请的一些实施例中,处理器1001、存储器1002和收发器1003可通过总线系统或其他方式连接。关于本实施例涉及的术语的含义以及举例,可以参考图4对应的实施例,此处不再赘述。
其中,存储器1002中可以存储程序代码。处理器1001用于调用存储器1002中存储的程序代码,用于执行以下操作:
收发器1003,用于接收第一中继器转发的终端在检测数据包发送异常后 发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量以及周期性的接收多个中继器发送的数据传输质量;
处理器1001,用于依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
可选的,处理器1001,还可以用于执行如图4所示实施例中的步骤S401到S402、步骤的细化方案以及可选方案。
需要说明的是,这里的处理器1001可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。
存储器1003可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器1003可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。
总线1004可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
该用户设备还可以包括输入输出装置,连接于总线904,以通过总线与处理器1001等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时 进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:RandomAccess Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例所提供的内容下载方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (10)

  1. 一种基于中继器的数据自动路由方法,其特征在于,所述方法包括如下步骤:
    网关接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;
    网关周期性的接收多个中继器发送的数据传输质量;
    网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
  2. 根据权利要求1所述的方法,其特征在于,所述网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送具体,包括:
    网关为服务质量要求高的数据包分配高优先级,为服务质量要求低的数据包分配低优先级,网关为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
  3. 根据权利要求1所述的方法,其特征在于,所述网关依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送具体,包括:
    网关依据所述数据包的服务质量和所述多个中继器的数据传输质量计算匹配度;
    如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的服务质量,如该中继器的数据传输质量高于所述数据包的服务质量,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
  4. 一种中继器的数据自动路由支持方法,其特征在于,所述方法包括如下步骤:
    终端向中继器发送数据;
    终端检测到向第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器。
  5. 根据权利要求4所述的方法,其特征在于,所述终端检测到向第一中继器发送数据包异常具体,包括:
    终端通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常;
    或终端对发送数据包的服务质量进行统计,如服务质量能够达到数据包的服务质量要求,则确定无异常,如服务质量低于数据包的服务质量要求,则确定异常。
  6. 一种基于中继器的数据自动路由装置,其特征在于,所述装置应用于网关内,所述装置包括:
    接收单元,用于接收第一中继器转发的终端在检测数据包发送异常后发送的数据包的传输信息,所述传输信息为:所述数据包的服务质量;
    所述接收单元,还用于周期性的接收多个中继器发送的数据传输质量;
    处理单元,用于依据所述数据包的服务质量依据所述多个中继器发送的数据传输质量从所述多个中继器中选择一个中继器分配给所述数据包以完成数据包的发送。
  7. 根据权利要求6所述的装置,其特征在于,所述处理单元具体,用于为服务质量要求高的数据包分配高优先级,为服务质量要求低的数据包分配低优先级,为高优先级的数据包分配传输质量高的中继器,为低优先级的数据包分配传输质量低的中继器。
  8. 根据权利要求6所述的装置,其特征在于,所述处理单元具体,用于依据所述数据包的服务质量和所述多个中继器的数据传输质量计算匹配度;如计算出的匹配度高于设定阈值,则将该数据包分配给该中继器,如计算出的匹配度低于设定阈值,判断该中继器的数据传输质量是否高于所述数据包的服务质量,如该中继器的数据传输质量高于所述数据包的服务质量,接收该中继器的负载,如负载低于设定负载阈值,将该数据包分配给该中继器。
  9. 一种终端,其特征在于,所述终端包括:
    发送单元,用于向中继器发送数据;
    检测单元,用于检测向第一中继器发送数据包是否异常;
    所述发送单元,用于在所述检测单元检测到所述终端向所述第一中继器发送数据包异常时,将需要传输的数据包的传输信息发送至第一中继器。
  10. 根据权利要求9所述的终端,其特征在于,所述检测单元具体,用于通过对第一中继器发送数据包的丢包率进行统计,如丢包率大于设定丢包阈值,则确定向第一中继器发送数据包异常;
    或终端对发送数据包的服务质量进行统计,如服务质量能够达到数据包的服务质量要求,则确定无异常,如服务质量低于数据包的服务质量要求,则确定异常。
PCT/CN2016/103372 2016-09-20 2016-10-26 一种基于中继器的数据自动路由方法及中继器 WO2018053896A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610832541.XA CN107846359A (zh) 2016-09-20 2016-09-20 一种基于中继器的数据自动路由方法及中继器
CN201610832541.X 2016-09-20

Publications (1)

Publication Number Publication Date
WO2018053896A1 true WO2018053896A1 (zh) 2018-03-29

Family

ID=61656447

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103372 WO2018053896A1 (zh) 2016-09-20 2016-10-26 一种基于中继器的数据自动路由方法及中继器

Country Status (2)

Country Link
CN (1) CN107846359A (zh)
WO (1) WO2018053896A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730440B (zh) * 2019-09-03 2022-08-23 深圳市昇润科技有限公司 一种蓝牙组网系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287270A (zh) * 2008-04-22 2008-10-15 中国移动通信集团设计院有限公司 一种传输业务的方法及装置
CN102571856A (zh) * 2010-12-17 2012-07-11 中国移动通信集团公司 一种中转节点的选择方法、设备和系统
US20120236782A1 (en) * 2009-12-22 2012-09-20 Fujitsu Limited Quality of service control in a relay
CN104067669A (zh) * 2012-01-24 2014-09-24 高通股份有限公司 中继选择和建立的系统和方法
CN104104597A (zh) * 2014-08-06 2014-10-15 腾讯科技(深圳)有限公司 一种数据传输方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287270A (zh) * 2008-04-22 2008-10-15 中国移动通信集团设计院有限公司 一种传输业务的方法及装置
US20120236782A1 (en) * 2009-12-22 2012-09-20 Fujitsu Limited Quality of service control in a relay
CN102571856A (zh) * 2010-12-17 2012-07-11 中国移动通信集团公司 一种中转节点的选择方法、设备和系统
CN104067669A (zh) * 2012-01-24 2014-09-24 高通股份有限公司 中继选择和建立的系统和方法
CN104104597A (zh) * 2014-08-06 2014-10-15 腾讯科技(深圳)有限公司 一种数据传输方法、装置及系统

Also Published As

Publication number Publication date
CN107846359A (zh) 2018-03-27

Similar Documents

Publication Publication Date Title
US9461729B2 (en) Software-defined network infrastructure having virtual range extenders
US11528239B2 (en) Time-sensitive networking communication method and apparatus for configuring virtual switching node
CN109417509B (zh) 多路径网络中改善的资源使用
US20160218979A1 (en) Apparatus and method for transmitting packets through multi-homing based network
JP5629954B2 (ja) 少なくとも部分的なフレーム送信に対して割り込みが可能な装置、方法、およびプログラム
US20150124623A1 (en) System and Method for Traffic Splitting
JP6304993B2 (ja) 無線通信システム及び無線通信方法
CN104159306B (zh) 一种控制空口资源的方法、设备及系统
US9515940B2 (en) Method for transmitting data in a packet-oriented communications network and correspondingly configured user terminal in said communications network
US9357580B2 (en) Method for switching communication connection mode, communication system, base station, transmitter and receiver
US9191887B2 (en) Method for providing relay network, mobile router and network relay system using the same
US20180048983A1 (en) Gateway device, and bearer setting control method
CN112787838A (zh) 一种通信方法、装置及系统
WO2019041371A1 (zh) 物联网基于连接数量的路由器切换方法及装置
US10172032B2 (en) Admission control of 4G/LTE conversational sessions by cellular backhaul satellite network
KR20150045639A (ko) 네트워크를 선택하기 위한 방법 및 그 전자 장치
WO2018053896A1 (zh) 一种基于中继器的数据自动路由方法及中继器
KR20230091908A (ko) 패킷 리라우팅을 위한 방법 및 장치
CN114390593A (zh) 一种iab网络中的通信方法及其装置
JP2009278297A (ja) ゲートウエイ装置およびそれを含む通信システムならびに通信方法
WO2020147081A1 (zh) 一种数据传输方法、相关设备及计算机存储介质
US20210360486A1 (en) Traffic Availability in a Cellular Communication Network
CN108933738B (zh) 一种处理网络拥塞的方法、装置及系统
EP3232617B1 (en) Protection switching method and system, and nodes
CN111641565A (zh) 一种以太网报文的传输方法、装置及系统

Legal Events

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

Ref document number: 16916635

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16916635

Country of ref document: EP

Kind code of ref document: A1