WO2019041370A1 - 转发设备切换方法以及装置 - Google Patents

转发设备切换方法以及装置 Download PDF

Info

Publication number
WO2019041370A1
WO2019041370A1 PCT/CN2017/100743 CN2017100743W WO2019041370A1 WO 2019041370 A1 WO2019041370 A1 WO 2019041370A1 CN 2017100743 W CN2017100743 W CN 2017100743W WO 2019041370 A1 WO2019041370 A1 WO 2019041370A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding device
terminal
transmission rate
network transmission
forwarding
Prior art date
Application number
PCT/CN2017/100743
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 WO2019041370A1 publication Critical patent/WO2019041370A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/50Overload detection or protection within a single switching element
    • H04L49/505Corrective measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals

Definitions

  • the present invention relates to the field of communications, and in particular, to a forwarding device switching method and apparatus.
  • the forwarding device is the main node device of the Internet, and the forwarding device can determine the forwarding of data according to the forwarding policy.
  • the forwarding devices are connected to each other, which constitutes the main network of the Internet/Internet based on TCP/IP.
  • the reliability and stability of the forwarding device directly affect the quality of the network interconnection. If an error occurs in the forwarding device directly connected to the terminal, the entire terminal cannot perform data transmission normally.
  • the technical problem to be solved by the embodiments of the present invention is to provide a forwarding device switching method and device, which can improve the reliability and stability of the network interconnection.
  • the first aspect provides a forwarding device switching method, including:
  • the first forwarding device detects a network transmission rate of the data between the first forwarding device and the terminal in the Internet of Things, wherein the terminal is connected to the first forwarding device;
  • the first forwarding device automatically restores the factory setting
  • the first forwarding device determines whether the automatic factory resetting fails
  • the first forwarding device fails to automatically restore the factory settings, the first forwarding device switches the terminal to the second forwarding device.
  • the terminal is connected to the first forwarding device by using the first port, and the terminal is connected to the second forwarding device by using a second port;
  • the switching of the terminal to the second forwarding device by the first forwarding device is specifically:
  • the switching, by the first forwarding device, the terminal to the second forwarding device is specifically:
  • the first forwarding device sends a handover command to the terminal, where the handover command includes an identifier of the second forwarding device, so that the terminal switches to the second based on the identifier of the second forwarding device. Forward the device.
  • the detecting, by the first forwarding device, the network transmission rate of the data between the first forwarding device and the terminal includes:
  • the first forwarding device detects an uplink network transmission rate and a downlink network transmission rate, respectively;
  • the first forwarding device determines a network transmission rate of data between the first forwarding device and the terminal according to the uplink network transmission rate and the downlink network transmission rate.
  • the second forwarding device is an alternate forwarding device of the first forwarding device.
  • the first forwarding device is a repeater or a router.
  • the terminal is any one or a combination of a mobile phone, a tablet computer, and a computer.
  • the first forwarding device and the second forwarding device are different types of devices.
  • the second forwarding device is only used to bear the forwarding service transferred by the first forwarding device, or the second forwarding device simultaneously bears the forwarding service and other forwarding services transferred by the first forwarding device.
  • a second aspect provides a forwarding device switching device, including: a detecting module, a recovery module, a determining module, and a switching module,
  • the detecting module is configured to detect data between the first forwarding device and the terminal in the Internet of Things Network transmission rate, wherein the terminal is connected to the first forwarding device;
  • the recovery module is configured to: the network transmission rate of the data between the first forwarding device and the terminal in the Internet of Things is less than a preset speed, and the first forwarding device automatically restores the factory setting;
  • the determining module is configured to determine whether the automatic factory resetting fails
  • the switching module is configured to switch the terminal to the second forwarding device when the first forwarding device fails to automatically restore the factory settings.
  • the terminal is connected to the first forwarding device by using the first port, and the terminal is connected to the second forwarding device by using a second port;
  • the switching module is specifically configured to send a handover command to the terminal, so that the terminal, according to the handover command, switches data transmission through the first port and the first forwarding device to be through the second port.
  • the second forwarding device transmits data.
  • the switching module is configured to send a handover command to the terminal, where the handover command includes an identifier of the second forwarding device, where the terminal switches based on an identifier of the second forwarding device To the second forwarding device.
  • the detecting module includes a detecting unit and a determining unit,
  • the detecting unit is configured to separately detect an uplink network transmission rate and a downlink network transmission rate
  • the determining unit is configured to determine a network transmission rate of data between the first forwarding device and the terminal according to the uplink network transmission rate and the downlink network transmission rate.
  • the second forwarding device is an alternate forwarding device of the first forwarding device.
  • the first forwarding device is a repeater or a router.
  • the terminal is any one or a combination of a mobile phone, a tablet computer, and a computer.
  • the first forwarding device and the second forwarding device are different types of devices.
  • the second forwarding device is only used to bear the forwarding service transferred by the first forwarding device, or the second forwarding device simultaneously bears the forwarding service transferred by the first forwarding device.
  • Other forwarding services are possible.
  • a third aspect provides a communication system, including a terminal, a first forwarding device, and a second forwarding device, wherein the terminal communicates with the first forwarding device and the second forwarding device, respectively, where the first forwarding device is configured to perform The method of any of the first aspects.
  • a computer readable storage medium storing program code for a topic recommendation performed by a computing device.
  • the program code includes instructions for performing the method of any of the first aspects.
  • a forwarding device 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;
  • the memory stores executable program code;
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for performing a forwarding device switching method;
  • the method is the method of any of the first aspects.
  • the network transmission rate of the data between the first forwarding device and the terminal can be detected, and when the network transmission rate of the data between the first forwarding device and the terminal is less than the preset speed, the factory setting is automatically restored, and When the first forwarding device fails to automatically restore the factory settings, the terminal is switched to the second forwarding device.
  • the device switches to the second forwarding device that can work normally, thereby improving the reliability and stability of the network interconnection.
  • FIG. 1 is a schematic structural diagram of an Internet architecture provided by the prior art
  • FIG. 2 is a schematic structural diagram of an Internet architecture according to an embodiment of the present invention.
  • FIG. 3 is an interaction diagram of a method for switching a forwarding device according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a forwarding device switching apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a forwarding device according to an embodiment of the present invention.
  • first first
  • second second
  • first first
  • second second
  • first single yuan first single yuan
  • the prior art internetwork includes a terminal 11 and a plurality of forwarding devices 12.
  • the terminal 11 is connected to one of the forwarding devices 12 in the Internet.
  • the forwarding device 12 accesses the Internet through another mode (that is, a connection mode different from the wireless mode).
  • the wireless mode includes but is not limited to: Bluetooth, WIFI, and the like.
  • the other way may be LTE/LTE-A or wired. Wireless LTE is taken as an example in FIG.
  • the terminal 11 accesses the Internet only through one forwarding device 12, if there is a problem with the forwarding device 12, the terminal 11 cannot transmit through the forwarding device 12 to communicate with the Internet.
  • the Internet includes: a terminal 10, a first forwarding device 20, and a second forwarding device 30.
  • the terminal 10 is connected to the first forwarding device 20 and the second forwarding device 30 in a wireless manner, and the first forwarding device 20 and the second forwarding device 30 are connected to each other in another manner.
  • the connection mode is connected to the Internet of Things.
  • the foregoing wireless modes include, but are not limited to, Bluetooth, WIFI, etc., and the other mode may be LTE or wired.
  • the Internet of Things uses communication technologies such as local networks or the Internet to connect sensors, controllers, machines, people, and objects in a new way to form a connection between people and things, things and things, and to realize informationization and remote management control.
  • Intelligent network The Internet of Things is an extension of the Internet. It includes all the resources on the Internet and the Internet. It is compatible with all Internet applications, but all elements of the Internet of Things (all devices, resources, communications, etc.) are personalized and privatized.
  • terminal 11 may utilize a wireless communication system to transmit and receive data for two-way communication.
  • Terminal 11 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 may support communication with multiple wireless systems of different Radio Access Technologies (RATs) (e.g., 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.
  • UE User Equipment
  • 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.
  • the terminal 11 can also be other devices with networking functions, such as smart lights, smart TVs, smart cleaning devices, smart sleep devices, and intelligent monitoring devices.
  • the form of performance can be varied.
  • the smart electric light includes, but is 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 brand.
  • Smart TV can also be a Sharp smart TV.
  • smart cleaning equipment it can be a smart sweeping robot.
  • it can also include smart vacuum cleaners, smart garbage processors, etc., for example, for smart sleep devices.
  • it can be: smart mattress, smart sofa and other equipment, for example, for intelligent monitoring equipment or it can be, smart sphygmomanometer, smart thermometer, etc.
  • Terminal 11 may be capable of communicating with a 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 foregoing first forwarding device and the second forwarding device may be a router, an interactive device, a relay station, or other network device having a wireless connection and a data forwarding function.
  • the specific embodiment of the present invention does not limit the specific expression of the forwarding device.
  • the interaction machine can be a Layer 2 switch or a Layer 3 switch. It can be understood that the first forwarding device and the second forwarding device may be the same type of device, or may be different types of devices. For example, the first forwarding device and the second forwarding device may both be routers, or the first forwarding device is a router, the second forwarding device is a repeater, and the like.
  • the terminal 11 can communicate with the forwarding device 12 through the downlink and the uplink.
  • the downlink (or forward link) refers to the communication link from the forwarding device 12 to the terminal 11, and the uplink (or reverse link) refers to the communication link from the terminal 11 to the forwarding device.
  • 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.
  • the present invention proposes a forwarding device switching method based on the Internet structure shown in FIG. As shown in FIG. 3, the forwarding device switching method in the embodiment of the present invention includes the following steps:
  • the first forwarding device detects a network transmission rate of data between the first forwarding device and the terminal in the Internet of Things, where the terminal is connected to the first forwarding device.
  • the network transmission rate of the data between the terminal and the first forwarding device depends on the sum of the uplink network transmission rate and the downlink network transmission rate between the terminal and the first forwarding device.
  • the uplink network transmission rate generally refers to the transmission rate of data sent by the terminal to the first forwarding device
  • the downlink network transmission rate generally refers to the transmission rate of data sent by the first forwarding device to the terminal.
  • the uplink network transmission rate and the downlink network transmission rate may also be opposite definitions.
  • the first forwarding device respectively detects an uplink network transmission rate and a downlink network transmission speed of data between the first forwarding device and the terminal, and determines, according to an uplink network transmission rate of the data between the first forwarding device and the terminal, and a downlink network transmission speed.
  • the network transmission rate of the data between the first forwarding device and the terminal If the network transmission rate of the data between the first forwarding device and the terminal is greater than or equal to the preset speed, the first forwarding device works normally, and the first forwarding device is kept working normally; The network transmission rate of the data is less than the preset speed, indicating that the first forwarding device may be faulty, and the process proceeds to step 320.
  • the wireless connection manner between the terminal and the first forwarding device includes, but is not limited to, Bluetooth, WIFI, etc.
  • the wireless connection between the terminal and the first forwarding device may also be 2G, 3G, 4G. Even the future 5G mode or wired mode.
  • the first forwarding device automatically restores the factory settings.
  • the manner in which the first forwarding device restores the factory settings may include a hardware reset and a software reset.
  • the factory setting is the default state of the first forwarding device when it leaves the factory, such as the start interface, standby mode, operation shortcut keys, timed reminder and other functions in the factory default state, but will not delete the stored data.
  • the hardware reset refers to restoring the hardware parameters in all the first forwarding devices to the initial values
  • the software reset refers to the first instruction of the software program to the software running in the first forwarding device, and the present invention does not limit the above-mentioned factory reset.
  • the specific form of expression By automatically resetting the first forwarding device to the factory settings, it is possible to solve part of the problem.
  • the first forwarding device determines whether the automatic factory resetting fails. If the first forwarding device determines that the automatic factory reset is successful, the fault of the first forwarding device may be repaired, and the terminal may continue to access the Internet through the first forwarding device; if the first forwarding device determines that the automatic factory reset fails, The fault of the first forwarding device still exists, and the terminal cannot access the Internet through the first forwarding device, and the process proceeds to step 340.
  • the first forwarding device sends a handover command to the terminal.
  • the first forwarding device carries a handover command in the downlink control signaling.
  • the first forwarding device carries a handover command in a recent downlink control signaling.
  • the first forwarding device may repeatedly send the handover command in the multiple downlink control signaling to ensure that the handover command can be received by the terminal, That is to say, the first forwarding device can ensure that the terminal can successfully receive the handover command by repeatedly transmitting the handover command, and finally successfully performs handover.
  • the first forwarding device switches the terminal to the second forwarding device.
  • the first forwarding device may send a handover command to the terminal, so that the terminal switches to the second forwarding device based on the handover command, where
  • the second forwarding device is an alternate forwarding device of the first forwarding device.
  • the second forwarding device is the backup device of the first forwarding device.
  • the first forwarding device can be used as the backup device.
  • the forwarding service carried by the first forwarding device is transferred to the second forwarding device, and the second forwarding device only bears the forwarding service transferred by the first forwarding device.
  • the second forwarding device also carries other forwarding services.
  • the first forwarding device fails, the forwarding service carried by the first forwarding device is transferred to the second forwarding device, and the second forwarding device simultaneously assumes the first forwarding. Forwarding services and other forwarding services transferred by the device.
  • the terminal When the terminal connects the first forwarding device and the second forwarding device in a wired manner, the terminal connects the first forwarding device and the second forwarding device through different ports. For example, the terminal connects to the first forwarding device through the first port, and the terminal connects to the second forwarding device through the second port.
  • the first forwarding device sends a switching instruction to the terminal. After receiving the switching instruction, the terminal switches the data transmitted through the first port and the first forwarding device to transmit data through the second port and the second forwarding device.
  • the switching command sent by the first forwarding device to the terminal includes the second forwarding device.
  • the terminal obtains the identifier of the second forwarding device from the handover command, and switches to the second forwarding device based on the identifier of the second forwarding device.
  • the identifier of the second forwarding device may be a Radio Network Temporary Identity (RNTI) of the second forwarding device, or may be a MAC address of the second forwarding device, or may be other capable
  • RNTI Radio Network Temporary Identity
  • the identification information of the second forwarding device is identified, and no limitation is made here.
  • the number of the backup forwarding devices of the first forwarding device may be one or multiple.
  • the terminal may arbitrarily select one of the multiple forwarding devices as the second forwarding device.
  • the terminal may also select an optimal or preferred one from multiple standby forwarding devices according to the measurement result of the standby forwarding device.
  • the alternate forwarding device acts as the second forwarding device.
  • the measurement result of the candidate relay device may include: a signal strength between the backup forwarding device and the terminal, a load capacity of the backup forwarding device (eg, data buffering capability, remaining power, etc.), The current load capacity of the alternate forwarding device, information security processing (encryption and decryption) capabilities, and so on.
  • the base station may select an optimal or preferred backup forwarding device for the terminal according to the measurement result, and use the selected backup forwarding device as the second forwarding device of the terminal.
  • FIG. 4 is a schematic structural diagram of a forwarding device switching apparatus according to an embodiment of the present invention.
  • the forwarding device switching device of this embodiment includes: a detecting module 410, a recovery module 420, a determining module 430, and a switching module 440.
  • the detecting module 410 is configured to detect a network transmission rate of data between the first forwarding device and the terminal in the Internet of Things, where the terminal is connected to the first forwarding device.
  • the recovery module 420 is configured to: when the data transmission rate between the first forwarding device and the terminal in the Internet of Things is less than a preset speed, the first forwarding device automatically restores the factory setting.
  • the determining module 430 is configured to determine whether the automatic restoration of the factory setting fails
  • the switching module 440 is configured to switch the terminal to the second forwarding device when the first forwarding device fails to automatically restore the factory settings.
  • the terminal is connected to the first forwarding device by using the first port, and the terminal is connected to the second forwarding device by using a second port;
  • the switching module 440 is specifically configured to send a handover command to the terminal, so that the terminal switches data transmitted by the first port and the first forwarding device to pass the second port according to the handover command. Transmitting data with the second forwarding device.
  • the switching module 440 is configured to send a handover command to the terminal, where the handover command includes an identifier of the second forwarding device, where the terminal is configured to be based on the second forwarding device.
  • the backup identifier is switched to the second forwarding device.
  • the detecting module 410 includes a detecting unit 411 and a determining unit 412.
  • the detecting unit 411 is configured to separately detect an uplink network transmission rate and a downlink network transmission rate
  • the determining unit 412 is configured to determine a network transmission rate of data between the first forwarding device and the terminal according to the uplink network transmission rate and the downlink network transmission rate.
  • the second forwarding device is an alternate forwarding device of the first forwarding device.
  • the step 310 in the method embodiment shown in FIG. 3 can be performed by the detecting module 410.
  • the step 320 in the method embodiment shown in FIG. 3 can be performed by the recovery module 420.
  • Step 330 in the method embodiment shown in FIG. The method can be performed by the judging module 430.
  • the step 330 in the method embodiment shown in FIG. 3 can be performed by the judging module 430.
  • FIG. 5 is a schematic structural diagram of a forwarding device according to an embodiment of the present invention.
  • the forwarding device 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 a bus or other manner, and the present invention is implemented.
  • the connection via the bus 505 is taken 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.
  • User interface 603 It can also be a display for outputting, displaying images or data.
  • the memory 504 may include a volatile memory (Volatile Memory), such as a random access memory (RAM); the memory may also include a non-volatile memory (Non-Volatile Memory), such as a read-only memory (Read-Only). Memory, ROM), Flash Memory, 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:
  • the terminal is switched to the second forwarding device.
  • the terminal is connected to the first forwarding device by using the first port, and the terminal is connected to the second forwarding device by using a second port;
  • the handover command is sent to the terminal, where the handover command includes an identifier of the second forwarding device, where the terminal switches to the second forwarding device based on the identifier of the second forwarding device.
  • the network transmission rate and the downlink network transmission rate determine a network transmission rate of data between the first forwarding device and the terminal.
  • the second forwarding device is an alternate forwarding device of the first forwarding device.
  • the network transmission rate of the data between the first forwarding device and the terminal can be detected, and when the network transmission rate of the data between the first forwarding device and the terminal is less than the preset speed, the factory setting is automatically restored, and When the first forwarding device fails to automatically restore the factory settings, the terminal is switched to the second forwarding device.
  • the device switches to the second forwarding device that can work normally, thereby improving the reliability and stability of the network interconnection.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种转发设备切换方法以及装置。所述方法包括:第一转发设备检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备;如果所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置;所述第一转发设备判断自动恢复出厂设置是否失败;如果所述第一转发设备自动恢复出厂设置失败,则所述第一转发设备将所述终端切换至第二转发设备。通过实施本发明,能够提高网络互联的可靠性和稳定性。

