CN107612719A - The data back up method and device of Internet of Things access point - Google Patents

The data back up method and device of Internet of Things access point Download PDF

Info

Publication number
CN107612719A
CN107612719A CN201710755237.4A CN201710755237A CN107612719A CN 107612719 A CN107612719 A CN 107612719A CN 201710755237 A CN201710755237 A CN 201710755237A CN 107612719 A CN107612719 A CN 107612719A
Authority
CN
China
Prior art keywords
internet
access point
things
things access
backup
Prior art date
Application number
CN201710755237.4A
Other languages
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 深圳市盛路物联通讯技术有限公司
Priority to CN201710755237.4A priority Critical patent/CN107612719A/en
Publication of CN107612719A publication Critical patent/CN107612719A/en

Links

Abstract

This application discloses a kind of data back up method of Internet of Things access point and Internet of Things access point, methods described to comprise the following steps:First Internet of Things access point detects the probability of itself failure, and such as described probability is more than given threshold, it is determined that failure sign;The data backup that the host node that first Internet of Things access point sends the data stored in caching to the first distributed system is stored;The distributed system includes:Host node and multiple from node.The technical scheme that the application provides has the advantages of user experience is good.

Description

The data back up method and device of Internet of Things access point

Technical field

The application is related to the communications field, more particularly to a kind of data back up method and device of Internet of Things access point.

Background technology

Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch. Its English name is:“Internet of things(IoT)”.As its name suggests, Internet of Things is exactly the connected internet of thing thing.This There is two layers of meaning:First, the core of Internet of Things and basis are still internet, it is extension and extension on Internet basic Network;Second, its user terminal extends and extend between any article and article, enter row information and exchange and communicate, that is, Thing thing mutually ceases.Internet of Things is widely used in network by the cognition technology that communicates such as Intellisense, identification technology and general fit calculation In fusion, also therefore it is referred to as the third wave that world information industry develops after computer, internet.Internet of Things is mutual The application extension of networking, rather than Internet of Things is network, Internet of Things is business and application.Therefore, application innovation is thing The core of networking development, the innovation 2.0 using Consumer's Experience as core are the souls of Internet of Things development.

Existing Internet of Things access point can not support the data backup stored in caching, influence Internet of Things local in failure The operation of net, all user experiences are low.

The content of the invention

The application provides a kind of data back up method of Internet of Things access point.Internet-of-things terminal data can be carried out real-time Backup, improve Consumer's Experience.

First aspect, there is provided a kind of data back up method of Internet of Things access point, methods described comprise the following steps:First Internet of Things access point detects the probability of itself failure, and such as described probability is more than given threshold, it is determined that failure sign; The data that the host node that first Internet of Things access point sends the data stored in caching to the first distributed system is stored Backup;The distributed system includes:Host node and multiple from node.

Optionally, the first Internet of Things access point receives the first number that the host node of first distributed system is sent Responded according to backup, the first data backup as described in receiving in setting time the first Internet of Things access point responds, and determines that data are standby Part success.

Optionally, responded the first Internet of Things access point does not receive the data backup in setting time, then to The host node of second distributed system sends the second data backup requests of storage;

First Internet of Things access point receives the sound of the second data backup requests of the host node feedback of the distributed system Should, determine data backup success.

Optionally, the data stored in caching are sent to the second backup Internet of Things and accessed by the first Internet of Things access point Point or the progress data backup of the 3rd backup Internet of Things access point are specific, including:

The first Internet of Things access point receives the second backup thing that the second backup Internet of Things access point is sent Second caching surplus of networking access point and the second network transmission speed, the first Internet of Things access point receive the described 3rd 3rd caching surplus of the 3rd backup Internet of Things access point that backup Internet of Things is sent and the 3rd network transmission speed;

It is more than the described 3rd caching surplus in the described second caching surplus and second network transmission speed is higher than setting During network speed threshold value, the first Internet of Things access point sends the data stored in the caching more than 50% to the second backup Internet of Things access point, the remaining data of the data stored in the caching is sent to the 3rd backup Internet of Things access point, it is described First Internet of Things access point sends the first handover request to the internet-of-things terminal, and first handover request is described for indicating Internet-of-things terminal switches to the second backup Internet of Things access point;

It is more than the described 3rd caching surplus in the described second caching surplus and the second network transfer speeds is less than the network speed During threshold value, the data stored in the caching are sent to the 3rd backup Internet of Things and accessed by the first Internet of Things access point Point backup, the first Internet of Things access point send the second handover request, second handover request to the internet-of-things terminal For indicating that the internet-of-things terminal switches to the 3rd backup Internet of Things access point;3rd probability of malfunction is less than described Given threshold.

Optionally, methods described also includes:

The first Internet of Things access point receives the quantity for having connected internet-of-things terminal of other Internet of Things access points transmission, The quantity for having connected internet-of-things terminal such as the second backup Internet of Things access point is higher than amount threshold, first Internet of Things Access point exits the packet of one data double copies, the first Internet of Things access point and the 4th Internet of Things access point group again The packet of another data double copies is built up, the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is less than described Amount threshold, other described Internet of Things access points include the institute in addition to the first Internet of Things access point in Internet of Things LAN There is Internet of Things access point.

Optionally, methods described also includes:

The first Internet of Things access point receives the positional information of other Internet of Things access points transmission, according to positional information meter The distance of the first Internet of Things access point and other Internet of Things access points is calculated, such as described second backup Internet of Things access point and described the The distance of one Internet of Things access point is higher than distance threshold, and the first Internet of Things access point exits one data double copies point Group, the first Internet of Things access point and the 5th Internet of Things access point set up into the packet of another data double copies again, described The distance between 5th Internet of Things access point and the first Internet of Things access point are less than the distance threshold, other described Internet of Things Net access point includes the property networking access point in addition to the first Internet of Things access point in Internet of Things LAN.

Second aspect, there is provided a kind of Internet of Things access point, the Internet of Things access point is the first Internet of Things access point, described Internet of Things access point includes:Detection unit, for detecting the probability of itself failure;Processing unit, for such as described probability More than given threshold, it is determined that failure sign;Transmit-Receive Unit, for the data stored in caching to be sent to the first distribution The data backup that the host node of formula system is stored;The distributed system includes:Host node and multiple from node.

Optionally, the Transmit-Receive Unit, it is additionally operable to receive the first number that the host node of first distributed system is sent Responded according to backup, the first data backup as described in receiving in setting time the first Internet of Things access point responds, and determines that data are standby Part success.

Optionally, the Transmit-Receive Unit, it is additionally operable to the first Internet of Things access point such as and does not receive institute in setting time Data backup response is stated, then sends the second data backup requests of storage to the host node of the second distributed system.

Optionally, the Transmit-Receive Unit, it is additionally operable to receive the second backup Internet of Things access point is sent described second Second caching surplus of backup Internet of Things access point and the second network transmission speed, receive the 3rd backup Internet of Things and send The 3rd backup Internet of Things access point the 3rd caching surplus and the 3rd network transmission speed;

The Transmit-Receive Unit, it is additionally operable to be more than the described 3rd caching surplus and second net in the described second caching surplus When network transmission rate is higher than setting network speed threshold value, the data stored in the caching more than 50% are sent to the second backup thing Networking access point, the remaining data of the data stored in the caching is sent to the 3rd backup Internet of Things access point, to described Internet-of-things terminal sends the first handover request, and first handover request is used to indicate that the internet-of-things terminal switches to described the Two backup Internet of Things access points;

The Transmit-Receive Unit, it is additionally operable to be more than the described 3rd caching surplus in the described second caching surplus and the second network passes When defeated speed is less than the network speed threshold value, the data stored in the caching are sent to the 3rd backup Internet of Things access point Backup, the second handover request is sent to the internet-of-things terminal, second handover request is used to indicate the internet-of-things terminal Switch to the 3rd backup Internet of Things access point;3rd probability of malfunction is less than the given threshold.

Optionally, the Transmit-Receive Unit, it is additionally operable to receive the connection internet-of-things terminal of other Internet of Things access points transmission Quantity;

The processing unit, the quantity for having connected internet-of-things terminal for such as described second backup Internet of Things access point are high In amount threshold, one data double copies packet, the first Internet of Things access point and the 4th Internet of Things access point are exited Again the packet of another data double copies is set up into, the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is low In the amount threshold, other described Internet of Things access points include in Internet of Things LAN except the first Internet of Things access point with Outer property networking access point.

Optionally, the Transmit-Receive Unit, it is additionally operable to receive the positional information of other Internet of Things access points transmission;

The processing unit, it is additionally operable to according to positional information calculation the first Internet of Things access point and other Internet of Things access points Distance, the distance of such as described second backup Internet of Things access point and the first Internet of Things access point is higher than distance threshold, moves back Go out one data double copies packet, the first Internet of Things access point is set up into another again with the 5th Internet of Things access point Individual data double copies packet, the distance between the 5th Internet of Things access point and the first Internet of Things access point are less than described Distance threshold, other described Internet of Things access points include the institute in addition to the first Internet of Things access point in Internet of Things LAN There is Internet of Things access point.

The third aspect, there is provided a kind of computer-readable storage medium, wherein, the computer-readable storage medium can have program stored therein, should The part of the data back up method for any Internet of Things access point recorded when program performs including above-mentioned first aspect is complete Portion's step.

Fourth aspect, there is provided a kind of Internet of Things access point, the Internet of Things access point include:Processor, memory, transceiver And bus, the processor, memory, transceiver are connected by bus, the memory storage program code.Processor is used to call The program code stored in memory, the data backup side of any Internet of Things access point for performing first aspect record The part or all of step of method.

First Internet of Things access point of technical scheme provided by the invention is detecting the probability of itself failure, works as failure When probability exceedes given threshold, the request that the other Internet of Things access point into backup groupings sends backup is cached with backing up The data stored in the caching of memory storage, it is achieved thereby that the backup of data, the ability of Internet of Things access point fault-resistant is improved, The advantages of improving user experience.

Brief description of the drawings

In order to illustrate more clearly of the technical scheme of the embodiment of the present application, required use in being described below to embodiment Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the present application, for this area For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.

Fig. 1 is a kind of network diagram based on Internet of Things access point.

Fig. 2 is a kind of flow chart of the data back up method of Internet of Things access point of the embodiment of the present application.

Fig. 3 is a kind of data back up method flow chart for Internet of Things access point that another embodiment of the application provides.

Fig. 4 is the structural representation of the Internet of Things access point of the offer of the embodiment of the present application.

Fig. 5 is a kind of hardware architecture diagram for Internet of Things access point that the application provides.

Embodiment

It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although operations are described as the processing of order by flow chart, therein to be permitted Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When it The processing can be terminated when operation is completed, it is also possible to the additional step being not included in accompanying drawing.The processing It can correspond to method, function, code, subroutine, subprogram etc..

Alleged within a context " computer equipment ", also referred to as " computer ", referring to can be by running preset program or referring to Order performs the intelligent electronic device of the predetermined process process such as numerical computations and/or logical calculated, its can include processor with Memory, the survival that is prestored in memory by computing device are instructed to perform predetermined process process, or by ASIC, The hardware such as FPGA, DSP perform predetermined process process, or are realized by said two devices combination.Computer equipment includes but unlimited In server, PC, notebook computer, tablet personal computer, smart mobile phone etc..

Method (some of them are illustrated by flow) discussed hereafter can be by hardware, software, firmware, centre Part, microcode, hardware description language or its any combination are implemented.Implement when with software, firmware, middleware or microcode When, to implement the program code of necessary task or code segment can be stored in machine or computer-readable medium and (for example deposit Storage media) in.(one or more) processor can implement necessary task.

Concrete structure and function detail disclosed herein are only representational, and are for describing showing for the present invention The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and it is not interpreted as It is limited only by the embodiments set forth herein.

Although it should be appreciated that may have been used term " first ", " second " etc. herein to describe unit, But these units should not be limited by these terms.It is used for the purpose of using these terms by a unit and another unit Make a distinction.For example, in the case of the scope without departing substantially from exemplary embodiment, it is single that first module can be referred to as second Member, and similarly second unit can be referred to as first module.Term "and/or" used herein above include one of them or Any and all combination of more listed associated items.

Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless Context clearly refers else, otherwise singulative used herein above "one", " one " also attempt to include plural number.Should also When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation, The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit, Component and/or its combination.

It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can be according to different from attached The order indicated in figure occurs.For example, depending on involved function/action, the two width figures shown in succession actually may be used Substantially simultaneously to perform or can perform in a reverse order sometimes.The present invention is made below in conjunction with the accompanying drawings further It is described in detail.

A kind of according to an aspect of the invention, there is provided data back up method of Internet of Things access point.Wherein, this method Apply in internet of things as shown in Figure 1, as shown in figure 1, the internet of things includes:Internet-of-things terminal 10, Internet of Things access Point AP20, gateway 30, above-mentioned internet-of-things terminal can have the different forms of expression, such as the Internet of Things according to different situations Terminal is specifically as follows:The equipment such as mobile phone, tablet personal computer, computer, certainly its can also include with network savvy other Equipment, such as intelligent television, intelligent air condition, the terminal device of intelligent kettle or some Internet of Things, above-mentioned internet-of-things terminal 10 are logical Cross wireless mode to be connected with AP20, AP20 is connect by another way (connected modes i.e. different from wireless mode) with gateway 30 Enter internet, above-mentioned wireless mode includes but is not limited to:The modes such as bluetooth, WIFI, above-mentioned another way can be, LTE or Wired mode, above-mentioned gateway are specifically as follows, the equipment such as mobile base station, mobile-relay station, interchanger.In Fig. 1 in a wired fashion For example, represent, only represented here with a solid line for convenience.

Above-mentioned gateway 30 can be a PC (English according to the size of Internet of Things:Personal computer, PC), certainly in actual applications or multiple pc, server or server farm, the specific embodiment of the invention is not Limit to the specific manifestation form of above-mentioned gateway 30.

Refering to Fig. 2, Fig. 2 is a kind of data back up method of Internet of Things access point provided by the invention, and this method is in such as Fig. 1 Realized under shown network architecture, as shown in figure 1, multiple internet-of-things terminals can be connected under a repeater, the relaying utensil Body can be that the mobile phone, the PC of offer wireless connection or the hotspot device of routine for opening focus are set such as router Standby, this method is as shown in Fig. 2 comprise the following steps:

Step S201, the first Internet of Things access point detects the probability of itself failure, and such as described probability is more than setting threshold Value, it is determined that failure sign.

Above-mentioned steps S201 implementation method is specifically as follows:

First Internet of Things access point can determine the probability to break down by detecting the packet loss of packet, exist certainly The probability of failure, such as the mode such as detection network delay can also be detected in practical application using other modes to examine Survey the probability to break down.

Step S202, the first Internet of Things access point sends the data stored in caching to the second backup Internet of Things access point Or the 3rd backup Internet of Things access point carry out data backup.

Above-mentioned steps S202 implementation method can be:

First internet-of-things terminal sends the data that store in caching to AP, AP by this cache in the data forwarding that stores to the Two backup Internet of Things access points or the 3rd backup Internet of Things access point are to realize data backup.

The each producer of type of internet-of-things terminal in above-mentioned steps S202 can be configured according to situation voluntarily, example Such as, the internet-of-things terminal can specifically include:Intelligent electric lamp, intelligent television, intelligent cleaning equipment, intelligent sleep equipment, intelligence Monitoring device etc., its form showed can be varied, such as intelligent electric lamp, the intelligent electric lamp includes but unlimited In:The equipment such as intelligent desk lamp, intelligent ceiling lamp, intelligent wall lamp, such as intelligent television, it can be Samsung board intelligence TV, it can also be Sharp's board intelligent television certainly, such as intelligent cleaning equipment, it can be, intelligent floor-sweeping Robot, it can also include the equipment such as intellective dust collector, intelligent garbage processor certainly, such as come for intelligent sleep equipment Say, it can be:The equipment such as intelligent mattress, intelligent sofa, such as intelligent monitoring device or, it can be, intelligent blood Pressure meter, intelligent thermometer etc., the present invention is not limited the concrete form and quantity or species of above-mentioned internet-of-things terminal.

