WO2018053894A1 - Internet-of-things access point handover method and device based on transmission rate - Google Patents

Internet-of-things access point handover method and device based on transmission rate Download PDF

Info

Publication number
WO2018053894A1
WO2018053894A1 PCT/CN2016/103369 CN2016103369W WO2018053894A1 WO 2018053894 A1 WO2018053894 A1 WO 2018053894A1 CN 2016103369 W CN2016103369 W CN 2016103369W WO 2018053894 A1 WO2018053894 A1 WO 2018053894A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
iot access
internet
iot
access terminal
Prior art date
Application number
PCT/CN2016/103369
Other languages
French (fr)
Chinese (zh)
Inventor
杜光东
Original Assignee
深圳市盈广现代网络设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市盈广现代网络设备有限公司 filed Critical 深圳市盈广现代网络设备有限公司
Publication of WO2018053894A1 publication Critical patent/WO2018053894A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • H04W36/324Reselection being triggered by specific parameters by location or mobility data, e.g. speed data by mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present application relates to the field of communications, and in particular, to an IoT transmission rate based access point switching method and apparatus.
  • the Internet of Things is an important part of the new generation of information technology and an important stage of development in the era of "informatization.” Its English name is: “Internet of things (IoT)". As the name suggests, the Internet of Things is the Internet that connects things. This has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extended and extended network based on the Internet; Second, its client extends and extends to any item and item for information. Exchange and communication, that is, things and things.
  • the Internet of Things solves the interconnection between objects and the exchange of data between objects.
  • the existing Internet of Things is connected to the Internet based on IoT access points (APs).
  • APs IoT access points
  • the access point accesses the data to the Internet, the access point cannot be switched according to the data transmission condition, which may cause congestion of the transmission data and affect the customer experience.
  • the application provides an Internet of Things transmission rate based access point switching method. It can increase the transmission rate of IoT data and improve the user experience.
  • an IoT transmission rate based access point switching method comprising the following steps:
  • the Internet of Things access point receives the data packet sent by the IoT access terminal
  • the Internet of Things access point periodically detects the transmission rate of each IoT access terminal
  • the IoT access point determines whether the transmission rate is lower than a rate threshold. If the transmission speed of the first IoT access terminal is lower than the rate threshold, the first IoT access terminal is switched to the standby IoT connection. Entry point.
  • the switching the first IoT access terminal to the alternate IoT access point comprises:
  • the IoT access point sends a handover request to the alternate IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame sequence number;
  • the IoT access point receives the handover response sent by the alternate IoT access point after the handover is successful.
  • the method further includes:
  • the IoT access point receives a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame sequence number;
  • the IoT access point stores the frame sequence number, and sends a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
  • the IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
  • the method further includes: after the IoT access point periodically detects the transmission rate of each IoT access terminal:
  • the IoT access point periodically receives the load rate sent by each alternate IoT access point.
  • the switching the first IoT access terminal to the alternate IoT access point comprises:
  • an IoT transmission rate based access point switching device comprising:
  • a receiving unit configured to receive a data packet sent by the Internet of Things access terminal
  • a detecting unit configured to periodically detect a transmission rate of each IoT access terminal
  • a determining unit configured to determine whether the transmission rate is lower than a rate threshold
  • the switching unit is configured to switch the first IoT access terminal to the standby IoT access point if the transmission speed of the first IoT access terminal is lower than a rate threshold.
  • the switching unit is configured to send a handover request to the standby IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame serial number; and receiving the standby The handover response sent by the networked access point after the handover is successful.
  • the receiving unit is further configured to receive a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame serial number; the device further includes:
  • a storage unit configured to store the frame serial number
  • a sending unit configured to send a connection request to the second Internet of Things access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
  • the IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
  • the receiving unit is further configured to receive a load rate sent by each standby IoT access point.
  • the switching unit is specifically configured to switch the first Internet of Things access terminal to a standby IoT access point with the lowest load rate.
  • the technical solution provided by the present invention periodically detects the transmission rate of the Internet of Things access terminal, and determines the transmission rate. When the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication is carried out to ensure the rate of data transmission and improve the effectiveness of the technology.
  • 1 is a schematic flow chart of a repeater-based data routing method
  • FIG. 2 is a flow chart of a method for switching an access point based on a transmission rate of an Internet of Things
  • Figure 3 is a schematic diagram of the Internet of Things
  • FIG. 4 is a schematic flowchart of a method for switching an access point based on a transmission rate of an Internet of Things according to an embodiment of the present application
  • FIG. 5 is a flowchart of a handover method according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for switching an access point based on a transmission rate of an Internet of Things according to another embodiment of the present application;
  • FIG. 7 is a schematic structural diagram of an Internet of Things transmission rate based access point switching apparatus provided by the present application.
  • FIG. 8 is a schematic structural diagram of an Internet of Things access terminal provided by the present application.
  • Computer device also referred to as “computer” in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
  • first first
  • second second
  • first first
  • second second
  • an Internet of Things transmission rate based access point switching method is provided.
  • the method is applied to the Internet of Things network as shown in FIG. 1.
  • the Internet of Things includes: an Internet of Things access terminal 10, an Internet of Things access point AP20, and a wireless access controller 30.
  • the above-mentioned Internet of Things access terminal may have different manifestations according to different situations.
  • the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions.
  • the above-mentioned Internet of Things access terminal 10 is connected to the AP 20 wirelessly, and the AP 20 accesses the Internet through another way (ie, a connection method different from the wireless mode).
  • the foregoing wireless methods include, but are not limited to, Bluetooth, WIFI, etc., and the other manner may be LTE or wired.
  • the wired mode is taken as an example.
  • the AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
  • the above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers.
  • PC personal computer
  • the specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
  • FIG. 2 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG. 2, and includes the following steps:
  • Step S201 The Internet of Things access point receives the data packet sent by the Internet of Things access terminal;
  • the data packet sent by the receiving IoT access terminal in the above step S201 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee.
  • WIFI Wireless Fidelity
  • Zigbee Zigbee
  • the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large.
  • the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention
  • the connection between APs is limited to wireless connections.
  • the above-mentioned Internet of Things access terminals may have different expressions according to different scenarios.
  • the above-mentioned Internet of Things access terminals may specifically be: smart televisions, smart air conditioners, smart refrigerators, and the like having communication functions.
  • the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, and the like, and the specific implementation manner of the present invention does not limit the specific performance of the foregoing Internet of Things access terminal. form.
  • Step S202 The Internet of Things access point periodically detects the transmission rate of each IoT access terminal.
  • the period in the above step S202 can be set by the user.
  • an external setting interface can be set on the Internet of Things access point, and the external device is connected to the IoT access point.
  • the above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
  • Step S203 Determine whether the transmission rate is lower than a rate threshold. If the transmission speed of the first IoT access terminal is lower than the rate threshold, the first IoT access terminal is switched to the standby IoT access point.
  • step S203 the method for switching the IoT access terminal to the standby IoT access point can be referred to the description of another embodiment, and details are not described herein.
  • the specific method for switching the first Internet of Things access terminal to the standby IoT access point may be:
  • the purpose of setting this scheme is mainly to avoid switching the access point too frequently, because for the main object
  • the rate is relatively low, but for the IoT access point, the transmission rate is changed, so it is necessary to obtain the trend of the transmission rate during the set time period.
  • the foregoing method may further include:
  • the IoT access point receives a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame sequence number (a frame sequence number corresponding to the second IoT access terminal) ;
  • the IoT access point stores the frame sequence number, and sends a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
  • the IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
  • the technical solution provided by the present invention determines the transmission rate by periodically detecting the transmission rate of the Internet of Things access terminal, and when the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication, thus ensuring the rate of data transmission, improves the effectiveness of the technology.
  • an Internet of Things transmission rate based access point switching method is provided.
  • the method is applied to the object network shown in FIG. 3, as shown in FIG. 3, the object network includes: an Internet of Things access terminal 39, and a plurality of Internet of Things access points AP (for convenience of description)
  • a plurality of IoT access points are identified as AP21, AP22) and a wireless access controller 30.
  • the above-mentioned Internet of Things access terminal may have different manifestations according to different situations.
  • the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions.
  • the above-mentioned Internet of Things access terminal 39 is connected to the AP 21 by wireless, wherein the AP 22 is the standby Internet of Things access point of the AP 21, and the AP 21 passes the other way. (that is, the connection mode different from the wireless mode) access to the Internet.
  • the ongoing wireless communication connection is indicated by a solid line, and the wireless communication connection is about to be connected by a dotted line.
  • the above wireless methods include but are not limited to: Bluetooth, In the WIFI mode, the other way may be LTE or wired.
  • Figure 3 is wired as an example. For convenience of representation, only one solid line is used here.
  • the AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
  • the above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers.
  • PC personal computer
  • the specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
  • FIG. 4 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG. 4, and includes the following steps:
  • Step S401 The Internet of Things access point receives the data packet sent by the Internet of Things access terminal;
  • the data packet sent by the receiving IoT access terminal in the above step S401 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee.
  • WIFI Wireless Fidelity
  • Zigbee Zigbee
  • the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large.
  • the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention
  • the connection between APs is limited to wireless connections.
  • the above-mentioned Internet of Things access terminals may have different expressions according to different scenarios.
  • the above-mentioned Internet of Things access terminals may specifically be: smart televisions, smart air conditioners, smart refrigerators, and the like having communication functions.
  • the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, and the like, and the specific implementation manner of the present invention does not limit the specific performance of the foregoing Internet of Things access terminal. form.
  • Step S402 the Internet of Things access point periodically detects the transmission rate of each IoT access terminal
  • the period in the above step S402 can be set by the user.
  • an external setting interface can be set on the Internet of Things access point, and the external device is connected to the Internet of Things access point.
  • the above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
  • Step S403 Determine whether the transmission rate is lower than a rate threshold. If the transmission speed of the IoT access terminal is lower than the rate threshold, send a handover request to the standby IoT access point AP22, where the handover is performed.
  • the request includes but is not limited to: the identifier and frame serial number of the IoT access terminal;
  • the frame in the above step S403 may be: a medium access control protocol data unit (MPDU), and the frame sequence number may be a number indicating the order in which the frame is sent.
  • the identifier of the IoT access terminal may be specifically: the MAC address of the IoT access terminal.
  • the IoT access terminal may also be identified by other means, for example, by using an IP address or other identifier to identify the Internet of Things access terminal.
  • Step S404 The IoT access point receives the handover response sent by the alternate IoT access point, and the handover response may include an indication that the IoT access terminal is successfully handed over, and the indication value may be that the handover succeeds or the handover is unsuccessful. Specifically, it may be represented by a bit in the header field of the handover response. For example, a handover success is indicated by 1 and a handover is unsuccessful by 0. Of course, the handover success may be 0, and the handover is unsuccessful.
  • the invention is not limited to the specific forms of the above description.
  • Step S404 The IoT access terminal deletes the information of the IoT access terminal, where the information of the IoT access terminal includes but is not limited to: a frame serial number.
  • the deletion is for the purpose of placing the IoT access terminal to switch from the alternate IoT access point AP22 back to the IoT access point AP21.
  • the method provided by the present invention carries the frame serial number in the handover request and sends it to the standby IoT access point during the handover, so that the frame serial number of the alternate IoT access point and the frame serial number of the IoT access terminal are It is completely consistent, because for the handover, it needs to last for a period of time. If the frame serial number is not sent to the alternate IoT access point, the packet loss may occur due to the difference of the frame serial number. The case of packet loss occurs, so it has the advantage of reducing the packet loss rate.
  • the step is as shown in FIG. 5, and includes:
  • Step S501 The standby IoT access point stores the frame serial number, and sends a connection request to the IoT access terminal, where the destination identifier of the connection request may be an identifier of the IoT access terminal.
  • Step S502 The standby IoT access point receives the connection response sent by the IoT access terminal.
  • Step S503 The standby Internet of Things access point establishes a wireless connection with the Internet of Things access terminal, and sends a handover response to the Internet of Things access point.
  • an Internet of Things transmission rate based access point switching method is provided.
  • the method is applied in the object network as shown in FIG. 3, as shown in FIG.
  • the network includes: an Internet of Things access terminal 39, a plurality of IoT access points AP (for convenience of description, a plurality of IoT access points are identified as AP21, AP22 herein) and a wireless access controller 30.
  • the above-mentioned Internet of Things access terminal may have different manifestations according to different situations.
  • the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions.
  • the above-mentioned Internet of Things access terminal 39 is connected to the AP 21 by wireless, wherein the AP 22 is the standby Internet of Things access point of the AP 21, and the AP 21 passes the other way. (that is, the connection mode different from the wireless mode) access to the Internet.
  • the ongoing wireless communication connection is indicated by a solid line, and the wireless communication connection is about to be connected by a dotted line.
  • the above wireless methods include but are not limited to: Bluetooth, In the WIFI mode, the other way may be LTE or wired. In FIG. 3, the wired mode is taken as an example. For convenience of description, only one solid line is used.
  • the AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
  • the above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers.
  • PC personal computer
  • the specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
  • FIG. 6 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG.
  • Step S601 The Internet of Things access point receives the data packet sent by the Internet of Things access terminal.
  • the data packet sent by the receiving IoT access terminal in the above step S601 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee.
  • WIFI Wireless Fidelity
  • Zigbee Zigbee
  • the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large.
  • the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention
  • the connection between APs is limited to wireless connections.
  • the above-mentioned Internet of Things access terminals may have different manifestations according to different scenarios.
  • the above-mentioned Internet of Things access terminals may specifically be: smart television, smart air conditioner, smart A terminal device having a communication function, such as a refrigerator, in the smart cell
  • the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, etc.
  • the specific embodiment of the present invention is not limited to the above The specific form of representation of a networked access terminal.
  • Step S602 The Internet of Things access point periodically detects the transmission rate of each IoT access terminal.
  • the period in the above step S602 can be set by the user.
  • an external setting interface can be set on the Internet of Things access point, and the external device is connected to the Internet of Things access point.
  • the above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
  • Step S603 The IoT access point receives the load rate sent by each standby IoT access point.
  • the implementation of the foregoing step S603 may specifically be: receiving the load rate sent by each standby IoT access point by using a wired manner, and the specific implementation scheme may adopt a load rate in the heartbeat message, because for each Internet of Things connection In terms of the entry point, the load rate is changed in real time, so how to get the latest load rate is a problem.
  • the heartbeat message carries the load rate, which has two advantages. First, the standby object can be detected by the heartbeat message. Whether the network access point is normal (if the heartbeat message can be received, that is, it is determined to be normal, otherwise, it is determined to be faulty), and the second heartbeat message is originally sent periodically, so that the IoT access point can obtain each standby Internet of Things in real time. The load rate sent by the access point.
  • Step S604 The Internet of Things access point determines whether the transmission rate is lower than a rate threshold. If the transmission speed of the IoT access terminal is lower than a rate threshold, the IoT access terminal is switched to the standby IoT access with the lowest load rate. point.
  • step S604 selects the standby IoT access point with the lowest load rate to effectively distribute the load, avoiding the load of the IoT access point being too high, exceeding the load of the access point, and causing the load of the standby IoT access point to be excessive.
  • the technical solution provided by the present invention determines the transmission rate by periodically detecting the transmission rate of the Internet of Things access terminal, and when the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication, thus ensuring the rate of data transmission, improves the effectiveness of the technology.
  • FIG. 7 provides an Internet of Things transmission rate based access point switching apparatus 700, the apparatus comprising:
  • the receiving unit 701 is configured to receive a data packet sent by the Internet of Things access terminal.
  • the detecting unit 702 is configured to periodically detect a transmission rate of each IoT access terminal
  • the determining unit 703 is configured to determine whether the transmission rate is lower than a rate threshold
  • the switching unit 704 is configured to switch the first IoT access terminal to the standby IoT access point if the transmission speed of the first IoT access terminal is lower than a rate threshold.
  • the switching unit 704 is configured to send a handover request to the standby IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame serial number; and receiving an alternate Internet of Things The handover response sent by the access point after the handover is successful.
  • the receiving unit 701 is further configured to receive a handover request sent by another IoT access point, where the handover request includes: an identifier of the second Internet of Things access terminal and a frame serial number; the device further includes :
  • a storage unit 705, configured to store the frame serial number
  • the sending unit 706 is configured to send a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal, and send to the other IoT access point Switch the response.
  • the receiving unit 701 is further configured to receive a load rate sent by each standby IoT access point.
  • the switching unit 704 is specifically configured to switch the first Internet of Things access terminal to a standby IoT access point with the lowest load rate.
  • FIG. 8 is an Internet of Things access point 800 provided by the present invention.
  • the Internet of Things access point may be a node deployed in an Internet system, and the Internet system may further include: an Internet of Things access terminal and a wireless device.
  • the Internet of Things access point 800 includes, but is not limited to, a computer, a server, etc., as shown in FIG. 8, the Internet of Things access point 800 includes a processor 901, a memory 902, a wireless transceiver 903, and Bus 904.
  • the wireless transceiver 903 is configured to transmit and receive data with and among external devices, such as other devices in the interconnection system, including but not limited to: repeaters, core network devices, and the like.
  • the number of processors 901 in the Internet of Things access point 800 can be one or more.
  • processor 901, memory 902, and wireless 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:
  • a wireless transceiver 903 configured to receive a data packet sent by the Internet of Things access terminal
  • the processor 901 is configured to identify the type of the Internet of Things access terminal, and query the first encryption unit corresponding to the type in the pre-configured type and the encryption unit mapping table according to the type, and invoke the first encryption.
  • the unit encrypts the data packet.
  • the wireless transceiver 903 is further configured to send the encrypted data packet to the wireless access controller.
  • processor 901 and the wireless transceiver 903 can also be used to perform the refinement and the steps of the steps and steps in the embodiment shown in FIG. 3 or FIG. 6.
  • the processor 901 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 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 8, but it does not mean that there is only one bus or one type of bus.
  • the user equipment may also include an input and output device, i.e., an external interface 905, coupled to the bus 904 for connection to other portions, such as the 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.
  • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are an Internet-of-things access point handover method and device based on a transmission rate. The method comprises the following steps: an Internet-of-things access point receives data packets sent by Internet-of-things access terminals; the Internet-of-things access point periodically detects a transmission rate of each Internet-of-things access terminal; the Internet-of-things access point determines whether the transmission rate is less than a rate threshold, and if the transmission rate of a first Internet-of-things access terminal is less than the rate threshold, hands over the first Internet-of-things access terminal to a candidate Internet-of-things access point. The technical solution provided by the present invention has an advantage of good user experience.