Description

转发设备切换方法以及装置 技术领域
本发明涉及通信领域,尤其涉及一种转发设备切换方法以及装置。
背景技术
转发设备是互联网的主要结点设备,转发设备可以根据转发策略决定数据的转发。作为不同网络之间互相连接的枢纽,转发设备之间相互连接,构成了基于TCP/IP的国际互联网络Internet的主体脉络,转发设备的可靠性和稳定性直接影响着网络互连的质量。如果与终端直接连接的转发设备出现了错误,则整个终端都无法正常进行数据传输。
发明内容
本发明实施例所要解决的技术问题在于,提供一种转发设备切换方法以及装置,能够提高网络互联的可靠性和稳定性。
第一方面,提供了一种转发设备切换方法,包括:
第一转发设备检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备;
如果所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置;
所述第一转发设备判断自动恢复出厂设置是否失败;
如果所述第一转发设备自动恢复出厂设置失败,则所述第一转发设备将所述终端切换至第二转发设备。
可选地,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
所述第一转发设备将所述终端切换至第二转发设备具体为:
所述第一转发设备向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
可选地,所述第一转发设备将所述终端切换至第二转发设备具体为:
所述第一转发设备向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设备的标识切换至所述第二转发设备。
可选地,第一转发设备检测所述第一转发设备与终端之间的数据的网络传输速率包括:
所述第一转发设备分别检测上行网络传输速率以及下行网络传输速率;
所述第一转发设备根据所述上行网络传输速率以及所述下行网络传输速率确定所述第一转发设备与终端之间的数据的网络传输速率。
可选地,所述第二转发设备是所述第一转发设备的备用转发设备。
可选地,所述第一转发设备为中继器或者路由器。
可选地,所述终端为手机、平板电脑、计算机中的任意一种或者多种的组合。
可选地,所述第一转发设备与所述第二转发设备为不同类型的设备。
可选地,所述第二转发设备只用于承担所述第一转发设备转移的转发业务,或者,所述第二转发设备同时承担所述第一转发设备转移的转发业务以及其他转发业务。
第二方面,提供了一种转发设备切换装置,包括:检测模块、恢复模块、判断模块以及切换模块,
所述检测模块用于检测所述第一转发设备与终端之间的数据在物联网中 的网络传输速率,其中,所述终端连接到所述第一转发设备;
所述恢复模块用于在所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置;
所述判断模块用于判断自动恢复出厂设置是否失败;
所述切换模块用于在所述第一转发设备自动恢复出厂设置失败时,将所述终端切换至第二转发设备。
可选地,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
所述切换模块具体用于向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
可选地,所述切换模块具有用于向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设备的标识切换至所述第二转发设备。
可选地,所述检测模块包括检测单元以及确定单元,
所述检测单元用于分别检测上行网络传输速率以及下行网络传输速率;
所述确定单元用于根据所述上行网络传输速率以及所述下行网络传输速率确定所述第一转发设备与终端之间的数据的网络传输速率。
可选地,所述第二转发设备是所述第一转发设备的备用转发设备。
可选地,第一转发设备为中继器或者路由器。
可选地,终端为手机、平板电脑、计算机中的任意一种或者多种的组合。
可选地,所述第一转发设备与所述第二转发设备为不同类型的设备。
可选地,所述第二转发设备只用于承担所述第一转发设备转移的转发业务,或者,所述第二转发设备同时承担所述第一转发设备转移的转发业务以及 其他转发业务。
第三方面,提供了一种通信系统,包括终端、第一转发设备以及第二转发设备,其中,终端分别和第一转发设备以及第二转发设备进行通信,其中,第一转发设备用于执行如第一方面任一项所述的方法。
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储了计算设备所执行的用于主题推荐的程序代码。所述程序代码包括用于执行在第一方面中任一项的方法的指令。
第五方面,提供了一种转发设备,包括:处理器、存储器、通信接口和总线;所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;所述存储器存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种转发设备切换方法;其中,所述方法为第一方面任一项所述的方法。
通过实施本发明,能够检测第一转发设备与终端之间的数据的网络传输速率,在第一转发设备与终端之间的数据的网络传输速率小于预设速度时,自动恢复出厂设置,并在第一转发设备自动恢复出厂设置失败时,将终端切换至第二转发设备。上述方法,能够在第一转发设备负载特别重,或者,第一转发设备出现故障时,切换到能够正常工作的第二转发设备,从而提高网络互联的可靠性和稳定性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是现有技术提供的一种互联网架构的结构示意图;
图2是本发明实施例提供的一种互联网架构的结构示意图;
图3是本发明实施例提供的一种转发设备切换方法的交互图;
图4是本发明实施例提供的一种转发设备切换装置的结构示意图;
图5是本发明实施例提供的一种转发设备的结构示意图。
具体实施方式
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单 元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本发明作进一步详细描述。
为了便于理解,在介绍本发明之前,首先介绍现有技术的互联网架构。现有技术的互联网络包括:终端11以及多个转发设备12。
上述终端11与互联网中的其中一个转发设备12连接,转发设备12通过另一种方式(即与无线方式不同的连接方式)与接入互联网,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE/LTE-A或有线方式。图1中以无线方式LTE为示例。
由于终端11只通过一个转发设备12接入到互联网中,如果该转发设备12出现了问题,则终端11的无法通过转发设备12发送与互联网进行通信。
为了解决上述问题,本发明对现有技术的互联网架构进行了改进。如图2所示,该互联网包括:终端10、第一转发设备20以及第二转发设备30。上述终端10通过无线方式分别与第一转发设备20以及第二转发设备30连接,第一转发设备20以及第二转发设备30通过另一种方式(即与无线方式不同的连 接方式)与接入物联网,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE或有线方式。
物联网是利用局部网络或互联网等通信技术把传感器、控制器、机器、人员和物等通过新的方式联在一起,形成人与物、物与物相联,实现信息化、远程管理控制和智能化的网络。物联网是互联网的延伸,它包括互联网及互联网上所有的资源,兼容互联网所有的应用,但物联网中所有的元素(所有的设备、资源及通信等)都是个性化和私有化。
上述终端根据不同的情况可以具有不同的表现形式,终端11(例如,蜂窝电话或者智能电话)可以利用无线通信系统来发射和接收数据以用于双路通信。终端11可以包括用于数据发射的发射机以及用于数据接收的接收机。对于数据发射,发射机可以利用数据对发射本地振荡器(LO)信号进行调制以获得经调制的射频(RF)信号,对经调制的RF信号进行放大以获得具有恰当发射功率级别的输出RF信号,并且经由天线将输出RF信号发射给基站。对于数据接收,接收机可以经由天线来获得所接收的RF信号,放大并利用接收LO信号将所接收的RF信号下变频,并且处理经下变频的信号以恢复由基站发送的数据。终端11可以支持与不同无线电接入技术(RAT)的多个无线系统的通信(例如LTE/TE-A和NR)。每个无线系统可能具有某些特性和要求,能够高效地支持利用不同RAT的无线系统的同时通信。无线用户设备还可以被称为用户设备(UE)、移动台、终端、接入终端、订户单元、站点,等等。无线用户设备可以是蜂窝电话、智能电话、平板计算机、无线调制解调器、个人数字助理(PDA)、手持式设备、膝上型计算机、智能本、上网本、无绳电话、无线本地回路(WLL)站点、蓝牙设备,等等。在智能家居以及可穿戴设备高速发展的今天,终端11还可以是其也可以包含带有联网功能的其他设备,例如,智能电灯、智能电视、智能清扫设备、智能睡眠设备,智能监控设 备等,其表现的形式可以为多种多样,例如对于智能电灯,该智能电灯包括但不限于:智能台灯,智能吸顶灯,智能壁灯等设备,例如对于智能电视来说,其可以为三星牌智能电视,当然其也可以为夏普牌智能电视,例如对于智能清扫设备来说,其可以为,智能扫地机器人,当然其还可以包括智能吸尘器、智能垃圾处理器等设备,例如对于智能睡眠设备来说,其可以为:智能床垫、智能沙发等设备,例如对智能监控设备来说或,其可以为,智能血压计,智能温度计等,本发明对上述终端的具体形式以及数量或种类并不限定。终端11可以能够与无线系统进行通信,还可以能够从广播站、一个或多个全球导航卫星系统(GNSS)中的卫星等接收信号。终端11可以支持用于无线通信的一个或多个RAT,诸如GSM、WCDMA、cdma2000、LTE/LTE-A、802.11,等等。术语“无线电接入技术”、“RAT”、“无线电技术”、“空中接口”和“标准”经常可互换地被使用。
上述第一转发设备以及第二转发设备可以是路由器、交互机、中继站,或其他的具有无线连接以及数据转发功能的网络设备,本发明具体实施方式并不局限上述转发设备的具体表现形式。其中,交互机可以是二层交换机,也可以是三层交换机。可以理解的是,第一转发设备和第二转发设备可以是相同类型的设备,也可以是不同类型的设备。例如,第一转发设备和第二转发设备可以都是路由器,或者,第一转发设备是路由器,第二转发设备是中继器等等。
需要说明的是,终端11可以通过下行链路和上行链路与转发设备12进行通信。下行链路(或前向链路)是指从转发设备12到终端11的通信链路,而上行链路(或反向链路)是指从终端11到转发设备的通信链路。在LTE/LTE-A方式中,上/下行载波分别采用SC-FDMA(Single-carrier Frequency-Division Multiple Access,单载波频分多址)/OFDM(Orthogonal Frequency Division Multiple Access正交频分多址)以及CP(Cyclic Prefix循环前缀)。在5G标准中, 示例性的,可以对上下行载波进行统一,即上行链路与下行链路均采用OFDM以及CP。
为了解决第一转发设备在负载比较重,或者在发生故障时,会导致整个终端都无法正常进行数据传输的问题,本发明基于图2所示的互联网结构,提出了一种转发设备切换方法,如图3所示,本发明实施例的转发设备切换方法包括如下步骤:
310:第一转发设备检测第一转发设备与终端之间的数据在物联网的网络传输速率,其中,终端连接到第一转发设备。
终端和第一转发设备之间的数据的网络传输速率取决于终端和第一转发设备之间的上行网络传输速率以及下行网络传输速率的总和。其中,上行网络传输速率通常是指终端向第一转发设备发送的数据的传输速率,下行网络传输速率通常是指第一转发设备向终端发送的数据的传输速率。当然,在其他的实施例中,上行网络传输速率和下行网络传输速率也可以是相反的定义。第一转发设备分别检测第一转发设备与终端之间的数据的上行网络传输速率以及下行网络传输速度,并根据第一转发设备与终端之间的数据的上行网络传输速率以及下行网络传输速度确定第一转发设备与终端之间的数据的网络传输速率。如果第一转发设备与终端之间的数据的网络传输速率大于或者等于预设速度,说明第一转发设备正常工作,保持第一转发设备正常工作即可;如果第一转发设备与终端之间的数据的网络传输速率小于预设速度,说明第一转发设备可能出现了故障,进入步骤320。
可以理解的是,终端和第一转发设备之间的无线连接方式包括但不限于:蓝牙、WIFI等方式,此外,终端和第一转发设备之间的无线连接方式还可以是2G、3G、4G甚至未来的5G方式或有线方式。
320:第一转发设备自动恢复出厂设置。
在本发明实施例中,第一转发设备恢复出厂设置的方式可以包括硬件复位以及软件复位。其中,出厂设置即第一转发设备出厂时的默认状态,如开始界面,待机方式,操作快捷键,定时提醒等功能在出厂时的默认状态,但不会删除存储的数据。硬件复位是指将所有第一转发设备中的硬件参数恢复到初始值,软件复位是指将软件程序指向第一转发设备中运行的软件的第一条指令,本发明并不限制上述恢复出厂设置的具体表现形式。通过将第一转发设备自动恢复出厂设置,就有可能解决部分故障问题。
330:第一转发设备判断自动恢复出厂设置是否失败。如果第一转发设备判断自动恢复出厂设置成功,则第一转发设备的故障可以被修复,则终端可以继续通过第一转发设备接入到互联网中;如果第一转发设备判断自动恢复出厂设置失败,则第一转发设备的故障依然存在,终端无法通过第一转发设备接入到互联网中,进入步骤340。
340:第一转发设备向终端发送切换命令。
在本发明实施例中,第一转发设备在下行控制信令中携带切换命令。在一具体实施例子,第一转发设备在最近的一个下行控制信令中携带切换命令。在另一个具体的实施例中,为了避免切换命令丢失而没有被终端所接收,第一转发设备可以在多个下行控制信令中重复发送切换命令,以确保切换命令能被终端所接收,也即是说,所述第一转发设备可以通过重复发送所述切换命令来确保所述终端能够成功接收到所述切换命令,最终成功进行切换。
350:第一转发设备将终端切换至第二转发设备。
在本发明实施例中,如果第一转发设备通过自动恢复出厂设置也未能修复故障,则第一转发设备可以向终端发送切换命令,以使得终端基于切换命令切换至第二转发设备,其中,第二转发设备是第一转发设备的备用转发设备。
第二转发设备是第一转发设备的备用转发设备可以理解为:(1)第二转发设备平时不任何承载转发业务,第二转发设备只作为第一转发设备的备用,当第一转发设备出现故障时,将第一转发设备承载的转发业务转移到第二转发设备中,第二转发设备只承担第一转发设备转移的转发业务。(2)第二转发设备平时还承载其他的转发业务,当第一转发设备出现故障时,将第一转发设备承载的转发业务转移到第二转发设备中,第二转发设备同时承担第一转发设备转移的转发业务和其他的转发业务。
当终端通过有线的方式连接第一转发设备以及第二转发设备时,终端将会通过不同的端口分别连接第一转发设备以及第二转发设备。例如,终端通过第一端口连接第一转发设备,终端通过第二端口连接第二转发设备。第一转发设备向终端发送切换指令,终端接收到切换指令后,基于切换命令将通过第一端口与第一转发设备传输数据切换为通过第二端口与第二转发设备传输数据。
当终端通过无线的方式连接第一转发设备以及第二转发设备时,如果第一转发设备的备用转发设备的数量不止一个,则第一转发设备向终端发送的切换命令中包括第二转发设备的标识,终端接收切换命令后,从切换命令中获取得到第二转发设备的标识,并基于第二转发设备的标识切换至第二转发设备。本发明实施例中,所述第二转发设备的标识可以是第二转发设备的无线网络临时标识(Radio Network Temporary Identity,RNTI),也可以是第二转发设备的MAC地址,还可以是其他能够使辨识出第二转发设备的标识信息,这里不做限制。
可以理解的是,第一转发设备的备用转发设备的数量可以是一个,也可以是多个。当第一转发设备的备用转发设备的数量为多个时,终端可以从多个转发设备中任意选择一个备用转发设备作为第二转发设备。当然,终端也可以根据对备用转发设备的测量结果,从多个备用转发设备中选择最优或者较优的一 个备用转发设备作为第二转发设备。
在一些可能的实现方式中,所述候选中继设备的测量结果可包括:所述备用转发设备与终端之间的信号强度、备用转发设备的负载能力(例如数据缓冲能力、剩余电量等)、备用转发设备的当前负载量、信息安全处理(加解密)能力等等。实际应用中,基站可以根据该测量结果为所述终端选取出最优或较优的备用转发设备,将选取出的备用转发设备作为终端的第二转发设备。
请参阅图4,图4是本发明实施例提供的一种转发设备切换装置的结构示意图。本实施例的转发设备切换装置包括:检测模块410、恢复模块420、判断模块430以及切换模块440。
所述检测模块410用于检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备。
所述恢复模块420用于在所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置。
所述判断模块430用于判断自动恢复出厂设置是否失败;
所述切换模块440用于在所述第一转发设备自动恢复出厂设置失败时,将所述终端切换至第二转发设备。
可选地,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
所述切换模块440具体用于向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
可选地,所述切换模块440具有用于向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设 备的标识切换至所述第二转发设备。
可选地,所述检测模块410包括检测单元411以及确定单元412,
所述检测单元411用于分别检测上行网络传输速率以及下行网络传输速率;
所述确定单元412用于根据所述上行网络传输速率以及所述下行网络传输速率确定所述第一转发设备与终端之间的数据的网络传输速率。
可选地,所述第二转发设备是所述第一转发设备的备用转发设备。
其中,图3所示的方法实施例中的步骤310可由检测模块410执行;图3所示的方法实施例中的步骤320可由恢复模块420执行;图3所示的方法实施例中的步骤330可由判断模块430执行;图3所示的方法实施例中的步骤330可由判断模块430执行,具体请参阅图2以及相关实施例,此处不再展开赘述。
请参见图5,图5为本发明实施例公开的一种转发设备的结构示意图。本实施例的转发设备包括:至少一个处理器501、通信接口502、用户接口503和存储器504,处理器501、通信接口502、用户接口503和存储器504可通过总线或者其它方式连接,本发明实施例以通过总线505连接为例。其中,
处理器501可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)。
通信接口502可以为有线接口(例如以太网接口)或无线接口(例如蜂窝网络接口或使用无线局域网接口),用于与其他电子设备或网站进行通信。本发明实施例中,通信接口502具体用于将目标推荐对象推荐给电子设备的用户。
用户接口503具体可为触控面板,包括触摸屏和触控屏,用于检测触控面板上的操作指令,用户接口503也可以是物理按键或者鼠标。用户接口603 还可以为显示屏,用于输出、显示图像或数据。
存储器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中存储的程序代码,执行如下操作:
检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备;
如果所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,自动恢复出厂设置;
判断自动恢复出厂设置是否失败;
如果所述第一转发设备自动恢复出厂设置失败,则所述将所述终端切换至第二转发设备。
可选地,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
可选地,向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设备的标识切换至所述第二转发设备。
可选地,分别检测上行网络传输速率以及下行网络传输速率;根据所述上 行网络传输速率以及所述下行网络传输速率确定所述第一转发设备与终端之间的数据的网络传输速率。
可选地,所述第二转发设备是所述第一转发设备的备用转发设备。
通过实施本发明,能够检测第一转发设备与终端之间的数据的网络传输速率,在第一转发设备与终端之间的数据的网络传输速率小于预设速度时,自动恢复出厂设置,并在第一转发设备自动恢复出厂设置失败时,将终端切换至第二转发设备。上述方法,能够在第一转发设备负载特别重,或者,第一转发设备出现故障时,切换到能够正常工作的第二转发设备,从而提高网络互联的可靠性和稳定性。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (10)

  1. 一种转发设备切换方法,其特征在于,包括:
    第一转发设备检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备;
    如果所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置;
    所述第一转发设备判断自动恢复出厂设置是否失败;
    如果所述第一转发设备自动恢复出厂设置失败,则所述第一转发设备将所述终端切换至第二转发设备。
  2. 根据权利要求1所述的方法,其特征在于,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
    所述第一转发设备将所述终端切换至第二转发设备具体为:
    所述第一转发设备向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
  3. 根据权利要求1所述的方法,其特征在于,所述第一转发设备将所述终端切换至第二转发设备具体为:
    所述第一转发设备向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设备的标识切换至所述第二转发设备。
  4. 根据权利要求1至3任一权利要求所述的方法,其特征在于,第一转发设备检测所述第一转发设备与终端之间的数据的网络传输速率包括:
    所述第一转发设备分别检测上行网络传输速率以及下行网络传输速率;
    所述第一转发设备根据所述上行网络传输速率以及所述下行网络传输速 率确定所述第一转发设备与终端之间的数据的网络传输速率。
  5. 根据权利要求1至4任一权利要求所述的方法,其特征在于,所述第二转发设备是所述第一转发设备的备用转发设备。
  6. 一种转发设备切换装置,其特征在于,包括:检测模块、恢复模块、判断模块以及切换模块,
    所述检测模块用于检测所述第一转发设备与终端之间的数据在物联网中的网络传输速率,其中,所述终端连接到所述第一转发设备;
    所述恢复模块用于在所述第一转发设备与所述终端之间的数据在物联网中的网络传输速率小于预设速度,所述第一转发设备自动恢复出厂设置;
    所述判断模块用于判断自动恢复出厂设置是否失败;
    所述切换模块用于在所述第一转发设备自动恢复出厂设置失败时,将所述终端切换至第二转发设备。
  7. 根据权利要求6所述的装置,其特征在于,所述终端通过所述第一端口连接所述第一转发设备,所述终端通过第二端口连接所述第二转发设备;
    所述切换模块具体用于向所述终端发送切换命令,以供所述终端基于所述切换命令将通过所述第一端口与所述第一转发设备传输数据切换为通过所述第二端口与所述第二转发设备传输数据。
  8. 根据权利要求6所述的装置,其特征在于,
    所述切换模块具有用于向所述终端发送切换命令,其中,所述切换命令包括所述第二转发设备的标识,以供所述终端基于所述第二转发设备的标识切换至所述第二转发设备。
  9. 根据权利要求6至8任一权利要求所述的装置,其特征在于,所述检测模块包括检测单元以及确定单元,
    所述检测单元用于分别检测上行网络传输速率以及下行网络传输速率;
    所述确定单元用于根据所述上行网络传输速率以及所述下行网络传输速率确定所述第一转发设备与终端之间的数据的网络传输速率。
  10. 根据权利要求6至9任一权利要求所述的装置,其特征在于,所述第二转发设备是所述第一转发设备的备用转发设备。
