CN105163333B - A kind of data processing method and device - Google Patents

A kind of data processing method and device Download PDF

Info

Publication number
CN105163333B
CN105163333B CN201510346000.1A CN201510346000A CN105163333B CN 105163333 B CN105163333 B CN 105163333B CN 201510346000 A CN201510346000 A CN 201510346000A CN 105163333 B CN105163333 B CN 105163333B
Authority
CN
China
Prior art keywords
mesh
software version
nodes
mesh network
network
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510346000.1A
Other languages
Chinese (zh)
Other versions
CN105163333A (en
Inventor
彭学锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510346000.1A priority Critical patent/CN105163333B/en
Publication of CN105163333A publication Critical patent/CN105163333A/en
Application granted granted Critical
Publication of CN105163333B publication Critical patent/CN105163333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The embodiment of the invention discloses a kind of data processing method and device, method therein may include:Whether the software version that the Mesh root nodes MPP in netted Mesh network is detected between all Mesh nodes in the Mesh network is consistent;When the non-uniformity of software versions between detecting all Mesh nodes in the Mesh network, relatively and record the information of recent software version in the Mesh network and possess the Mesh addresss of node of the recent software version;Information according to the recent software version notifies the acquisition and update that newer Mesh nodes is needed to carry out the recent software version according to the address of the record in the Mesh network.The software version of all Mesh nodes can be kept consistent in Mesh network using the present invention.

Description

A kind of data processing method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of data processing method and devices.
Background technology
Wireless Mesh Networks abbreviation WMN, are wireless Mesh networds, that is, support multi-multipoint wireless network Shape network, wireless Mesh netword are a kind of novel broadband wireless network structures.WMN is isolated from mobile Ad hoc networks Come, and followed the new network of part Wireless LAN (Wireless Local Area Networks, WLAN) technology Technology.Mesh network is " multi-hop (multi-hop) " network.WMN is a kind of highly reliable, wlan network for extensively covering, is a kind of It is very suitable for covering the radio area network solution of large area open zone city (including outdoor and indoor).Mesh network has There is the advantage of broadband high-speed and spectral efficient, and with dynamic self-organization, certainly self-configuring, the outstanding features such as maintenance.Therefore, The characteristics of Mesh network, is very suitable for smart home (such as intelligent sound box, intelligent appliance), smart city, school and public The fields such as the security monitoring in place, at present it be widely considered to be a developing direction of radio network technique in the industry.
For example, when Mesh network be applied to intelligent sound box system in when, these intelligent network speakers be integrated with processor and Network interface can access the Streaming Media music of internet, according to the selection of user, directly obtain music sources from network and broadcast It puts.Intelligent network speaker is usually to be controlled using mobile terminal (such as mobile phone and tablet computer), is mounted on mobile terminals specially After application program, can intelligent network speaker be accessed by the application program, may browse through the Streaming Media sound on internet It is happy, and song is selected to be pushed to the broadcasting of intelligent network speaker.But in the prior art, the intelligent sound box system in Mesh network In, when new intelligent network speaker is added, it will usually exist since the time of making the product of intelligent network speaker is inconsistent or The renewal time of the software version of person's intelligent network speaker is inconsistent, leads to different intelligent networks in same Mesh network It is wrong cannot to cooperate or play generation so as to cause intelligent network speaker the problem of non-uniformity of software versions between speaker Accidentally the problems such as.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of data processing method and device, solves Mesh nodes in Mesh network are due in network caused by the time of making the product or the factors such as network entry time is successively inconsistent The problem of non-uniformity of software versions of Mesh nodes.
In a first aspect, an embodiment of the present invention provides a kind of data processing methods, it may include:
It is soft between all Mesh nodes in the Mesh root nodes MPP detections Mesh network in netted Mesh network Whether part version is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
When the non-uniformity of software versions between detecting all Mesh nodes in the Mesh network, compare simultaneously It records the information of recent software version in the Mesh network and possesses the Mesh addresss of node of the recent software version;
Information according to the recent software version notifies to need newer Mesh nodes in the Mesh network according to The address of record carries out the acquisition and update of the recent software version.
With reference to first aspect, in the first possible implementation, the MPP is according to default competition mechanism, from described It is selected in MP in Mesh network.
With reference to first aspect, in second of possible realization method, the Mesh root nodes in the netted Mesh network MPP detect software version between all Mesh nodes in the Mesh network it is whether consistent before, further include:
When receiving the software version update instruction that terminal APP is sent;Or
When monitoring to there is new MP to add in the Mesh network;Or
When the control link order for receiving terminal APP transmissions, the control link order is used for terminal APP and Mesh It is communicatively coupled between network.
With reference to first aspect, in the third possible realization method, the MP and MPP are wireless sound box equipment.
With reference to first aspect or second of the first possible realization method of first aspect or first aspect possible Any one mode in the possible realization method of the third of realization method or first aspect, in the 4th kind of possible realization method In, the information according to the recent software version notifies to need newer Mesh nodes in the Mesh network according to the note The address of record carries out the acquisition and update of the recent software version, including:
According to the information of the recent software version, by the current software version of all Mesh nodes with it is described newest Software version is compared, if the software version for contrasting Mesh nodes is not the recent software version, i.e., described in judgement Mesh nodes need to update;
According to the Mesh addresss of node for possessing the recent software version of the record, generation includes the record The new information of address;
The new information is notified newer Mesh nodes to be needed to need newer Mesh nodes so as to described to described It is obtained by the address of the record and updates the recent software version.
Second aspect, an embodiment of the present invention provides a kind of data processing equipment, including:
Detection module detects all in the Mesh network for the Mesh root nodes MPP in netted Mesh network Whether the software version between Mesh nodes is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
Logging modle, for the software version between all Mesh nodes in the Mesh network are detected not When consistent, relatively and record the information of recent software version in the Mesh network and possess the recent software version Mesh addresss of node;
Update module, for notifying to need newer Mesh in the Mesh network according to the information of the recent software version Node carries out the acquisition and update of the recent software version according to the address of the record.
With reference to second aspect, in the first possible implementation, the MPP is according to default competition mechanism, from described It is selected in MP in Mesh network.
With reference to second aspect, in second of possible realization method, described device further includes:
First trigger module, for when receiving the software version update instruction that terminal APP is sent, triggering the detection mould The execution of block;Or
Second trigger module when monitoring to have new MP to add in the Mesh network, triggers the detection module It performs;Or
Third trigger module when the control link order for receiving terminal APP transmissions, triggers holding for the detection module Row, the control link order are used to be communicatively coupled between terminal APP and Mesh network.
With reference to second aspect, in the third possible realization method, the MP and MPP are wireless sound box equipment.
Second with reference to the possible realization method of the first of second aspect or second aspect or second aspect is possible Any one mode in the possible realization method of the third of realization method or second aspect, in the 4th kind of possible realization method In, the update module, including:
Identifying unit, for the information according to the recent software version, by the Current software of all Mesh nodes Version is compared with the recent software version, if the software version for contrasting Mesh nodes is not the recent software version This, that is, judge that the Mesh nodes need to update;
Generation unit, for the Mesh addresss of node for possessing the recent software version according to the record, generation The new information of address including the record;
Updating unit, for notifying the new information newer Mesh nodes to be needed to need more so as to described to described New Mesh nodes are obtained by the address of the record and update the recent software version.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the Mesh network structure diagram in the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of data processing method in the embodiment of the present invention;
Fig. 3 is the flow diagram of another data processing method in the embodiment of the present invention;
Fig. 4 is the flow diagram of another data processing method in the embodiment of the present invention;
Fig. 5 is that data processing method is applied to a concrete application scene in wireless sound box system in the embodiment of the present invention Schematic diagram
Fig. 6 is a kind of structure diagram of data processing equipment in the embodiment of the present invention;
Fig. 7 is the structure diagram of another data processing equipment in the embodiment of the present invention;
Fig. 8 is the structure diagram of another data processing equipment in the embodiment of the present invention;
Fig. 9 is the structure diagram of another data processing equipment in the embodiment of the present invention;
Figure 10 is the structure diagram of another data processing equipment in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
Although it should be understood that herein using describing modules such as terms first, second, these modules should not Limited by these terms, these terms are only applied to be distinguished from each other.It is to be further understood that it is used in the present context, unless Context clearly supports exception, and singulative "one" (" a ", " an " and " the ") is intended to also include plural form. It should also be understood that "and/or" used herein refers to include one or more than one item listed in association Purpose is arbitrary and all possible combinations.
In order to be best understood from a kind of data processing method disclosed by the embodiments of the present invention and device, below first to of the invention real The Mesh network structure that example is applicable in is applied to be described.Referring to Fig. 1, Fig. 1 is a kind of Mesh network disclosed by the embodiments of the present invention Structure diagram.Mesh network structure is as shown in Figure 1, mainly by Mesh access points (Access Point, AP) and Mesh nodes (Mesh Point, MP) is formed, and AP provides client (Station, STA) and accesses, which can be an intelligent terminal, The intelligent terminal is connect with access points AP;MP is divided into can pass through for one end of general node M P and root node MPP, MPP Wired mode accesses AP, then is connected into external network External network by AP, is connection Mesh network and non-Mesh nets The control node of the access point of network and entire Mesh network;MP nodes support automated topology, the automatic discovery of routing, data The functions such as the forwarding of packet between MP can mutually find in Mesh network and initiate wireless connection foundation automatically, if necessary to net Increase new MP nodes in network, it is only necessary to be configured newly-increased node installation and accordingly.Therefore, eventually by a MPP Node accesses AP, so as to form a Mesh mobile application network.It should be noted that in Mesh network, only MPP needs connect Enter to cable network, other MP do not need to cabling access cable network.
When the Mesh network structure is applied in intelligent radio sound system, terminal device can be wirelessly (such as WI-FI, bluetooth) is communicated to connect with intelligent sound box system, and the terminal in the embodiment of the present invention includes but not limited to display The smart mobile phone of screen, tablet computer, media player, smart television, Intelligent bracelet, intelligent wearable device, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 3) player, personal digital assistant (Personal Digital Assistant, PDA) pocket computer on knee and desk-top meter The user equipmenies such as calculation machine.
It should also be noted that, the embodiment of the present invention mainly will illustrate act with wireless sound box systematic difference scene Example, does not represent the present invention and can be only applied to the scene.
Fig. 2 is a kind of flow diagram of data processing method in the embodiment of the present invention, below in conjunction with attached drawing 2 from net Mesh root node MPP sides in shape Mesh network describe to a kind of data processing method in the embodiment of the present invention in detail, As shown in Fig. 2, a kind of data processing method in the present embodiment may comprise steps of S201- steps S203.
Step S201:Mesh root nodes MPP in netted Mesh network detects all Mesh sections in the Mesh network Whether the software version between point is consistent.
Specifically, all Mesh nodes include the Mesh child nodes MP and root node MPP, in netted Mesh network Mesh root nodes MPP detection Mesh network in all Mesh nodes include between Mesh child nodes MP and root node MPP Whether software version is consistent.For example, according to the more new command of user or the triggering condition more new command according to system, it is netted The wireless sound box in wireless sound box equipment detection wireless mesh Mesh network corresponding to Mesh root nodes MPP in Mesh network Whether the system software release between equipment is consistent.It is appreciated that when in applied to wireless sound box system, MPP and MP are equal It can be wireless sound box equipment.
Step S202:Non-uniformity of software versions between all Mesh nodes in the Mesh network are detected When, relatively and record the information of recent software version in the Mesh network and possess the Mesh sections of the recent software version The address of point.
Specifically, when detected in step S201 all Mesh nodes in Mesh network include Mesh child nodes MP and root During non-uniformity of software versions between node M PP, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version.For example, when the system for detecting the wireless sound box equipment in the Mesh network During non-uniformity of software versions, relatively and the model of recent systems software version in the Mesh network and corresponding nothing are recorded The address of line sound-box device.It is appreciated that the Mesh nodes for possessing the recent software version just carry when can be manufacture Recent software version installation kit or Mesh network establishment after voluntarily at Internet resources obtain download it is newest The installation kit of software version, the concrete implementation mode present invention are not specifically limited.
Step S203:Information according to the recent software version notifies to need newer Mesh nodes in the Mesh network The acquisition and update of the recent software version are carried out according to the address of the record.
Specifically, it notifies to need to update in Mesh network according to the information for comparing the recent software version obtained in step S202 Mesh nodes the acquisition and update of recent software version are carried out according to the Mesh addresss of node that are recorded in step S202.Into one The recent software version of acquisition after needing newer Mesh node updates to recent software version, can be carried out this by step ground The preservation on ground, without being carried out at Internet resources during in order to need to carry out the synchronization of software version in the Mesh network next time It re-downloads, if also allowing for the weight for thering are Mesh nodes to need progress software due to the problems such as running software failure in the Mesh network During dress, the installation kit of the recent software version can be quickly provided in the Mesh nodes of the Mesh network.
In wherein a kind of embodiment, when the update that the Mesh nodes in Mesh network carry out software version synchronizes, if MPP is the Mesh nodes for possessing recent software version, then notify the acquisition that newer Mesh nodes is needed to carry out software to MPP at Update;If the software version that MPP possesses is not recent software version, also MPP can be enabled to obtain and update into row major, Qi Taxu Newer Mesh nodes are then unified to carry out the acquisition and update of software at the MPP.
It is understood that when the Mesh nodes for possessing recent software version are multiple, can enable in the Mesh network The newer Mesh nodes of needs according to certain default principle, for example, from the network with the newer Mesh nodes of needs Connection status preferably or at the shortest Mesh nodes of communication path carries out the acquisition of recent software version, i.e., ought possess newest soft When the Mesh nodes of part version are multiple, software download approach can be carried out according to the actual conditions of Mesh nodes in Mesh network Adjustment, the present invention differs an illustration.
It will also be appreciated that if Mesh nodes are successfully updated after recent software version each time, described in progress During the local preservation of recent software version, it will will before be stored in local recent software version and be deleted and replaced, with Convenient for saving the memory space of Mesh nodes.
For example, the comparison and record in step S202 in notice Mesh network as a result, need newer wireless sound box to set The standby acquisition and update that software version is carried out according to the address of corresponding wireless sound box equipment, the wireless sound box equipment after having updated The recent software version can be stored in local, in order to which described possess in software version synchronization next time, can be served as The Mesh nodes of recent software version are for other acquisitions and update that newer Mesh nodes is needed to carry out recent software version. It needs to update it is understood that recent software version can also be actively sent to by the Mesh nodes for possessing recent software version Other Mesh nodes.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Fig. 3 is the flow diagram of another data processing method in the embodiment of the present invention, below in conjunction with attached drawing 3 from Mesh root node MPP sides in netted Mesh network are situated between in detail to another data processing method in the embodiment of the present invention It continues, as shown in figure 3, another data processing method in the embodiment of the present invention may comprise steps of S301- steps S304.
Step S301:When receiving the software version update instruction that terminal APP is sent;Or
When monitoring to there is new MP to add in the Mesh network;Or
When the control link order for receiving terminal APP transmissions, the control link order is used for terminal APP and Mesh It is communicatively coupled between network.
Specifically, when receiving the software version update instruction that terminal APP is sent or when monitoring have in Mesh network When new MP is added in;Or when the control link order for receiving terminal APP transmissions, the control link order is used for terminal It is communicatively coupled between APP and Mesh network, the implementation of step S302 can be triggered.Such as user needs to carry out actively more It is new when the MPP nodal tests in Mesh network are to when having the i.e. wireless sound box equipment additions of new MP or working as terminal APP is had sent with that after Mesh network control successful connection, can trigger the detecting step in step S302.
Step S302:Mesh root nodes MPP in netted Mesh network detects all Mesh sections in the Mesh network Whether the software version between point is consistent.
Specifically, the method and step S201 in 2 embodiment of reference chart can be corresponded to, details are not described herein.
Step S303:Non-uniformity of software versions between all Mesh nodes in the Mesh network are detected When, relatively and record the information of recent software version in the Mesh network and possess the Mesh sections of the recent software version The address of point.
Specifically, the method and step S202 in 2 embodiment of reference chart can be corresponded to, details are not described herein.
Step S304:Information according to the recent software version notifies to need newer Mesh nodes in the Mesh network The acquisition and update of the recent software version are carried out according to the address of the record.
Specifically, the method and step S203 in 2 embodiment of reference chart can be corresponded to, details are not described herein.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Fig. 4 is the flow diagram of another data processing method in the embodiment of the present invention, below in conjunction with attached drawing 4 from Mesh root node MPP sides in netted Mesh network are situated between in detail to another data processing method in the embodiment of the present invention It continues, as shown in figure 4, another data processing method in the present embodiment may comprise steps of S401- steps S406.
Step S401:When receiving the software version update instruction that terminal APP is sent;Or
When monitoring to there is new MP to add in the Mesh network;Or
When the control link order for receiving terminal APP transmissions, the control link order is used for terminal APP and Mesh It is communicatively coupled between network.
Specifically, the method and step S301 in 3 embodiment of reference chart can be corresponded to, details are not described herein.
Step S402:Mesh root nodes MPP in netted Mesh network detects all Mesh sections in the Mesh network Whether the software version between point is consistent.
Specifically, the method and step S302 in 3 embodiment of reference chart can be corresponded to, details are not described herein.
Step S403:Non-uniformity of software versions between all Mesh nodes in the Mesh network are detected When, relatively and record the information of recent software version in the Mesh network and possess the Mesh sections of the recent software version The address of point.
Specifically, the method and step S303 in 3 embodiment of reference chart can be corresponded to, details are not described herein.
Step S404:According to the information of the recent software version, by the current software version of all Mesh nodes It is compared with the recent software version, if the software version for contrasting Mesh nodes is not the recent software version, Judge that the Mesh nodes need to update.
Specifically, according to the information of recent software version recorded in step S403, by the current soft of all Mesh nodes Part version is compared with the recent software version, if the software version for contrasting Mesh nodes is not the recent software version This, that is, judge node of the Mesh nodes to need progress software version update.For example, by all wireless in Mesh network The current software version of sound-box device is compared with the recent software version recorded in step S403, if having contrasted wireless sound The software version of case equipment is not recent software version, that is, judges that the wireless sound box equipment needs to carry out the update of software version.
Step S405:According to the Mesh addresss of node for possessing the recent software version of the record, generation includes The new information of the address of the record.
Specifically, according to the Mesh addresss of node for possessing the recent software version of the record, generation includes institute The new information of the address of record is stated, wherein new information then includes the information of recent software version and possesses the recent software version This Mesh network address information of Mesh nodes etc..
Step S406:The new information is notified to need newer Mesh nodes newer so as to the needs to described Mesh nodes are obtained by the address of the record and update the recent software version.
Specifically, the new information generated in step S405 is notified to the newer Mesh of needs judged in step S404 Node, so that the newer Mesh nodes of the needs obtain the soft of latest edition by the Mesh addresss of node in new information Part, and update to recent software version.For example, according to the new information generated in the judgement result and S405 of step S404, lead to Know needed in Mesh network newer wireless sound box equipment according to the address of corresponding wireless sound box carry out software version acquisition with Update.
In specific application scenarios, as shown in figure 5, Fig. 5 is that data processing method is applied to nothing in the embodiment of the present invention A concrete application scene schematic diagram in line sound box system, mainly by Mesh access points AP, that is, routing device and Mesh node Ms P I.e. wireless sound box equipment is formed, and AP provides the access of intelligent terminal, which passes through wireless WIFI or bluetooth etc. with AP Wireless network mode is attached;It is that wireless sound box is set that MP, which is divided into as general node M P and root node MPP, wherein MPP and MP, Standby, one end of MPP can access AP, then be connected into external network External network by AP by wired mode.Therefore, AP is accessed eventually by a MPP node, so as to form a Mesh mobile application network.When the version for receiving intelligent terminal When more new command Mesh network periodically updates instruction or detects that new wireless sound box equipment adds in, detection Whether the system software release of the wireless sound box equipment into Mesh network is consistent, and relatively and the Mesh is recorded if inconsistent The model of recent systems software version in network and the address of corresponding wireless sound box equipment, and final notice needs to update Wireless sound box equipment updated accordingly.It should be noted that in Mesh network, only MPP needs to be linked into wired network Network, other MP do not need to cabling access cable network.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Fig. 6 is a kind of structure diagram of data processing equipment in the embodiment of the present invention, to perform shown in above-mentioned Fig. 2 A kind of flow of data processing method in embodiment.
Below in conjunction with attached drawing 6, describe in detail to a kind of structure of data processing equipment in the embodiment of the present invention. The device 10 may include:Detection module 101, logging modle 102 and update module 103.
Detection module 101 detects all in the Mesh network for the Mesh root nodes MPP in netted Mesh network Whether the software version between Mesh nodes is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP.
Specifically, detection module 101 can perform all methods and flow in simultaneously Method Of Accomplishment step S201, herein not It repeats again.
Logging modle 102, for the software version between all Mesh nodes in the Mesh network are detected When this is inconsistent, relatively and records the information of recent software version in the Mesh network and possess the recent software version Mesh addresss of node.
Specifically, logging modle 102 can perform all methods and flow in simultaneously Method Of Accomplishment step S202, herein not It repeats again.
Update module 103, it is newer for notifying to need in the Mesh network according to the information of the recent software version Mesh nodes carry out the acquisition and update of the recent software version according to the address of the record.
Specifically, update module 103 can perform all methods and flow in simultaneously Method Of Accomplishment step S203, herein not It repeats again.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Fig. 7, Fig. 8 and Fig. 9 are the structure diagrams of another data processing equipment in the embodiment of the present invention, to perform The flow of another data processing method in above-mentioned embodiment illustrated in fig. 3.
Below in conjunction with attached drawing 7, attached drawing 8 and attached drawing 9, to the knot of another data processing equipment in the embodiment of the present invention Structure describes in detail.The device 20 may include:First trigger module 201a, detection module 202, logging modle 203 and update Module 204;Alternatively, the second trigger module 201b, detection module 202, logging modle 203 and update module 204;Alternatively, third Trigger module 201c, detection module 202, logging modle 203 and update module 204.
First trigger module 201a, for when receiving the software version update instruction that terminal APP is sent, triggering the inspection Survey the execution of module;Or
Second trigger module 201b, for when monitoring to there is new MP to add in the Mesh network, triggering the inspection Survey the execution of module;Or
Third trigger module 201c, for when receiving the control link order that terminal APP is sent, triggering the detection The execution of module, the control link order are used to be communicatively coupled between terminal APP and Mesh network.
The first trigger module 201a, the second trigger module 201b, third trigger module 201c wherein in device can be held All methods and flow in capable and Method Of Accomplishment step S301, details are not described herein.
Detection module 202 detects all in the Mesh network for the Mesh root nodes MPP in netted Mesh network Whether the software version between Mesh nodes is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
Specifically, detection module 202 can perform all methods and flow in simultaneously Method Of Accomplishment step S302, herein not It repeats again.
Logging modle 203, for the software version between all Mesh nodes in the Mesh network are detected When this is inconsistent, relatively and records the information of recent software version in the Mesh network and possess the recent software version Mesh addresss of node;
Specifically, logging modle 203 can perform all methods and flow in simultaneously Method Of Accomplishment step S303, herein not It repeats again.
Update module 204, it is newer for notifying to need in the Mesh network according to the information of the recent software version Mesh nodes carry out the acquisition and update of the recent software version according to the address of the record.
Specifically, update module 204 can perform all methods and flow in simultaneously Method Of Accomplishment step S304, herein not It repeats again.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
Figure 10 is the structure diagram of another data processing equipment in the embodiment of the present invention, to perform above-mentioned Fig. 3 The flow of another data processing method in illustrated embodiment.
Below in conjunction with attached drawing 10, it is situated between in detail to the structure of another data processing equipment in the embodiment of the present invention It continues.The device 30 may include:First trigger module 301, detection module 302, logging modle 303 and update module 304.It is described more New module 304 may include:Identifying unit 3041, generation unit 3042 and updating unit 3043.
First trigger module 301, for when receiving the software version update instruction that terminal APP is sent, triggering the inspection Survey the execution of module.
It should be noted that the first trigger module 301 in apparatus of the present invention can also be by the second trigger module and third Trigger module is substituted, wherein
Second trigger module, for when monitoring to there is new MP to add in the Mesh network, triggering the detection mould The execution of block;Or
Third trigger module, for when receiving the control link order that terminal APP is sent, triggering the detection module Execution, the control link order between terminal APP and Mesh network for being communicatively coupled.
The first trigger module 301, the second trigger module wherein in device, third trigger module can perform and the side of completion All methods and flow in method step S401, details are not described herein.
Detection module 302 detects all in the Mesh network for the Mesh root nodes MPP in netted Mesh network Whether the software version between Mesh nodes is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
Specifically, detection module 302 can perform all methods and flow in simultaneously Method Of Accomplishment step S402, herein not It repeats again.
Logging modle 303, for the software version between all Mesh nodes in the Mesh network are detected When this is inconsistent, relatively and records the information of recent software version in the Mesh network and possess the recent software version Mesh addresss of node.
Specifically, logging modle 303 can perform all methods and flow in simultaneously Method Of Accomplishment step S403, herein not It repeats again.
Update module 304 may include:Identifying unit 3041, generation unit 3042 and updating unit 3043.
Identifying unit 3041, for the information according to the recent software version, by the current of all Mesh nodes Software version is compared with the recent software version, if the software version for contrasting Mesh nodes is not described newest soft Part version judges that the Mesh nodes need to update;
Generation unit 3042, for the Mesh addresss of node for possessing the recent software version according to the record, Generation includes the new information of the address of the record;
Updating unit 3043, for notifying the new information to need newer Mesh nodes to described so as to the need Newer Mesh nodes is wanted to be obtained by the address of the record and update the recent software version.
Unit 3041 to 3043 that update module 304 wherein in device includes can perform and Method Of Accomplishment step S404 All methods and flow into S406, details are not described herein.
The embodiment of the present invention is detected by the Mesh root nodes MPP in netted Mesh network in Mesh network During non-uniformity of software versions between Mesh nodes, relatively and record the information of recent software version in Mesh network and possess The Mesh addresss of node of recent software version, the final information according to recent software version notify to need in Mesh network newer Mesh nodes carry out the acquisition and update of recent software version according to the address of record, therefore, when the Mesh sections in Mesh network During non-uniformity of software versions between point, it can detect automatically and pass through the method for the present invention and enable Mesh nodes in Mesh network Software version synchronization is consistent, and then is conducive to keep the synchronism and consistency that all Mesh nodes use in Mesh network.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly Sharp range one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered range.

Claims (11)

1. a kind of data processing method, which is characterized in that including:
Mesh root nodes MPP in netted Mesh network detects the software version between all Mesh nodes in the Mesh network Whether this is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
When the non-uniformity of software versions between detecting all Mesh nodes in the Mesh network, relatively and record The information of recent software version and possess the Mesh addresss of node of the recent software version in the Mesh network;
Information according to the recent software version notifies to need newer Mesh nodes in the Mesh network according to the record Address carry out the acquisition and update of the recent software version.
2. the method as described in claim 1, which is characterized in that the MPP is according to default competition mechanism, from the Mesh network In MP in selected.
3. the method as described in claim 1, which is characterized in that the Mesh root nodes MPP detections in the netted Mesh network Whether the software version between all Mesh nodes in the Mesh network unanimously specifically includes:
When receiving the software version update instruction that terminal APP is sent, the Mesh root nodes MPP detections institute in netted Mesh network Whether the software version stated between all Mesh nodes in Mesh network is consistent;
Or
When monitoring to there is new MP to add in the Mesh network, the Mesh root nodes MPP detections institute in netted Mesh network Whether the software version stated between all Mesh nodes in Mesh network is consistent;
Or
When the control link order for receiving terminal APP transmissions, described in the Mesh root nodes MPP detections in netted Mesh network Whether the software version between all Mesh nodes in Mesh network is consistent, wherein, the control link order is used for terminal It is communicatively coupled between APP and Mesh network.
4. the method as described in claim 1, which is characterized in that the MP and MPP is wireless sound box equipment.
5. the method as described in claim 1-4 any one, which is characterized in that the letter according to the recent software version Breath notifies that newer Mesh nodes is needed to carry out the recent software version according to the address of the record in the Mesh network It obtains and updates, including:
According to the information of the recent software version, by the current software version of all Mesh nodes and the recent software Version is compared, if the software version for contrasting Mesh nodes is not the recent software version, that is, judges the Mesh Node needs to update;
According to the Mesh addresss of node for possessing the recent software version of the record, generation includes the address of the record New information;
The new information is notified newer Mesh nodes to be needed newer Mesh nodes to be needed to pass through so as to described to described The address of the record obtains and updates the recent software version.
6. a kind of data processing equipment, which is characterized in that including:
Detection module detects all Mesh sections in the Mesh network for the Mesh root nodes MPP in netted Mesh network Whether the software version between point is consistent, wherein all Mesh nodes include the Mesh child nodes MP and MPP;
Logging modle, for the non-uniformity of software versions between all Mesh nodes in the Mesh network are detected When, relatively and record the information of recent software version in the Mesh network and possess the Mesh sections of the recent software version The address of point;
Update module, for notifying to need newer Mesh nodes in the Mesh network according to the information of the recent software version The acquisition and update of the recent software version are carried out according to the address of the record.
7. device as claimed in claim 6, which is characterized in that the MPP is according to default competition mechanism, from the Mesh network In MP in selected.
8. device as claimed in claim 6, which is characterized in that described device further includes:
First trigger module, for when receiving the software version update instruction that terminal APP is sent, triggering the detection module It performs;Or
Second trigger module when monitoring to have new MP to add in the Mesh network, triggers the execution of the detection module; Or
Third trigger module when the control link order for receiving terminal APP transmissions, triggers the execution of the detection module, The control link order is used to be communicatively coupled between terminal APP and Mesh network.
9. device as claimed in claim 6, which is characterized in that the MP and MPP is wireless sound box equipment.
10. the device as described in claim 6-9 any one, which is characterized in that the update module, including:
Identifying unit, for the information according to the recent software version, by the current software version of all Mesh nodes It is compared with the recent software version, if the software version for contrasting Mesh nodes is not the recent software version, Judge that the Mesh nodes need to update;
Generation unit, for the Mesh addresss of node for possessing the recent software version according to the record, generation includes The new information of the address of the record;
Updating unit, for notifying the new information to need newer Mesh nodes newer so as to the needs to described Mesh nodes are obtained by the address of the record and update the recent software version.
11. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium is stored with calculating Machine program, the computer program is for instructing relevant hardware, to complete the method described in claim 1 to 5 any one.
CN201510346000.1A 2015-06-18 2015-06-18 A kind of data processing method and device Active CN105163333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510346000.1A CN105163333B (en) 2015-06-18 2015-06-18 A kind of data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510346000.1A CN105163333B (en) 2015-06-18 2015-06-18 A kind of data processing method and device

