CN105357657A - Mesh network construction method and device - Google Patents

Mesh network construction method and device Download PDF

Info

Publication number
CN105357657A
CN105357657A CN201510685252.7A CN201510685252A CN105357657A CN 105357657 A CN105357657 A CN 105357657A CN 201510685252 A CN201510685252 A CN 201510685252A CN 105357657 A CN105357657 A CN 105357657A
Authority
CN
China
Prior art keywords
audio amplifier
mesh network
identification information
accessed
information table
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
CN201510685252.7A
Other languages
Chinese (zh)
Other versions
CN105357657B (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 CN201510685252.7A priority Critical patent/CN105357657B/en
Publication of CN105357657A publication Critical patent/CN105357657A/en
Application granted granted Critical
Publication of CN105357657B publication Critical patent/CN105357657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention is suitable for the technical field of terminal equipment, and provides a Mesh network construction method and device. The method comprises the following steps: loading a sound box identification information table corresponding to a currently-recorded Mesh network; if the sound box identification information table is empty, constructing the Mesh network according to identification information of a searched sound box to be accessed; and if the sound box identification information table is not empty, comparing the identification information of the searched sound box to be accessed with the sound box identification information table corresponding to the recorded Mesh network, and constructing the Mesh network according to a comparison result. Through adoption of the method and the device, the problem that a plurality of Mesh networks exist in the same local area network during Mesh network construction in the prior art is solved; the presence of only one Mesh network in the same local area network is ensured; the Mesh network using difficulty is lowered for a user; and the user experience during synchronous playing of music through the Mesh network is improved.

Description

The construction method of Mesh network and device
Technical field
The present invention is applicable to terminal equipment technical field, particularly relates to a kind of construction method and device of Mesh network.
Background technology
Existing intelligent wireless audio amplifier can be linked together by wireless self-networking, realizes synchronously playing music glibly simultaneously.Described wireless self-networking is wireless mesh network, i.e. Mesh network.
In the intelligent wireless audio amplifier supporting Mesh network, usual First intelligent wireless audio amplifier need by APP be operatively connected to certain router under, create the Mesh network using self as master control audio amplifier MPP (entrance that APP communicates with other intelligent wireless audio amplifiers in Mesh network) simultaneously.Other intelligent wireless audio amplifiers, when starting shooting, can be detected by the MPP of surrounding, and be established a communications link by MPP and APP, and APP adds audio amplifier instruction by sending to MPP, is added in Mesh network by other intelligent wireless audio amplifiers detected to make described MPP.
But, in the process of other intelligent wireless audio amplifiers start, if run into the MPP setting up Mesh network to be in off-mode, or because network reason is not searched by MPP, then this intelligent wireless audio amplifier can establishment take it as the Mesh network of master control audio amplifier automatically, thus cause occurring in a local area network (LAN) adding the difficulty that user uses Mesh network by the MPP that two functions are identical.
Summary of the invention
Given this, the embodiment of the present invention provides a kind of construction method and device of Mesh network, to solve multiple Mesh network appears in prior art under same local area network (LAN) problem when setting up Mesh network.
First aspect, provides a kind of construction method of Mesh network, and described method comprises:
Load the audio amplifier identification information table that current recorded Mesh network is corresponding;
If when described audio amplifier identification information table is empty, the identification information according to the audio amplifier to be accessed searched sets up Mesh network;
If when described audio amplifier identification information table is not empty, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and set up Mesh network according to the result of comparison.
Second aspect, provides a kind of construction apparatus of Mesh network, and described device comprises:
Load-on module, for loading audio amplifier identification information table corresponding to current recorded Mesh network;
First sets up module, if when being empty for described audio amplifier identification information table, the identification information according to the audio amplifier to be accessed searched sets up Mesh network;
Second sets up module, if when not being empty for described audio amplifier identification information table, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and sets up Mesh network according to the result of comparison.
Compared with prior art, the embodiment of the present invention generates the audio amplifier identification information table of its correspondence according to the audio amplifier in Mesh network, as the basis for estimation of audio amplifier access Mesh network to be accessed.When carrying out Mesh network and setting up, load the audio amplifier identification information table that current recorded Mesh network is corresponding; If when described audio amplifier identification information table is empty, shows that current local is off the net and there is not Mesh network, then set up Mesh network according to the identification information of the audio amplifier to be accessed searched; If when described audio amplifier identification information table is not empty, show that current local is off the net and there is Mesh network, then set up Mesh network according to the comparison result of the identification information of audio amplifier to be accessed searched and the audio amplifier identification information table of described Mesh network, a Mesh network is only had under ensureing same local area network (LAN), thus avoid generate multiple Mesh network under same local area network (LAN), be conducive to reducing the difficulty that user uses Mesh network, improve user and use Mesh network synchronously to play the experience sense of music.
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 drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the construction method of the Mesh network that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the construction method of the Mesh network that another embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the construction method of the Mesh network that another embodiment of the present invention provides;
Fig. 4 is the composition structure chart of the construction apparatus of the Mesh network that the embodiment of the present invention provides;
Fig. 5 is the composition structure chart of the terminal equipment that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention is the audio amplifier identification information table generating its correspondence according to the audio amplifier in Mesh network, as the basis for estimation of audio amplifier access Mesh network to be accessed.When carrying out Mesh network and setting up, load the audio amplifier identification information table that current recorded Mesh network is corresponding; If when described audio amplifier identification information table is empty, shows that current local is off the net and there is not Mesh network, then set up Mesh network according to the identification information of the audio amplifier to be accessed searched; If when described audio amplifier identification information table is not empty, shows that current local is off the net and there is Mesh network, then set up Mesh network according to the comparison result of the identification information of audio amplifier to be accessed searched and the audio amplifier identification information table of described Mesh network.Under ensureing same local area network (LAN), only have a Mesh network, avoid and generate multiple Mesh network under same local area network (LAN), be conducive to reducing the difficulty that user uses Mesh network, improve user and use Mesh network synchronously to play the experience sense of music.The embodiment of the present invention additionally provides corresponding device, is described in detail respectively below.
In embodiments of the present invention, described method is applied to terminal equipment, described terminal equipment includes but not limited to smart mobile phone, panel computer etc., it is installed the application software set up for controlling intelligent wireless audio amplifier and access Mesh network, be the Mesh network of master control audio amplifier MPP with it with the First intelligent wireless audio amplifier controlling to detect by described application software establishment, or other intelligent wireless audio amplifiers access in the Mesh network set up by control master control audio amplifier MPP.
Consult Fig. 1, described method comprises:
In step S101, load the audio amplifier identification information table that current recorded Mesh network is corresponding.
In embodiments of the present invention, each audio amplifier (intelligent wireless audio amplifier) is all provided with unique identification information, for distinguishing described audio amplifier.Exemplarily, described identification information can be the physical address of described audio amplifier, i.e. mac address.Here, each Mesh network is made up of the audio amplifier of correspondence.The embodiment of the present invention is provided with corresponding audio amplifier identification information table according to the audio amplifier in each network segment (i.e. each focus) in advance, have recorded the identification information of audio amplifiers all in this network segment in described audio amplifier identification information table, a Mesh network has corresponding audio amplifier identification information table.When terminal equipment starts to set up Mesh network (when starting above-mentioned application program), load the audio amplifier identification information table that current recorded Mesh network is corresponding.
If terminal equipment prestores audio amplifier identification information table corresponding to all different Mesh network, then described terminal equipment can be loaded into audio amplifier identification information table corresponding to the Mesh network of current record, performs step S103; Otherwise, the audio amplifier identification information table that the Mesh network of current record is corresponding cannot be loaded into.
In step s 102, if when described audio amplifier identification information table is empty, the identification information according to the audio amplifier to be accessed searched sets up Mesh network.
When the audio amplifier identification information table that the Mesh network of current record is corresponding is empty, show that current local is off the net and do not create Mesh network, now, obtain the identification information of the audio amplifier to be accessed searched, to determine which audio amplifier to be accessed current be, and to control that described audio amplifier to be accessed sets up with it be the Mesh network of master control audio amplifier, the Mesh network that namely to set up with described audio amplifier to be accessed be master control audio amplifier.
In step s 103, if when described audio amplifier identification information table is not empty, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and Mesh network is set up according to the result of comparison.
When the audio amplifier label table that the Mesh network of current record is corresponding is not empty, show that current local is off the net and there is Mesh network, now, Mesh network is set up according to the audio amplifier identification information table of described Mesh network with the comparison result of the identification information of the audio amplifier to be accessed searched.Alternatively, if current local is off the net when there is Mesh network, the identification information of described audio amplifier to be accessed is obtained; By judging the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table, determine in described Mesh network, whether to comprise described audio amplifier to be accessed; If so, then show that described audio amplifier to be accessed is the audio amplifier under current Mesh, control described audio amplifier to be accessed and access described Mesh network; Otherwise, export guide information, to point out user whether to upgrade current Mesh network, the Mesh network that to set up with described audio amplifier to be accessed be master control audio amplifier; And Mesh network is upgraded under the trigger event of user's input.Thus only have a Mesh network under ensure that a local area network (LAN), avoid and in a local area network (LAN), occur the master control audio amplifier that multiple function is identical and cause generating multiple Mesh network.Be conducive to reducing the difficulty that user uses Mesh network, improve user and use Mesh network synchronously to play the experience sense of music.
Fig. 2 shows the realization flow of the construction method of the Mesh network that another embodiment of the present invention provides.
Consult Fig. 2, described method comprises:
In step s 201, the audio amplifier identification information table that current recorded Mesh network is corresponding is loaded.
In step S202, if when described audio amplifier identification information table is empty, sends first to the audio amplifier to be accessed searched and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier.
Alternatively, described identification information is the physical address of audio amplifier, i.e. mac address.Described audio amplifier identification information table is the physical address table of audio amplifier, the corresponding audio amplifier identification information table of each Mesh network.When loaded audio amplifier identification information table is empty, show that current local is off the net and do not create Mesh network, the data of terminal equipment inside may be cleared.Now, send first to the audio amplifier to be accessed searched and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier, thus realize the establishment of Mesh network.
Optional, in embodiments of the present invention, can store with it in audio amplifier to be accessed is audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier.When to store with it in audio amplifier to be accessed be audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier, described method also comprises:
In step S203, the audio amplifier identification information table corresponding with the described audio amplifier to be accessed Mesh network that is master control audio amplifier obtaining that described audio amplifier to be accessed returns, and store audio amplifier identification information table corresponding to this Mesh network.
By above-mentioned steps S203, even if run into the situation of changing mobile phone or refitting application program and cause the data of terminal equipment inside to be cleared, also by the process setting up Mesh network from audio identification information table corresponding to audio amplifier end request Mesh network to this locality.
Fig. 3 shows the realization flow of the construction method of the Mesh network that another embodiment of the present invention provides.
Consult Fig. 3, described method comprises:
In step S301, the audio amplifier identification information table that current recorded Mesh network is corresponding.
In step s 302, if when described audio amplifier identification information table is not empty, obtain the identification information of the audio amplifier to be accessed searched.
In step S303, judge the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table.
By judging the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table, under determining whether described audio amplifier to be accessed belongs to described Mesh network.If so, then step S304 is performed; Otherwise, perform step S305.
In step s 304, the master control audio amplifier to described Mesh network sends second and allows instruction, after receiving described second permission instruction, described audio amplifier to be accessed is accessed described Mesh network to make described master control audio amplifier.
Here, terminal equipment does not carry out any prompting, and described audio amplifier to be accessed normally starts and accesses described Mesh network.
In step S305, export guide information, the Mesh network that whether to set up with described audio amplifier to be accessed to point out user be master control audio amplifier.
Further, after output guide information, if when the trigger event setting up Mesh network being detected, then perform step S306; Otherwise, perform step S308.
In step S306, when setting up the trigger event of Mesh network if detect, send first to described audio amplifier to be accessed and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier.
In step S307, audio amplifier identification information table corresponding for current recorded Mesh network is updated to audio amplifier identification information table corresponding to the described audio amplifier to be accessed Mesh network that is master control audio amplifier.
Whether again Mesh network is set up by prompting user, and build Mesh network according to the trigger event restructuring of user, and the Mesh network that to be updated to described audio amplifier to be accessed by the Mesh network of current record be master control audio amplifier, dismiss current recorded Mesh network, a Mesh network is only had under ensure that same local area network (LAN), avoid and occur multiple different Mesh network, also reduce the difficulty that user uses Mesh network.
In step S308, sending inhibit command to described audio amplifier to be accessed, is the Mesh network of master control audio amplifier to forbid that described audio amplifier to be accessed is set up with it.
Described audio amplifier to be accessed is after receiving described inhibit command, and dismissing with it is the Mesh network of master control audio amplifier, thus only has a Mesh network under ensure that same local area network (LAN), avoids and occurs multiple different Mesh network.
The embodiment of the present invention is the audio amplifier identification information table that different Mesh network generates its correspondence, as the basis for estimation of audio amplifier access Mesh network to be accessed.When carrying out Mesh network and setting up, load the audio amplifier identification information table that current recorded Mesh network is corresponding; If when described audio amplifier identification information table is empty, shows that current local is off the net and there is not Mesh network, the identification information according to the audio amplifier to be accessed searched sets up Mesh network; If when described audio amplifier identification information table is not empty, show that current local is off the net and there is Mesh network, then set up Mesh network according to the comparison result of the identification information of audio amplifier to be accessed searched and the audio amplifier identification information table of described Mesh network, a Mesh network is only had under ensureing same local area network (LAN), thus avoid generate multiple Mesh network under same local area network (LAN), be conducive to reducing the difficulty that user uses the synchronous smooth playing music of Mesh network.
Fig. 4 shows the composition structure of the construction apparatus of the Mesh network that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
In embodiments of the present invention, described construction apparatus, for realizing the construction method of the Mesh network described in above-mentioned Fig. 1 to Fig. 3 any embodiment, can be the unit being built in the software unit of terminal equipment, hardware cell or software and hardware combining.Described terminal equipment includes but not limited to smart mobile phone, panel computer etc.
Consult Fig. 4, described construction apparatus comprises:
Load-on module 41, for loading audio amplifier identification information table corresponding to current recorded Mesh network.
First sets up module 42, if when being empty for described audio amplifier identification information table, the identification information according to the audio amplifier to be accessed searched sets up Mesh network.
Second sets up module 43, if when not being empty for described audio amplifier identification information table, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and sets up Mesh network according to the result of comparison.
Further, described first establishment module 42 comprises:
First sets up unit 421, if when being empty for described audio amplifier identification information table, send first to the audio amplifier to be accessed searched and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier.
Alternatively, when to store with it in audio amplifier to be accessed be audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier, described first sets up module 42 also comprises:
First acquiring unit 422, for the audio amplifier identification information table corresponding with the described audio amplifier to be accessed Mesh network that is master control audio amplifier obtaining that described audio amplifier to be accessed returns, and stores audio amplifier identification information table corresponding to this Mesh network.
Further, described second establishment module 43 comprises:
Second acquisition unit 431, if when not being empty for described audio amplifier identification information table, obtain the identification information of the audio amplifier to be accessed searched.
Judging unit 432, for judging the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table.
Access unit 433, for when the judged result of judging unit is for being, master control audio amplifier to described Mesh network sends second and allows instruction, after receiving described second permission instruction, described audio amplifier to be accessed is accessed described Mesh network to make described master control audio amplifier.
Output unit 434, for when the judged result of judging unit is no, exports guide information, the Mesh network that whether to set up with described audio amplifier to be accessed to point out user be master control audio amplifier.
Further, described second establishment module 43 also comprises:
Second sets up unit 435, if during for the trigger event setting up Mesh network being detected, send first to described audio amplifier to be accessed and allow instruction, to make described audio amplifier to be accessed, receiving described first, to allow to set up with it after instruction be the Mesh network of master control audio amplifier, and be updated to by audio amplifier identification information table corresponding for current recorded Mesh network with audio amplifier identification information table corresponding to the described audio amplifier to be accessed Mesh network that is master control audio amplifier.
Forbidding setting up unit 436, for sending inhibit command to described audio amplifier to be accessed, is the Mesh network of master control audio amplifier to forbid that described audio amplifier to be accessed is set up with it.
It should be noted that, device in the embodiment of the present invention may be used for the whole technical schemes realized in said method embodiment, the function of its each functional module can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in above-mentioned example, repeats no more herein.
Fig. 5 shows a kind of structured flowchart of terminal equipment, and this terminal equipment may be used for the construction method implementing the Mesh network provided in above-described embodiment.
As shown in Figure 5, the parts such as terminal equipment 1200 can comprise RF (RadioFrequency, radio frequency) circuit 110, includes the memory 120 of one or more (only illustrating one in figure) computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, transport module 170, the processor 180 including more than one or one (only illustrating one in figure) process core and power supply 190.It will be understood by those skilled in the art that terminal equipment 1200 structure shown in Fig. 5 does not form the restriction to terminal equipment 1200, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and the signal of telecommunication, thus carries out communication with communication network or other equipment.RF circuit 110 can comprise the various existing circuit element for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc.RF circuit 110 can with various network as the Internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or metropolitan area network.Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Codedivisionaccess, CDMA), tdma (timedivisionmultipleaccess, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceoverinternetprotocal, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Memory 120 can be used for storing software program and module, program command/module that construction method/device as Mesh network in above-described embodiment is corresponding, processor 180 is by running the software program and module that are stored in memory 120, thus perform the application of various function and data processing, namely realize starting sound-recording function or other functions fast in communication process.Memory 120 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 120 can comprise the memory relative to the long-range setting of processor 180 further, and these remote memories can be connected to terminal equipment 1200 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.
Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal equipment 1200 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in Figure 5, Touch sensitive surface 131 and display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display floater 141 integrated and realize input and output function.
Terminal equipment 1200 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal equipment 1200 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal equipment 1200 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal equipment 1200.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal equipment 1200.
By transport module 170 (such as WiFi module), terminal equipment 1200 can help that user sends and receive e-mail, browsing page and access streaming video etc., the access of its broadband internet wireless for user provides.Although Fig. 5 shows transport module 170, be understandable that, it does not belong to must forming of terminal equipment 1200, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centres of terminal equipment 1200, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal equipment 1200, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal equipment 1200 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal equipment 1200 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal equipment is touch-screen display, terminal equipment also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor state more than one or one program package containing the instruction for carrying out following operation:
Load the audio amplifier identification information table that current recorded Mesh network is corresponding;
If when described audio amplifier identification information table is empty, the identification information according to the audio amplifier to be accessed searched sets up Mesh network;
If when described audio amplifier identification information table is not empty, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and set up Mesh network according to the result of comparison.
Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:
If when described audio amplifier identification information table is empty, sets up Mesh network according to the identification information of the audio amplifier to be accessed searched and comprise:
If when described audio amplifier identification information table is empty, sends first to the audio amplifier to be accessed searched and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier.
In the third the possible execution mode provided based on the execution mode that the second is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:
When to store with it in audio amplifier to be accessed be audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier, described method also comprises:
The audio amplifier identification information table corresponding with the described audio amplifier to be accessed Mesh network that is master control audio amplifier obtaining that described audio amplifier to be accessed returns, and store audio amplifier identification information table corresponding to this Mesh network.
In the 4th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:
If when described audio amplifier identification information table is not empty, audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched is compared, and comprise according to the result establishment Mesh network of comparison:
If when described audio amplifier identification information table is not empty, obtain the identification information of the audio amplifier to be accessed searched;
Judge the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table;
If so, then send the second permission instruction to the master control audio amplifier of described Mesh network, after receiving described second permission instruction, described audio amplifier to be accessed is accessed described Mesh network to make described master control audio amplifier;
If not, then export guide information, the Mesh network that whether to set up with described audio amplifier to be accessed to point out user be master control audio amplifier.
In the 5th kind of possible execution mode provided based on the 4th kind of possible execution mode, in the memory of described terminal equipment, also comprise the instruction for performing following operation:
After output guide information, described method also comprises:
If when the trigger event setting up Mesh network being detected, send first to described audio amplifier to be accessed and allow instruction, to make described audio amplifier to be accessed, receiving described first, to allow to set up with it after instruction be the Mesh network of master control audio amplifier, and be updated to by audio amplifier identification information table corresponding for current recorded Mesh network with audio amplifier identification information table corresponding to the described audio amplifier to be accessed Mesh network that is master control audio amplifier;
Otherwise sending inhibit command to described audio amplifier to be accessed, is the Mesh network of master control audio amplifier to forbid that described audio amplifier to be accessed is set up with it.
The embodiment of the present invention is the audio amplifier identification information table that different Mesh network generates its correspondence, as the basis for estimation of audio amplifier access Mesh network to be accessed.When carrying out Mesh network and setting up, load the audio amplifier identification information table that current recorded Mesh network is corresponding; If when described audio amplifier identification information table is empty, shows that current local is off the net and there is not Mesh network, the identification information according to the audio amplifier to be accessed searched sets up Mesh network; If when described audio amplifier identification information table is not empty, show that current local is off the net and there is Mesh network, then set up Mesh network according to the comparison result of the identification information of audio amplifier to be accessed searched and the audio amplifier identification information table of described Mesh network, a Mesh network is only had under ensureing same local area network (LAN), thus avoid generate multiple Mesh network under same local area network (LAN), be conducive to reducing the difficulty that user uses the synchronous smooth playing music of Mesh network.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module, unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention, module can be integrated in a processing unit, also can be that the independent physics of unit, module exists, also can two or more unit, module integration in a unit.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a construction method for Mesh network, is characterized in that, described construction method comprises:
Load the audio amplifier identification information table that current recorded Mesh network is corresponding;
If when described audio amplifier identification information table is empty, the identification information according to the audio amplifier to be accessed searched sets up Mesh network;
If when described audio amplifier identification information table is not empty, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and set up Mesh network according to the result of comparison.
2. the construction method of Mesh network as claimed in claim 1, is characterized in that, if when described audio amplifier identification information table is empty, sets up Mesh network comprise according to the identification information of the audio amplifier to be accessed searched:
If when described audio amplifier identification information table is empty, sends first to the audio amplifier to be accessed searched and allow instruction, with make described audio amplifier to be accessed receive described first allow instruction after to set up with it be the Mesh network of master control audio amplifier.
3. the construction method of Mesh network as claimed in claim 2, is characterized in that, when to store with it in audio amplifier to be accessed be audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier, described method also comprises:
The audio amplifier identification information table corresponding with the described audio amplifier to be accessed Mesh network that is master control audio amplifier obtaining that described audio amplifier to be accessed returns, and store audio amplifier identification information table corresponding to this Mesh network.
4. the construction method of Mesh network as claimed in claim 1, it is characterized in that, if when described audio amplifier identification information table is not empty, audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched is compared, and comprises according to the result establishment Mesh network of comparison:
If when described audio amplifier identification information table is not empty, obtain the identification information of the audio amplifier to be accessed searched;
Judge the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table;
If so, then send the second permission instruction to the master control audio amplifier of described Mesh network, after receiving described second permission instruction, described audio amplifier to be accessed is accessed described Mesh network to make described master control audio amplifier;
If not, then export guide information, the Mesh network that whether to set up with described audio amplifier to be accessed to point out user be master control audio amplifier.
5. the construction method of Mesh network as claimed in claim 4, is characterized in that, after output guide information, described method also comprises:
If when the trigger event setting up Mesh network being detected, send first to described audio amplifier to be accessed and allow instruction, to make described audio amplifier to be accessed, receiving described first, to allow to set up with it after instruction be the Mesh network of master control audio amplifier, and be updated to by audio amplifier identification information table corresponding for current recorded Mesh network with audio amplifier identification information table corresponding to the described audio amplifier to be accessed Mesh network that is master control audio amplifier;
Otherwise sending inhibit command to described audio amplifier to be accessed, is the Mesh network of master control audio amplifier to forbid that described audio amplifier to be accessed is set up with it.
6. a construction apparatus for Mesh network, is characterized in that, described construction apparatus comprises:
Load-on module, for loading audio amplifier identification information table corresponding to current recorded Mesh network;
First sets up module, if when being empty for described audio amplifier identification information table, the identification information according to the audio amplifier to be accessed searched sets up Mesh network;
Second sets up module, if when not being empty for described audio amplifier identification information table, compared by audio amplifier identification information table corresponding with recorded Mesh network for the identification information of the audio amplifier to be accessed searched, and sets up Mesh network according to the result of comparison.
7. the construction apparatus of Mesh network as claimed in claim 6, is characterized in that, described first sets up module comprises:
First sets up unit, if when be empty for described audio amplifier identification information table, sends first allow instruction to the audio amplifier to be accessed searched, and setting up with it after receiving described first permission instruction to make described audio amplifier to be accessed is the Mesh network of master control audio amplifier.
8. the construction apparatus of Mesh network as claimed in claim 7, is characterized in that, when to store with it in audio amplifier to be accessed be audio amplifier identification information table corresponding to the Mesh network of master control audio amplifier, described first establishment module also comprises:
First acquiring unit, for the audio amplifier identification information table corresponding with the described audio amplifier to be accessed Mesh network that is master control audio amplifier obtaining that described audio amplifier to be accessed returns, and stores audio amplifier identification information table corresponding to this Mesh network.
9. the construction apparatus of Mesh network as claimed in claim 6, is characterized in that, described second sets up module comprises:
Second acquisition unit, if when not being empty for described audio amplifier identification information table, obtain the identification information of the audio amplifier to be accessed searched;
Judging unit, for judging the identification information that whether there is described audio amplifier to be accessed in described audio amplifier identification information table;
Access unit, for when the judged result of judging unit is for being, the master control audio amplifier to described Mesh network sends second and allows instruction, after receiving described second permission instruction, described audio amplifier to be accessed is accessed described Mesh network to make described master control audio amplifier;
Output unit, for when the judged result of judging unit is no, exports guide information, the Mesh network that whether to set up with described audio amplifier to be accessed to point out user be master control audio amplifier.
10. the construction apparatus of Mesh network as claimed in claim 9, is characterized in that, described second sets up module also comprises:
Second sets up unit, if during for the trigger event setting up Mesh network being detected, send first to described audio amplifier to be accessed and allow instruction, to make described audio amplifier to be accessed, receiving described first, to allow to set up with it after instruction be the Mesh network of master control audio amplifier, and be updated to by audio amplifier identification information table corresponding for current recorded Mesh network with audio amplifier identification information table corresponding to the described audio amplifier to be accessed Mesh network that is master control audio amplifier;
Forbidding setting up unit, for sending inhibit command to described audio amplifier to be accessed, is the Mesh network of master control audio amplifier to forbid that described audio amplifier to be accessed is set up with it.
CN201510685252.7A 2015-10-20 2015-10-20 The construction method and device of Mesh network Active CN105357657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510685252.7A CN105357657B (en) 2015-10-20 2015-10-20 The construction method and device of Mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510685252.7A CN105357657B (en) 2015-10-20 2015-10-20 The construction method and device of Mesh network

Publications (2)

Publication Number Publication Date
CN105357657A true CN105357657A (en) 2016-02-24
CN105357657B CN105357657B (en) 2018-09-11

Family

ID=55333490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510685252.7A Active CN105357657B (en) 2015-10-20 2015-10-20 The construction method and device of Mesh network

Country Status (1)

Country Link
CN (1) CN105357657B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018052A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 A kind of construction method of audio frequency broadcast system, device and mobile terminal
CN110136708A (en) * 2019-04-23 2019-08-16 深圳合一智控科技有限公司 A kind of distributed sound control system and control method based on bluetooth Mesh
CN110278568A (en) * 2019-06-11 2019-09-24 广州极飞科技有限公司 Method, network system based on network equipment building networking
CN112929861A (en) * 2021-01-22 2021-06-08 广东好太太智能家居有限公司 Method for sharing Bluetooth between gateway and intelligent device, gateway and storage medium
WO2024007925A1 (en) * 2022-07-08 2024-01-11 华为技术有限公司 Communication method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2135404A2 (en) * 2007-04-10 2009-12-23 Siemens Enterprise Communications GmbH & Co. KG Method for operating a mesh-type network, particularly as defined in an ieee 802.11s standard, formed by a plurality of network nodes
CN102271421A (en) * 2011-07-19 2011-12-07 杭州华三通信技术有限公司 Method and device for establishing Mesh link
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal
CN104853449A (en) * 2015-05-12 2015-08-19 广东欧珀移动通信有限公司 Networking method of wireless sound box, device and system
CN104918302A (en) * 2015-05-29 2015-09-16 广东欧珀移动通信有限公司 Method for constructing mesh network and wireless sound box
CN104968032A (en) * 2015-05-04 2015-10-07 广东欧珀移动通信有限公司 Mesh point (MP) network-admittance method, MP node and mesh portal point (MPP) node

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2135404A2 (en) * 2007-04-10 2009-12-23 Siemens Enterprise Communications GmbH & Co. KG Method for operating a mesh-type network, particularly as defined in an ieee 802.11s standard, formed by a plurality of network nodes
CN102271421A (en) * 2011-07-19 2011-12-07 杭州华三通信技术有限公司 Method and device for establishing Mesh link
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal
CN104968032A (en) * 2015-05-04 2015-10-07 广东欧珀移动通信有限公司 Mesh point (MP) network-admittance method, MP node and mesh portal point (MPP) node
CN104853449A (en) * 2015-05-12 2015-08-19 广东欧珀移动通信有限公司 Networking method of wireless sound box, device and system
CN104918302A (en) * 2015-05-29 2015-09-16 广东欧珀移动通信有限公司 Method for constructing mesh network and wireless sound box

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018052A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 A kind of construction method of audio frequency broadcast system, device and mobile terminal
CN107018052B (en) * 2017-03-31 2019-07-16 Oppo广东移动通信有限公司 A kind of construction method of audio frequency broadcast system, device and mobile terminal
CN110136708A (en) * 2019-04-23 2019-08-16 深圳合一智控科技有限公司 A kind of distributed sound control system and control method based on bluetooth Mesh
CN110278568A (en) * 2019-06-11 2019-09-24 广州极飞科技有限公司 Method, network system based on network equipment building networking
CN112929861A (en) * 2021-01-22 2021-06-08 广东好太太智能家居有限公司 Method for sharing Bluetooth between gateway and intelligent device, gateway and storage medium
CN112929861B (en) * 2021-01-22 2023-05-05 广东好太太智能家居有限公司 Bluetooth sharing method for gateway and intelligent device, gateway and storage medium
WO2024007925A1 (en) * 2022-07-08 2024-01-11 华为技术有限公司 Communication method and apparatus

Also Published As

Publication number Publication date
CN105357657B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN105282823A (en) Network access method and apparatus of intelligent device
CN105306682A (en) Method and device for automatically disconnecting network connection
CN103812090A (en) Electronic device and battery protection method and device
CN105278937A (en) Method and device for displaying pop-up box messages
CN105357657A (en) Mesh network construction method and device
CN103747130B (en) A kind of control method of terminal equipment and device
CN105141854A (en) Flashlight control method, flashlight control device and terminal equipment
CN105138239A (en) Application operation method and device and terminal device
CN105187652A (en) Recording method and apparatus
CN104866167A (en) Method and device for controlling quick floating layer panel
KR20150059133A (en) Battery, method, device and system for battery protection
CN103338193B (en) Method, system and device for initial media equipment
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
CN106506862A (en) A kind of working mode of mobile terminal changing method and mobile terminal
CN105430600A (en) Data transmission method and terminal
CN104602135A (en) Method and device for controlling full screen play
CN105933944A (en) 4G network optimum usage method and device and mobile terminal
CN105187653A (en) Turning off method and apparatus of network connecting switch
CN105162930A (en) Recording method and device for mobile terminal
CN106708633A (en) Method for increasing WiFi workstation mode disabling speed of terminal, and mobile terminal
CN105120158A (en) Shooting method and apparatus for mobile terminal
CN105100361A (en) Mobile terminal recording method and device
CN105792299A (en) Optimum usage method for 3G network, optimum usage device and mobile terminal
CN105808043A (en) Setting method of terminal application and mobile terminal

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
CP03 Change of name, title or address

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

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP03 Change of name, title or address