CN107911386A - Obtain the method and device of service authorization information - Google Patents
Obtain the method and device of service authorization information Download PDFInfo
- Publication number
- CN107911386A CN107911386A CN201711273101.6A CN201711273101A CN107911386A CN 107911386 A CN107911386 A CN 107911386A CN 201711273101 A CN201711273101 A CN 201711273101A CN 107911386 A CN107911386 A CN 107911386A
- Authority
- CN
- China
- Prior art keywords
- service
- sound collection
- authorization
- collection equipment
- message
- 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
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 230
- 238000000034 method Methods 0.000 title claims abstract description 98
- 230000003993 interaction Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 abstract description 16
- 230000008901 benefit Effects 0.000 abstract description 9
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000001755 vocal effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000001727 in vivo Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000011191 terminal modification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0853—Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0861—Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/108—Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure is directed to a kind of method and device for obtaining service authorization information, belong to intelligent appliance field.The described method includes:Sound collection equipment receives phonetic order;According to phonetic order, pending service is determined;When definite sound collection equipment and not serviced mandate, by interacting for the terminal bound with sound collection equipment, the authorization message of service is obtained.The disclosure takes full advantage of the input convenience of terminal to assist sound collection equipment to obtain the authorization message of service, so that licensing process is simpler efficiently.
Description
Technical field
This disclosure relates to intelligent appliance technical field, more particularly to a kind of method and device for obtaining service authorization information.
Background technology
With the progress of scientific and technological level, many equipment can not only realize itself traditional function, can also lead to
The service of acquisition is crossed to extend the function of itself, to provide a user more abundant information.But when equipment there is no service
During mandate, it is possible to achieve function will be restricted.
This problem that authorizes how is obtained when at present, for access service, is taken in correlation technique by authorization message
The method being directly permanently stored in equipment, but this method can cause any user at any time can be by setting
Standby to be serviced to access, the security of information can not be guaranteed.So, it should short-term authorization message is preserved in a device, is protected
Card service is to authorize when user is desirable for.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method and dress for obtaining service authorization information
Put.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for obtaining service authorization information, the method should
For sound collection equipment, the described method includes:
Receive phonetic order;
According to the phonetic order, pending service is determined;
When the definite sound collection equipment is not by the authorization of service, by being bound with the sound collection equipment
Terminal interaction, obtain the authorization message of the service.
It is described according to the phonetic order in the first implementation of first aspect, determine pending services package
Include:
Speech recognition is carried out to the phonetic order, obtains the voice content of the phonetic order;
From correspondence of the pre-set voice content with service, obtain service corresponding with the voice content and make
For pending service.
In second of implementation of first aspect, after the definite pending service, the method further includes:
The first access request is sent to server, the server is the corresponding server of the service;
Receive the request feedback message that the server returns;
When carrying specified configured information in the request feedback message, determine that the sound collection equipment is not described
Authorization of service, the specified configured information are used to indicate do not have the authorization message or authorization message in the sound collection equipment
It is out of date.
In the third implementation of first aspect, after the definite pending service, the method further includes:
When being stored with the authorization message of the service in the sound collection equipment, detect the authorization message whether mistake
Phase, when the authorization message is out of date, it is determined that the sound collection equipment is not by the authorization of service;
When not being stored with the authorization message of the service in the sound collection equipment, the sound collection equipment is determined
Not by the authorization of service.
It is described by the friendship for the terminal bound with the sound collection equipment in the 4th kind of implementation of first aspect
Mutually, obtaining the authorization message of the service includes:
Play cuing audio file, the prompting audio file are used for instruction user in the client to the sound
Collecting device is authorized, and/or, to the terminal on the corresponding client of the service send sending out notice, the push
Notice is used to indicate the authorization page for showing the service in the client;
Receive the authorization message that the terminal is sent.
It is described when the definite sound collection equipment is not by the service in the 5th kind of implementation of first aspect
It is described after the authorization message for obtaining the service by interacting for the terminal bound with the sound collection equipment during mandate
Method further includes:
Store the authorization message of the service;
According to the phonetic order, the second access request is sent to the server, second access request carries institute
State the authorization message of service;
The service data that the server returns is received, and service data is converted into audio file and is played out.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The method that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
During corresponding authorization of service, since sound collection equipment can not complete more complicated operation, can with sound collection equipment
Operated in the terminal of binding, using the interaction of terminal and sound collection equipment, to assist sound collection equipment to complete service
Mandate, take full advantage of the input convenience of terminal to obtain the authorization message of service, so that licensing process is simpler
It is single efficient.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of method for obtaining service authorization information, the method
Applied to terminal, the described method includes:
Show the mandate interface of client, the mandate interface is used to carry out authorization of service to sound collection equipment;
When detecting in the Authorized operation at the mandate interface, the log-on message for treating authorization service is sent to service
Device;
Receive the authorization message for the service that the server returns;
The authorization message is sent to the sound collection equipment.
In the first implementation of second aspect, before the mandate interface of the display client, the method is also
Including:
The sending out notice that the sound collection equipment is sent is received, the sending out notice is used to indicate in the client
Show the authorization page of the service;
The step of responding the sending out notice, performing the mandate interface of the display client.
It is described when detecting in the Authorized operation at the mandate interface in second of implementation of second aspect,
The log-on message for treating authorization service, which is sent to server, to be included:
When detecting in the Authorized operation at the mandate interface, the stored log-on message of the client is obtained, will
The log-on message for treating authorization service is sent to server;Or,
When detecting in the Authorized operation at the mandate interface, there is provided log-on message input page, will be stepped on by described
The log-on message that record information input page is got is sent to server.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The method that the embodiment of the present disclosure provides, mandate interface displayed on the terminals, user only need to be at the mandate interface of terminal
On operated, it is possible to assist sound collection equipment to complete authorization of service, make full use of the input convenience of terminal so that award
Power process is simpler efficiently.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device for obtaining service authorization information, described device
Applied to sound collection equipment, described device includes:
Command reception module, for receiving phonetic order;
Determining module, for according to the phonetic order, determining pending service;
Acquisition module, for when the definite sound collection equipment is not by the authorization of service, by with the sound
The interaction of the terminal of sound collecting device binding, obtains the authorization message of the service.
In the first implementation of the third aspect, the determining module includes:
Identify submodule, for carrying out speech recognition to the phonetic order, obtain the voice content of the phonetic order;
Acquisition submodule, for from correspondence of the pre-set voice content with service, obtaining and the voice
The corresponding service of content is as pending service.
In second of implementation of the third aspect, described device further includes:
First sending module, for sending the first access request to server, the server is corresponding for the service
Server;
Feedback reception module, the request feedback message returned for receiving the server;
Judgment module, for when carrying specified configured information in the request feedback message, determining the sound collection
Not by the authorization of service, the specified configured information is used to indicate do not have the mandate in the sound collection equipment equipment
Information or authorization message are out of date.
In the third implementation of the third aspect, described device further includes:
Detection module, for when being stored with the authorization message of the service in the sound collection equipment, described in detection
Whether authorization message is expired, when the authorization message is out of date, it is determined that the sound collection equipment is not awarded by the service
Power;
The detection module, for when not being stored with the authorization message of the service in the sound collection equipment, really
The fixed sound collection equipment is not by the authorization of service.
In the 4th kind of implementation of the third aspect, the acquisition module includes:
Submodule is played, for play cuing audio file, the prompting audio file is used for instruction user in the visitor
The sound collection equipment is authorized on the end of family, and/or, sending out notice submodule, for the clothes in the terminal
Corresponding client of being engaged in sends sending out notice, and the sending out notice is used to indicate to show awarding for the service in the client
Weigh the page;
Receiving submodule, the authorization message sent for receiving the terminal.
In the 5th kind of implementation of the third aspect, described device further includes:
Memory module, for storing the authorization message of the service;
Second sending module, for according to the phonetic order, sending the second access request to server, described second visits
Ask that request carries the authorization message of the service;
Playing module is serviced, the service data returned for receiving the server, and service data is converted into audio
File plays out.
The device that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
During corresponding authorization of service, since sound collection equipment can not complete more complicated operation, can with sound collection equipment
Operated in the terminal of binding, using the interaction of terminal and sound collection equipment, to assist sound collection equipment to complete service
Mandate, take full advantage of the input convenience of terminal to obtain the authorization message of service, so that licensing process is simpler
It is single efficient.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of device for obtaining service authorization information, described device
Applied to terminal, described device includes:
Display module, for showing the mandate interface of client, the mandate interface is used to carry out to sound collection equipment
Authorization of service;
First sending module, for when detecting in the Authorized operation at the mandate interface, will treat stepping on for authorization service
Record information is sent to server;
Receiving module, the authorization message of the service returned for receiving the server;
Second sending module, for sending the authorization message to the sound collection equipment.
In the first implementation of fourth aspect, described device further includes:
Notify receiving module, the sending out notice sent for receiving the sound collection equipment, the sending out notice is used for
Instruction shows the authorization page of the service in the client;
Respond module, responds the sending out notice, the step of performing the mandate interface of the display client.
In second of implementation of fourth aspect, first sending module includes:
Acquisition submodule, for when detecting in the Authorized operation at the mandate interface, obtaining the client and having deposited
The log-on message of storage, the log-on message for treating authorization service is sent to server;Or,
Input submodule, for when detecting in the Authorized operation at the mandate interface, there is provided log-on message incoming page
Face, the log-on message got by the log-on message input page is sent to server.
The device that the embodiment of the present disclosure provides, mandate interface displayed on the terminals, user only need to be at the mandate interface of terminal
On operated, it is possible to assist sound collection equipment to complete authorization of service, make full use of the input convenience of terminal so that award
Power process is simpler efficiently.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of sound collection equipment, the sound collection equipment bag
Include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive phonetic order;
According to the phonetic order, pending service is determined;
When the definite sound collection equipment is not by the authorization of service, by being bound with the sound collection equipment
Terminal interaction, obtain the authorization message of the service.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of terminal, the terminal include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Show the mandate interface of client, the mandate interface is used to carry out authorization of service to sound collection equipment;
When detecting in the Authorized operation at the mandate interface, the log-on message for treating authorization service is sent to service
Device;
Receive the authorization message for the service that the server returns;
The authorization message is sent to the sound collection equipment.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of computer-readable recording medium, the computer can
Read storage medium memory and contain computer program, the computer program realizes the side described in first aspect when being executed by processor
Method step.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, the computer can
Read storage medium memory and contain computer program, the computer program realizes the side described in second aspect when being executed by processor
Method step.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and for explaining the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the device of acquisition service authorization information according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of determining module according to embodiment illustrated in fig. 4.
Fig. 6 is a kind of block diagram of acquisition module according to embodiment illustrated in fig. 4.
Fig. 7 is a kind of block diagram of the device of acquisition service authorization information according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of first sending module according to embodiment illustrated in fig. 5.
Fig. 9 is a kind of block diagram of terminal according to an exemplary embodiment.
Figure 10 is a kind of block diagram of server according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment, such as Fig. 1
Shown, the method for the acquisition service authorization information is used in sound collection equipment, comprises the following steps:
In step S101, phonetic order is received.
In step s 102, according to phonetic order, pending service is determined.
In step s 103, when definite sound collection equipment and not serviced mandate, by being tied up with sound collection equipment
The interaction of fixed terminal, obtains the authorization message of service.
The method that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
During corresponding authorization of service, since sound collection equipment can not complete more complicated operation, can with sound collection equipment
Operated in the terminal of binding, to assist sound collection equipment to complete the mandate of service, take full advantage of the input of terminal just
Profit obtains the authorization message of service, so that licensing process is simpler efficiently.
In a kind of possible implementation, according to phonetic order, determine that pending service includes:
Speech recognition is carried out to phonetic order, obtains the voice content of phonetic order;
From correspondence of the pre-set voice content with service, acquisition service corresponding with voice content, which is used as, to be treated
The service of execution.
The method that the embodiment of the present disclosure provides, determines to wish the service performed using identification voice, more convenient
In a kind of possible implementation, after determining pending service, method further includes:
The first access request is sent to server, server is the corresponding server of service;
Receive the request feedback message that server returns;
When asking to carry specified configured information in feedback message, determine sound collection equipment and not serviced mandate, refer to
It is out of date for no authorized information on instruction sound collecting device or authorization message to determine configured information.
The embodiment of the present disclosure provide method, using to server send access request and receive request feedback message side
Method authorizes to judge whether sound collection equipment is serviced, and judging result is more accurate real-time.
In a kind of possible implementation, after determining pending service, method further includes:
When being stored with the authorization message of service in sound collection equipment, whether detection authorization message is expired, believes when authorizing
Cease out of date, it is determined that sound collection equipment and not serviced mandate;
When not being stored with the authorization message of service in sound collection equipment, determine sound collection equipment and not serviced award
Power.
The method that the embodiment of the present disclosure provides, is sentenced using the situation of detection sound collection equipment itself storage authorization message
Disconnected whether serviced authorizes, and improves the efficiency of deterministic process.
In a kind of possible implementation, by interacting for the terminal bound with sound collection equipment, awarding for service is obtained
Power information includes:
Play cuing audio file, prompts audio file to be used for instruction user in the client to sound collection equipment
Authorized, and/or, to terminal on service corresponding client and send sending out notice, sending out notice is used to indicate in client
The authorization page of upper display service;
The authorization message that receiving terminal is sent.
The method that the embodiment of the present disclosure provides, by the way of play cuing audio file and transmission sending out notice are combined
To remind user to carry out authorization of service, prompting is carried out at the same time with various ways so that remind more efficient and more hommization.
In a kind of possible implementation, when definite sound collection equipment and not serviced mandate, by being adopted with sound
Collect the interaction of the terminal of apparatus bound, after the authorization message for obtaining service, method further includes:
The authorization message of storage service;
According to phonetic order, the second access request is sent to server, the second access request carries the mandate of the service
Information;
After receiving the service data that server returns, service data is converted into audio file, and play out.
The method that the embodiment of the present disclosure provides, after service authorization information is obtained, directly according to the voice once obtained
Instruction, the second access request for carrying authorization message is sent to server, it is not necessary to reacquire a phonetic order again, make
The process that service data must be obtained is simpler efficiently.
Above-mentioned all optional technical solutions, can use any combination to form the alternative embodiment of the present invention, herein no longer
Repeat one by one.
Fig. 2 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment, such as Fig. 2
Shown, the method for the acquisition service authorization information is used in terminal, comprises the following steps:
In step s 201, show the mandate interface of client, authorize interface to be used to be serviced to sound collection equipment
Authorize.
In step S202, when detecting in the Authorized operation at mandate interface, it will treat that the log-on message of authorization service is sent out
Send to server.
In step S203, the authorization message for the service that server returns is received.
In step S204, authorization message is sent to sound collection equipment.
The method that the embodiment of the present disclosure provides, mandate interface displayed on the terminals, user only need to be at the mandate interface of terminal
On operated, it is possible to assist sound collection equipment to complete authorization of service, make full use of the input convenience of terminal so that award
Power process is simpler efficiently.
In a kind of possible implementation, before showing the mandate interface of client, method further includes:
The sending out notice that sound collection equipment is sent is received, sending out notice is used to indicate to show awarding for service on the client
Weigh the page;
The step of responding sending out notice, performing the mandate interface for showing client.
The method that the embodiment of the present disclosure provides, terminal is directly in response to sending out notice and shows mandate interface, eliminates and thinks
Operation so that licensing process is simpler efficiently.
In a kind of possible implementation, when detecting in the Authorized operation at mandate interface, stepping on for authorization service will be treated
Record information, which is sent to server, to be included:
When detecting in the Authorized operation at mandate interface, the stored log-on message of client is obtained, will wait to authorize clothes
The log-on message of business is sent to server;Or,
When detecting in the Authorized operation at mandate interface, there is provided log-on message input page, will be defeated by log-on message
Enter the log-on message that the page is got to send to server.
The method that the embodiment of the present disclosure provides, stored log-on message or input log-on message are sent to server,
So that the acquisition modes of log-on message are more versatile and flexible.
The above-mentioned all optional technical solutions of terminal, can use any combination to form the alternative embodiment of the present invention, herein
No longer repeat one by one.
Fig. 3 is a kind of flow chart of the method for acquisition service authorization information according to an exemplary embodiment, such as Fig. 3
Shown, which illustrates exemplified by being the interaction between sound collection equipment, terminal and server;Wherein, eventually
End is bound with sound collection equipment, can be matched in advance using bluetooth or wifi therebetween, terminal can pass through
Mounted client controls sound collection equipment;Server can be believed according to the authorization of service of sound collection equipment and terminal
Breath, service data is provided to sound collection equipment and terminal.The method of the acquisition service authorization information comprises the following steps:
In step S301, sound collection equipment receives phonetic order.
Sound collection equipment can be specifically intelligent sound box, digital broadcast terminal, messaging devices, game console,
Tablet device, Medical Devices, body-building equipment or personal digital assistant etc., its work(for mainly possessing collection voice and playing audio
Energy.Microphone is equipped with the sound collection equipment, microphone can be acquired the voice signal in environment, and identify
The phonetic order that user sends.
Further, while phonetic order is received by microphone, sound collection equipment can also dock received
The vocal print of phonetic order is identified, and judges whether it matches with stored vocal print in the sound collection equipment, wherein
Storage vocal print can be the vocal print of the owning user of the sound collection equipment;If vocal print mismatches, do not continue to receive voice
Instruct or ignore phonetic order.Further, which can also carry out authentication by terminal-pair user, and
When being verified service is provided for the user again.Being directed to for phonetic order control can be improved by the process of voice print matching
Property and security, avoid other users from going beyond one's commission use.
In step s 302, sound collection equipment determines pending service according to phonetic order.
For terminal in a kind of possible embodiment, sound collection equipment determines pending services package according to phonetic order
Following step (1) is included to step (2):
(1) sound collection equipment carries out speech recognition to phonetic order, obtains the voice content of phonetic order.
Specifically, the method for speech recognition can use based on dynamic time warping (Dynamic Time Warping,
DTW algorithm), can also use the hidden Markov model (Hidden Markov Model, HMM) based on parameter model
Method, the method that the vector quantization (Vector QuantizationModel, VQ) based on nonparametric model can also be used.
Further, between voice content and service type it is the relation that corresponds, can be sentenced by voice content
Disconnected user wants the service type obtained, which can be default setting in sound collection equipment or root
It is configured according to user's function set in sound collection equipment, for example, when user is set by terminal in sound collection
Enquiring route function is provided with for upper, then the corresponding voice content of enquiring route function and service type can be correspondingly arranged
In in sound collection equipment.
(2) sound collection equipment is from correspondence of the pre-set voice content with service, acquisition and voice content
Corresponding service is as pending service.
In the embodiment of the present disclosure, the correspondence of pre-set voice content and service can be with two kinds of forms come body
It is existing:
1. the pre-set voice content and the correspondence of service can be in the form of keyword-services come body
It is existing.Usually, voice content can include the keyword for being used to refer to the service that user wants.When sound collection equipment is true
When determining voice content includes any keyword, the corresponding service of the keyword can be determined as pending service.For example, work as
When user is want using sound collection equipment to record the note, the voice content identified in phonetic order can " please remember pen
Note:A+B=C ", when sound collection equipment determines that voice content includes the keyword of " recording the note ", " will record the note " keyword
Corresponding record notes service is determined as pending service.When user wants to carry out route inquiry using sound collection equipment
When, the voice content identified in phonetic order can be " inquiring about to the route on B ground " from A, work as sound collection equipment
When determining that voice content includes the keyword of " enquiring route ", the corresponding route inquiry of " enquiring route " keyword is serviced and is determined
For pending service.
Further, in this implementation, the content in voice content in addition to keyword, is exactly that user wants to obtain
The particular content of the service obtained.The content in voice content in addition to keyword is identified in sound collection equipment, and by its
It is determined as the particular content of service.For example, " it please record the note:In this voice content of A+B=C ", " recording the note " is exactly keyword,
It is the service of recording the note to determine pending service, and " A+B=C " in addition is exactly the particular content serviced, determines tool
The notes that body needs to record are A+B=C;In another example in " inquiring about the route for going to B ground " this voice content, " inquiry road. from A
Line " is exactly keyword, determines that pending service is enquiring route service, " with removing B " from A be exactly service it is specific in
Hold, it is from A to B that determining, which specifically needs the route inquired about,.
2. the pre-set voice content with service correspondence can also in the form of sentence template-service come
Embody., can be by the corresponding service of sentence template when sound collection equipment determines that voice content meets any sentence template
It is determined as pending service.For example, when user is want using sound collection equipment come enquiring route, identified in phonetic order
Voice content can be " with how taking transit bus B " or " how being cycled from A to B " from A, at this time in voice content
Sentence template be exactly there are two adjacent particular location points in sentence, it is when recognizing this sentence template, its is corresponding
The service of enquiring route is determined as pending service.
Further, in this implementation, the pre-set language is embodied in the form of sentence template-service
When sound content and the correspondence of service, if it is desired to obtain the particular content of service, sound collection equipment can be to whole voice
Content is identified, and the particular content of service is determined with this.
After sound collection equipment determines pending service, it can also generate and be marked with the corresponding service of pending service
Know.
In step S303, sound collection equipment sends the first access request to server, and server is corresponding to service
Server.
In step s 302, sound collection equipment has had confirmed pending service, and generates service identifiers.
As a kind of alternative embodiment, sound collection equipment is true always according to service identifiers after pending service is determined
Fixed corresponding server.Wherein determine that corresponding server there can be following two modes according to service identifiers:
(1), every kind of service identifiers correspond to a default server, and sound collection equipment is determining pending service, and raw
Into after service identifiers, corresponding default server is determined according to service identifiers.For example, enquiring route services corresponding acquiescence
Server can be A map servers, and the corresponding default server of the service of recording the note can be A notes servers, every kind of
Correspondence between service identifiers and default server is prestored in sound collection equipment, and can be utilized and sound
The terminal modifications of the sound collecting device binding correspondence;
(2), every kind of service identifiers correspond to multiple servers, and sound collection equipment is determining pending service, and generates
After service identifiers, according to the corresponding multiple servers of service identifiers, the audio file for inquiring user is played, and according to the choosing of user
Select voice and determine server.For example, enquiring route services corresponding server for A map servers, B map servers and C
Figure server, sound collection equipment, according to service identifiers, play inquiry after determining pending service for enquiring route service
The audio file " Map Services for please selecting you to need from A Map Services, B Map Services and C Map Services " of user, and root
According to the selection voice of user, corresponding server is determined.Correspondence between every kind of service identifiers and multiple servers exists
Prestored, and can be repaiied using the terminal-pair correspondence bound with sound collection equipment in sound collection equipment
Change and add.
Further, after corresponding server is determined, sound collection equipment can from the server itself stored
Corresponding server address is obtained in the storehouse of location, or corresponding server address is obtained using the interaction with terminal.
After server address is obtained, selectively, sound collection equipment can be by Ethernet, according to acquired
Server address, the first access request is sent to corresponding server;
Wherein, the first access request includes the service identifiers of pending service and the particular content of service, in addition, when
When the authorization message of service is stored with sound collection equipment, the authorization message of service is should also contain in the first access request, should
A timestamp is also carried in authorization message, which is the generated time of authorization message.
In step s 304, after server receives the first access request, the mandate carried in the first access request is identified
Information, and request feedback message corresponding with the first access request is generated, ask to carry in feedback message and specify configured information.
Server judges whether carry authorization message in first access request after the first access request is received,
Specific determination methods can be whether to include the corresponding code of authorization message in the first access request code string of identification, work as identification
Go out and do not include in the first access request code string when having the corresponding code of authorization message, determine not take in first access request
Authorization message with the service, that is, send the sound collection equipment of first access request not by the authorization of service;Work as judgement
Go out when carrying the authorization message of service in first access request, determine whether the authorization message is expired, have
Body determination methods can be the timestamp extracted in the authorization message, and by the time in timestamp, plus depositing in the server
The default authorisation effective period of storage, and the result drawn and current time are compared, if more than current time, then judge
The authorization message does not have expired, if being less than current time, judges that the authorization message is expired.
Further, for server according to the judging result to the authorization message in the first access request, generation is corresponding please
Negate feedforward information, being carried in the request feedback information can be with the corresponding configured information of judging result, the configured information
One section of indication code.When judging not carrying the authorization message of the service in the first access request, generation corresponding first refers to
Show information, when judging that the authorization message in the first access request is expired, generate corresponding second configured information.
In step S305, server will ask feedback message to be sent to sound collection equipment.
Selectively, server can send please negating for the first access request by Ethernet to sound collection equipment
Present message.
In step S306, sound collection equipment receives the request feedback message of server return, when request feedback disappears
When specified configured information is carried in breath, sound collection equipment and not serviced mandate are determined, specify configured information to be used to indicate sound
With no authorized information or authorization message are out of date on sound collecting device.
After sound collection equipment receives request feedback message, the configured information in extraction request feedback information, works as extraction
When the configured information gone out is the first configured information, sound collection equipment and not serviced mandate are determined, in sound collection equipment
With no authorized information;When the configured information extracted is the second configured information, sound collection equipment and not serviced is determined
Authorize, and the authorization message in sound collection equipment is expired.
The process provided using the step of above-mentioned S303 to S306, is awarded to judge whether sound collection equipment is not serviced
Power, due to have passed through the judgement of server, the judging result made is more in real time and accurate.
In a kind of possible implementation, it can also judge whether sound collection equipment is awarded by another way
Power, specifically includes:
When not being stored with the authorization message of service in sound collection equipment, determine sound collection equipment and not serviced award
Power;When being stored with the authorization message of service in sound collection equipment, whether detection authorization message is expired, when authorization message mistake
Phase, it is determined that sound collection equipment and not serviced mandate.Judge the whether non-bedding and clothing of sound collection equipment in this way
Business authorizes, due to not passing through the judgement of server so that deterministic process is simpler quick.
When definite sound collection equipment and not serviced mandate, by the friendship for the terminal bound with sound collection equipment
Mutually, the authorization message of service is obtained, interaction therein includes:
In step S307, sound collection equipment play cuing audio file, prompts audio file to exist for instruction user
Sound collection equipment is authorized in client, and sending out notice, push are sent to client corresponding with service in terminal
Notice is used to indicate the authorization page for showing service on the client.
Client identification and service identifiers, client mark are also carried in the sending out notice that sound collection equipment is sent to terminal
Know and receive the specific client end that should be opened after sending out notice for instruction terminal, service identifiers are used for instruction terminal in visitor
The mandate interface of service is shown in the end of family.Wherein, client is the client for managing sound collecting device, authorizes interface to be
For operating come the interface of authorization service according to user.
Specifically, when determining in sound collection equipment without storage authorization message, play and be used to prompt user's sound
Collecting device does not store the prompting audio file of authorization message;When determine sound collection equipment in have service authorization message but
When being that authorization message is expired, play and be used to prompt user's authorization of service expired prompting audio file.
Selectively, it is sound collection equipment both play cuing audio files in above-mentioned steps S307, it is logical further through push
The mode known reminds the user to carry out the mode of Authorized operation on the client, can reach efficient suggesting effect, and actual
In use, sound collection equipment can a play cuing audio file, by prompt audio file come instruction user open client
End and open authorize interface concrete operations so that user can according to the instruction of audio file, the mandate serviced so that
Avoid the interruption to terminal normal operating;The sound collection equipment can also only send sending out notice, that is, directly to binding
Terminal on send instruction terminal open client and show authorize interface sending out notice so that terminal shows mandate automatically
Interface, so as to improve prompting efficiency.
In step S308, when terminal receives sending out notice, sending out notice is responded, shows mandate circle of client
Face, authorizes interface to be used to carry out authorization of service to sound collection equipment.
Client identification is carried in sending out notice, to control the terminal with sound collection equipment binding to show client authorization
Interface.
In step S309, when terminal, which detects, is authorizing the Authorized operation at interface, the login for treating authorization service is believed
Breath is sent to server.
According to the difference for authorizing interface, certain specific touch control operation that user carries out on different mandate interfaces can
To regard Authorized operation as, such as authorize and occur a dialog box in interface, inquire user:" speaker whether is authorized to access impression
Notes ", and user clicks on the button of "Yes", shows that user wishes to authorize the service, just will click on "Yes" this at this time
A touch control operation regards a kind of Authorized operation as, when recognizing this operation, then will store and the corresponding login of service
Information is sent to server, so that server generates corresponding authorization message according to log-on message.
As a kind of alternative embodiment, when detecting in the Authorized operation at mandate interface, the login of authorization service will be treated
Information is sent to server, there is two kinds of implementations:
First way:When detecting in the Authorized operation at mandate interface, the stored log-on message of client is obtained,
The log-on message for treating authorization service is sent to server.When in this way, authorize in interface and occur as soon as a dialog box,
Inquire user:Whether " authorizing speaker to access A services ", if user clicks on the button of "Yes", indicate that user has carried out authorizing behaviour
Make, obtain the log-on message of the stored A services of client at this time, and the log-on message is sent to the clothes of corresponding A services
Business device;
The second way:When detecting in the Authorized operation at mandate interface, there is provided log-on message input page, will pass through
The log-on message that log-on message input page is got is sent to server.When in this way, authorize and occurred as soon as in interface
One input frame, reminds user:" log-on message that please input A services ", user have input log-on message, indicate that user carries out
Authorized operation, at this time sends log-on message input by user to the server of corresponding A service.Specifically, which believes
Breath includes the username and password of service.
In step S310, when server is received when the log-on message of authorization service, server according to wait authorize clothes
The log-on message of business, generates the authorization message of service.
When server receives log-on message, the user's authority is differentiated, if the user has the power for accessing and servicing
Limit, then generate the authorization message of service.
Specifically, interim token token is included in the authorization message of service, customized any word is included in the token
Symbol string, the character string be server oneself generation, server generation character string after, character string is stored, so as to
After the access request for receiving terminal or sound collection equipment, the comparison of character string is carried out, and judges that terminal or sound are adopted
Whether collection equipment has access rights.
In step S311, the authorization message of service is sent to terminal by server.
Selectively, server can send authorization message by Ethernet to terminal.
In step S312, when terminal receives authorization message, authorization message is sent to sound collection equipment.
Specifically, terminal does not carry out any modification, directly after authorization message is received from server to authorization message
Sound collection equipment is transmitted to, to accelerate to authorize speed.
In step S313, when sound collection equipment receives the authorization message of terminal transmission, the authorization message is stored.
Specifically, interim token token is included in the authorization message.
In step S314, sound collection equipment sends the second access request, second visits according to phonetic order to server
Ask that request carries the authorization message of service.
Specifically, carried in the second access request in step s 302 definite service identifiers, service particular content,
The server address obtained in step S303 and the authorization message obtained in step S313.
It is corresponding according to the second access request, inquiry after server receives the second access request in step S315
Service data.
Arbitrary string with server generation in the token that second access request carries, when server receives the
During two access requests, with itself storage character string compared with pair, if equally, it is determined that the terminal for sending the access request has
The authority of server data is accessed, that is, is authorized, and according to service identifiers and the particular content of service, inquires about corresponding clothes
Business data.
Such as when the service identifiers in the second access request it is corresponding it is pending service be route inquiry service, and service
When particular content is how to take transit bus with going to B from A, after server is inquired about according to the second access request, obtain from A
Take transit bus the bus loading zone and debarkation stop of the public bus network to be taken with going to B, every time circuit, and as corresponding service
Data.
In step S316, service data that server is sent a query to sound collection equipment.
Selectively, the service data that server can be sent a query to by Ethernet to sound collection equipment.
In step S317, sound collection equipment receives the service data of server return, and service data is changed
Played out into audio file.
Specifically, when sound collection equipment receives service data, service data is converted into audio file, and by certainly
The loudspeaker of body plays out service data so that user can more intuitively obtain the information wanted.
Selectively, the method shown in step S315-S317 also has a kind of possible implementation:
When service of the corresponding pending service of the service identifiers in the second access request for record data type, service
Device is stored the particular content of service.
Specifically, for example, when the service identifiers in the second access request it is corresponding it is pending service be the service of recording the note, and
When the particular content of service is A+B=C, after server receives the second access request, the tool for the service that user is needed to store
Hold in vivo and be stored directly in server, and generate corresponding unique tags and be sent to sound collection equipment, which is used to mark
The particular content for the service that accounting server is stored, so that when user wants to extract the particular content next time, server can
The particular content that user wants is found according to label data.Using both the above implementation so that the obtainable service of user
Type is more rich and varied.
The method that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
It during corresponding authorization of service, can be operated in the terminal bound with sound collection equipment, be sent to server and log in letter
Breath, and authorization message is received, log-on message is transmitted to sound collection equipment, so as to take full advantage of the input facility of terminal
Property, to assist the sound collection equipment that can not complete complex operations to complete the mandate of service, so that licensing process is simpler
It is single efficient.
Fig. 4 is a kind of block diagram of acquisition service authorization information device according to an exemplary embodiment.Reference Fig. 4,
The device is used in sound collection equipment, including command reception module 401, determining module 402, acquisition module 403.
Command reception module 401, is configured as receiving phonetic order.
Determining module 402, is configured as according to phonetic order, determines pending service.
Acquisition module 403, is configured as determining sound collection equipment and during not serviced mandate, by with sound collection
The interaction of the terminal of apparatus bound, obtains the authorization message of service.
In a kind of possible implementation, with reference to Fig. 5, determining module 402 includes:
Identify submodule 4021, be configured as carrying out speech recognition to phonetic order, obtain the voice content of phonetic order.
Acquisition submodule 4022, be configured as from pre-set voice content with service correspondence in, obtain with
The corresponding service of voice content is as pending service.
In a kind of possible implementation, device further includes:
First sending module 404, is configured as sending the first access request to server, server is the corresponding clothes of service
Business device.
Feedback reception module 405, is configured as receiving the request feedback message that server returns.
Judgment module 406, when being configured as carrying specified configured information in request feedback message, determines that sound collection is set
Standby and not serviced mandate, specified configured information are configured as with no authorized information or authorization message on instruction sound collecting device
It is out of date.
In a kind of possible implementation, device further includes:
Detection module 407, when being configured as being stored with the authorization message of service in sound collection equipment, detection authorizes letter
Whether breath is expired, when authorization message is out of date, it is determined that sound collection equipment and not serviced mandate.
Detection module 407, when being configured as not being stored with the authorization message of service in sound collection equipment, determines sound
Collecting device and not serviced mandate.
In a kind of possible implementation, with reference to Fig. 6, acquisition module 403 includes:
Submodule 4031 is played, is configured as play cuing audio file, prompts audio file to be configured as instruction user
Sound collection equipment is authorized on the client, and/or, sending out notice submodule, is configured as to service pair in terminal
The client answered sends sending out notice, and sending out notice is configured as the authorization page that instruction shows service on the client.
Receiving submodule 4032, is configured as the authorization message of receiving terminal transmission.
In a kind of possible implementation, device further includes:
Memory module 408, is configured as the authorization message of storage service.
Second sending module 409, is configured as according to phonetic order, sends the second access request to server, second visits
Ask that request carries the authorization message of service.
Playing module 410 is serviced, is configured as receiving the service data that server returns, and service data is changed audio
Frequency file plays out.
The device that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
It during corresponding authorization of service, can be operated in the terminal bound with sound collection equipment, be sent to server and log in letter
Breath, and authorization message is received, log-on message is transmitted to sound collection equipment, so as to take full advantage of the input facility of terminal
Property, to assist the sound collection equipment that can not complete complex operations to complete the mandate of service, so that licensing process is simpler
It is single efficient.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of acquisition service authorization information device according to an exemplary embodiment.Reference Fig. 7,
The device is configured as in terminal, including display module 501, the first sending module 502, receiving module 503, the second sending module
504。
Display module 501, is configured as the mandate interface of display client, authorizes interface to be configured as setting to sound collection
It is standby to carry out authorization of service.
First sending module 502, is configured as detecting when authorizing the Authorized operation at interface, will treat authorization service
Log-on message is sent to server.
Receiving module 503, is configured as receiving the authorization message for the service that server returns.
Second sending module 504, is configured as sending authorization message to sound collection equipment.
In a kind of possible implementation, device further includes:
Notify receiving module 505, be configured as receiving the sending out notice that sound collection equipment is sent, sending out notice is configured
Show the authorization page of service on the client for instruction.
The step of respond module 506, responds sending out notice, and execution shows the mandate interface of client.
In a kind of possible implementation, with reference to Fig. 8, the first sending module 502 includes:
Acquisition submodule 5021, is configured as detecting when authorizing the Authorized operation at interface, obtains client and deposited
The log-on message of storage, the log-on message for treating authorization service is sent to server;Or,
Input submodule 5022, is configured as detecting when authorizing the Authorized operation at interface, there is provided log-on message is defeated
Enter the page, the log-on message got by log-on message input page is sent to server.
The device that the embodiment of the present disclosure provides, when sound collection equipment receives phonetic order and finds that itself does not have quilt
It during corresponding authorization of service, can be operated in the terminal bound with sound collection equipment, be sent to server and log in letter
Breath, and authorization message is received, log-on message is transmitted to sound collection equipment, so as to take full advantage of the input facility of terminal
Property, to assist the sound collection equipment that can not complete complex operations to complete the mandate of service, so that licensing process is simpler
It is single efficient.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of terminal 900 according to an exemplary embodiment, which can be used for performing above-mentioned
The method of the acquisition service authorization information provided in each embodiment.For example, terminal 900 can be mobile phone, and computer, number
Word broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, terminal 900 can include following one or more assemblies:Processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, Yi Jitong
Believe component 916.
The integrated operation of the usual control terminal 900 of processing component 902, such as with display, call, data communication, phase
The operation that machine operates and record operation is associated.Processing component 902 can refer to including one or more processors 920 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in terminal 900.These data are shown
Example includes the instruction of any application program or method for being operated in terminal 900, and contact data, telephone book data, disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of terminal 900.Power supply module 906 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for terminal 900.
Multimedia component 908 is included in the screen of one output interface of offer between terminal 900 and user.In some realities
Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch-screen, to receive input signal from the user.Touch panel include one or more touch sensors with
Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and
And also detection and touch or the relevant duration and pressure of slide.In certain embodiments, multimedia component 908 includes
One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when terminal 900 is in operator scheme
The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can
To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when terminal 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In certain embodiments, audio component 910 further includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor component 914 includes one or more sensors, and the state for providing various aspects for terminal 900 is commented
Estimate.For example, sensor component 914 can detect opening/closed mode of terminal 900, the relative positioning of component, such as component
For the display and keypad of terminal 900, sensor component 914 can be with the position of 900 1 components of detection terminal 900 or terminal
Put change, the existence or non-existence that user contacts with terminal 900,900 orientation of terminal or the temperature of acceleration/deceleration and terminal 900
Change.Sensor component 914 can include proximity sensor, be configured to detect without any physical contact near
The presence of object.Sensor component 914 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging
With middle use.In certain embodiments, which can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between terminal 900 and other equipment.Terminal
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, communication component 916 further includes near-field communication (NFC) module, to promote junction service.For example,
Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module
(BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 900 can be believed by one or more application application-specific integrated circuit (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned acquisition authorization of service letter
Breath method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of terminal 900.For example,
Non-transitorycomputer readable storage medium can be read-only memory (ROM), random access memory (RAM), read-only optical disc
(CD-ROM), tape, floppy disk and optical data storage devices etc..
Figure 10 is a kind of block diagram of acquisition service authorization information device 1000 according to an exemplary embodiment.Example
Such as, device 1000 may be provided as a server.With reference to Figure 10, device 1000 includes processing component 1022, it is further wrapped
One or more processors are included, and as the memory resource representated by memory 1032, can be by processing component for storing
The instruction of 1022 execution, such as application program.The application program stored in memory 1032 can include one or one with
On each correspond to the module of one group of instruction.In addition, processing component 1022 is configured as execute instruction, to perform above-mentioned obtain
Take service authorization information method.
Device 1000 can also include a power supply module 1026 and be configured as the power management of executive device 1000, one
Wired or wireless network interface 1050 is configured as device 1000 being connected to network, and input and output (I/O) interface
1058.Device 1000 can be operated based on the operating system for being stored in memory 1032, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of computer-readable recording medium for being stored with computer program, example are additionally provided
The memory of computer program is such as stored with, above computer program realizes the side in above-described embodiment when being executed by processor
Method.For example, computer-readable recording medium can be read-only memory (ROM), random access memory (RAM), read-only optical disc
(CD-ROM), tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.
Claims (21)
- A kind of 1. method for obtaining service authorization information, it is characterised in that the method is applied to sound collection equipment, the side Method includes:Receive phonetic order;According to the phonetic order, pending service is determined;When the definite sound collection equipment is not by the authorization of service, pass through the end bound with the sound collection equipment The interaction at end, obtains the authorization message of the service.
- 2. method according to claim 1, it is characterised in that it is described according to the phonetic order, determine pending service Including:Speech recognition is carried out to the phonetic order, obtains the voice content of the phonetic order;From correspondence of the pre-set voice content with service, acquisition service corresponding with the voice content, which is used as, to be treated The service of execution.
- 3. method according to claim 1, it is characterised in that after the definite pending service, the method is also wrapped Include:The first access request is sent to server, the server is the corresponding server of the service;Receive the request feedback message that the server returns;When carrying specified configured information in the request feedback message, determine the sound collection equipment not by the service Authorize, the specified configured information is used to indicate do not have the authorization message or authorization message mistake in the sound collection equipment Phase.
- 4. method according to claim 1, it is characterised in that after the definite pending service, the method is also wrapped Include:Whether when being stored with the authorization message of the service in the sound collection equipment, it is expired to detect the authorization message, When the authorization message is out of date, it is determined that the sound collection equipment is not by the authorization of service;When not being stored with the authorization message of the service in the sound collection equipment, the sound collection equipment is determined not By the authorization of service.
- 5. method according to claim 1, it is characterised in that described by the terminal bound with the sound collection equipment Interaction, obtaining the authorization message of the service includes:Play cuing audio file, the prompting audio file are used for instruction user in the client to the sound collection Equipment is authorized, and/or, to the terminal on the corresponding client of the service send sending out notice, the sending out notice The authorization page of the service is shown in the client for instruction;Receive the authorization message that the terminal is sent.
- 6. method according to claim 1, it is characterised in that described when the definite sound collection equipment is not by the clothes When business authorizes, pass through interacting for the terminal bound with the sound collection equipment, after the authorization message for obtaining the service, institute The method of stating further includes:Store the authorization message of the service;According to the phonetic order, the second access request is sent to the server, second access request carries the clothes The authorization message of business;The service data that the server returns is received, and the service data is converted into audio file and is played out.
- A kind of 7. method for obtaining service authorization information, it is characterised in that the method is applied to terminal, the described method includes:Show the mandate interface of client, the mandate interface is used to carry out authorization of service to sound collection equipment;When detecting in the Authorized operation at the mandate interface, the log-on message for treating authorization service is sent to server;Receive the authorization message for the service that the server returns;The authorization message is sent to the sound collection equipment.
- 8. method according to claim 7, it is characterised in that before the mandate interface of the display client, the method Further include:The sending out notice that the sound collection equipment is sent is received, the sending out notice is used to indicate to show in the client The authorization page of the service;The step of responding the sending out notice, performing the mandate interface of the display client.
- 9. method according to claim 7, it is characterised in that described to work as the Authorized operation detected at the mandate interface When, the log-on message for treating authorization service, which is sent to server, to be included:When detecting in the Authorized operation at the mandate interface, the stored log-on message of the client is obtained, by described in Treat that the log-on message of authorization service is sent to server;Or,When detecting in the Authorized operation at the mandate interface, there is provided log-on message input page, will be believed by described log in The log-on message that breath input page is got is sent to server.
- 10. a kind of device for obtaining service authorization information, it is characterised in that described device is applied to sound collection equipment, described Device includes:Command reception module, for receiving phonetic order;Determining module, for according to the phonetic order, determining pending service;Acquisition module, for when the definite sound collection equipment is not by the authorization of service, by being adopted with the sound Collect the interaction of the terminal of apparatus bound, obtain the authorization message of the service.
- 11. device according to claim 10, it is characterised in that the determining module includes:Identify submodule, for carrying out speech recognition to the phonetic order, obtain the voice content of the phonetic order;Acquisition submodule, for from correspondence of the pre-set voice content with service, obtaining and the voice content Corresponding service is as pending service.
- 12. device according to claim 10, it is characterised in that described device further includes:First sending module, for sending the first access request to server, the server is the corresponding service of the service Device;Feedback reception module, the request feedback message returned for receiving the server;Judgment module, for when carrying specified configured information in the request feedback message, determining the sound collection equipment Not by the authorization of service, the specified configured information is used to indicate do not have the authorization message in the sound collection equipment Or authorization message is out of date.
- 13. device according to claim 10, it is characterised in that described device further includes:Detection module, for when being stored with the authorization message of the service in the sound collection equipment, detecting the mandate Whether information is expired, when the authorization message is out of date, it is determined that the sound collection equipment is not by the authorization of service;The detection module, for when not being stored with the authorization message of the service in the sound collection equipment, determining institute Sound collection equipment is stated not by the authorization of service.
- 14. device according to claim 10, it is characterised in that the acquisition module includes:Submodule is played, for play cuing audio file, the prompting audio file is used for instruction user in the client On the sound collection equipment is authorized, and/or, sending out notice submodule, in the terminal it is described service pair The client answered sends sending out notice, and the sending out notice is used to indicate the mandate page for showing the service in the client Face;Receiving submodule, the authorization message sent for receiving the terminal.
- 15. device according to claim 10, it is characterised in that described device further includes:Memory module, for storing the authorization message of the service;Second sending module, for according to the phonetic order, sending the second access request to server, second access please Seek the authorization message for carrying the service;Playing module is serviced, the service data returned for receiving the server, and the service data is converted into audio File plays out.
- 16. a kind of device for obtaining service authorization information, it is characterised in that described device is applied to terminal, and described device includes:Display module, for showing the mandate interface of client, the mandate interface is used to be serviced to sound collection equipment Authorize;First sending module, for when detecting in the Authorized operation at the mandate interface, the login for treating authorization service to be believed Breath is sent to server;Receiving module, the authorization message of the service returned for receiving the server;Second sending module, for sending the authorization message to the sound collection equipment.
- 17. according to claim 16 described device, it is characterised in that described device further includes:Notify receiving module, the sending out notice sent for receiving the sound collection equipment, the sending out notice is used to indicate The authorization page of the service is shown in the client;Respond module, responds the sending out notice, the step of performing the mandate interface of the display client.
- 18. according to claim 16 described device, it is characterised in that first sending module includes:Acquisition submodule, for when detecting in the Authorized operation at the mandate interface, it is stored to obtain the client Log-on message, the log-on message for treating authorization service is sent to server;Or,Input submodule, for when detecting in the Authorized operation at the mandate interface, there is provided log-on message input page, will The log-on message got by the log-on message input page is sent to server.
- 19. a kind of sound collection equipment, it is characterised in that the sound collection equipment includes:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:Receive phonetic order;According to the phonetic order, pending service is determined;When the definite sound collection equipment is not by the authorization of service, pass through the end bound with the sound collection equipment The interaction at end, obtains the authorization message of the service.
- 20. a kind of terminal, it is characterised in that the terminal includes:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:Show the mandate interface of client, the mandate interface is used to carry out authorization of service to sound collection equipment;When detecting in the Authorized operation at the mandate interface, the log-on message for treating authorization service is sent to server;Receive the authorization message for the service that the server returns;The authorization message is sent to the sound collection equipment.
- 21. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium memory contains computer Program, the computer program realize claim 1-9 any one of them method and steps when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711273101.6A CN107911386B (en) | 2017-12-06 | 2017-12-06 | Method and device for acquiring service authorization information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711273101.6A CN107911386B (en) | 2017-12-06 | 2017-12-06 | Method and device for acquiring service authorization information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107911386A true CN107911386A (en) | 2018-04-13 |
CN107911386B CN107911386B (en) | 2020-12-04 |
Family
ID=61854591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711273101.6A Active CN107911386B (en) | 2017-12-06 | 2017-12-06 | Method and device for acquiring service authorization information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107911386B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108694946A (en) * | 2018-05-09 | 2018-10-23 | 四川斐讯信息技术有限公司 | A kind of speaker control method and system |
CN109117235A (en) * | 2018-08-24 | 2019-01-01 | 腾讯科技(深圳)有限公司 | A kind of business data processing method, device and relevant device |
CN109491792A (en) * | 2018-11-13 | 2019-03-19 | 北京车和家信息技术有限公司 | A kind of page backing method, device and gateway |
CN109582872A (en) * | 2018-12-04 | 2019-04-05 | 北京羽扇智信息科技有限公司 | A kind of information-pushing method, device, electronic equipment and storage medium |
CN109583180A (en) * | 2018-11-29 | 2019-04-05 | 北京小米移动软件有限公司 | Management method, device, equipment and the storage medium of intelligent sound box |
CN110334500A (en) * | 2019-06-28 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | Authority control method, device, intelligent sound box and the storage medium of intelligent sound box |
CN110971617A (en) * | 2019-12-24 | 2020-04-07 | 苏州思必驰信息科技有限公司 | Voice equipment authorization method, authentication method and system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338193A (en) * | 2013-06-14 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Method, system and device for initial media equipment |
CN104168270A (en) * | 2014-07-31 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Identity verifying method, server, client side and system |
CN104519207A (en) * | 2014-12-08 | 2015-04-15 | 广东欧珀移动通信有限公司 | Method and device for controlling intelligent terminal |
CN104618780A (en) * | 2014-10-23 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Method and system for controlling electrical apparatus |
CN104778946A (en) * | 2014-01-10 | 2015-07-15 | 中国电信股份有限公司 | Voice control method and system |
WO2016192369A1 (en) * | 2015-06-03 | 2016-12-08 | 深圳市轻生活科技有限公司 | Voice interaction method and system, and intelligent voice broadcast terminal |
CN106448678A (en) * | 2012-05-29 | 2017-02-22 | 三星电子株式会社 | Method and apparatus for executing voice command in electronic device |
CN106683677A (en) * | 2015-11-06 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Method and device for recognizing voice |
CN107277153A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | Method, device and server for providing voice service |
-
2017
- 2017-12-06 CN CN201711273101.6A patent/CN107911386B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106448678A (en) * | 2012-05-29 | 2017-02-22 | 三星电子株式会社 | Method and apparatus for executing voice command in electronic device |
CN103338193A (en) * | 2013-06-14 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Method, system and device for initial media equipment |
CN104778946A (en) * | 2014-01-10 | 2015-07-15 | 中国电信股份有限公司 | Voice control method and system |
CN104168270A (en) * | 2014-07-31 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Identity verifying method, server, client side and system |
CN104618780A (en) * | 2014-10-23 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Method and system for controlling electrical apparatus |
CN104519207A (en) * | 2014-12-08 | 2015-04-15 | 广东欧珀移动通信有限公司 | Method and device for controlling intelligent terminal |
WO2016192369A1 (en) * | 2015-06-03 | 2016-12-08 | 深圳市轻生活科技有限公司 | Voice interaction method and system, and intelligent voice broadcast terminal |
CN106683677A (en) * | 2015-11-06 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Method and device for recognizing voice |
CN107277153A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | Method, device and server for providing voice service |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108694946A (en) * | 2018-05-09 | 2018-10-23 | 四川斐讯信息技术有限公司 | A kind of speaker control method and system |
CN109117235A (en) * | 2018-08-24 | 2019-01-01 | 腾讯科技(深圳)有限公司 | A kind of business data processing method, device and relevant device |
CN109117235B (en) * | 2018-08-24 | 2019-11-05 | 腾讯科技(深圳)有限公司 | A kind of business data processing method, device and relevant device |
WO2020038145A1 (en) * | 2018-08-24 | 2020-02-27 | 腾讯科技(深圳)有限公司 | Service data processing method and apparatus, and related device |
US11404052B2 (en) | 2018-08-24 | 2022-08-02 | Tencent Technology (Shenzhen) Company Limited | Service data processing method and apparatus and related device |
CN109491792A (en) * | 2018-11-13 | 2019-03-19 | 北京车和家信息技术有限公司 | A kind of page backing method, device and gateway |
CN109583180A (en) * | 2018-11-29 | 2019-04-05 | 北京小米移动软件有限公司 | Management method, device, equipment and the storage medium of intelligent sound box |
CN109582872A (en) * | 2018-12-04 | 2019-04-05 | 北京羽扇智信息科技有限公司 | A kind of information-pushing method, device, electronic equipment and storage medium |
CN110334500A (en) * | 2019-06-28 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | Authority control method, device, intelligent sound box and the storage medium of intelligent sound box |
CN110334500B (en) * | 2019-06-28 | 2022-04-12 | 百度在线网络技术(北京)有限公司 | Authority control method and device of intelligent sound box, intelligent sound box and storage medium |
CN110971617A (en) * | 2019-12-24 | 2020-04-07 | 苏州思必驰信息科技有限公司 | Voice equipment authorization method, authentication method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107911386B (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107911386A (en) | Obtain the method and device of service authorization information | |
CN104270404B (en) | A kind of login method and device based on terminal iidentification | |
CN103916233B (en) | A kind of information ciphering method and device | |
CN104937603B (en) | terminal, unlocking method and program | |
CN103477342B (en) | Device access using voice authentication | |
CN105654302B (en) | Payment method and device | |
CN104950838B (en) | network account binding method and device | |
CN106528081A (en) | Method and device for operation execution | |
CN105068467B (en) | Control the method and device of smart machine | |
CN104282064B (en) | Gate inhibition's answer method and device | |
CN107769881A (en) | Information synchronization method, apparatus and system, storage medium | |
CN107767864A (en) | Method, apparatus and mobile terminal based on voice sharing information | |
CN108710791A (en) | The method and device of voice control | |
CN107748991A (en) | Account safety management method and device | |
CN104217328A (en) | Multi-verification payment method and multi-verification payment device | |
CN108111667A (en) | A kind of communication information encryption method, device and electronic equipment | |
CN106990903A (en) | Display and the method and device of hide application program | |
CN104537526B (en) | Method, terminal and the device of numerical value transfer | |
CN105095372A (en) | Method and apparatus for obtaining search result | |
CN107257555A (en) | Method for network access and device | |
CN106656746A (en) | Information output method and device | |
CN107341657A (en) | Payment process method, apparatus and terminal based on application program | |
CN107205198A (en) | The unlocking method and a device of microphone | |
CN105119815B (en) | The method and device of music is realized in instant communication interface | |
CN107404429A (en) | Circle of friends answering method, device and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |