CN105163333A - Data processing method and data processing device - Google Patents

Data processing method and data processing device Download PDF

Info

Publication number
CN105163333A
CN105163333A CN201510346000.1A CN201510346000A CN105163333A CN 105163333 A CN105163333 A CN 105163333A CN 201510346000 A CN201510346000 A CN 201510346000A CN 105163333 A CN105163333 A CN 105163333A
Authority
CN
China
Prior art keywords
mesh
software version
node
mesh network
recent software
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.)
Granted
Application number
CN201510346000.1A
Other languages
Chinese (zh)
Other versions
CN105163333B (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 data processing method and a data processing device. The data processing method can comprises the steps that a Mesh root node MPP in a Mesh network detects whether all Mesh nodes in the Mesh network are consistent in software version or not; when all Mesh nodes in the Mesh network are detected to be inconsistent in software version, information of a latest software version in the Mesh network and the address of a Mesh node possessing the latest software version are compared and recorded; notifying the Mesh nodes required to be updated in the Mesh network to acquire and update the latest software version according to the recorded address on the basis of the information of the latest software version. By adopting the method and the device disclosed by the embodiment of the invention, all of the Mesh nodes can be kept to be consistent in software version in the Mesh network.

Description

A kind of data processing method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data processing method and device.
Background technology
WirelessMeshNetworks is called for short WMN, is wireless Mesh netword, namely supports multi-multipoint wireless mesh network, and wireless Mesh netword is a kind of novel broadband wireless network structure.WMN separates from mobile Ad hoc network, and has followed the new network technology of part WLAN (WirelessLocalAreaNetworks, WLAN) technology.Mesh network is " multi-hop (multi-hop) " network.WMN is a kind of wlan network of highly reliable, wide covering, is the radio area network solution that one is very suitable for covering city, large area open zone (comprising outdoor and indoor).Mesh network has the advantage of broadband high-speed and spectral efficient, and has the outstanding feature such as dynamic self-organization, self-configuring, certainly maintenance.Therefore, the feature of Mesh network is very suitable for the field such as security monitoring of Smart Home (as intelligent sound box, intelligent appliance etc.), smart city, school and public place, and it is generally believed in the industry is at present a developing direction of radio network technique.
Such as, when Mesh network is applied in intelligent sound box system, these intelligent network audio amplifiers are integrated with processor and network interface, can access the Streaming Media music of the Internet, according to the selection of user, directly play from Network Capture music sources.Intelligent network audio amplifier is generally use mobile terminal (as mobile phone and panel computer) to control, after special application program has been installed on mobile terminals, can by this application program access intelligent network audio amplifier, can Streaming Media music on view Internet, and select song to be pushed to intelligent network audio amplifier to play.But in prior art; in intelligent sound box system in Mesh network; when the interpolation of new intelligent network audio amplifier is come in; the update time that usually can there is the software version of time of making the product due to intelligent network audio amplifier inconsistent or intelligent network audio amplifier is inconsistent; cause the problem of the non-uniformity of software versions between intelligent network audio amplifiers different in same Mesh network, thus cause intelligent network audio amplifier collaborative work or broadcasting the problem such as not make a mistake.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of data processing method and device are provided, solve the problem of the non-uniformity of software versions of the Mesh node in the network that Mesh node in Mesh network causes due to the time of making the product or the network entry time successively factor such as inconsistent.
First aspect, embodiments provides a kind of data processing method, can comprise:
Whether the software version that the Mesh root node MPP in netted Mesh network detects between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
When the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version;
According to described recent software version message notice described in need in Mesh network the Mesh node that upgrades to carry out acquisition and the renewal of described recent software version according to the address of described record.
In conjunction with first aspect, in the implementation that the first is possible, described MPP, according to default competition mechanism, selectes from the MP described Mesh network.
In conjunction with first aspect, in the implementation that the second is possible, the Mesh root node MPP in described netted Mesh network detect software version between all Mesh nodes in described Mesh network whether consistent before, also comprise:
When the software version update instruction that receiving terminal APP sends; Or
When monitoring, to have new MP to add in described Mesh network fashionable; Or
When receiving the control connection instruction that terminal APP sends, described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
In conjunction with first aspect, in the implementation that the third is possible, described MP and MPP is wireless sound box equipment.
In conjunction with any one mode in the third possible implementation of first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect or first aspect, in the 4th kind of possible implementation, need the Mesh node upgraded to carry out acquisition and the renewal of described recent software version according to the address of described record in Mesh network described in the described message notice according to described recent software version, comprising:
According to the information of described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judge that described Mesh node needs to upgrade;
According to the Mesh address of node having described recent software version of described record, generate the updating message comprising the address of described record;
Described updating message is informed to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record.
Second aspect, embodiments provides a kind of data processing equipment, comprising:
Detection module, whether the software version detected for the Mesh root node MPP in netted Mesh network between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
Logging modle, for when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version;
Update module, for the acquisition and the renewal that need the Mesh node upgraded to carry out described recent software version according to the address of described record in Mesh network described in the message notice according to described recent software version.
In conjunction with second aspect, in the implementation that the first is possible, described MPP, according to default competition mechanism, selectes from the MP described Mesh network.
In conjunction with second aspect, in the implementation that the second is possible, described device, also comprises:
First trigger module, for when the software version update instruction that receiving terminal APP sends, triggers the execution of described detection module; Or
Second trigger module, when monitoring, to have new MP to add in described Mesh network fashionable, triggers the execution of described detection module; Or
3rd trigger module, when receiving the control connection instruction that terminal APP sends, triggers the execution of described detection module, and described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
In conjunction with second aspect, in the implementation that the third is possible, described MP and MPP is wireless sound box equipment.
In conjunction with any one mode in the third possible implementation of second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect or second aspect, in the 4th kind of possible implementation, described update module, comprising:
Identifying unit, for the information according to described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judges that described Mesh node needs to upgrade;
Generation unit, for the Mesh address of node having described recent software version according to described record, generates the updating message comprising the address of described record;
Updating block, for informing to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record by described updating message.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the Mesh network structural representation in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of a kind of data processing method in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the another kind of data processing method in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another data processing method in the embodiment of the present invention;
Fig. 5 is that in the embodiment of the present invention, data processing method is applied to an embody rule scene schematic diagram in wireless sound box system
Fig. 6 is the structural representation of a kind of data processing equipment in the embodiment of the present invention;
Fig. 7 is the structural representation of the another kind of data processing equipment in the embodiment of the present invention;
Fig. 8 is the structural representation of the another kind of data processing equipment in the embodiment of the present invention;
Fig. 9 is the structural representation of the another kind of data processing equipment in the embodiment of the present invention;
Figure 10 is the structural representation of another data processing equipment in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Should be understood that, although use herein term first, second etc. describing module, these modules should not by the restriction of these terms, and these terms are only used to be distinguished from each other.It is to be further understood that and use in this article, unless context clearly supports exception, singulative " " (" a ", " an " and " the ") is intended to also comprise plural form.Should also be understood that the "and/or" used in this article refers to comprise any of more than one or one project listed explicitly and likely combine.
In order to better understand a kind of data processing method and device disclosed in the embodiment of the present invention, first the Mesh network structure that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of Mesh network structural representation disclosed in the embodiment of the present invention.Mesh network structure as shown in Figure 1, primarily of Mesh access point (AccessPoint, and Mesh node (MeshPoint AP), MP) form, AP provides client (Station, STA) access, this client can be an intelligent terminal, and this intelligent terminal is connected with access points AP; MP is divided into again general node M P and root node MPP, AP can be accessed by wired mode in one end of MPP, be connected into external network Externalnetwork by AP again, being the access point connecting Mesh network and non-Mesh network, is also the Controlling vertex of whole Mesh network; MP node supports the functions such as automated topology, the automatic discovery of route, the forwarding of packet, automatically mutually can find between MP in Mesh network and initiate wireless connections to set up, if need to increase new MP node in network, only need newly-increased node installation and configure accordingly.Therefore, eventually through a MPP node access AP, thus a Mesh Mobile solution network is formed.It should be noted that, in Mesh network, to only have MPP to need to be linked into cable network, other MP all do not need cabling to have access to spider lines.
When this Mesh network structure is applied in intelligent radio sound system, terminal equipment can to wirelessly (as WI-FI, bluetooth) be connected with intelligent sound box system communication, terminal in the embodiment of the present invention includes but not limited to the smart mobile phone with display screen, panel computer, media player, intelligent television, Intelligent bracelet, Intelligent worn device, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 3) player, personal digital assistant (PersonalDigitalAssistant, PDA) subscriber equipment such as pocket computer on knee and desktop computer.
Also it should be noted that, the embodiment of the present invention, by being mainly described citing with wireless sound box systematic difference scene, not representing the present invention and can only be applied to this scene.
Fig. 2 is the schematic flow sheet of a kind of data processing method in the embodiment of the present invention, a kind of data processing method in the embodiment of the present invention is described in detail from the Mesh root node MPP side netted Mesh network below in conjunction with accompanying drawing 2, as shown in Figure 2, a kind of data processing method in the present embodiment can comprise the following steps S201-step S203.
Step S201: whether the software version that the Mesh root node MPP in netted Mesh network detects between all Mesh nodes in described Mesh network is consistent.
Particularly, described all Mesh nodes comprise Mesh child node MP and described root node MPP, and whether the software version that all Mesh nodes in the Mesh root node MPP detection Mesh network in netted Mesh network comprise between Mesh child node MP and root node MPP is consistent.Such as, renewal instruction according to user or the triggering condition according to system upgrade instruction, and whether the system software release between the wireless sound box equipment in the wireless sound box equipment Inspection wireless mesh Mesh network corresponding to Mesh root node MPP in netted Mesh network is consistent.Be understandable that, when being applied in wireless sound box system, MPP and MP all can be wireless sound box equipment.
Step S202: when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version.
Particularly, when detecting in step S201 that all Mesh nodes in Mesh network comprise the non-uniformity of software versions between Mesh child node MP and root node MPP, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version.Such as, when detecting that the system software release of the wireless sound box equipment in described Mesh network is inconsistent, relatively and record the model of the recent systems software version in described Mesh network and the address of corresponding wireless sound box equipment.Be understandable that the installation kit of the recent software version that the Mesh node having described recent software version just carries when can be and dispatch from the factory, also can be the installation kit obtaining the recent software version downloaded after Mesh network is set up voluntarily at Internet resources place, concrete implementation the present invention be not specifically limited.
Step S203: according to described recent software version message notice described in need in Mesh network the Mesh node that upgrades to carry out acquisition and the renewal of described recent software version according to the address of described record.
Particularly, according to comparing in the message notice Mesh network of the recent software version drawn the acquisition and the renewal that need the Mesh node upgraded to carry out recent software version according to the Mesh address of node of recording in step S202 in step S202.Further, after the Mesh node updates that need upgrade to recent software version, the recent software version of acquisition can be carried out local preservation, so that without the need to again downloading from Internet resources next time when needing to carry out software version synchronous in this Mesh network, have in this Mesh network if be also convenient to Mesh node due to the problems such as running software fault need the refitting carrying out software time, in the Mesh node of this Mesh network can Quick for the installation kit of described recent software version.
Wherein in a kind of execution mode, the Mesh node in Mesh network carry out the renewal of software version synchronous time, if MPP is the Mesh node having recent software version, then notify that the Mesh node that need upgrade carries out acquisition and the renewal of software to MPP place; If the software version that MPP has is not recent software version, then MPP also can be made preferentially to obtain and upgrade, the Mesh node that other need upgrade is unified acquisition and the renewal carrying out software from this MPP then.
Be understandable that, when the Mesh node having recent software version is multiple, the Mesh node that the needs in this Mesh network can be made to upgrade is according to certain default principle, such as, from the network connection state with the described Mesh node needing to upgrade preferably or the shortest Mesh Nodes of communication path carry out the acquisition of recent software version, namely when the Mesh node having recent software version is multiple, can carry out the adjustment of software download approach according to the actual conditions of Mesh node in Mesh network, the present invention differs and one to illustrate.
It will also be appreciated that, if after Mesh node is successfully updated to recent software version each time, when this locality of carrying out described recent software version is preserved, all to be undertaken deleting and replacing by being kept at before local recent software version, so that save the memory space of Mesh node.
Such as, according to the comparison in step S202 and record result, the wireless sound box equipment upgraded is needed to carry out acquisition and the renewal of software version according to the address of the wireless sound box equipment of correspondence in notice Mesh network, this recent software version can be kept at this locality by the wireless sound box equipment after having upgraded, so that when upper once software version synchronization, the Mesh node having recent software version described in can serving as carries out acquisition and the renewal of recent software version for the Mesh node that other needs upgrade.Be understandable that, other Mesh node that recent software version also can initiatively send to needs to upgrade by the Mesh node having recent software version.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Fig. 3 is the schematic flow sheet of the another kind of data processing method in the embodiment of the present invention, another kind of data processing method in the embodiment of the present invention is described in detail from the Mesh root node MPP side netted Mesh network below in conjunction with accompanying drawing 3, as shown in Figure 3, the another kind of data processing method in the embodiment of the present invention can comprise the following steps S301-step S304.
Step S301: when the software version update instruction that receiving terminal APP sends; Or
When monitoring, to have new MP to add in described Mesh network fashionable; Or
When receiving the control connection instruction that terminal APP sends, described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
Particularly, when the software version update instruction that receiving terminal APP sends, or to have new MP to add fashionable when monitor in Mesh network; Or when receiving the control connection instruction that terminal APP sends, described control connection instruction is used for communicating to connect between terminal APP and Mesh network, can the enforcement of triggered step S302.Such as user's needs carry out initiatively renewal or the MPP nodal test of working as in Mesh network adds fashionable to having new MP and wireless sound box equipment, or when terminal APP have sent with the success of this Mesh network control connection after, can detecting step in triggered step S302.
Step S302: whether the software version that the Mesh root node MPP in netted Mesh network detects between all Mesh nodes in described Mesh network is consistent.
Particularly, can method step S201 in corresponding reference diagram 2 embodiment, do not repeat them here.
Step S303: when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version.
Particularly, can method step S202 in corresponding reference diagram 2 embodiment, do not repeat them here.
Step S304: according to described recent software version message notice described in need in Mesh network the Mesh node that upgrades to carry out acquisition and the renewal of described recent software version according to the address of described record.
Particularly, can method step S203 in corresponding reference diagram 2 embodiment, do not repeat them here.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Fig. 4 is the schematic flow sheet of another data processing method in the embodiment of the present invention, another data processing method in the embodiment of the present invention is described in detail from the Mesh root node MPP side netted Mesh network below in conjunction with accompanying drawing 4, as shown in Figure 4, another data processing method in the present embodiment can comprise the following steps S401-step S406.
Step S401: when the software version update instruction that receiving terminal APP sends; Or
When monitoring, to have new MP to add in described Mesh network fashionable; Or
When receiving the control connection instruction that terminal APP sends, described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
Particularly, can method step S301 in corresponding reference diagram 3 embodiment, do not repeat them here.
Step S402: whether the software version that the Mesh root node MPP in netted Mesh network detects between all Mesh nodes in described Mesh network is consistent.
Particularly, can method step S302 in corresponding reference diagram 3 embodiment, do not repeat them here.
Step S403: when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version.
Particularly, can method step S303 in corresponding reference diagram 3 embodiment, do not repeat them here.
Step S404: according to the information of described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judge that described Mesh node needs to upgrade.
Particularly, according to the information of the recent software version recorded in step S403, the current software version of all Mesh nodes and this recent software version are contrasted, if the software version contrasting Mesh node is not this recent software version, namely judge that described Mesh node is as the node needing to carry out software version update.Such as, the recent software version recorded in the current software version of all wireless sound box equipment in Mesh network and step S403 is contrasted, if the software version contrasting wireless sound-box device is not recent software version, namely judge that this wireless sound box equipment needs to carry out the renewal of software version.
Step S405: according to the Mesh address of node having described recent software version of described record, generates the updating message comprising the address of described record.
Particularly, according to the Mesh address of node having described recent software version of described record, generate and comprise the updating message of the address of described record, wherein updating message then comprises the information of recent software version and has the Mesh network address information etc. of Mesh node of this recent software version.
Step S406: described updating message is informed to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record.
Particularly, the updating message generated in step S405 is informed to the Mesh node of the needs renewal judged in step S404, so that the Mesh node that these needs upgrade obtains the software of latest edition by the Mesh address of node in updating message, and is updated to recent software version.Such as, according to the updating message generated in the result of determination of step S404 and S405, in notice Mesh network, the wireless sound box equipment upgraded is needed to carry out acquisition and the renewal of software version according to the address of the wireless sound box of correspondence.
In concrete application scenarios, as shown in Figure 5, Fig. 5 is that in the embodiment of the present invention, data processing method is applied to an embody rule scene schematic diagram in wireless sound box system, form primarily of Mesh access point AP and routing device and Mesh node M P and wireless sound box equipment, AP provides the access of intelligent terminal, and this intelligent terminal is connected by wireless network modes such as wireless WIFI or bluetooths with AP; MP is divided into again general node M P and root node MPP, and wherein MPP and MP is wireless sound box equipment, and AP can be accessed by wired mode in one end of MPP, then is connected into external network Externalnetwork by AP.Therefore, eventually through a MPP node access AP, thus a Mesh Mobile solution network is formed.When the version updating instruction or Mesh network that receive intelligent terminal periodically update instruction or detect that new wireless sound box equipment adds fashionable, detect that whether the system software release of the wireless sound box equipment in Mesh network is consistent, if inconsistent, relatively and record the model of the recent systems software version in described Mesh network and the address of corresponding wireless sound box equipment, and final notice needs the wireless sound box equipment upgraded to upgrade accordingly.It should be noted that, in Mesh network, to only have MPP to need to be linked into cable network, other MP all do not need cabling to have access to spider lines.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Fig. 6 is the structural representation of a kind of data processing equipment in the embodiment of the present invention, in order to perform above-mentioned embodiment illustrated in fig. 2 in a kind of flow process of data processing method.
Below in conjunction with accompanying drawing 6, the structure of a kind of data processing equipment in the embodiment of the present invention is described in detail.This device 10 can comprise: detection module 101, logging modle 102 and update module 103.
Detection module 101, whether the software version detected for the Mesh root node MPP in netted Mesh network between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP.
Particularly, detection module 101 can perform and Method Of Accomplishment step S201 in all methods and flow process, do not repeat them here.
Logging modle 102, for when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version.
Particularly, logging modle 102 can perform and Method Of Accomplishment step S202 in all methods and flow process, do not repeat them here.
Update module 103, for the acquisition and the renewal that need the Mesh node upgraded to carry out described recent software version according to the address of described record in Mesh network described in the message notice according to described recent software version.
Particularly, update module 103 can perform and Method Of Accomplishment step S203 in all methods and flow process, do not repeat them here.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Fig. 7, Fig. 8 and Fig. 9 are the structural representations of the another kind of data processing equipment in the embodiment of the present invention, in order to perform above-mentioned embodiment illustrated in fig. 3 in the flow process of another kind of data processing method.
Below in conjunction with accompanying drawing 7, accompanying drawing 8 and accompanying drawing 9, the structure of the another kind of data processing equipment in the embodiment of the present invention is described in detail.This device 20 can comprise: the first trigger module 201a, detection module 202, logging modle 203 and update module 204; Or, the second trigger module 201b, detection module 202, logging modle 203 and update module 204; Or, the 3rd trigger module 201c, detection module 202, logging modle 203 and update module 204.
First trigger module 201a, for when the software version update instruction that receiving terminal APP sends, triggers the execution of described detection module; Or
Second trigger module 201b, for have new MP to add in described Mesh network fashionable when monitor, triggers the execution of described detection module; Or
3rd trigger module 201c, for when receiving the control connection instruction that terminal APP sends, triggers the execution of described detection module, and described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
The first trigger module 201a wherein in device, the second trigger module 201b, the 3rd trigger module 201c can perform and Method Of Accomplishment step S301 in all methods and flow process, do not repeat them here.
Detection module 202, whether the software version detected for the Mesh root node MPP in netted Mesh network between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
Particularly, detection module 202 can perform and Method Of Accomplishment step S302 in all methods and flow process, do not repeat them here.
Logging modle 203, for when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version;
Particularly, logging modle 203 can perform and Method Of Accomplishment step S303 in all methods and flow process, do not repeat them here.
Update module 204, for the acquisition and the renewal that need the Mesh node upgraded to carry out described recent software version according to the address of described record in Mesh network described in the message notice according to described recent software version.
Particularly, update module 204 can perform and Method Of Accomplishment step S304 in all methods and flow process, do not repeat them here.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
Figure 10 is the structural representation of another data processing equipment in the embodiment of the present invention, in order to perform above-mentioned embodiment illustrated in fig. 3 in the flow process of another data processing method.
Below in conjunction with accompanying drawing 10, the structure of another data processing equipment in the embodiment of the present invention is described in detail.This device 30 can comprise: the first trigger module 301, detection module 302, logging modle 303 and update module 304.Described update module 304 can comprise: identifying unit 3041, generation unit 3042 and updating block 3043.
First trigger module 301, for when the software version update instruction that receiving terminal APP sends, triggers the execution of described detection module.
It should be noted that, the first trigger module 301 in apparatus of the present invention also can be substituted by the second trigger module and the 3rd trigger module, wherein
Second trigger module, for have new MP to add in described Mesh network fashionable when monitor, triggers the execution of described detection module; Or
3rd trigger module, for when receiving the control connection instruction that terminal APP sends, triggers the execution of described detection module, and described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
The first trigger module 301, second trigger module wherein in device, the 3rd trigger module can perform and Method Of Accomplishment step S401 in all methods and flow process, do not repeat them here.
Detection module 302, whether the software version detected for the Mesh root node MPP in netted Mesh network between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
Particularly, detection module 302 can perform and Method Of Accomplishment step S402 in all methods and flow process, do not repeat them here.
Logging modle 303, for when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version.
Particularly, logging modle 303 can perform and Method Of Accomplishment step S403 in all methods and flow process, do not repeat them here.
Update module 304 can comprise: identifying unit 3041, generation unit 3042 and updating block 3043.
Identifying unit 3041, for the information according to described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judge that described Mesh node needs to upgrade;
Generation unit 3042, for the Mesh address of node having described recent software version according to described record, generates the updating message comprising the address of described record;
Updating block 3043, for informing to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record by described updating message.
Unit 3041 to 3043 that update module 304 wherein in device comprises can perform and Method Of Accomplishment step S404 to S406 in all methods and flow process, do not repeat them here.
The embodiment of the present invention, when the non-uniformity of software versions between the Mesh node in Mesh network being detected by the Mesh root node MPP in netted Mesh network, relatively and record the information of recent software version in Mesh network and have the Mesh address of node of recent software version, the Mesh node upgraded is needed to carry out acquisition and the renewal of recent software version according to the address of record in the final message notice Mesh network according to recent software version, therefore, during non-uniformity of software versions between the Mesh node in Mesh network, automatically can detect and make the software version synchronization of the Mesh node in Mesh network be consistent by the inventive method, and then be conducive to the synchronism and the consistency that keep all Mesh node uses in Mesh network.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. a data processing method, is characterized in that, comprising:
Whether the software version that the Mesh root node MPP in netted Mesh network detects between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
When the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version;
According to described recent software version message notice described in need in Mesh network the Mesh node that upgrades to carry out acquisition and the renewal of described recent software version according to the address of described record.
2. the method for claim 1, is characterized in that, described MPP, according to default competition mechanism, selectes from the MP described Mesh network.
3. the method for claim 1, is characterized in that, the Mesh root node MPP in described netted Mesh network detect software version between all Mesh nodes in described Mesh network whether consistent before, also comprise:
When the software version update instruction that receiving terminal APP sends; Or
When monitoring, to have new MP to add in described Mesh network fashionable; Or
When receiving the control connection instruction that terminal APP sends, described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
4. the method for claim 1, is characterized in that, described MP and MPP is wireless sound box equipment.
5. the method as described in claim 1-4 any one, it is characterized in that, need the Mesh node upgraded to carry out acquisition and the renewal of described recent software version according to the address of described record in Mesh network described in the described message notice according to described recent software version, comprising:
According to the information of described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judge that described Mesh node needs to upgrade;
According to the Mesh address of node having described recent software version of described record, generate the updating message comprising the address of described record;
Described updating message is informed to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record.
6. a data processing equipment, is characterized in that, comprising:
Detection module, whether the software version detected for the Mesh root node MPP in netted Mesh network between all Mesh nodes in described Mesh network is consistent, and wherein said all Mesh nodes comprise Mesh child node MP and described MPP;
Logging modle, for when the non-uniformity of software versions between the described all Mesh nodes in described Mesh network being detected, relatively and record the information of recent software version in described Mesh network and have the Mesh address of node of described recent software version;
Update module, for the acquisition and the renewal that need the Mesh node upgraded to carry out described recent software version according to the address of described record in Mesh network described in the message notice according to described recent software version.
7. device as claimed in claim 6, it is characterized in that, described MPP, according to default competition mechanism, selectes from the MP described Mesh network.
8. device as claimed in claim 6, it is characterized in that, described device, also comprises:
First trigger module, for when the software version update instruction that receiving terminal APP sends, triggers the execution of described detection module; Or
Second trigger module, when monitoring, to have new MP to add in described Mesh network fashionable, triggers the execution of described detection module; Or
3rd trigger module, when receiving the control connection instruction that terminal APP sends, triggers the execution of described detection module, and described control connection instruction is used for communicating to connect between terminal APP and Mesh network.
9. device as claimed in claim 6, it is characterized in that, described MP and MPP is wireless sound box equipment.
10. the device as described in claim 6-9 any one, is characterized in that, described update module, comprising:
Identifying unit, for the information according to described recent software version, the current software version of described all Mesh nodes and described recent software version are contrasted, if the software version contrasting Mesh node is not described recent software version, namely judges that described Mesh node needs to upgrade;
Generation unit, for the Mesh address of node having described recent software version according to described record, generates the updating message comprising the address of described record;
Updating block, for informing to the described Mesh node needing to upgrade so that the described needs Mesh nodes that upgrade is updated to described recent software version by the address acquisition of described record by described updating message.
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 true CN105163333A (en) 2015-12-16
CN105163333B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015830A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
CN107979498A (en) * 2018-01-03 2018-05-01 深圳市吉祥腾达科技有限公司 A kind of mesh network clusters and the big document transmission method based on the cluster
CN108882277A (en) * 2018-05-28 2018-11-23 新华三技术有限公司 A kind of method and device of edition upgrading
CN111698760A (en) * 2020-06-18 2020-09-22 深圳市乙辰科技股份有限公司 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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015830A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
CN107979498A (en) * 2018-01-03 2018-05-01 深圳市吉祥腾达科技有限公司 A kind of mesh network clusters and the big document transmission method based on the cluster
CN107979498B (en) * 2018-01-03 2020-12-11 深圳市吉祥腾达科技有限公司 Mesh network cluster and large file transmission method based on cluster
CN108882277A (en) * 2018-05-28 2018-11-23 新华三技术有限公司 A kind of method and device of edition upgrading
CN111698760A (en) * 2020-06-18 2020-09-22 深圳市乙辰科技股份有限公司 Wireless access point intelligent management method, device and readable storage medium
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
WO2021259184A1 (en) * 2020-06-23 2021-12-30 华为技术有限公司 Device connection method and related device

Also Published As

Publication number Publication date
CN105163333B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN105163333A (en) Data processing method and data processing device
JP6536201B2 (en) Control terminal device, audio system and audio system control program
JP6265137B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, PROGRAM, AND TERMINAL DEVICE
CN105007201A (en) Method for accessing network, wireless sound box and system
US20160073249A1 (en) System and method for discovering a wireless device
US10742482B2 (en) Clustering event records representing anomalous events
CN105307143A (en) Network connection method and wireless soundbox
JP6451596B2 (en) Audio apparatus and audio equipment
US10305778B2 (en) Enhanced peer discovery in a mesh network
CN109068339B (en) Repeater and communication method, device and system based on mesh network
CN104967617A (en) Data processing method and device
CN109150741A (en) File transmitting method, device, electronic equipment and storage medium
CN104918302A (en) Method for constructing mesh network and wireless sound box
CN105743671B (en) Capacity expansion method, controller and system
CN107645789A (en) The method, apparatus and system of networking
CN113543277A (en) Distribution network processing method and device and electronic equipment
CN105338059A (en) Data synchronization method and mobile terminal
CN104703211A (en) A virtualization accessing method and apparatus
JP6572737B2 (en) Audio system control program and control terminal device
EP3232694A1 (en) User access to wireless low energy device
CN109275125B (en) Resource sharing method, device, equipment and storage medium
EP3340687B1 (en) Method for connecting communication device, and communication device
CN105828173B (en) Communication connection record update method in audio-video frequency playing system and device
CN108449802B (en) Mesh connection method and device
CN113329474A (en) Method for accessing node to Mesh network, information interaction device, terminal and storage medium

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

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.

CP01 Change in the name or title of a patent holder