Internet-of-things terminal can be to pass through wireless connection to the data transfer mode between repeater in above-mentioned steps S202 Mode send packet, the wireless mode includes but is not limited to:Bluetooth, Wireless Fidelity (English:Wireless Fidelity, WIFI) or the wireless mode such as Zigbee, wherein, above-mentioned WIFI needs the standard in accordance with IEEE802.11b.

Optionally, above-mentioned steps S202 can use following steps to replace.

Step S202-1, the first Internet of Things access point sends the data stored in caching to the master of the first distributed system The data backup that node is stored.

Above-mentioned distributed system includes:Host node and multiple from node.

For distributed system, after distributed system Backup Data, host node can be same by the data of backup for it Step is backed up to all from node, as long as so any one node is normal in distributed system, the data that it is backed up are just The first Internet of things node can be back to, so it has the advantages of improving backup stability.For distributed system, such as Host node failure, new host node can be re-elected, after new host node elects, establish with new host node with The connection of first Internet of Things access point, this makes it possible to the link for not influenceing the distributed system.

Optionally, the first Internet of Things access point receives the first number that the host node of first distributed system is sent Responded according to backup, the first data backup as described in receiving in setting time the first Internet of Things access point responds, and determines that data are standby Part success.

Above-mentioned data backup response is specifically as follows an ACK message, specifically, it can be to carrying one in ACK message Individual special field determines whether the data back up success, for example, 10 1 represent back up successfully, 10 0 expressions can not back up Work(.

Optionally, methods described also includes:As the first Internet of Things access point does not receive the number in setting time Responded according to backup, then send the second data backup requests of storage to the host node of the second distributed system;First Internet of Things connects Access point receives the response of the second data backup requests of the host node feedback of the distributed system, determines data backup success.

It should be noted that Internet of Things and repeater here be only just for wireless repeater, because for thing For networking, the number of devices that it is accessed is numerous, for repeater, if the access by wired connection, first terminal Quantity can limit, and be to imagine for the wiring of domestic consumer with wired connection for family , this wired cost is also very high in addition, so between the middle internet-of-things terminal and repeater in technical scheme Connection only limit wireless connection.

Above-mentioned second backup Internet of Things access point belongs to a data double copies with the first Internet of Things access point and is grouped; The 3rd backup Internet of Things access point belongs to the packet of another data double copies with the first Internet of Things access point.Backing up Two Internet of Things access points in packet have the setting of backup, in same backup groupings, if an Internet of Things access Point will break down, and will think that another Internet of Things access point in backup groupings sends the data of caching to carry out caching number According to backup.

Optionally, above-mentioned steps S202 implementation method is specifically as follows:

The first Internet of Things access point receives the second backup thing that the second backup Internet of Things access point is sent Second caching surplus of networking access point and the second network transmission speed, the first Internet of Things access point receive the described 3rd 3rd caching surplus of the 3rd backup Internet of Things access point that backup Internet of Things is sent and the 3rd network transmission speed;

It is more than the described 3rd caching surplus in the described second caching surplus and second network transmission speed is higher than setting During network speed threshold value, the first Internet of Things access point sends the data stored in the caching more than 50% to the second backup Internet of Things access point, the remaining data of the data stored in the caching is sent to the 3rd backup Internet of Things access point, it is described First Internet of Things access point sends the first handover request to the internet-of-things terminal, and first handover request is described for indicating Internet-of-things terminal switches to the second backup Internet of Things access point;

It is more than the described 3rd caching surplus in the described second caching surplus and the second network transfer speeds is less than the network speed During threshold value, the data stored in the caching are sent to the 3rd backup Internet of Things and accessed by the first Internet of Things access point Point backup, the first Internet of Things access point send the second handover request, second handover request to the internet-of-things terminal For indicating that the internet-of-things terminal switches to the 3rd backup Internet of Things access point;3rd probability of malfunction is less than described Given threshold.

The setting of this scheme is primarily to the too low influence of network speed of the Internet of Things relay station after avoiding transmission data The situation of data transfer occurs, and for backup groupings, because it only exists two Internet of Things access points, if there is The too low situation of two Internet of Things access point network speed, in fact it could happen that do not back up the optional situation hair of Internet of Things access point Raw, this mode can also avoid such a situation from occurring.

Optionally, above-mentioned steps S202 implementation method is specifically as follows:

The first Internet of Things access point receives the quantity for having connected internet-of-things terminal of other Internet of Things access points transmission, The quantity for having connected internet-of-things terminal such as the second backup Internet of Things access point is higher than amount threshold, first Internet of Things Access point exits the packet of one data double copies, the first Internet of Things access point and the 4th Internet of Things access point group again The packet of another data double copies is built up, the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is less than described Amount threshold, other described Internet of Things access points include the institute in addition to the first Internet of Things access point in Internet of Things LAN There is Internet of Things access point.

This technical scheme is updated to backup groupings, when mainly avoiding the need for carrying out internet-of-things terminal switching, due to The problem of quantity of the internet-of-things terminal of access can not excessively switch successfully internet-of-things terminal, so needing in backup groupings The a fairly large number of equipment of undesirable i.e. access internet-of-things terminal rejects renewal.

Optionally, above-mentioned steps S202 implementation method is specifically as follows:

The first Internet of Things access point receives the positional information of other Internet of Things access points transmission, according to positional information meter The distance of the first Internet of Things access point and other Internet of Things access points is calculated, such as described second backup Internet of Things access point and described the The distance of one Internet of Things access point is higher than distance threshold, and the first Internet of Things access point exits one data double copies point Group, the first Internet of Things access point and the 5th Internet of Things access point set up into the packet of another data double copies again, described The distance between 5th Internet of Things access point and the first Internet of Things access point are less than the distance threshold, other described Internet of Things Net access point includes the property networking access point in addition to the first Internet of Things access point in Internet of Things LAN.

This technical scheme is in order to avoid away from too far away, the Internet of Things that causing internet-of-things terminal can not connect after switching connects Access point, so it has the speed of the success rate for improving switching and data transfer.

According to the method provided such as Fig. 2, the first Internet of Things access point is detecting the probability of itself failure, when failure is general When rate exceedes given threshold, an other Internet of Things access point into backup groupings sends the request of backup to back up in caching The data stored in the caching of storage, it is achieved thereby that the backup of data, improves the ability of Internet of Things access point fault-resistant, carry High user experience.

Refering to Fig. 3, Fig. 3 is a kind of data back up method of Internet of Things access point provided by the invention, and this method is in such as Fig. 1 Realized under shown network architecture, as shown in figure 1, multiple internet-of-things terminals can be connected under a repeater, the relaying utensil Body can be that the mobile phone, the PC of offer wireless connection or the hotspot device of routine for opening focus are set such as router Standby, this method is as shown in figure 3, comprise the following steps:

Step S301, the first Internet of Things access point detects the probability of itself failure, and such as described probability is more than setting threshold Value, it is determined that failure sign.

Above-mentioned steps S301 implementation method is specifically as follows:

First Internet of Things access point can determine the probability to break down by detecting the packet loss of packet, exist certainly The probability of failure can also be detected using other modes in practical application, such as detect the side such as network speed of upload Formula detects the probability of failure.

Step S302, described the second of the first Internet of Things access point reception the second backup Internet of Things access point transmission is standby Second caching surplus of part Internet of Things access point, the first Internet of Things access point receive the described of the 3rd backup Internet of Things transmission 3rd caching surplus of the 3rd backup Internet of Things access point.

Above-mentioned steps S302 implementation method can be:

First Internet of Things access point wirelessly receive that the second backup Internet of Things access point sends described the Second caching surplus of two backup Internet of Things access points;First Internet of Things access point wirelessly receives the 3rd backup 3rd caching surplus of the 3rd backup Internet of Things access point that Internet of Things is sent.Wireless mode includes but is not limited to:Bluetooth, Wireless Fidelity (English:Wireless Fidelity, WIFI) or the wireless mode such as Zigbee, wherein, above-mentioned WIFI needs to observe IEEE802.11b standard.

The each producer of type of internet-of-things terminal in above-mentioned steps S302 can be configured according to situation voluntarily, example Such as, the internet-of-things terminal can specifically include:Intelligent electric lamp, intelligent television, intelligent cleaning equipment, intelligent sleep equipment, intelligence Monitoring device etc., its form showed can be varied, such as intelligent electric lamp, the intelligent electric lamp includes but unlimited In:The equipment such as intelligent desk lamp, intelligent ceiling lamp, intelligent wall lamp, such as intelligent television, it can be Samsung board intelligence TV, it can also be Sharp's board intelligent television certainly, such as intelligent cleaning equipment, it can be, intelligent floor-sweeping Robot, it can also include the equipment such as intellective dust collector, intelligent garbage processor certainly, such as come for intelligent sleep equipment Say, it can be:The equipment such as intelligent mattress, intelligent sofa, such as intelligent monitoring device or, it can be, intelligent blood Pressure meter, intelligent thermometer etc., the present invention is not limited the concrete form and quantity or species of above-mentioned internet-of-things terminal.

Internet-of-things terminal can be to pass through wireless connection to the data transfer mode between repeater in above-mentioned steps S302 Mode send packet, the wireless mode includes but is not limited to:Bluetooth, Wireless Fidelity (English:Wireless Fidelity, WIFI) or the wireless mode such as Zigbee, wherein, above-mentioned WIFI needs the standard in accordance with IEEE802.11b.

It should be noted that Internet of Things and repeater here be only just for wireless repeater, because for thing For networking, the number of devices that it is accessed is numerous, for repeater, if the access by wired connection, first terminal Quantity can limit, and be to imagine for the wiring of domestic consumer with wired connection for family , this wired cost is also very high in addition, so between the middle internet-of-things terminal and repeater in technical scheme Connection only limit wireless connection.

Step S303, when the described second caching surplus is more than the described 3rd caching surplus, the first Internet of Things access Point sends the data stored in the caching more than 50% to the second backup Internet of Things access point, will be stored in the caching The remaining datas of data send to the 3rd backup Internet of Things access point.

Above-mentioned second backup Internet of Things access point belongs to a data double copies with the first Internet of Things access point and is grouped; The 3rd backup Internet of Things access point belongs to the packet of another data double copies with the first Internet of Things access point.Backing up Two Internet of Things access points in packet have the setting of backup, in same backup groupings, if an Internet of Things access Point will break down, and will think that another Internet of Things access point in backup groupings sends the data of caching to carry out caching number According to backup.

Step S304, the first Internet of Things access point sends the first handover request to the internet-of-things terminal, and described first cuts Message is changed to be used to indicate that the internet-of-things terminal switches to the second backup Internet of Things access point.

According to the method provided such as Fig. 3, the first Internet of Things access point is detecting the probability of itself failure, when failure is general When rate exceedes given threshold, an other Internet of Things access point into backup groupings sends the request of backup to back up in caching The data stored in the caching of storage, it is achieved thereby that the backup of data, improves the ability of Internet of Things access point fault-resistant, carry High user experience.

Refering to Fig. 4, Fig. 4 provides a kind of Internet of Things access point 400, Internet of Things access point 400 can be used for performing it is above-mentioned such as Method in Fig. 2 or embodiment illustrated in fig. 3, the definition of the technical term of Internet of Things access point may refer to as shown in Figure 2 or Figure 3 Description in embodiment, do not repeating here, the Internet of Things access point includes:

Detection unit 401, for detecting the probability of itself failure;

Processing unit 402, it is more than given threshold for such as described probability, it is determined that failure sign;

Transmit-Receive Unit 403, the host node for the data stored in caching to be sent to the first distributed system are deposited The data backup of storage;

The distributed system includes:Host node and multiple from node.

Transmit-Receive Unit 403, it is additionally operable to receive the first data backup sound that the host node of first distributed system is sent Should, such as the first Internet of Things access point receive in setting time first data backup and respond, determine data backup successfully.

Optionally, Transmit-Receive Unit 403, it is additionally operable to as described in not receiving in setting time the first Internet of Things access point Data backup responds, then sends the second data backup requests of storage to the host node of the second distributed system.

Transmit-Receive Unit 403, it is standby to the second backup Internet of Things access point or the 3rd for the data stored in caching to be sent Part Internet of Things access point carries out data backup;

The second backup Internet of Things access point belongs to a data double copies with the first Internet of Things access point and is grouped; The 3rd backup Internet of Things access point belongs to the packet of another data double copies with the first Internet of Things access point.

Optionally, Transmit-Receive Unit 403, be additionally operable to receive the second backup Internet of Things access point transmission described second are standby Second caching surplus of part Internet of Things access point, receives the 3rd backup Internet of Things that the 3rd backup Internet of Things is sent and connects 3rd caching surplus of access point;

Transmit-Receive Unit 403, it is additionally operable to when the described second caching surplus is more than the described 3rd caching surplus, first thing Networking access point sends the data stored in the caching more than 50% to the second backup Internet of Things access point, will be described slow The remaining data for depositing the data of middle storage is sent to the 3rd backup Internet of Things access point;

Transmit-Receive Unit 403, it is additionally operable to send the first handover request to the internet-of-things terminal, first handover request is used The second backup Internet of Things access point is switched in the instruction internet-of-things terminal.

Optionally, Transmit-Receive Unit 403, be additionally operable to receive the second backup Internet of Things access point transmission described second are standby Second caching surplus of part Internet of Things access point and the second network transmission speed, receive what the 3rd backup Internet of Things was sent 3rd caching surplus of the 3rd backup Internet of Things access point and the 3rd network transmission speed;

Transmit-Receive Unit 403, it is additionally operable to be more than the described 3rd caching surplus and second net in the described second caching surplus When network transmission rate is higher than setting network speed threshold value, the data stored in the caching more than 50% are sent to the second backup thing Networking access point, the remaining data of the data stored in the caching is sent to the 3rd backup Internet of Things access point, to described Internet-of-things terminal sends the first handover request, and first handover request is used to indicate that the internet-of-things terminal switches to described the Two backup Internet of Things access points;

Transmit-Receive Unit 403, it is additionally operable to be more than the described 3rd caching surplus in the described second caching surplus and the second network passes When defeated speed is less than the network speed threshold value, the data stored in the caching are sent to the 3rd backup Internet of Things access point Backup, the second handover request is sent to the internet-of-things terminal, second handover request is used to indicate the internet-of-things terminal Switch to the 3rd backup Internet of Things access point;3rd probability of malfunction is less than the given threshold.

Optionally, Transmit-Receive Unit 403, it is additionally operable to receive the internet-of-things terminal that connected of other Internet of Things access points transmissions Quantity;

Processing unit 402, the quantity for having connected internet-of-things terminal for such as described second backup Internet of Things access point are high In amount threshold, one data double copies packet, the first Internet of Things access point and the 4th Internet of Things access point are exited Again the packet of another data double copies is set up into, the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is low In the amount threshold, other described Internet of Things access points include in Internet of Things LAN except the first Internet of Things access point with Outer property networking access point.

Optionally, Transmit-Receive Unit 403, it is additionally operable to receive the positional information of other Internet of Things access points transmission;

Processing unit 402, it is additionally operable to according to positional information calculation the first Internet of Things access point and other Internet of Things access points Distance, the distance of such as described second backup Internet of Things access point and the first Internet of Things access point is higher than distance threshold, moves back Go out one data double copies packet, the first Internet of Things access point is set up into another again with the 5th Internet of Things access point Individual data double copies packet, the distance between the 5th Internet of Things access point and the first Internet of Things access point are less than described Distance threshold, other described Internet of Things access points include the institute in addition to the first Internet of Things access point in Internet of Things LAN There is Internet of Things access point.

The specific embodiment of the invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can store There is program, the data back up method for any Internet of Things access point recorded when the program performs including above-mentioned first aspect Part or all of step.The specific implementation of the above method may refer to such as the description of Fig. 2 or as shown in Figure 3 embodiments.

Refering to Fig. 5, Fig. 5 is a kind of Internet of Things access point 500 provided by the invention, and the Internet of Things access point can be deployment A node in internet system, internet system can also include:Internet-of-things terminal, Internet of Things repeater and gateway, The Internet of Things access point 500 includes but is not limited to:The equipment such as computer, server, as shown in figure 5, the Internet of Things access point 500 Including:Processor 501, memory 502, transceiver 503 and bus 504.Transceiver 503 is used to (such as interconnect with external equipment Other equipment in system, include but is not limited to:Repeater, equipment of the core network etc.) between transceiving data.Internet of Things access point The quantity of processor 501 in 500 can be one or more.In some embodiments of the present application, processor 501, memory 502 can be connected with transceiver 503 by bus system or other modes.The implication for the term being related on the present embodiment and act Example, may be referred to embodiment corresponding to Fig. 2 or Fig. 3, here is omitted.

Wherein, can be with store program codes in memory 502.Processor 501 is used to call the journey stored in memory 502 Sequence code, for performing following operation:

Processor 501, for surveying the probability of itself failure, such as described probability is more than given threshold, it is determined that occurs Fault evidence.

Transceiver 503, backed up for the data stored in caching to be sent to the second backup Internet of Things access point or the 3rd Internet of Things access point carries out data backup;

The second backup Internet of Things access point belongs to a data double copies with the Internet of Things access point 500 and is grouped; The 3rd backup Internet of Things access point belongs to the packet of another data double copies with Internet of Things access point 500.

Optionally, processor 501, transceiver 503, can be also used for performing the step as in Fig. 2 or as shown in Figure 3 embodiments Rapid and step refinement scheme and alternative.

It should be noted that processor 501 here can be a treatment element or multiple treatment elements It is referred to as.For example, the treatment element can be central processing unit (Central Processing Unit, CPU) or spy Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or be arranged to implement this Apply for one or more integrated circuits of embodiment, such as:One or more microprocessors (digital signal Processor, DSP), or, one or more field programmable gate array (Field Programmable Gate Array, FPGA)。

Memory 503 can be the general designation of a storage device or multiple memory elements, and for storing and can hold Parameter, data etc. required for line program code or the operation of application program running gear.And memory 903 can include random storage Device (RAM), nonvolatile memory (non-volatile memory), such as magnetic disk storage, flash memory can also be included (Flash) etc..

Bus 504 can be that industry standard architecture (Industry Standard Architecture, ISA) is total Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control Bus processed etc..For ease of representing, only represented in Fig. 5 with a thick line, it is not intended that an only bus or a type of Bus.

The user equipment can also include input/output unit, be connected to bus 504, to pass through bus and processor 501 Connected etc. other parts.The input/output unit can provide an inputting interface for operating personnel, so that operating personnel pass through this Inputting interface selects item of deploying to ensure effective monitoring and control of illegal activities, and can also be other interfaces, can pass through the external miscellaneous equipment of the interface.

It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should know, the application is not limited by described sequence of movement, because For according to the application, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this Shen Please be necessary.

In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment Part, may refer to the associated description of other embodiment.

One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English Text:Random Access Memory, referred to as:RAM), disk or CD etc..