Description

物联网基于传输速率的接入点切换方法及装置Transmission rate based access point switching method and device for internet of things
本申请要求于2016年9月20日提交中国专利局、申请号为201610834357.9、发明名称为“物联网基于传输速率的接入点切换方法及装置”的中国专利申请的优先权,上述在先申请的内容以引入的方式并入本文本中。This application claims the priority of the Chinese Patent Application filed on September 20, 2016, the Chinese Patent Office, the application number is 201610834357.9, and the invention is entitled "IoT-based transmission rate-based access point switching method and device", the above prior application The content is incorporated into this text by way of introduction.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种物联网基于传输速率的接入点切换方法及装置。The present application relates to the field of communications, and in particular, to an IoT transmission rate based access point switching method and apparatus.
背景技术Background technique
物联网是新一代信息技术的重要组成部分,也是“信息化”时代的重要发展阶段。其英文名称是:“Internet of things(IoT)”。顾名思义,物联网就是物物相连的互联网。这有两层意思:其一,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络;其二,其用户端延伸和扩展到了任何物品与物品之间,进行信息交换和通信,也就是物物相息。The Internet of Things is an important part of the new generation of information technology and an important stage of development in the era of "informatization." Its English name is: "Internet of things (IoT)". As the name suggests, the Internet of Things is the Internet that connects things. This has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extended and extended network based on the Internet; Second, its client extends and extends to any item and item for information. Exchange and communication, that is, things and things.
物联网解决的是物物之间的互联以及物物之间的数据交换,现有的物联网在联网时均基于物联网接入点(英文:access point,AP)来接入互联网,现有的接入点在进行数据接入互联网时,无法依据数据的传输情况对接入点进行切换,这样可能导致传输数据的拥塞,影响客户的体验。The Internet of Things solves the interconnection between objects and the exchange of data between objects. The existing Internet of Things is connected to the Internet based on IoT access points (APs). When the access point accesses the data to the Internet, the access point cannot be switched according to the data transmission condition, which may cause congestion of the transmission data and affect the customer experience.
发明内容Summary of the invention
本申请提供一种物联网基于传输速率的接入点切换方法。可以提高物联网数据的传输速率,提高用户体验。The application provides an Internet of Things transmission rate based access point switching method. It can increase the transmission rate of IoT data and improve the user experience.
第一方面,提供一种物联网基于传输速率的接入点切换方法,所述方法包括如下步骤:In a first aspect, an IoT transmission rate based access point switching method is provided, the method comprising the following steps:
物联网接入点接收物联网接入终端发送的数据包;The Internet of Things access point receives the data packet sent by the IoT access terminal;
物联网接入点周期性的检测每个物联网接入终端的传输速率;The Internet of Things access point periodically detects the transmission rate of each IoT access terminal;
物联网接入点判断该传输速率是否低于速率阈值,如第一物联网接入终端的传输速度低于速率阈值,则将所述第一物联网接入终端切换到备用物联网接 入点。The IoT access point determines whether the transmission rate is lower than a rate threshold. If the transmission speed of the first IoT access terminal is lower than the rate threshold, the first IoT access terminal is switched to the standby IoT connection. Entry point.
可选的,所述将所述第一物联网接入终端切换到备用物联网接入点具体,包括:Optionally, the switching the first IoT access terminal to the alternate IoT access point comprises:
物联网接入点向备用物联网接入点发送切换请求,所述切换请求包括:所述第一物联网接入终端的标识以及帧序列号;The IoT access point sends a handover request to the alternate IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame sequence number;
物联网接入点接收备用物联网接入点在切换成功后发送的切换响应。The IoT access point receives the handover response sent by the alternate IoT access point after the handover is successful.
可选的,所述方法还包括:Optionally, the method further includes:
物联网接入点接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号;The IoT access point receives a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame sequence number;
物联网接入点存储所述帧序列号,向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;The IoT access point stores the frame sequence number, and sends a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
物联网接入点接收第二物联网接入终端发送的连接响应,物联网接入点建立与所述第二物联网接入终端的连接,向所述另外物联网接入点发送切换响应。The IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
可选的,所述方法在物联网接入点周期性的检测每个物联网接入终端的传输速率之后还包括:Optionally, the method further includes: after the IoT access point periodically detects the transmission rate of each IoT access terminal:
物联网接入点周期性的接收每个备用物联网接入点发送的负载率。The IoT access point periodically receives the load rate sent by each alternate IoT access point.
可选的,所述将所述第一物联网接入终端切换到备用物联网接入点具体,包括:Optionally, the switching the first IoT access terminal to the alternate IoT access point comprises:
将所述第一物联网接入终端切换到负载率最低的备用物联网接入点。Switching the first IoT access terminal to a standby IoT access point with the lowest load rate.
第二方面,提供一种物联网基于传输速率的接入点切换装置,所述装置包括:In a second aspect, an IoT transmission rate based access point switching device is provided, the device comprising:
接收单元,用于接收物联网接入终端发送的数据包;a receiving unit, configured to receive a data packet sent by the Internet of Things access terminal;
检测单元,用于周期性的检测每个物联网接入终端的传输速率;a detecting unit, configured to periodically detect a transmission rate of each IoT access terminal;
判断单元,用于判断该传输速率是否低于速率阈值;a determining unit, configured to determine whether the transmission rate is lower than a rate threshold;
切换单元,用于如第一物联网接入终端的传输速度低于速率阈值,则将所述第一物联网接入终端切换到备用物联网接入点。The switching unit is configured to switch the first IoT access terminal to the standby IoT access point if the transmission speed of the first IoT access terminal is lower than a rate threshold.
可选的,所述切换单元具体,用于向备用物联网接入点发送切换请求,所述切换请求包括:所述第一物联网接入终端的标识以及帧序列号;接收备用物 联网接入点在切换成功后发送的切换响应。Optionally, the switching unit is configured to send a handover request to the standby IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame serial number; and receiving the standby The handover response sent by the networked access point after the handover is successful.
可选的,所述接收单元,还用于接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号;所述装置还包括:Optionally, the receiving unit is further configured to receive a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame serial number; the device further includes:
存储单元,用于存储所述帧序列号;a storage unit, configured to store the frame serial number;
发送单元,用于向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;a sending unit, configured to send a connection request to the second Internet of Things access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
物联网接入点接收第二物联网接入终端发送的连接响应,物联网接入点建立与所述第二物联网接入终端的连接,向所述另外物联网接入点发送切换响应。The IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
可选的,所述接收单元,还用于接收每个备用物联网接入点发送的负载率。Optionally, the receiving unit is further configured to receive a load rate sent by each standby IoT access point.
可选的,所述切换单元具体,用于将所述第一物联网接入终端切换到负载率最低的备用物联网接入点。Optionally, the switching unit is specifically configured to switch the first Internet of Things access terminal to a standby IoT access point with the lowest load rate.
本发明提供的技术方案的通过周期性的检测物联网接入终端的传输速率,对该传输速率进行判断,当低于速度阈值时,将该物联网接入终端切换到备用物联网接入点进行通信,从而保证了数据传输的速率,提高了技术的有效性。The technical solution provided by the present invention periodically detects the transmission rate of the Internet of Things access terminal, and determines the transmission rate. When the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication is carried out to ensure the rate of data transmission and improve the effectiveness of the technology.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是一种基于中继器的数据路由方法的流程示意图;1 is a schematic flow chart of a repeater-based data routing method;
图2是一种物联网基于传输速率的接入点切换方法的流程图;2 is a flow chart of a method for switching an access point based on a transmission rate of an Internet of Things;
图3为物联网络示意图Figure 3 is a schematic diagram of the Internet of Things
图4是本申请一实施例提供的物联网基于传输速率的接入点切换方法的流程示意图;4 is a schematic flowchart of a method for switching an access point based on a transmission rate of an Internet of Things according to an embodiment of the present application;
图5是本申请一实施例的切换方法流程图;FIG. 5 is a flowchart of a handover method according to an embodiment of the present application; FIG.
图6是本申请另一实施例提供的物联网基于传输速率的接入点切换方法的流程示意图; FIG. 6 is a schematic flowchart of a method for switching an access point based on a transmission rate of an Internet of Things according to another embodiment of the present application; FIG.
图7是本申请提供的一种物联网基于传输速率的接入点切换装置的结构示意图;7 is a schematic structural diagram of an Internet of Things transmission rate based access point switching apparatus provided by the present application;
图8是本申请提供的一种物联网接入终端的结构示意图。FIG. 8 is a schematic structural diagram of an Internet of Things access terminal provided by the present application.
具体实施方式detailed description
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。By "computer device", also referred to as "computer" in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two. Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, can be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium, such as a storage medium. The processor(s) can perform the necessary tasks.
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。The specific structural and functional details disclosed are merely representative and are for the purpose of describing exemplary embodiments of the invention. The present invention may, however, be embodied in many alternative forms and should not be construed as being limited only to the embodiments set forth herein.
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一 单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It should be understood that although the terms "first," "second," etc. may be used herein to describe the various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit may be referred to as a second unit without departing from the scope of the exemplary embodiments, and similarly the second unit may be referred to as a first unit. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing the particular embodiments, The singular forms "a", "an", It is also to be understood that the terms "comprising" and """ Other features, integers, steps, operations, units, components, and/or combinations thereof.
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that, in some alternative implementations, the functions/acts noted may occur in a different order than that illustrated in the drawings. For example, two figures shown in succession may in fact be executed substantially concurrently or sometimes in the reverse order, depending on the function/acts involved.
下面结合附图对本发明作进一步详细描述。The invention is further described in detail below with reference to the accompanying drawings.
根据本发明的一个方面,提供了一种物联网基于传输速率的接入点切换方法。其中,该方法应用在如图1所示的物联网络中,如图1所示,该物联网络包括:物联网接入终端10、物联网接入点AP20以及无线接入控制器30,上述物联网接入终端根据不同的情况可以具有不同的表现形式,例如该物联网接入终端具体可以为:手机、平板电脑、计算机等设备,当然其也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或一些物联网的智能设备,上述物联网接入终端10通过无线方式与AP20连接,AP20通过另一种方式(即与无线方式不同的连接方式)接入互联网,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE或有线方式。图1中以有线方式为示例,为了方便表示,这里仅以一根实线表示,上述AP具体可以为路由器,当然也可以为其他的AP,例如带有热点功能的手机等。According to an aspect of the present invention, an Internet of Things transmission rate based access point switching method is provided. The method is applied to the Internet of Things network as shown in FIG. 1. As shown in FIG. 1, the Internet of Things includes: an Internet of Things access terminal 10, an Internet of Things access point AP20, and a wireless access controller 30. The above-mentioned Internet of Things access terminal may have different manifestations according to different situations. For example, the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions. For example, smart TV, smart air conditioner, smart water bottle or some smart devices of the Internet of Things, the above-mentioned Internet of Things access terminal 10 is connected to the AP 20 wirelessly, and the AP 20 accesses the Internet through another way (ie, a connection method different from the wireless mode). The foregoing wireless methods include, but are not limited to, Bluetooth, WIFI, etc., and the other manner may be LTE or wired. In FIG. 1, the wired mode is taken as an example. For convenience of description, only one solid line is used herein. The AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
上述无线接入控制器30根据物联网的大小可以是一台个人电脑(英文:Personal computer,PC),当然在实际应用中,也可以是多台PC或服务器,本发明具体实施方式并不局限上述无线接入控制器的具体表现形式。The above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers. The specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
参阅图2,图2为本发明提供的一种物联网基于传输速率的接入点切换方法,该方法如图2所示,包括如下步骤:Referring to FIG. 2, FIG. 2 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG. 2, and includes the following steps:
步骤S201、物联网接入点接收物联网接入终端发送的数据包; Step S201: The Internet of Things access point receives the data packet sent by the Internet of Things access terminal;
上述步骤S201中接收物联网接入终端发送的数据包仅限通过无线连接的方式发送数据包,该无线方式包括但不限于:蓝牙、无线保真(英文:Wireless Fidelity,WIFI)或Zigbee等无线方式,其中,上述WIFI需要遵守IEEE802.11b的标准。The data packet sent by the receiving IoT access terminal in the above step S201 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee. The method in which the above WIFI needs to comply with the IEEE802.11b standard.
需要说明的是,这里的物联网以及AP仅仅只是针对无线AP,因为对于物联网来说,其接入的设备数量众多,对于AP来说,如果通过有线连接,首先AP的接入数量会有所限制,并且对于家庭来说,均用有线连接,对于家庭用户的布线来说是无法想象的,另外此有线的成本也非常高,所以本发明的技术方案中的中物联网接入终端与AP之间的连接仅限无线连接。It should be noted that the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large. For APs, if the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention The connection between APs is limited to wireless connections.
上述物联网接入终端依据不同的场景,可以有不同的表现形式,例如,在家电物联网中,上述物联网接入终端具体可以为:智能电视、智能空调、智能冰箱等具有通信功能的终端设备,在智能小区中,上述物联网接入终端具体可以为:智能电灯、智能门、智能门窗控制器、智能窗帘等设备,本发明具体实施方式并不局限上述物联网接入终端的具体表现形式。The above-mentioned Internet of Things access terminals may have different expressions according to different scenarios. For example, in the home appliance Internet of Things, the above-mentioned Internet of Things access terminals may specifically be: smart televisions, smart air conditioners, smart refrigerators, and the like having communication functions. In the intelligent cell, the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, and the like, and the specific implementation manner of the present invention does not limit the specific performance of the foregoing Internet of Things access terminal. form.
步骤S202、物联网接入点周期性的检测每个物联网接入终端的传输速率;Step S202: The Internet of Things access point periodically detects the transmission rate of each IoT access terminal.
上述步骤S202中的周期可以由用户自行设定,例如在本发明一个具体的实施方案中,可以在物联网接入点上设置一个外部设置接口,由外部设备连接该物联网接入点来设定上述周期,当然为了方便用户使用,上述周期也可以由厂家来设定,本发明并不局限上述周期的具体值。The period in the above step S202 can be set by the user. For example, in a specific embodiment of the present invention, an external setting interface can be set on the Internet of Things access point, and the external device is connected to the IoT access point. The above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
步骤S203、判断该传输速率是否低于速率阈值,如第一物联网接入终端的传输速度低于速率阈值,则将第一物联网接入终端切换到备用物联网接入点。Step S203: Determine whether the transmission rate is lower than a rate threshold. If the transmission speed of the first IoT access terminal is lower than the rate threshold, the first IoT access terminal is switched to the standby IoT access point.
上述步骤S203将物联网接入终端切换到备用物联网接入点的方法可以参见另一实施例的描述,这里不在赘述。For the method of the above-mentioned step S203, the method for switching the IoT access terminal to the standby IoT access point can be referred to the description of another embodiment, and details are not described herein.
上述将第一物联网接入终端切换到备用物联网接入点的具体方法可以为:The specific method for switching the first Internet of Things access terminal to the standby IoT access point may be:
提取每个备用物联网接入点的速率曲线,计算该速率曲线在设定时间段的变化趋势是递增还是递减,将备用物联网接入点的当前速率大于速率阈值且该速率曲线的变化趋势是递增的备用物联网接入点作为切换的物联网接入点。Extracting a rate curve of each alternate IoT access point, and calculating whether the rate curve changes in a set time period is increasing or decreasing, and the current rate of the standby IoT access point is greater than the rate threshold and the trend of the rate curve It is an incremental IoT access point as a switched IoT access point.
设置此方案的目的主要是为了避免接入点切换过于频繁,因为对于主物联 网接入点来说,其速率比较低,但是对于物联网接入点来说,其传输速率是变化的,所以需要获取该传输速率在设定时间段的变化趋势,首先,不能是递减的,如果是递减,那么对于很有可能切换到该接入点后该传输速率很快会再次低于速率阈值,这样就会再次切换,甚至是出现空切换,所以需要查找递增的变化趋势的物联网接入点。The purpose of setting this scheme is mainly to avoid switching the access point too frequently, because for the main object For the network access point, the rate is relatively low, but for the IoT access point, the transmission rate is changed, so it is necessary to obtain the trend of the transmission rate during the set time period. First, it cannot be decremented. If it is decremented, then the transmission rate will soon be lower than the rate threshold again after switching to the access point, so that it will switch again, even if there is a null handover, so it is necessary to find an incremental trend. Networked access point.
可选的,上述方法在步骤S203之后还可以包括:Optionally, after the step S203, the foregoing method may further include:
物联网接入点接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号(第二物联网接入终端对应的帧序列号);The IoT access point receives a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame sequence number (a frame sequence number corresponding to the second IoT access terminal) ;
物联网接入点存储所述帧序列号,向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;The IoT access point stores the frame sequence number, and sends a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
物联网接入点接收第二物联网接入终端发送的连接响应,物联网接入点建立与所述第二物联网接入终端的连接,向所述另外物联网接入点发送切换响应。The IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
本发明提供的技术方案通过周期性的检测物联网接入终端的传输速率,对该传输速率进行判断,当低于速度阈值时,将该物联网接入终端切换到备用物联网接入点进行通信,从而保证了数据传输的速率,提高了技术的有效性。The technical solution provided by the present invention determines the transmission rate by periodically detecting the transmission rate of the Internet of Things access terminal, and when the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication, thus ensuring the rate of data transmission, improves the effectiveness of the technology.
根据本发明的另一个方面,提供了一种物联网基于传输速率的接入点切换方法。其中,该方法应用在如图3所示的物联网络中,如图3所示,该物联网络包括:物联网接入终端39、多个物联网接入点AP(,为了描述的方便,这里将多个物联网接入点标识为AP21、AP22)和无线接入控制器30。上述物联网接入终端根据不同的情况可以具有不同的表现形式,例如该物联网接入终端具体可以为:手机、平板电脑、计算机等设备,当然其也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或一些物联网的智能设备,上述物联网接入终端39通过无线方式与AP21连接,其中AP22为AP21的被备用物联网接入点,AP21通过另一种方式(即与无线方式不同的连接方式)接入互联网,参阅图3,这里的正在进行无线通信连接通过实线表示,即将要进行无线通信连接通过虚线连接,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE或有线方式。图3中以有线方式为示例, 为了方便表示,这里仅以一根实线表示,上述AP具体可以为路由器,当然也可以为其他的AP,例如带有热点功能的手机等。According to another aspect of the present invention, an Internet of Things transmission rate based access point switching method is provided. The method is applied to the object network shown in FIG. 3, as shown in FIG. 3, the object network includes: an Internet of Things access terminal 39, and a plurality of Internet of Things access points AP (for convenience of description) Here, a plurality of IoT access points are identified as AP21, AP22) and a wireless access controller 30. The above-mentioned Internet of Things access terminal may have different manifestations according to different situations. For example, the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions. For example, smart TV, smart air conditioner, smart water bottle or some intelligent devices of the Internet of Things, the above-mentioned Internet of Things access terminal 39 is connected to the AP 21 by wireless, wherein the AP 22 is the standby Internet of Things access point of the AP 21, and the AP 21 passes the other way. (that is, the connection mode different from the wireless mode) access to the Internet. Referring to FIG. 3, the ongoing wireless communication connection is indicated by a solid line, and the wireless communication connection is about to be connected by a dotted line. The above wireless methods include but are not limited to: Bluetooth, In the WIFI mode, the other way may be LTE or wired. Figure 3 is wired as an example. For convenience of representation, only one solid line is used here. The AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
上述无线接入控制器30根据物联网的大小可以是一台个人电脑(英文:Personal computer,PC),当然在实际应用中,也可以是多台PC或服务器,本发明具体实施方式并不局限上述无线接入控制器的具体表现形式。The above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers. The specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
参阅图4,图4为本发明提供的一种物联网基于传输速率的接入点切换方法,该方法如图4所示,包括如下步骤:Referring to FIG. 4, FIG. 4 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG. 4, and includes the following steps:
步骤S401、物联网接入点接收物联网接入终端发送的数据包;Step S401: The Internet of Things access point receives the data packet sent by the Internet of Things access terminal;
上述步骤S401中接收物联网接入终端发送的数据包仅限通过无线连接的方式发送数据包,该无线方式包括但不限于:蓝牙、无线保真(英文:Wireless Fidelity,WIFI)或Zigbee等无线方式,其中,上述WIFI需要遵守IEEE802.11b的标准。The data packet sent by the receiving IoT access terminal in the above step S401 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee. The method in which the above WIFI needs to comply with the IEEE802.11b standard.
需要说明的是,这里的物联网以及AP仅仅只是针对无线AP,因为对于物联网来说,其接入的设备数量众多,对于AP来说,如果通过有线连接,首先AP的接入数量会有所限制,并且对于家庭来说,均用有线连接,对于家庭用户的布线来说是无法想象的,另外此有线的成本也非常高,所以本发明的技术方案中的中物联网接入终端与AP之间的连接仅限无线连接。It should be noted that the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large. For APs, if the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention The connection between APs is limited to wireless connections.
上述物联网接入终端依据不同的场景,可以有不同的表现形式,例如,在家电物联网中,上述物联网接入终端具体可以为:智能电视、智能空调、智能冰箱等具有通信功能的终端设备,在智能小区中,上述物联网接入终端具体可以为:智能电灯、智能门、智能门窗控制器、智能窗帘等设备,本发明具体实施方式并不局限上述物联网接入终端的具体表现形式。The above-mentioned Internet of Things access terminals may have different expressions according to different scenarios. For example, in the home appliance Internet of Things, the above-mentioned Internet of Things access terminals may specifically be: smart televisions, smart air conditioners, smart refrigerators, and the like having communication functions. In the intelligent cell, the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, and the like, and the specific implementation manner of the present invention does not limit the specific performance of the foregoing Internet of Things access terminal. form.
步骤S402、物联网接入点周期性的检测每个物联网接入终端的传输速率;Step S402, the Internet of Things access point periodically detects the transmission rate of each IoT access terminal;
上述步骤S402中的周期可以由用户自行设定,例如在本发明一个具体的实施方案中,可以在物联网接入点上设置一个外部设置接口,由外部设备连接该物联网接入点来设定上述周期,当然为了方便用户使用,上述周期也可以由厂家来设定,本发明并不局限上述周期的具体值。The period in the above step S402 can be set by the user. For example, in a specific embodiment of the present invention, an external setting interface can be set on the Internet of Things access point, and the external device is connected to the Internet of Things access point. The above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
步骤S403、判断该传输速率是否低于速率阈值,如该物联网接入终端的传输速度低于速率阈值,则向备用物联网接入点AP22发送切换请求,该切换 请求包括但不限于:物联网接入终端的标识和帧序列号;Step S403: Determine whether the transmission rate is lower than a rate threshold. If the transmission speed of the IoT access terminal is lower than the rate threshold, send a handover request to the standby IoT access point AP22, where the handover is performed. The request includes but is not limited to: the identifier and frame serial number of the IoT access terminal;
上述步骤S403中的帧可以为:多个媒体接入控制协议数据单元(英文:medium access control protocol data unit,MPDU),上述帧序列号可以为标识该帧发送顺序的编号。物联网接入终端的标识具体可以为:物联网接入终端的MAC地址,当然在实际应用中也可以采用其他方式来标识该物联网接入终端,例如通过IP地址或其他的标识来标识该物联网接入终端。The frame in the above step S403 may be: a medium access control protocol data unit (MPDU), and the frame sequence number may be a number indicating the order in which the frame is sent. The identifier of the IoT access terminal may be specifically: the MAC address of the IoT access terminal. Of course, in the actual application, the IoT access terminal may also be identified by other means, for example, by using an IP address or other identifier to identify the Internet of Things access terminal.
步骤S404、物联网接入点接收备用物联网接入点发送的切换响应,该切换响应可以包括该物联网接入终端是否切换成功的指示,该指示值具体可以为,切换成功或切换不成功,其具体可以在切换响应的包头字段中用一个bit来表示,例如,以1表示切换成功,以0表示切换不成功,当然也可以为以0表示切换成功,以1表示切换不成功。本发明并不限制上述表示的具体形式。Step S404: The IoT access point receives the handover response sent by the alternate IoT access point, and the handover response may include an indication that the IoT access terminal is successfully handed over, and the indication value may be that the handover succeeds or the handover is unsuccessful. Specifically, it may be represented by a bit in the header field of the handover response. For example, a handover success is indicated by 1 and a handover is unsuccessful by 0. Of course, the handover success may be 0, and the handover is unsuccessful. The invention is not limited to the specific forms of the above description.
步骤S404、物联网接入终端删除该物联网接入终端的信息,该物联网接入终端的信息包括但不限于:帧序列号。Step S404: The IoT access terminal deletes the information of the IoT access terminal, where the information of the IoT access terminal includes but is not limited to: a frame serial number.
对此删除是为了放置该物联网接入终端从备用物联网接入点AP22切换回物联网接入点AP21时出现帧序列号混乱的问题。The deletion is for the purpose of placing the IoT access terminal to switch from the alternate IoT access point AP22 back to the IoT access point AP21.
本发明提供的方法在进行切换时,将帧序列号携带在切换请求中发送给备用物联网接入点,这样使得备用物联网接入点中帧序列号与物联网接入终端的帧序列号完全一致,因为对于切换来说,其需要持续一段时间,如不向该帧序列号发送给备用物联网接入点,那么由于帧序列号的不同,很可能导致丢包的现象出现,这里避免了丢包的情况出现,所以其具有减少包的丢失率的优点。The method provided by the present invention carries the frame serial number in the handover request and sends it to the standby IoT access point during the handover, so that the frame serial number of the alternate IoT access point and the frame serial number of the IoT access terminal are It is completely consistent, because for the handover, it needs to last for a period of time. If the frame serial number is not sent to the alternate IoT access point, the packet loss may occur due to the difference of the frame serial number. The case of packet loss occurs, so it has the advantage of reducing the packet loss rate.
需要说明的是,上述备用物联网接入点接收到该切换请求以后,可以进行如图5所示的操作步骤,该步骤如图5所示,包括:It should be noted that after the standby IoT access point receives the switching request, the operation steps shown in FIG. 5 may be performed. The step is as shown in FIG. 5, and includes:
步骤S501、备用物联网接入点存储该帧序列号,并向该物联网接入终端发送连接请求,该连接请求的目的标识可以为该物联网接入终端的标识。Step S501: The standby IoT access point stores the frame serial number, and sends a connection request to the IoT access terminal, where the destination identifier of the connection request may be an identifier of the IoT access terminal.
步骤S502、备用物联网接入点接收物联网接入终端发送的连接响应;Step S502: The standby IoT access point receives the connection response sent by the IoT access terminal.
步骤S503、备用物联网接入点与物联网接入终端建立无线连接,向物联网接入点发送切换响应。Step S503: The standby Internet of Things access point establishes a wireless connection with the Internet of Things access terminal, and sends a handover response to the Internet of Things access point.
根据本发明的又一个方面,提供了一种物联网基于传输速率的接入点切换方法。其中,该方法应用在如图3所示的物联网络中,如图3所示,该物联网 络包括:物联网接入终端39、多个物联网接入点AP(,为了描述的方便,这里将多个物联网接入点标识为AP21、AP22)和无线接入控制器30。上述物联网接入终端根据不同的情况可以具有不同的表现形式,例如该物联网接入终端具体可以为:手机、平板电脑、计算机等设备,当然其也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或一些物联网的智能设备,上述物联网接入终端39通过无线方式与AP21连接,其中AP22为AP21的被备用物联网接入点,AP21通过另一种方式(即与无线方式不同的连接方式)接入互联网,参阅图3,这里的正在进行无线通信连接通过实线表示,即将要进行无线通信连接通过虚线连接,上述无线方式包括但不限于:蓝牙、WIFI等方式,上述另一种方式可以为,LTE或有线方式。图3中以有线方式为示例,为了方便表示,这里仅以一根实线表示,上述AP具体可以为路由器,当然也可以为其他的AP,例如带有热点功能的手机等。According to still another aspect of the present invention, an Internet of Things transmission rate based access point switching method is provided. The method is applied in the object network as shown in FIG. 3, as shown in FIG. The network includes: an Internet of Things access terminal 39, a plurality of IoT access points AP (for convenience of description, a plurality of IoT access points are identified as AP21, AP22 herein) and a wireless access controller 30. The above-mentioned Internet of Things access terminal may have different manifestations according to different situations. For example, the Internet of Things access terminal may specifically be: a mobile phone, a tablet computer, a computer, etc., of course, it may also include other devices with networking functions. For example, smart TV, smart air conditioner, smart water bottle or some intelligent devices of the Internet of Things, the above-mentioned Internet of Things access terminal 39 is connected to the AP 21 by wireless, wherein the AP 22 is the standby Internet of Things access point of the AP 21, and the AP 21 passes the other way. (that is, the connection mode different from the wireless mode) access to the Internet. Referring to FIG. 3, the ongoing wireless communication connection is indicated by a solid line, and the wireless communication connection is about to be connected by a dotted line. The above wireless methods include but are not limited to: Bluetooth, In the WIFI mode, the other way may be LTE or wired. In FIG. 3, the wired mode is taken as an example. For convenience of description, only one solid line is used. The AP may be a router, and may be other APs, such as a mobile phone with a hotspot function.
上述无线接入控制器30根据物联网的大小可以是一台个人电脑(英文:Personal computer,PC),当然在实际应用中,也可以是多台PC或服务器,本发明具体实施方式并不局限上述无线接入控制器的具体表现形式。The above-mentioned wireless access controller 30 may be a personal computer (PC) according to the size of the Internet of Things. Of course, in practical applications, it may also be multiple PCs or servers. The specific embodiment of the present invention is not limited. The specific manifestation of the above wireless access controller.
参阅图6,图6为本发明提供的一种物联网基于传输速率的接入点切换方法,该方法如图6所示,包括如下步骤:Referring to FIG. 6, FIG. 6 is a method for switching an access point based on a transmission rate of an Internet of Things according to the present invention. The method is as shown in FIG.
步骤S601、物联网接入点接收物联网接入终端发送的数据包;Step S601: The Internet of Things access point receives the data packet sent by the Internet of Things access terminal.
上述步骤S601中接收物联网接入终端发送的数据包仅限通过无线连接的方式发送数据包,该无线方式包括但不限于:蓝牙、无线保真(英文:Wireless Fidelity,WIFI)或Zigbee等无线方式,其中,上述WIFI需要遵守IEEE802.11b的标准。The data packet sent by the receiving IoT access terminal in the above step S601 is only sent by means of a wireless connection, and the wireless mode includes but is not limited to: Bluetooth, Wireless Fidelity (WIFI) or Zigbee. The method in which the above WIFI needs to comply with the IEEE802.11b standard.
需要说明的是,这里的物联网以及AP仅仅只是针对无线AP,因为对于物联网来说,其接入的设备数量众多,对于AP来说,如果通过有线连接,首先AP的接入数量会有所限制,并且对于家庭来说,均用有线连接,对于家庭用户的布线来说是无法想象的,另外此有线的成本也非常高,所以本发明的技术方案中的中物联网接入终端与AP之间的连接仅限无线连接。It should be noted that the Internet of Things and APs here are only for wireless APs, because for the Internet of Things, the number of devices accessed by them is large. For APs, if the connection is through a wired connection, the number of APs to access first will be The limitation is, and for the home, the wired connection is unimaginable for the wiring of the home user, and the cost of the cable is also very high, so the Internet of Things access terminal in the technical solution of the present invention The connection between APs is limited to wireless connections.
上述物联网接入终端依据不同的场景,可以有不同的表现形式,例如,在家电物联网中,上述物联网接入终端具体可以为:智能电视、智能空调、智能 冰箱等具有通信功能的终端设备,在智能小区中,上述物联网接入终端具体可以为:智能电灯、智能门、智能门窗控制器、智能窗帘等设备,本发明具体实施方式并不局限上述物联网接入终端的具体表现形式。The above-mentioned Internet of Things access terminals may have different manifestations according to different scenarios. For example, in the home appliance Internet of Things, the above-mentioned Internet of Things access terminals may specifically be: smart television, smart air conditioner, smart A terminal device having a communication function, such as a refrigerator, in the smart cell, the foregoing IoT access terminal may specifically be: a smart electric light, a smart door, a smart door and window controller, a smart curtain, etc., and the specific embodiment of the present invention is not limited to the above The specific form of representation of a networked access terminal.
步骤S602、物联网接入点周期性的检测每个物联网接入终端的传输速率;Step S602: The Internet of Things access point periodically detects the transmission rate of each IoT access terminal.
上述步骤S602中的周期可以由用户自行设定,例如在本发明一个具体的实施方案中,可以在物联网接入点上设置一个外部设置接口,由外部设备连接该物联网接入点来设定上述周期,当然为了方便用户使用,上述周期也可以由厂家来设定,本发明并不局限上述周期的具体值。The period in the above step S602 can be set by the user. For example, in a specific embodiment of the present invention, an external setting interface can be set on the Internet of Things access point, and the external device is connected to the Internet of Things access point. The above cycle is determined, of course, for the convenience of the user, the above cycle can also be set by the manufacturer, and the present invention does not limit the specific value of the above cycle.
步骤S603、物联网接入点接收每个备用物联网接入点发送的负载率;Step S603: The IoT access point receives the load rate sent by each standby IoT access point.
上述步骤S603的实现方案具体可以为,通过有线方式来接收每个备用物联网接入点发送的负载率,其具体的实现的方案可以采用心跳消息中携带负载率,因为对于每个物联网接入点来说,其负载率均是实时变化的,那么如何得到最新的负载率就是一个问题,这里采用心跳消息携带负载率,有两个优点,第一,可以通过心跳消息来检测该备用物联网接入点是否正常(如能够接收到该心跳消息,即确定该正常,否则,确定其故障),第二心跳消息本来就是周期的发送,方便物联网接入点实时获取每个备用物联网接入点发送的负载率。The implementation of the foregoing step S603 may specifically be: receiving the load rate sent by each standby IoT access point by using a wired manner, and the specific implementation scheme may adopt a load rate in the heartbeat message, because for each Internet of Things connection In terms of the entry point, the load rate is changed in real time, so how to get the latest load rate is a problem. Here, the heartbeat message carries the load rate, which has two advantages. First, the standby object can be detected by the heartbeat message. Whether the network access point is normal (if the heartbeat message can be received, that is, it is determined to be normal, otherwise, it is determined to be faulty), and the second heartbeat message is originally sent periodically, so that the IoT access point can obtain each standby Internet of Things in real time. The load rate sent by the access point.
步骤S604、物联网接入点判断该传输速率是否低于速率阈值,如该物联网接入终端的传输速度低于速率阈值,将物联网接入终端切换到负载率最低的备用物联网接入点。Step S604: The Internet of Things access point determines whether the transmission rate is lower than a rate threshold. If the transmission speed of the IoT access terminal is lower than a rate threshold, the IoT access terminal is switched to the standby IoT access with the lowest load rate. point.
上述步骤S604选择负载率最低的备用物联网接入点能够有效的分配负载,避免物联网接入点的负载过高,超过接入点的负荷,导致备用物联网接入点的负载过重。The above step S604 selects the standby IoT access point with the lowest load rate to effectively distribute the load, avoiding the load of the IoT access point being too high, exceeding the load of the access point, and causing the load of the standby IoT access point to be excessive.
本发明提供的技术方案通过周期性的检测物联网接入终端的传输速率,对该传输速率进行判断,当低于速度阈值时,将该物联网接入终端切换到备用物联网接入点进行通信,从而保证了数据传输的速率,提高了技术的有效性。The technical solution provided by the present invention determines the transmission rate by periodically detecting the transmission rate of the Internet of Things access terminal, and when the speed threshold is lower, the IoT access terminal is switched to the standby IoT access point. Communication, thus ensuring the rate of data transmission, improves the effectiveness of the technology.
参阅图7,图7提供一种物联网基于传输速率的接入点切换装置700,所述装置包括:Referring to FIG. 7, FIG. 7 provides an Internet of Things transmission rate based access point switching apparatus 700, the apparatus comprising:
接收单元701,用于接收物联网接入终端发送的数据包;The receiving unit 701 is configured to receive a data packet sent by the Internet of Things access terminal.
检测单元702,用于周期性的检测每个物联网接入终端的传输速率; The detecting unit 702 is configured to periodically detect a transmission rate of each IoT access terminal;
判断单元703,用于判断该传输速率是否低于速率阈值;The determining unit 703 is configured to determine whether the transmission rate is lower than a rate threshold;
切换单元704,用于如第一物联网接入终端的传输速度低于速率阈值,则将所述第一物联网接入终端切换到备用物联网接入点。The switching unit 704 is configured to switch the first IoT access terminal to the standby IoT access point if the transmission speed of the first IoT access terminal is lower than a rate threshold.
可选的,所述切换单元704具体,用于向备用物联网接入点发送切换请求,所述切换请求包括:所述第一物联网接入终端的标识以及帧序列号;接收备用物联网接入点在切换成功后发送的切换响应。Optionally, the switching unit 704 is configured to send a handover request to the standby IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame serial number; and receiving an alternate Internet of Things The handover response sent by the access point after the handover is successful.
可选的,所述接收单元701,还用于接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号;所述装置还包括:Optionally, the receiving unit 701 is further configured to receive a handover request sent by another IoT access point, where the handover request includes: an identifier of the second Internet of Things access terminal and a frame serial number; the device further includes :
存储单元705,用于存储所述帧序列号;a storage unit 705, configured to store the frame serial number;
发送单元706,用于向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;向所述另外物联网接入点发送切换响应。The sending unit 706 is configured to send a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal, and send to the other IoT access point Switch the response.
可选的,接收单元701,还用于接收每个备用物联网接入点发送的负载率。Optionally, the receiving unit 701 is further configured to receive a load rate sent by each standby IoT access point.
可选的,切换单元704具体,用于将所述第一物联网接入终端切换到负载率最低的备用物联网接入点。Optionally, the switching unit 704 is specifically configured to switch the first Internet of Things access terminal to a standby IoT access point with the lowest load rate.
参阅图8,图8为本发明提供的一种物联网接入点800,该物联网接入点可以为部署在互联网系统中的一个节点,互联网系统还可以包括:物联网接入终端和无线接入控制器,该物联网接入点800包括但不限于:计算机、服务器等设备,如图8所示,该物联网接入点800包括:处理器901、存储器902、无线收发器903和总线904。无线收发器903用于与外部设备(例如互联系统中的其他设备,包括但不限于:中继器,核心网设备等)之间收发数据。物联网接入点800中的处理器901的数量可以是一个或多个。本申请的一些实施例中,处理器901、存储器902和无线收发器903可通过总线系统或其他方式连接。关于本实施例涉及的术语的含义以及举例,可以参考图2或图6对应的实施例,此处不再赘述。Referring to FIG. 8, FIG. 8 is an Internet of Things access point 800 provided by the present invention. The Internet of Things access point may be a node deployed in an Internet system, and the Internet system may further include: an Internet of Things access terminal and a wireless device. Accessing the controller, the Internet of Things access point 800 includes, but is not limited to, a computer, a server, etc., as shown in FIG. 8, the Internet of Things access point 800 includes a processor 901, a memory 902, a wireless transceiver 903, and Bus 904. The wireless transceiver 903 is configured to transmit and receive data with and among external devices, such as other devices in the interconnection system, including but not limited to: repeaters, core network devices, and the like. The number of processors 901 in the Internet of Things access point 800 can be one or more. In some embodiments of the present application, processor 901, memory 902, and wireless transceiver 903 may be connected by a bus system or other means. For the meanings and examples of the terms involved in this embodiment, reference may be made to the corresponding embodiment of FIG. 2 or FIG. 6, and details are not described herein again.
其中,存储器902中可以存储程序代码。处理器901用于调用存储器902中存储的程序代码,用于执行以下操作: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:
无线收发器903,用于接收物联网接入终端发送的数据包; a wireless transceiver 903, configured to receive a data packet sent by the Internet of Things access terminal;
处理器901,用于识别所述物联网接入终端的类型,依据所述类型在预先配置的类型与加密单元映射表中查询出所述类型对应的第一加密单元,调用所述第一加密单元对所述数据包进行加密处理。The processor 901 is configured to identify the type of the Internet of Things access terminal, and query the first encryption unit corresponding to the type in the pre-configured type and the encryption unit mapping table according to the type, and invoke the first encryption. The unit encrypts the data packet.
无线收发器903,还用于将加密处理后的数据包发送至无线接入控制器。The wireless transceiver 903 is further configured to send the encrypted data packet to the wireless access controller.
可选的,处理器901、无线收发器903,还可以用于执行如图3或如图6所示实施例中的步骤以及步骤的细化方案以及可选方案。Optionally, the processor 901 and the wireless transceiver 903 can also be used to perform the refinement and the steps of the steps and steps in the embodiment shown in FIG. 3 or FIG. 6.
需要说明的是,这里的处理器901可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。It should be noted that the processor 901 herein may be a processing component or a general term of multiple processing components. For example, 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. For example, one or more digital singal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
存储器903可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器903可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。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.
总线904可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 904 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. 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 8, but it does not mean that there is only one bus or one type of bus.
该用户设备还可以包括输入输出装置即外部接口905,连接于总线904,以通过总线与处理器901等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。The user equipment may also include an input and output device, i.e., an external interface 905, coupled to the bus 904 for connection to other portions, such as the 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.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优 选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because some steps may be performed in other orders or concurrently in accordance with the present application. Secondly, those skilled in the art should also know that the embodiments described in the specification are excellent. In selected embodiments, the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. 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.
以上对本申请实施例所提供的内容下载方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The content downloading method and the related device and system provided by the embodiments of the present application are described in detail. The principles and implementation manners of the present application are described in the specific examples. The description of the above embodiments is only used to help understand the present application. The method of application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be understood. To limit the application.

Claims (10)

  1. 一种物联网基于传输速率的接入点切换方法,其特征在于,所述方法包括如下步骤:An access point switching method based on a transmission rate of an Internet of Things, characterized in that the method comprises the following steps:
    物联网接入点接收物联网接入终端发送的数据包;The Internet of Things access point receives the data packet sent by the IoT access terminal;
    物联网接入点周期性的检测每个物联网接入终端的传输速率;The Internet of Things access point periodically detects the transmission rate of each IoT access terminal;
    物联网接入点判断该传输速率是否低于速率阈值,如第一物联网接入终端的传输速度低于速率阈值,则将所述第一物联网接入终端切换到备用物联网接入点。The IoT access point determines whether the transmission rate is lower than a rate threshold. If the transmission speed of the first IoT access terminal is lower than the rate threshold, the first IoT access terminal is switched to the standby IoT access point. .
  2. 根据权利要求1所述的方法,其特征在于,所述将所述第一物联网接入终端切换到备用物联网接入点具体,包括:The method according to claim 1, wherein the switching the first IoT access terminal to the alternate IoT access point comprises:
    物联网接入点向备用物联网接入点发送切换请求,所述切换请求包括:所述第一物联网接入终端的标识以及帧序列号;The IoT access point sends a handover request to the alternate IoT access point, where the handover request includes: an identifier of the first IoT access terminal and a frame sequence number;
    物联网接入点接收备用物联网接入点在切换成功后发送的切换响应。The IoT access point receives the handover response sent by the alternate IoT access point after the handover is successful.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    物联网接入点接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号;The IoT access point receives a handover request sent by another IoT access point, where the handover request includes: an identifier of the second IoT access terminal and a frame sequence number;
    物联网接入点存储所述帧序列号,向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;The IoT access point stores the frame sequence number, and sends a connection request to the second IoT access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
    物联网接入点接收第二物联网接入终端发送的连接响应,物联网接入点建立与所述第二物联网接入终端的连接,向所述另外物联网接入点发送切换响应。The IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
  4. 根据权利要求1所述的方法,其特征在于,所述方法在物联网接入点周期性的检测每个物联网接入终端的传输速率之后还包括:The method according to claim 1, wherein the method further comprises: after the IoT access point periodically detects the transmission rate of each IoT access terminal:
    物联网接入点周期性的接收每个备用物联网接入点发送的负载率。The IoT access point periodically receives the load rate sent by each alternate IoT access point.
  5. 根据权利要求4所述的方法,其特征在于,所述将所述第一物联网接入终端切换到备用物联网接入点具体,包括:The method according to claim 4, wherein the switching the first IoT access terminal to the alternate IoT access point comprises:
    将所述第一物联网接入终端切换到负载率最低的备用物联网接入点。Switching the first IoT access terminal to a standby IoT access point with the lowest load rate.
  6. 一种物联网基于传输速率的接入点切换装置,其特征在于,所述装置包括: An access point switching device for an Internet of Things based on a transmission rate, characterized in that the device comprises:
    接收单元,用于接收物联网接入终端发送的数据包;a receiving unit, configured to receive a data packet sent by the Internet of Things access terminal;
    检测单元,用于周期性的检测每个物联网接入终端的传输速率;a detecting unit, configured to periodically detect a transmission rate of each IoT access terminal;
    判断单元,用于判断该传输速率是否低于速率阈值;a determining unit, configured to determine whether the transmission rate is lower than a rate threshold;
    切换单元,用于如第一物联网接入终端的传输速度低于速率阈值,则将所述第一物联网接入终端切换到备用物联网接入点。The switching unit is configured to switch the first IoT access terminal to the standby IoT access point if the transmission speed of the first IoT access terminal is lower than a rate threshold.
  7. 根据权利要求6所述的装置,其特征在于,所述切换单元具体,用于向备用物联网接入点发送切换请求,所述切换请求包括:所述第一物联网接入终端的标识以及帧序列号;接收备用物联网接入点在切换成功后发送的切换响应。The device according to claim 6, wherein the switching unit is configured to send a handover request to the standby IoT access point, where the handover request includes: an identifier of the first IoT access terminal, and Frame sequence number; receives the handover response sent by the alternate IoT access point after successful handover.
  8. 根据权利要求6所述的装置,其特征在于,所述接收单元,还用于接收另外物联网接入点发送的切换请求,所述切换请求包括:第二物联网接入终端的标识以及帧序列号;所述装置还包括:The apparatus according to claim 6, wherein the receiving unit is further configured to receive a handover request sent by another Internet of Things access point, where the handover request comprises: an identifier and a frame of the second Internet of Things access terminal Serial number; the device further includes:
    存储单元,用于存储所述帧序列号;a storage unit, configured to store the frame serial number;
    发送单元,用于向所述第二物联网接入终端发送连接请求,所述连接请求的目的地址为所述第二物联网接入终端的标识;a sending unit, configured to send a connection request to the second Internet of Things access terminal, where the destination address of the connection request is an identifier of the second IoT access terminal;
    物联网接入点接收第二物联网接入终端发送的连接响应,物联网接入点建立与所述第二物联网接入终端的连接,向所述另外物联网接入点发送切换响应。The IoT access point receives the connection response sent by the second IoT access terminal, and the IoT access point establishes a connection with the second IoT access terminal, and sends a handover response to the other IoT access point.
  9. 根据权利要求6所述的装置,其特征在于,所述接收单元,还用于接收每个备用物联网接入点发送的负载率。The apparatus according to claim 6, wherein the receiving unit is further configured to receive a load rate sent by each standby IoT access point.
  10. 根据权利要求9所述的装置,其特征在于,所述切换单元具体,用于将所述第一物联网接入终端切换到负载率最低的备用物联网接入点。 The device according to claim 9, wherein the switching unit is specifically configured to switch the first Internet of Things access terminal to a standby IoT access point with the lowest load rate.
PCT/CN2016/103369 2016-09-20 2016-10-26 Internet-of-things access point handover method and device based on transmission rate WO2018053894A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610834357.9A CN107846715A (en) 2016-09-20 2016-09-20 Access point switching method and device of the Internet of Things based on transmission rate
CN201610834357.9 2016-09-20

Publications (1)

Publication Number Publication Date
WO2018053894A1 true WO2018053894A1 (en) 2018-03-29

Family

ID=61657317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103369 WO2018053894A1 (en) 2016-09-20 2016-10-26 Internet-of-things access point handover method and device based on transmission rate

Country Status (2)

Country Link
CN (1) CN107846715A (en)
WO (1) WO2018053894A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784898A (en) * 2019-10-30 2020-02-11 努比亚技术有限公司 Network switching method, mobile terminal and computer readable storage medium
CN112463754A (en) * 2020-11-25 2021-03-09 上海哔哩哔哩科技有限公司 Data node switching method and device in HDFS (Hadoop distributed File System) and computer equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667576A (en) * 2018-08-06 2018-10-16 百度在线网络技术(北京)有限公司 Main/standby switching method, device and the message service system of message server
CN109672734A (en) * 2018-12-20 2019-04-23 广州市吉华勘测股份有限公司 A kind of monitoring process method and system
CN112954714B (en) * 2021-01-29 2022-06-14 博为科技有限公司 MESH network control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120202556A1 (en) * 2009-12-07 2012-08-09 Fujitsu Limited Mobile communication system, base station apparatus, and handover execution method
CN103052124A (en) * 2011-10-14 2013-04-17 西门子公司 Client, access point, communication system and switching method
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device
US9357468B1 (en) * 2013-08-12 2016-05-31 Sprint Spectrum L.P. Small cell handover technique based on speed

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090563B (en) * 2006-06-15 2010-07-14 中兴通讯股份有限公司 Method for sequence number alignment of soft switchover forward frame of CDMA radio communication system
RU2469505C2 (en) * 2007-10-31 2012-12-10 Мицубиси Электрик Корпорейшн Mobile communication system, basic station, mobile station and method of basic station installation
CN101754354B (en) * 2008-12-01 2012-08-15 中国移动通信集团公司 Heartbeat control device as well as roaming addressing system and method
CN102281329B (en) * 2011-08-02 2013-11-20 北京邮电大学 Resource scheduling method and system for platform as a service (Paas) cloud platform
CN103945434B (en) * 2013-01-22 2019-03-19 新华三技术有限公司 Promote the method and device of terminal roaming in a kind of wlan network
CN104602308B (en) * 2013-10-30 2018-10-30 国际商业机器公司 Method and system for switching over terminal between multiple wireless aps
CN105027620B (en) * 2013-12-27 2019-10-25 华为技术有限公司 Method, user equipment, base station and the access point of switching
CN104852945A (en) * 2014-02-19 2015-08-19 四川迅游网络科技股份有限公司 Method and device for accelerating network transmission
CN104902537B (en) * 2014-03-07 2019-01-08 中国移动通信集团公司 A kind of wireless access point AP determines method, apparatus and system
CN105430699B (en) * 2015-11-18 2019-03-01 北京华信联创科技有限公司 The methods, devices and systems that terminal switches at high speed between AP in wlan network
CN105554854A (en) * 2015-12-31 2016-05-04 天彩电子(深圳)有限公司 WIFI switching method and system in local area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120202556A1 (en) * 2009-12-07 2012-08-09 Fujitsu Limited Mobile communication system, base station apparatus, and handover execution method
CN103052124A (en) * 2011-10-14 2013-04-17 西门子公司 Client, access point, communication system and switching method
US9357468B1 (en) * 2013-08-12 2016-05-31 Sprint Spectrum L.P. Small cell handover technique based on speed
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784898A (en) * 2019-10-30 2020-02-11 努比亚技术有限公司 Network switching method, mobile terminal and computer readable storage medium
CN112463754A (en) * 2020-11-25 2021-03-09 上海哔哩哔哩科技有限公司 Data node switching method and device in HDFS (Hadoop distributed File System) and computer equipment

Also Published As

Publication number Publication date
CN107846715A (en) 2018-03-27

Similar Documents

Publication Publication Date Title
US20210219221A1 (en) PDU Type Setting Method, UE Policy Setting Method, and Related Entity
US20220060416A1 (en) Routing Rule Management Method and Communications Apparatus
WO2018053894A1 (en) Internet-of-things access point handover method and device based on transmission rate
KR102056416B1 (en) Methods and apparatus for establishing a tunneled direct link setup (tdls) session between devices in a wireless network
WO2019041371A1 (en) Internet of things number-of-connections-based router switching method and device
EP3439371A1 (en) Method and apparatus for determining access point service capabilities
CN109088799B (en) Client access method, device, terminal and storage medium
JP5891559B2 (en) Instant messaging method, terminal, server and system
US11985198B2 (en) Method, apparatus, and system for session reestablishment or session sharing, and storage medium
WO2019011203A1 (en) Device access method, device and system
US11490353B2 (en) Path processing method and apparatus, and terminal
EP3790308B1 (en) Business service quality monitoring method, device and system
CN112119673B (en) Electronic device supporting multiple wireless communication protocols and method thereof
US9025448B2 (en) Methods and apparatuses for accessing internet
KR20190047598A (en) Method and device of transmitting data
US20220408332A1 (en) Method for advertising route, network element, system, and device
US11252078B2 (en) Data transmission method and apparatus
WO2015074537A1 (en) Method and apparatus for controlling communication protocol in smart tv device
WO2018053895A1 (en) Type-based uplink data encryption control method and device for internet-of-things access point
WO2019019282A1 (en) Method for internet of things terminal to sequentially encrypt data, and apparatus
WO2019019280A1 (en) Method for internet of things terminal to encrypt data according to time periods, and apparatus
WO2020147081A1 (en) Data transmission method, related device, and computer storage medium
WO2019010793A1 (en) Time period based encryption method and device for data received by internet of things access point
WO2019015041A1 (en) Time division encryption method and device for data of internet of things repeater
CN107493571B (en) Type-based uplink data encryption control method and device for Internet of things repeater

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: 16916633

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: 16916633

Country of ref document: EP

Kind code of ref document: A1