A kind of management method of router, device, storage medium and router
Technical field
The present embodiments relate to router technology field more particularly to a kind of management methods of router, device, storage
Medium and router.
Background technique
With the rapid development of social economy, people's lives have been popularized in network service.
Router is the equipment for connecting each local area network, wide area network in internet, is the hinge of internet.As family and
The necessity of office space online, either wireless router or cable router are always the need for network interface behind router,
To be inserted into cable connection outer net or Intranet.But existing router feature is single, is unable to satisfy the growing need of people
It asks.
Summary of the invention
The embodiment of the present invention provides management method, device, storage medium and the router of a kind of router, may be implemented to lead to
Cross the effect that voice messaging carries out intelligent management to router.
In a first aspect, the embodiment of the invention provides a kind of management methods of router, this method comprises:
Obtain voice messaging;
Identify the vocal print feature of the voice messaging;
If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;
Execute the controllable instruction.
Further, the acquisition voice messaging, comprising:
Monitor acoustic information;
If the acoustic information includes voice management triggering information, voice messaging is obtained.
Further, if whether the vocal print feature is to have permission feature, extract include in the voice messaging can
Manipulation instruction, comprising:
The vocal print feature is compared with vocal print feature has been authorized, determines whether the vocal print feature is to have permission spy
Sign;
If so, determining the controllable instruction for including in the voice messaging by semantics recognition mode.
Further, before executing the controllable instruction, the method also includes:
Judge it is described it is controllable instruction whether be particular device controllable instruction;
If so, determining whether the particular device is already connected to router;
If having connected, the controllable instruction is executed.
Further, after determining whether the particular device is already connected to router, the method also includes:
If not connected, the information that the particular device is not attached to router is fed back by voice playing module.
Further, judge it is described it is controllable instruction whether be particular device controllable instruction after, the method
Further include:
If it is not, whether the target device for then judging the controllable instruction is two or more;
If two or more, then set by the target that voice playing module plays two or more
It is standby;
The confirmation phonetic order for obtaining user determines two or more target according to the confirmation phonetic order
Final goal equipment in equipment;
Correspondingly, executing the controllable instruction, comprising:
The controllable instruction is executed to the final goal equipment.
Second aspect, the embodiment of the invention also provides a kind of managing device of router, which includes:
Voice messaging obtains module, for obtaining voice messaging;
Vocal print feature identification module, for identification vocal print feature of the voice messaging;
Controllable instruction extraction module extracts the voice if whether being to have permission feature for the vocal print feature
The controllable instruction for including in information;
Instruction execution module, for executing the controllable instruction.
Further, the voice messaging obtains module, comprising:
Acoustic information monitoring unit, for monitoring acoustic information;
Voice messaging acquiring unit obtains voice letter if including voice management triggering information for the acoustic information
Breath.
Further, the controllable instruction extraction module, comprising:
Vocal print feature permission judging unit is determined for comparing the vocal print feature with vocal print feature has been authorized
Whether the vocal print feature is to have permission feature;
Controllable instruction extraction unit passes through semanteme if being judged as YES for the vocal print feature permission judging unit
Identification method determines the controllable instruction for including in the voice messaging.
Further, described device further includes particular device instruction judgment module, and the particular device instructs judgment module
It is specifically used for:
Judge it is described it is controllable instruction whether be particular device controllable instruction;
If so, determining whether the particular device is already connected to router;
If having connected, the controllable instruction is executed by described instruction execution module.
Further, particular device instruction judgment module also particularly useful for:
If not connected, the information that the particular device is not attached to router is fed back by voice playing module.
Further, particular device instruction judgment module also particularly useful for:
If it is not, whether the target device for then judging the controllable instruction is two or more;
If so, playing two or more target device by voice playing module;
The confirmation phonetic order for obtaining user determines two or more target according to the confirmation phonetic order
Final goal equipment in equipment;
Correspondingly, described instruction execution module includes:
Instruction execution unit, for executing the controllable instruction to the final goal equipment.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the management method of the router as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of router, including memory, processor and are stored in memory
Computer program that is upper and can running in processor, the processor realize that the application such as is implemented when executing the computer program
The management method of router described in example.
Technical solution provided by the embodiment of the present application, by obtaining voice messaging;Identify the vocal print of the voice messaging
Feature;If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;It executes
The controllable instruction.By using technical solution provided herein, may be implemented by voice messaging to router into
The effect of row intelligent management.
Detailed description of the invention
Fig. 1 is the flow chart of the management method for the router that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the management method of router provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the managing device for the router that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for router that the embodiment of the present application five provides;
Fig. 5 is a kind of structural schematic diagram for router that the application preferred embodiment provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of the management method for the router that the embodiment of the present invention one provides, and the present embodiment is applicable to satisfy the need
The case where being managed by device, the managing device of this method router provided by the embodiment of the present invention execute, should
Device can be realized by the mode of software and/or hardware, and can be integrated in router.
As shown in Figure 1, the management method of the router includes:
S110, voice messaging is obtained.
Wherein, voice messaging can be router by the collected voice messaging of microphone, can also be by with road
By the collected voice messaging of other equipment institute of device connection, e.g., there are an intelligent mobile terminal A, intelligent mobile terminal A with
Router connection, then router can obtain the voice messaging that user is issued by intelligent mobile terminal A.It is arranged in this way
Benefit is can to can be realized acquisition voice messaging in the case where router has been configured without microphone, and then realize this Shen
It please provided technical solution.
In the technical scheme, optionally, the acquisition voice messaging, comprising: monitor acoustic information;If the sound letter
Breath includes that voice management triggers information, then obtains voice messaging.Wherein, the acoustic information monitored may include voice messaging with
Other outer acoustic informations can further filter out the noise in acoustic information, can specifically be filtered using band logical
Wave device is realized, carries out bandpass filtering for the frequency range of voice sound, and then obtain the acoustic information of user.Since router can not
It can be being identified to the acoustic information of user all the time, so the technical program provides language in a kind of pair of acoustic information
The identification of sound management trigger information, such as user can wake up the speech recognition function of router by saying " router " three words
Energy.The benefit being arranged in this way is can to control for being switched to by the state monitored for router the identification state of voice.
It should be understood that can be configured to voice management triggering information, such as be mentioned by interactive form in router setting up procedure
Show that user reads aloud voice management triggering information in 0.5 meter, 1 meter, 1.5 meters, 2 meters and 3 meters of distance, it in this way can be real
When present user needs, information is triggered to wake up the speech identifying function of router by voice management at any time, avoids redundancy
Workload.
The vocal print feature of S120, the identification voice messaging.
Wherein, vocal print feature is the sound wave spectrum for the carrying verbal information that electricity consumption acoustic instrument is shown.Modern scientific research
Show that vocal print not only has specificity, but also has the characteristics of relative stability.After adult, the sound of people can keep long-term phase
It is constant to stablizing.It is demonstrated experimentally that no matter talker be deliberately imitate other people sound and the tone, or whisper in sb.'s ear is softly talked, even if
Imitate remarkably true to life, vocal print is not but identical always.Based on this, the technical program is realized by the identification to vocal print feature
Management to router is not only simple fast, meets the use demand of user, and is managed by vocal print feature with certain
Accuracy, it is ensured that the safety that the router of user uses.
It in the technical scheme, can be to one section or multistage progress Application on Voiceprint Recognition in the voice described in user, identification
After obtaining vocal print feature, the stability of vocal print feature can be judged, to improve to the pipe by voice to router
The safety of reason.
If whether S130, the vocal print feature are to have permission feature, include in the voice messaging controllable is extracted
Instruction.
The confirmation of the permission to vocal print feature can be passed through, it is determined whether extract and execute grasping of including in voice messaging
Control instruction.Wherein, controllable instruction may include connecting certain equipment, share certain file, close router and restarter
Deng.As long as the function that can be controlled by router, may be embodied in controllable range of instructions.Specifically, can
To be set by the user, it can also be and be provided in router factory.
In the technical scheme, optionally, if whether the vocal print feature is to have permission feature, the voice letter is extracted
The controllable instruction for including in breath, comprising: the vocal print feature is compared with vocal print feature has been authorized, determines the vocal print
Whether feature is to have permission feature;If so, determining the controllable finger for including in the voice messaging by semantics recognition mode
It enables.Wherein it is possible to by storing equipment for configuration of routers, such as memory, or by the other equipment of network connection for for
Router has authorized the equipment that vocal print feature is stored, and vocal print feature storage will have been authorized into the storage equipment, in turn
When extracting vocal print feature, the vocal print feature extracted and the vocal print feature of authorization of storage can be compared, be come true
Whether the vocal print feature of the fixed extraction is to have permission feature.Wherein, it can be by way of semantics recognition and pass through machine learning
Means determine that the voice messaging of user wants the target realized, and then obtain controllable instruction.The technical program is arranged in this way
Benefit be can be more accurate and quickly to determine whether the vocal print feature extracted has permission, while also to the management of router
Safety provide guarantee.
S140, the controllable instruction is executed.
Wherein, controllable instruction may include connecting certain equipment, share certain file, close router, and restart routing
Device etc..After receiving the controllable instruction of user, the voice messaging " allowing equipment B connection router " of user is such as detected,
It can then be connect without carrying out password authentification with equipment B after equipment B sends connection request.
Technical solution provided by the embodiment of the present application, by obtaining voice messaging;Identify the vocal print of the voice messaging
Feature;If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;It executes
The controllable instruction.By using technical solution provided herein, may be implemented by voice messaging to router into
The effect of row intelligent management.
Embodiment two
Fig. 2 is the flow chart of the management method of router provided by Embodiment 2 of the present invention.The present embodiment is in above-mentioned implementation
It is specific to optimize on the basis of example are as follows: before executing the controllable instruction, the method also includes: judge described controllable
Instruction whether be particular device controllable instruction;If so, determining whether the particular device is already connected to router;If
Connection, then execute the controllable instruction.
As shown in Fig. 2, the management method of the router includes:
S210, voice messaging is obtained.
The vocal print feature of S220, the identification voice messaging.
If whether S230, the vocal print feature are to have permission feature, include in the voice messaging controllable is extracted
Instruction.
S240, judge it is described it is controllable instruction whether be particular device controllable instruction;If so, executing S250;If
It is no, then execute S260.
Wherein, the controllable instruction of particular device can be the controllable instruction that can just complete based on particular device, example
The photo in equipment C is such as shared with equipment D, or by certain film in equipment C by televising.Then from source resource
Angle for, equipment C is exactly particular device, from order execute angle for, equipment D and TV are exactly particular device.
S250, it determines whether the particular device is already connected to router, if having connected, executes the controllable finger
It enables.
When there are when particular device for determination, it is necessary to first confirm to whether particular device is connected to router, if
It is not connected, voice broadcasting can be carried out by the voice playing module of router, such as " equipment C is not currently connected to router ",
For user's Awareness status.If particular device has connected, the controllable instruction can be executed.
In the present embodiment, optionally, after determining whether the particular device is already connected to router, the method
If further include: it is not connected, the information that the particular device is not attached to router is fed back by voice playing module.It sets in this way
The benefit set is whether can be performed current controllable instruction, and because why reason cannot be performed to user
It informs, is further operated for user, improve user to the usage experience of router management process.
S260, the controllable instruction is executed.
If not being the controllable instruction of particular device by the judgement discovery controllable instruction, can directly execute
Controllable instruction, such as restarter control the speed uplink etc. of router.
In upper the present embodiment and above-described embodiment, in any one step, at the event by current router
Reason progress knows for user, can be arranged and carry out voice broadcasting by voice playing module, be arranged in this way can allow user more
Add and clearly determines whether instruction performed by current router is that oneself is required as a result, improving the usage experience of user.
The present embodiment on the basis of the above embodiments, provide it is a kind of to it is controllable instruction whether be particular device can
The judgment method of manipulation instruction, and determine whether controllable instruction is able to carry out according to judging result, if it is not, can lead to
The form for crossing voice broadcasting knows for user, greatly improves the degree of intelligence of router, improves the usage experience of user.
On the basis of above-mentioned each technical solution, optionally, judging whether the controllable instruction is particular device
After controllable instruction, the method also includes: if it is not, then judge the controllable instruction target device whether be two or
Person is more than two;If two or more, then two or more target is played by voice playing module
Equipment;The confirmation phonetic order for obtaining user, determines that two or more target is set according to the confirmation phonetic order
Final goal equipment in standby;Correspondingly, executing the controllable instruction, comprising: to described in final goal equipment execution
Controllable instruction.
Wherein, target device, which can be, executes equipment pointed by controllable instruction, is such as connected to certain equipment, user provides
The obtained controllable instruction of voice messaging be " equipment is allowed to connect ", however, the equipment for being not currently connected to router exists
Three, then can be specially which allows for user's selection by way of voice playing module such as equipment E, equipment F and equipment G
A equipment is attached.If target device in the case where only one, can directly execute controllable instruction.This technology side
The benefit that case is arranged in this way is can be in the not unique feelings of target device of executable instruction obtained in the voice messaging of user
It under condition, is played by voice and is further confirmed that with user, the routing that not only available user wants is set in this way
Device management is as a result, can also ensure information security.
Embodiment three
Fig. 3 is the structural schematic diagram of the managing device for the router that the embodiment of the present invention three provides.As shown in figure 3, described
The managing device of router, comprising:
Voice messaging obtains module 310, for obtaining voice messaging;
Vocal print feature identification module 320, for identification vocal print feature of the voice messaging;
Controllable instruction extraction module 330 extracts institute's predicate if whether being to have permission feature for the vocal print feature
The controllable instruction for including in message breath;
Instruction execution module 340, for executing the controllable instruction.
Technical solution provided by the embodiment of the present application, by obtaining voice messaging;Identify the vocal print of the voice messaging
Feature;If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;It executes
The controllable instruction.By using technical solution provided herein, may be implemented by voice messaging to router into
The effect of row intelligent management.
On the basis of the various embodiments described above, optionally, the voice messaging obtains module, comprising:
Acoustic information monitoring unit, for monitoring acoustic information;
Voice messaging acquiring unit obtains voice letter if including voice management triggering information for the acoustic information
Breath.
On the basis of the various embodiments described above, optionally, the controllable instruction extraction module, comprising:
Vocal print feature permission judging unit is determined for comparing the vocal print feature with vocal print feature has been authorized
Whether the vocal print feature is to have permission feature;
Controllable instruction extraction unit passes through semanteme if being judged as YES for the vocal print feature permission judging unit
Identification method determines the controllable instruction for including in the voice messaging.
On the basis of the various embodiments described above, optionally, described device further includes particular device instruction judgment module, described
Particular device instruction judgment module is specifically used for:
Judge it is described it is controllable instruction whether be particular device controllable instruction;
If so, determining whether the particular device is already connected to router;
If having connected, the controllable instruction is executed by described instruction execution module.
On the basis of the various embodiments described above, optionally, particular device instruction judgment module also particularly useful for:
If not connected, the information that the particular device is not attached to router is fed back by voice playing module.
On the basis of the various embodiments described above, optionally, particular device instruction judgment module also particularly useful for:
If it is not, whether the target device for then judging the controllable instruction is two or more;
If so, playing two or more target device by voice playing module;
The confirmation phonetic order for obtaining user determines two or more target according to the confirmation phonetic order
Final goal equipment in equipment;
Correspondingly, described instruction execution module includes:
Instruction execution unit, for executing the controllable instruction to the final goal equipment.
Method provided by any embodiment of the invention can be performed in the said goods, has the corresponding functional module of execution method
And beneficial effect.
Example IV
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
It instructs when being executed by computer processor for executing a kind of management method of router, this method comprises:
Obtain voice messaging;
Identify the vocal print feature of the voice messaging;
If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;
Execute the controllable instruction.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to computer by network (such as internet)
System.Second computer system can provide program instruction to computer for executing.Term " storage medium " may include can
To reside in different location two or more storage mediums of (such as in the different computer systems by network connection).
Storage medium can store the program instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The management for the router that executable instruction is not limited to the described above operates, and can also be performed provided by the application any embodiment
Relevant operation in the management method of router.
Embodiment five
The embodiment of the present application provides a kind of router, and router provided by the embodiments of the present application can be integrated in the router
Managing device.Fig. 4 is a kind of structural schematic diagram for router that the embodiment of the present application five provides.As shown in figure 4, the present embodiment
Provide a kind of router 400 comprising: one or more processors 420;Storage device 410, for storing one or more
Program, when one or more of programs are executed by one or more of processors 420, so that one or more of processing
Device 420 realizes the management method of router provided by the embodiment of the present invention, this method comprises:
Obtain voice messaging;
Identify the vocal print feature of the voice messaging;
If whether the vocal print feature is to have permission feature, the controllable instruction for including in the voice messaging is extracted;
Execute the controllable instruction.
Certainly, it will be understood by those skilled in the art that processor 420 can also realize that any embodiment of that present invention is provided
Router management method technical solution.
The router 400 that Fig. 4 is shown is only an example, should not function and use scope band to the embodiment of the present invention
Carry out any restrictions.
As shown in figure 4, the router 400 includes processor 420, storage device 410, input unit 430 and output device
440;The quantity of processor 420 can be one or more in router, in Fig. 4 by taking a processor 420 as an example;In router
Processor 420, storage device 410, input unit 430 can be connected by bus or other modes with output device 440, scheme
In 4 for being connected by bus 450.
Storage device 410 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer
Program and module, such as the corresponding program instruction of the management method of the router in the embodiment of the present invention.
Storage device 410 can mainly include storing program area and storage data area, wherein storing program area can store operation
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.
In addition, storage device 410 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 410
It can further comprise the memory remotely located relative to processor 420, these remote memories can pass through network connection.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving number, character information or the voice messaging of input, and generate and router
User setting and the related key signals input of function control.Output device 440 may include the equipment such as display screen, loudspeaker.
The effect for carrying out intelligent management to router by voice messaging may be implemented in router provided by the embodiments of the present application
Fruit.
It is arbitrarily real that the application can be performed in managing device, storage medium and the router of the router provided in above-described embodiment
The management method for applying router provided by example has and executes the corresponding functional module of this method and beneficial effect.Not above-mentioned
The technical detail of detailed description in embodiment, reference can be made to the management method of router provided by the application any embodiment.
Preferred embodiment
Fig. 5 is a kind of structural schematic diagram for router that the application preferred embodiment provides.As shown in figure 5, this programme by
Audio monitoring module (510), speech recognition module (520), voiceprint identification module (530), semantic module (540), center
Control module (550), voice playing module (560), device authorization module (570) and document management module (580) composition, wherein
Audio monitoring module (510) wakes up speech recognition module after waking up word for monitoring surrounding enviroment sound, identification in real time.Voice is known
Other module (520) is used to convert semanteme for voice.Voiceprint identification module (530) is used to carry out vocal print feature identification, confirmation
The identity of speaker.Semantic module (540) can operate the instruction of execution for converting module for the semanteme of conversion.Center
Control module (550) is used to dispatch the work of modules.Voice playing module (560) is used to treatment process passing through voice
Form plays out.Device authorization module (570) is used to carry out insertion authority management to the equipment for being newly connected to router.File
Management module (580) is used for file write-in and rights management to storing built in router.
For example, semanteme is resolved to controllable instruction by semantic module, central control module is controlled respectively according to instruction
Control equipment authorization module or document management module, and be in progress by voice playing module feedback command.Device authorization module according to
Semantic such as " connection new equipment/mobile phone/plate ", the strongest 3 new equipment List of signal for feeding back discovery are sent to voice broadcasting
Module, speech recognition module is according to the vocal print authorization message received and the semantic instructions reaffirmed " connection xx equipment/connection
X-th of equipment " carries out exempting from close authorization connection.Document management module is according to semantic such as " backup cell phone pictures/shared photo ", feedback
The device name List that current access router can back up is sent to voice playing module, and speech recognition module is according to receiving
Vocal print authorization message and the semantic instructions reaffirmed " backup xx equipment/shared photo gives xx equipment " back up and share pushing away
Send operation.
This programme realize it is a kind of known by vocal print feature replace traditional router accessing user name password otherwise
Mode substantially increases the convenience that user uses while ensuring safety;
This programme realizes one kind and manipulates router feature by interactive voice mode, is significantly better than existing computer webpage behaviour
Prosecutor formula and mobile phone terminal input user name pin mode;
The document management module of this programme can be certainly by simple one instruction " backup cell phone pictures/shared photo "
Dynamic file and router by user mobile phone, visitor's terminal interconnect, and compared with conventional login backstage, manual operation is substantially increased
The convenience of manipulation.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.