PCT/CN2017/100743 2017-08-29 2017-09-06 转发设备切换方法以及装置 WO2019041370A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710753814.6A CN107612718A (zh) 2017-08-29 2017-08-29 转发设备切换方法以及装置
CN201710753814.6 2017-08-29

Publications (1)

Publication Number Publication Date
WO2019041370A1 true WO2019041370A1 (zh) 2019-03-07

Family

ID=61056054

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100743 WO2019041370A1 (zh) 2017-08-29 2017-09-06 转发设备切换方法以及装置

Country Status (2)

Country Link
CN (1) CN107612718A (zh)
WO (1) WO2019041370A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157528A (zh) * 2021-11-28 2022-03-08 浙江中控技术股份有限公司 冗余通信方法、系统、电子装置和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (zh) * 2004-09-22 2007-08-15 国际商业机器公司 用于在网络的节点之间复制数据分量的方法和系统
CN101656624A (zh) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 一种多节点应用级容灾系统及容灾方法
CN103888277A (zh) * 2012-12-19 2014-06-25 中国移动通信集团公司 一种网关容灾备份方法、装置和系统
CN105376113A (zh) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、调制解调器和移动终端
CN105933185A (zh) * 2016-06-24 2016-09-07 上海连尚网络科技有限公司 一种确定路由器连接异常类型的方法与设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869047A (zh) * 2012-06-27 2013-01-09 中兴通讯股份有限公司 一种实现负载均衡的方法和装置
CN105491632A (zh) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 无线接入点的切换方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (zh) * 2004-09-22 2007-08-15 国际商业机器公司 用于在网络的节点之间复制数据分量的方法和系统
CN101656624A (zh) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 一种多节点应用级容灾系统及容灾方法
CN103888277A (zh) * 2012-12-19 2014-06-25 中国移动通信集团公司 一种网关容灾备份方法、装置和系统
CN105376113A (zh) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、调制解调器和移动终端
CN105933185A (zh) * 2016-06-24 2016-09-07 上海连尚网络科技有限公司 一种确定路由器连接异常类型的方法与设备

Also Published As

Publication number Publication date
CN107612718A (zh) 2018-01-19

Similar Documents

Publication Publication Date Title
US9588850B2 (en) Network controller failover request to reduce network outages
US10511641B2 (en) Method and system for providing media services in a communication system
WO2021057526A1 (zh) 一种网关设备容灾的方法及通信设备
TW201513710A (zh) 一種配置設備加入網路群組的方法、裝置及系統
US9608859B2 (en) System, apparatus and method for reducing failover time through redundancy using virtual access points
CN104333890A (zh) 信号传输的控制方法及装置、电子设备
CN109548037B (zh) 一种控制方法、分布式单元、集中单元及存储介质
WO2015043520A1 (zh) 一种激活pdn的方法及终端
GB2507490A (en) Handling of device-to-device data units during handover to a cellular bearer
CN112398689B (zh) 网络恢复方法、装置、存储介质及电子设备
WO2018053894A1 (zh) 物联网基于传输速率的接入点切换方法及装置
KR20190047598A (ko) 데이터를 전송하는 방법 및 장치
WO2017219852A1 (zh) 数据信息的共享方法及装置、终端
JP2019511861A (ja) 基本サービスセット識別子bssid更新
WO2019041371A1 (zh) 物联网基于连接数量的路由器切换方法及装置
JP5039975B2 (ja) ゲートウェイ装置
CN108900441B (zh) 网络切换方法、第一电子设备及可读存储介质
CN106063358A (zh) 电路域回落终端通信处理方法和设备
CN114007241A (zh) ZigBee系统及其网关设备、网关切换方法和装置
WO2019041370A1 (zh) 转发设备切换方法以及装置
WO2019041369A1 (zh) 中继自动路由方法以及装置
CN106878976B (zh) 移动终端及双系统的数据共享方法
CN105657691B (zh) 移动终端及其双芯片系统的数据共享方法
CN109428814B (zh) 一种组播流量传输方法、相关设备和计算机可读存储介质
WO2018121231A1 (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: 17923137

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 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17923137

Country of ref document: EP

Kind code of ref document: A1