Publications (2)

Publication Number Publication Date
CN105163333A CN105163333A (en) 2015-12-16
CN105163333B true CN105163333B (en) 2018-07-06

Family

ID=54804066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510346000.1A Active CN105163333B (en) 2015-06-18 2015-06-18 A kind of data processing method and device

Country Status (1)

Country Link
CN (1) CN105163333B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015830B (en) * 2017-03-31 2021-04-02 Oppo广东移动通信有限公司 Method and device for upgrading audio playing system and audio playing equipment
CN107979498B (en) * 2018-01-03 2020-12-11 深圳市吉祥腾达科技有限公司 Mesh network cluster and large file transmission method based on cluster
CN108882277B (en) * 2018-05-28 2022-04-26 新华三技术有限公司 Version upgrading method and device
CN111698760B (en) * 2020-06-18 2021-02-26 深圳市乙辰科技股份有限公司 Wireless access point intelligent management method, device and readable storage medium
CN113840393A (en) * 2020-06-23 2021-12-24 华为技术有限公司 Equipment connection method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238603A (en) * 2011-08-12 2011-11-09 苏州鼎汗传感网技术有限公司 Wireless sensor network updating method
CN102883466A (en) * 2011-07-15 2013-01-16 中国科学院深圳先进技术研究院 Data dissemination method in wireless sensor network
CN103313230A (en) * 2013-06-28 2013-09-18 杭州华三通信技术有限公司 Mesh points and configuration and issuing method thereof in WLN (Wireless Local Area Network) mesh network
US8553536B2 (en) * 2011-07-12 2013-10-08 General Electric Company Mesh network management system
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN107454608A (en) * 2016-05-30 2017-12-08 北京信威通信技术股份有限公司 The upgrade method and device of Mesh network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8553536B2 (en) * 2011-07-12 2013-10-08 General Electric Company Mesh network management system
CN102883466A (en) * 2011-07-15 2013-01-16 中国科学院深圳先进技术研究院 Data dissemination method in wireless sensor network
CN102238603A (en) * 2011-08-12 2011-11-09 苏州鼎汗传感网技术有限公司 Wireless sensor network updating method
CN103313230A (en) * 2013-06-28 2013-09-18 杭州华三通信技术有限公司 Mesh points and configuration and issuing method thereof in WLN (Wireless Local Area Network) mesh network
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN107454608A (en) * 2016-05-30 2017-12-08 北京信威通信技术股份有限公司 The upgrade method and device of Mesh network

Also Published As

Publication number Publication date
CN105163333A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105163333B (en) A kind of data processing method and device
JP6265137B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, PROGRAM, AND TERMINAL DEVICE
Song et al. Maximizing network lifetime based on transmission range adjustment in wireless sensor networks
CN104158678B (en) Equipment is configured based on the degree of approach with other equipment
US10742482B2 (en) Clustering event records representing anomalous events
CN105637908B (en) The system and method for accessing figure and application for wireless network
CN104604268B (en) It was found that method and equipment and system for discovery
US20070211681A1 (en) Method and System for Frequency Agility in a Wireless Sensor Network
JP6456940B2 (en) Distributed algorithm for constructing and maintaining a hierarchical structure for device-to-device synchronization
CN105307143A (en) Network connection method and wireless soundbox
CN105872654A (en) Method and device for switching Bluetooth connection in audio playing system, and system
WO2020172846A1 (en) Systems and methods for wireless device synchronization
CN104967617B (en) A kind of data processing method and device
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN109068339B (en) Repeater and communication method, device and system based on mesh network
CN108235397A (en) Control method, device and the mobile terminal of random access
CN110234152A (en) Channel scanning method, device, storage medium and electronic equipment
JP2016144087A (en) Access point position optimization device and method
CN105430597A (en) Bluetooth device, and Bluetooth Scatternet networking method and device thereof
CN108605300A (en) A kind of method and apparatus that NAN equipment sends sync beacon message
CN103117932B (en) Self-adaption rout method
JP2006165965A (en) Information appliance disaster prevention system using emergency earthquake news flash
CN110050473B (en) System and method for wireless device synchronization
CN108990170A (en) Mesh link establishing method, device, fat AP and storage medium
CN108449802B (en) Mesh connection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.