The content download method and relevant device that are there is provided above the embodiment of the present application, system are described in detail, Specific case used herein is set forth to the principle and embodiment of the application, and the explanation of above example is simply used Understand the present processes and its core concept in help;Meanwhile for those of ordinary skill in the art, according to the application's Thought, there will be changes in specific embodiments and applications, in summary, this specification content should not be construed as Limitation to the application.

Claims (10)

1. a kind of data back up method of Internet of Things access point, it is characterised in that methods described comprises the following steps:
First Internet of Things access point detects the probability of itself failure, and such as described probability is more than given threshold, it is determined that occurs Fault evidence;
What the host node that the first Internet of Things access point sends the data stored in caching to the first distributed system was stored Data backup;
The distributed system includes:Host node and multiple from node.
2. according to the method for claim 1, it is characterised in that methods described also includes:
The first data backup response that the host node that the first Internet of Things access point receives first distributed system is sent, The first data backup response as described in receiving in setting time the first Internet of Things access point, determine data backup success.
3. method according to claim 1, it is characterised in that methods described also includes:
The first Internet of Things access point does not receive the data backup response in setting time, then to the second distributed system The host node of system sends the second data backup requests of storage;
First Internet of Things access point receives the response of the second data backup requests of the host node feedback of the distributed system, really Determine data backup success.
4. according to the method described in claim any one of 1-3, it is characterised in that methods described also includes:
The first Internet of Things access point receives the quantity for having connected internet-of-things terminal of other Internet of Things access points transmission, such as institute The quantity for having connected internet-of-things terminal for stating the second backup Internet of Things access point is higher than amount threshold, the first Internet of Things access Point exits one data double copies packet, and the first Internet of Things access point and the 4th Internet of Things access point are set up into again Another data double copies is grouped, and the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is less than the quantity Threshold value, other described Internet of Things access points include the property in addition to the first Internet of Things access point in Internet of Things LAN Networking access point.
5. according to the method described in claim any one of 1-3, it is characterised in that methods described also includes:
The first Internet of Things access point receives the positional information of other Internet of Things access points transmission, according to positional information calculation the The distance of one Internet of Things access point and other Internet of Things access points, such as described second backup Internet of Things access point and first thing The distance of networking access point is higher than distance threshold, and the first Internet of Things access point exits one data double copies packet, The first Internet of Things access point and the 5th Internet of Things access point are set up into another data double copies and are grouped again, and the described 5th The distance between Internet of Things access point and the first Internet of Things access point are less than the distance threshold, and other described Internet of Things connect Access point includes the property networking access point in addition to the first Internet of Things access point in Internet of Things LAN.
6. a kind of Internet of Things access point, it is characterised in that the Internet of Things access point is the first Internet of Things access point, the Internet of Things Net access point includes:
Detection unit, for detecting the probability of itself failure;
Processing unit, it is more than given threshold for such as described probability, it is determined that failure sign;
Transmit-Receive Unit, the data that the host node for the data stored in caching to be sent to the first distributed system is stored Backup;
The distributed system includes:Host node and multiple from node.
7. Internet of Things access point according to claim 6, it is characterised in that
The Transmit-Receive Unit, it is additionally operable to receive the first data backup response that the host node of first distributed system is sent, The first data backup response as described in receiving in setting time the first Internet of Things access point, determine data backup success.
8. Internet of Things access point according to claim 6, it is characterised in that
The Transmit-Receive Unit, it is additionally operable to the data backup as described in not receiving in setting time the first Internet of Things access point and rings Should, then send the second data backup requests of storage to the host node of the second distributed system.
9. according to the Internet of Things access point described in claim any one of 6-8, it is characterised in that
The Transmit-Receive Unit, it is additionally operable to receive the quantity for having connected internet-of-things terminal of other Internet of Things access points transmission;
The processing unit, the quantity for having connected internet-of-things terminal for such as described second backup Internet of Things access point is higher than number Threshold value is measured, exits one data double copies packet, the first Internet of Things access point and the 4th Internet of Things access point are again The packet of another data double copies is set up into, the quantity for having connected internet-of-things terminal of the 4th Internet of Things access point is less than institute Amount threshold is stated, other described Internet of Things access points are included in Internet of Things LAN in addition to the first Internet of Things access point Property networking access point.
A kind of 10. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the method as described in claim any one of 1-5.
CN201710755237.4A 2017-08-29 2017-08-29 The data back up method and device of Internet of Things access point CN107612719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710755237.4A CN107612719A (en) 2017-08-29 2017-08-29 The data back up method and device of Internet of Things access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710755237.4A CN107612719A (en) 2017-08-29 2017-08-29 The data back up method and device of Internet of Things access point

Publications (1)

Publication Number Publication Date
CN107612719A true CN107612719A (en) 2018-01-19

Family

ID=61056107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710755237.4A CN107612719A (en) 2017-08-29 2017-08-29 The data back up method and device of Internet of Things access point

Country Status (1)

Country Link
CN (1) CN107612719A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638351A (en) * 2003-12-23 2005-07-13 国际商业机器公司 Smart access point
CN1756163A (en) * 2004-09-30 2006-04-05 杭州讯杰科技有限公司 Multimedia information distribution system and multimedia traveling information distribution system
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN102521058A (en) * 2011-12-01 2012-06-27 北京威视数据系统有限公司 Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group
CN103763155A (en) * 2014-01-24 2014-04-30 国家电网公司 Multi-service heartbeat monitoring method for distributed type cloud storage system
CN104094236A (en) * 2012-04-02 2014-10-08 国际商业机器公司 Systems and methods for preventing data loss
CN106257872A (en) * 2015-06-22 2016-12-28 埃森哲环球服务有限公司 WI FI access point performance management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638351A (en) * 2003-12-23 2005-07-13 国际商业机器公司 Smart access point
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN1756163A (en) * 2004-09-30 2006-04-05 杭州讯杰科技有限公司 Multimedia information distribution system and multimedia traveling information distribution system
CN102521058A (en) * 2011-12-01 2012-06-27 北京威视数据系统有限公司 Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group
CN104094236A (en) * 2012-04-02 2014-10-08 国际商业机器公司 Systems and methods for preventing data loss
CN103763155A (en) * 2014-01-24 2014-04-30 国家电网公司 Multi-service heartbeat monitoring method for distributed type cloud storage system
CN106257872A (en) * 2015-06-22 2016-12-28 埃森哲环球服务有限公司 WI FI access point performance management

Similar Documents

Publication Publication Date Title
CN105612768B (en) Lightweight IOT information model
CN103581289B (en) Method and system conducive to service provision and coordination of distributed computing system
JP6043303B2 (en) Adapter device for coupling industrial field devices to an industrial wireless network, and related systems and methods
CN104636184B (en) The dispositions method and device and equipment of virtual machine instance
ES2679794T3 (en) Method and system for group communication, group server and group member device
EP2526734B1 (en) Hierarchical routing and interface selection for multi-processor multimode network devices
TWI269556B (en) Universal plug-and-play mirroring device, system and method
CN101471885B (en) Virtual multicast routing for a cluster having state synchronization
CN103220822B (en) Data transmission method, device and mobile terminal
CN104735607B (en) A kind of data transmission method, mobile terminal and system
CN104106303A (en) Methods and apparatus for establishing tunneled direct link setup (TDLS) session between devices in wireless network
US7342899B2 (en) Network reconfiguration method, node and link change method, network reconfiguration program, link change program, and recording medium recording the program
CN101853237B (en) On-chip system and AXI bus transmission method
KR20100066568A (en) Methods to verify wireless node placement for reliable communication in wireless sensor control networks
CN102571587B (en) Method and equipment for forwarding messages
US8804584B2 (en) Periodic synchronization link quality in a mesh network
ES2539366T3 (en) Procedure and network for sharing sensor data between mobile terminals
CN102017544B (en) Method and system for offloading network processing
CN1579066A (en) A protocol for a self-organizing network using a logical spanning tree backbone
CN103905447A (en) Service link selection control method and device
CN102317884A (en) Wakeup trigger to support multiple user interfaces, environments, and/or virtual machines
KR20050028211A (en) Metaspace: communication middleware for partially connected mobile ad hoc networks
CN102640471A (en) Method and apparatus for multipath communication
CN102802139A (en) Gateway data adapting system and method of Internet of Things
CN103297306B (en) A kind of agriculture Internet of things system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination