CN110334500B - Authority control method and device of intelligent sound box, intelligent sound box and storage medium - Google Patents

Authority control method and device of intelligent sound box, intelligent sound box and storage medium Download PDF

Info

Publication number
CN110334500B
CN110334500B CN201910578984.4A CN201910578984A CN110334500B CN 110334500 B CN110334500 B CN 110334500B CN 201910578984 A CN201910578984 A CN 201910578984A CN 110334500 B CN110334500 B CN 110334500B
Authority
CN
China
Prior art keywords
authority
permission
authorization
target
voice 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.)
Active
Application number
CN201910578984.4A
Other languages
Chinese (zh)
Other versions
CN110334500A (en
Inventor
唐欢
武良呈
袁鹏
王家乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
百度在线网络技术(北京)有限公司
上海小度技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百度在线网络技术(北京)有限公司, 上海小度技术有限公司 filed Critical 百度在线网络技术(北京)有限公司
Priority to CN201910578984.4A priority Critical patent/CN110334500B/en
Publication of CN110334500A publication Critical patent/CN110334500A/en
Application granted granted Critical
Publication of CN110334500B publication Critical patent/CN110334500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides an authority control method and device of an intelligent sound box, the intelligent sound box and a storage medium, wherein the method comprises the following steps: acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission; determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type; determining a first authorization mode according to the corresponding relation between the authority type of the target authority and the preset authority type and the authorization mode, wherein the first authorization mode is an authorization mode corresponding to the authority type of the target authority; and playing a voice message, wherein the voice message is used for indicating a user to carry out authorization operation on the target permission according to the first authorization mode. According to the embodiment of the invention, the authority of the skill of the intelligent sound box can be authorized by adopting different authorization modes according to the type of the authority, so that the leakage of the privacy information of a user can be avoided, and the information security of the intelligent sound box is improved.

Description

Authority control method and device of intelligent sound box, intelligent sound box and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a permission control method and device of an intelligent sound box, the intelligent sound box and a storage medium.
Background
At present, the skill of the intelligent sound box is more and more. For example, the skills may be shopping, reminders, social interactions, maps, live broadcasts, and the like. When providing corresponding voice interaction service for a user, the skill needs to acquire information of the user to meet the requirements of the user.
In the prior art, after a certain skill is started by an intelligent sound box, if the skill needs to acquire user information, the related user information can be directly acquired from the intelligent sound box.
However, in the prior art, the skill directly obtains the relevant user information from the smart sound box, which easily causes the leakage of the user privacy information and affects the information security of the user.
Disclosure of Invention
The embodiment of the invention provides an authority control method and device for an intelligent sound box, the intelligent sound box and a storage medium, and aims to solve the problems that privacy information of a user of the existing intelligent sound box is easy to leak and information safety hidden danger exists.
In a first aspect, an embodiment of the present invention provides a method for controlling an authority of an intelligent sound box, including:
acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service;
determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type;
determining a first authorization mode according to the corresponding relation between the authority type of the target authority and the preset authority type and authorization mode, wherein the first authorization mode is an authorization mode corresponding to the authority type of the target authority;
and playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode.
In one possible implementation, the permission type includes a designated account permission and an independent account permission;
the playing the voice message comprises:
when the authority type of the target authority is the designated account authority, playing a first voice message, wherein the first voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the independent account authority, playing a second voice message, wherein the second voice message is used for indicating a user to carry out authorization operation on the target authority through terminal equipment.
In one possible embodiment, the playing the second voice message includes:
generating an identification code corresponding to the target authority, displaying the identification code on a screen of the intelligent sound box and/or sending the identification code to the terminal equipment, and playing the second voice message;
and the second voice message is used for indicating a user to scan the identification code on the screen of the intelligent sound box and/or on the terminal equipment through the terminal equipment and carrying out authorization operation on the target permission.
In one possible embodiment, after the playing the second voice message, the method further comprises:
if a confirmation instruction sent by the terminal equipment is received, authorizing the target authority, and prompting a user to authorize the target authority successfully through voice, wherein the confirmation instruction is used for indicating the intelligent sound box to authorize the target authority;
and if a rejection instruction sent by the terminal equipment is received, prompting that the user fails to authorize the target authority through voice, wherein the rejection instruction is used for indicating that the intelligent sound box forbids authorization of the target authority.
In one possible embodiment, the permission type includes notification permission;
the playing the voice message comprises:
and when the authority type of the target authority is the notification authority, playing a third voice message, wherein the third voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
In one possible embodiment, the permission types include a low risk privacy permission and a high risk privacy permission;
the playing the voice message comprises:
when the authority type of the target authority is the low-risk privacy authority, playing a fourth voice message, wherein the fourth voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to carry out authorization operation on the target authority through the terminal equipment.
In a possible implementation manner, the sending authorization request information including the target authority to a terminal device includes:
sending authorization request information containing the target authority to an application program corresponding to the intelligent sound box on terminal equipment;
and the fifth voice message is used for indicating a user to carry out authorization operation on the target permission through an application program corresponding to the intelligent sound box on the terminal equipment.
In one possible embodiment, after the playing the voice message, the method further comprises:
if a first authorization confirmation message of the user is received, authorizing the target authority and playing a sixth voice message, wherein the sixth voice message is used for prompting the user that the authorization of the target authority is successful;
and if an authorization refusing message of the user is received or a reply message of the user is not received after the preset time, playing a seventh voice message, wherein the seventh voice message is used for prompting the user that the authorization of the target authority fails.
In one possible embodiment, before acquiring the request for permission of the skill service, the method further comprises:
receiving a running voice message of a user, wherein the running voice message is used for instructing the smart sound box to run the skill service;
after the playing the voice message, the method further comprises:
and if a second confirmation authorization message of the user is received, operating the skill service.
In one possible embodiment, the method further comprises:
displaying an authority setting interface on a screen of the intelligent sound box;
and receiving an authority setting instruction input on the authority setting interface by a user, and setting the authority of the skill service indicated by the authority setting instruction.
In a second aspect, an embodiment of the present invention provides an authority control device for a smart speaker, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a permission request of skill service, the permission request comprises a permission identifier of target permission, and the target permission is the permission requested by the skill service;
the first processing module is used for determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type;
the second processing module is used for determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority;
and the playing module is used for playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to authorize the target authority according to the first authorization mode.
In one possible implementation, the permission type includes a designated account permission and an independent account permission;
the playing module is specifically configured to:
when the authority type of the target authority is the designated account authority, playing a first voice message, wherein the first voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the independent account authority, playing a second voice message, wherein the second voice message is used for indicating a user to carry out authorization operation on the target authority through terminal equipment.
In a possible implementation manner, the playing module is specifically configured to:
generating an identification code corresponding to the target authority, displaying the identification code on a screen of the intelligent sound box and/or sending the identification code to the terminal equipment, and playing the second voice message;
and the second voice message is used for indicating a user to scan the identification code on the screen of the intelligent sound box and/or on the terminal equipment through the terminal equipment and carrying out authorization operation on the target permission.
In a possible implementation manner, the playing module is further configured to:
after the second voice message is played, if a confirmation instruction sent by the terminal device is received, authorizing the target authority, and prompting a user to authorize the target authority successfully through voice, wherein the confirmation instruction is used for indicating the intelligent sound box to authorize the target authority;
and if a rejection instruction sent by the terminal equipment is received, prompting that the user fails to authorize the target authority through voice, wherein the rejection instruction is used for indicating that the intelligent sound box forbids authorization of the target authority.
In one possible embodiment, the permission type includes notification permission;
the playing module is specifically configured to:
and when the authority type of the target authority is the notification authority, playing a third voice message, wherein the third voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
In one possible embodiment, the permission types include a low risk privacy permission and a high risk privacy permission;
the playing module is specifically configured to:
when the authority type of the target authority is the low-risk privacy authority, playing a fourth voice message, wherein the fourth voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to carry out authorization operation on the target authority through the terminal equipment.
In a possible implementation manner, the playing module is specifically configured to:
sending authorization request information containing the target authority to an application program corresponding to the intelligent sound box on terminal equipment;
and the fifth voice message is used for indicating a user to carry out authorization operation on the target permission through an application program corresponding to the intelligent sound box on the terminal equipment.
In a possible implementation manner, the playing module is further configured to: after the voice message is played, if a first authorization confirmation message of the user is received, authorizing the target authority, and playing a sixth voice message, wherein the sixth voice message is used for prompting the user that the authorization of the target authority is successful;
and if an authorization refusing message of the user is received or a reply message of the user is not received after the preset time, playing a seventh voice message, wherein the seventh voice message is used for prompting the user that the authorization of the target authority fails.
In a possible implementation, the apparatus further includes a receiving module, configured to:
before acquiring an authority request of skill service, receiving a running voice message of a user, wherein the running voice message is used for indicating the intelligent sound box to run the skill service;
and after the voice message is played, if a second confirmation authorization message of the user is received, operating the skill service.
In a possible implementation, the apparatus further includes a setting module, configured to:
displaying an authority setting interface on a screen of the intelligent sound box;
and receiving an authority setting instruction input on the authority setting interface by a user, and setting the authority of the skill service indicated by the authority setting instruction.
In a third aspect, an embodiment of the present invention provides a smart speaker, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method for controlling the permission of the smart sound box according to the first aspect and various possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the method for controlling the permission of the smart speaker according to the first aspect and various possible implementations of the first aspect is implemented.
According to the permission control method and device for the intelligent sound box, the intelligent sound box and the storage medium, the permission request of the skill service is obtained, wherein the permission request comprises the permission identification of the target permission, and the target permission is the permission requested by the skill service; determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type; determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority; and playing a voice message, wherein the voice message comprises an authority identifier of the target authority and a first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode. According to the method and the device, the corresponding authorization mode is determined according to the authority type of the target authority, the user is prompted to authorize according to the corresponding authorization mode through the voice message, the authority of the skill of the intelligent sound box can be authorized by adopting different authorization modes according to the authority type, leakage of privacy information of the user can be avoided, and the information safety of the intelligent sound box is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an authority control system of an intelligent sound box according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for controlling permission of an intelligent sound box according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for controlling permission of a smart sound box according to another embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for controlling authority of a smart sound box according to another embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a method for controlling authority of a smart sound box according to still another embodiment of the present invention;
fig. 6 is a schematic flow chart of a method for controlling permission of an intelligent sound box according to a next embodiment of the present invention;
fig. 7 is a schematic structural diagram of an authority control device of an intelligent sound box according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an authority control device of a smart sound box according to another embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of the smart sound box according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an authority control system of an intelligent sound box according to an embodiment of the present invention. As shown in fig. 1, the authority control system of the smart sound box provided in this embodiment includes a smart sound box 11 and a terminal device 12. The smart sound box 11 may be a smart sound box with a screen or a smart sound box without a screen, which is not limited herein. The terminal device 12 may be a mobile phone, a tablet computer, etc., and is not limited herein.
And the smart sound box 11 provides corresponding voice interaction service for the user through the operation skill service. For example, the skill server may be shopping, reminders, social contacts, maps, live broadcasts, interactions, cameras, etc., and is not limited thereto. When the skill service provides corresponding voice interaction service for the user, the use authority of data, such as account information, address, notification, address book, camera of the device, microphone, use authority of geographic location, and the like, needs to be acquired. The smart sound box 11 can provide a permission setting mode for the skill service for the user through voice interaction with the user, or in combination with communication with the terminal device 12 and voice interaction with the user, so that the user can authorize or not authorize the permission of the skill request according to the requirement, thereby ensuring the security of the user information. The smart speaker 11 may directly communicate with the terminal device 12, or the smart speaker 11 communicates with the terminal device through information forwarding of a server, which is not limited herein.
Fig. 2 is a schematic flow chart of an authority control method of an intelligent sound box according to an embodiment of the present invention. As shown in fig. 2, the method includes:
s201, acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service.
In this embodiment, the smart speaker provides a corresponding voice interaction service to the user through the skill service. When the skill service of the intelligent sound box is started or in the skill service running process, the intelligent sound box can obtain the authority request of the skill service. The permission request may be a service actively requested by the skill service when the skill service needs to use a certain permission in the starting or running process, or may be a service actively requested by the smart speaker to obtain a certain permission of the skill service, which is not limited herein. The target permission is the permission requested by the skill service. For example, the target permissions may include, but are not limited to, one or more of account information, message push, geographic location, user address, camera, photo album, address book, and the like, and are not limited thereto. The authority identifier of the target authority may be a name, a number, and the like of the target authority, and is not limited herein.
S202, determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
In this embodiment, the authority type may be set according to actual requirements, and is not limited herein. For example, the permission types may include, but are not limited to, a plurality of account permissions, notification permissions, privacy permissions, and the like. As another example, the permission types may include, but are not limited to, multiple of a specified account permission, an independent account permission, a notification permission, a high risk privacy permission, a low risk privacy permission, and the like. The account number authority can be subdivided into two types of designated account number authority and independent account number authority, and the privacy authority can be subdivided into two types of high-risk privacy authority and low-risk privacy authority. The designated account number authority refers to the set authority of some account numbers, and the independent account number authority refers to the authority of other third party account numbers except the designated account number.
The corresponding relationship between the preset authority identifier and the authority type can be set according to actual requirements, and is not limited herein. Wherein, a plurality of authority identifications can correspond to the same authority type. For example, the account information may correspond to account permissions; the message push may correspond to notification permissions; the geographic location, user address, camera, photo album, address book may correspond to privacy permissions. In particular, the geographic location may correspond to a low risk privacy authority and the camera, album, address book may correspond to a high risk privacy authority.
The intelligent sound box can determine the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
S203, determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority.
In this embodiment, the corresponding relationship between the preset authority type and the authorization manner may be determined according to practice, and is not limited herein. Each type of permission corresponds to a manner of authorization. The authority types and the authorization modes can be in one-to-one correspondence, and a plurality of authority types can correspond to the same authorization mode. The authorization means may include, but is not limited to, at least one of voice reply authorization, terminal device code scanning authorization, terminal device reply authorization, and the like.
The intelligent sound box can determine the corresponding authorization mode according to the permission type of the target permission and the corresponding relation between the preset permission type and the authorization mode.
S204, playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to authorize the target authority according to the first authorization mode.
In this embodiment, the smart speaker may prompt the user to perform an authorization operation on the target permission according to what authorization manner through the voice message, so as to guide the user to perform corresponding authorization. The specific form of the voice message is not limited herein. For example, the voice message may be: skill A needs to use account authority A1, and please scan a two-dimensional code on a screen for authorization; or skill B needs to use privacy authority B1 to please open the sound box application on the terminal equipment for authorization; alternatively, skill C requires whether to turn on the notification authority using notification authority C1. And the intelligent sound box authorizes and denies the authorization of the target authority according to the reply of the user.
In the embodiment, a permission request of the skill service is acquired, wherein the permission request includes a permission identifier of a target permission, and the target permission is a permission requested by the skill service; determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type; determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority; and playing a voice message, wherein the voice message comprises an authority identifier of the target authority and a first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode. According to the method and the device, the corresponding authorization mode is determined according to the authority type of the target authority, the user is prompted to authorize according to the corresponding authorization mode through the voice message, the authority of the skill of the intelligent sound box can be authorized by adopting different authorization modes according to the authority type, leakage of privacy information of the user can be avoided, and the information safety of the intelligent sound box is improved.
Fig. 3 is a schematic flow chart of a method for controlling authority of a smart sound box according to another embodiment of the present invention. The embodiment describes in detail the specific implementation process of setting the account number authority of the smart sound box skill. In this embodiment, the permission types include a designated account permission and an independent account permission. As shown in fig. 3, the method includes:
s301, acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service.
In this embodiment, S301 is similar to S201 in the embodiment of fig. 2, and is not described here again.
S302, determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
In this embodiment, S302 is similar to S202 in the embodiment of fig. 2, and is not described here again.
S303, determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority.
In this embodiment, S303 is similar to S203 in the embodiment of fig. 2, and is not described herein again.
S304, when the authority type of the target authority is the designated account authority, playing a first voice message, wherein the first voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
In this embodiment, the specified account number permission is a permission of a pre-specified account number, and the specified account number is an account number with higher security for the smart sound box, for example, the specified account number may be an application account number issued by the same enterprise as the smart sound box, or an account number that has already established a binding relationship with the smart sound box. When the skill service request specifies the account number authority, playing a first voice message, and prompting a user to carry out authorization operation on the target authority in a voice reply mode through the first voice message.
For example, the smart speaker may emit a voice message: skill a requires the authority to use the given account a1, and if authorization is successful, the current functionality can be used, if account authorization is allowed?
The intelligence can have different treatments according to the reply situation of the user, such as:
case 1. the voice message replied by the user is: is/agree/allow/ok/authorize.
The smart sound box authorizes the specified account a1 and plays the voice: the given account number a1 has been successfully authorized.
Case 2. the voice message replied by the user is: no/no authorization/denial/no permission/no consent
Then the smart speaker does not authorize the specified account a1 and plays the voice: the account authorization fails and the skill is exited.
And 3, the user does not reply the voice message, or the intelligent sound box cannot recognize the voice of the user.
Then the smart speaker does not authorize the specified account a1 and plays the voice: if not, ask for account authorization, you can speak to me.
S305, when the authority type of the target authority is the independent account authority, playing a second voice message, wherein the second voice message is used for indicating a user to carry out authorization operation on the target authority through terminal equipment.
In this embodiment, the independent account permission is permission of a third party account other than the designated account, and the designated account is an account with lower security for the smart sound box, for example, the independent account may be an application account issued by an enterprise different from the smart sound box, or an account that has not yet established a binding relationship with the smart sound box. And when the skill service request specifies the account number authority, playing a second voice message, and prompting the user to carry out authorization operation on the target authority through the terminal equipment through the second voice message. The user can authorize the user only through a mobile phone, a tablet and other terminal equipment.
In the embodiment, the user is prompted to authorize the specified account number permission in a voice reply mode through voice, the user is prompted to authorize the independent account number permission through terminal equipment, and the specified account number permission with higher safety is directly subjected to voice authorization, so that the authorization convenience can be ensured; and the authorization of the independent account authority with lower security is authorized by the terminal equipment, so that the authorization security can be ensured.
Optionally, S305 may specifically include:
when the authority type of the target authority is the independent account authority, generating an identification code corresponding to the target authority, displaying the identification code on a screen of the intelligent sound box and/or sending the identification code to the terminal equipment, and playing the second voice message; and the second voice message is used for instructing a user to scan an identification code on a screen of the intelligent sound box and/or on the terminal equipment through the terminal equipment so as to authorize the target permission.
In this embodiment, the identification code may be a two-dimensional code, a barcode, a character string, and the like, which is not limited herein. And when the authority type of the target authority is the independent account authority, the intelligent sound box generates an identification code corresponding to the target authority. For the intelligent sound box with the screen, the intelligent sound box displays the identification code on the screen of the intelligent sound box and/or sends the identification code to the terminal equipment, so that a user can scan through the terminal equipment. For the intelligent sound box without the screen, the intelligent sound box sends the identification code to the terminal equipment so that the user can scan through the terminal equipment. And the intelligent sound box prompts a user to scan the identification code on the screen of the intelligent sound box and/or on the terminal equipment through the second voice message, and authorization operation is carried out on the target authority.
For example, the smart speaker may emit a voice message: skill A requires the authority of using an independent account A2, and requires scanning a two-dimensional code of a screen for account authorization; or skill a needs to use the authority of the independent account a2 to please open the sound box application on the terminal device for account authorization.
Optionally, after S305, the method may further include:
if a confirmation instruction sent by the terminal equipment is received, authorizing the target authority, and prompting a user to authorize the target authority successfully through voice, wherein the confirmation instruction is used for indicating the intelligent sound box to authorize the target authority;
and if a rejection instruction sent by the terminal equipment is received, prompting that the user fails to authorize the target authority through voice, wherein the rejection instruction is used for indicating that the intelligent sound box forbids authorization of the target authority.
In this embodiment, after receiving the confirmation instruction input by the user, the terminal device sends the confirmation instruction to the smart speaker. And when the intelligent sound box receives the confirmation instruction sent by the terminal equipment, authorizing the target authority, and prompting the user to authorize the target authority successfully through voice.
And after receiving the confirmation rejection command input by the user, the terminal equipment sends the rejection command to the intelligent sound box. And if the intelligent sound box receives the refusing instruction sent by the terminal equipment, the target authority is not authorized, and the user is prompted to fail in authorizing the target authority through voice.
In the embodiment, the intelligent sound box authorizes the target authority by matching with the terminal equipment, so that the authorization security can be improved, and the information security of a user is ensured.
Fig. 4 is a schematic flow chart of a method for controlling authority of a smart sound box according to another embodiment of the present invention. The embodiment describes in detail a specific implementation process for setting the notification permission of the skill of the smart sound box. In this embodiment, the permission type includes a notification permission. As shown in fig. 4, the method includes:
s401, acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service.
In this embodiment, S401 is similar to S201 in the embodiment of fig. 2, and is not described here again.
S402, determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
In this embodiment, S402 is similar to S202 in the embodiment of fig. 2, and is not described here again.
S403, determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority.
In this embodiment, S403 is similar to S203 in the embodiment of fig. 2, and is not described herein again.
S404, when the authority type of the target authority is the notification authority, playing a third voice message, wherein the third voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
In this embodiment, when the permission type of the target permission is the notification permission, the smart sound box plays a third voice message, and prompts the user to perform authorization operation on the target permission in a voice reply manner through the third voice message. And after receiving the voice replied by the user, performing corresponding authorization or refusal processing on the authority, and feeding back the processing result to the user through the voice. Because the security of the notification authority is higher, the privacy information of the user cannot be related generally, and therefore the authorization can be directly performed through voice so as to ensure the convenience of the authorization.
Fig. 5 is a schematic flow chart of an authority control method for an intelligent sound box according to still another embodiment of the present invention. The embodiment describes in detail the specific implementation process of setting the privacy authority of the intelligent sound box skill. In this embodiment, the permission types include a low-risk privacy permission and a high-risk privacy permission; as shown in fig. 5, the method includes:
s501, acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service.
In this embodiment, S501 is similar to S201 in the embodiment of fig. 2, and is not described here again.
S502, determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
In this embodiment, S502 is similar to S202 in the embodiment of fig. 2, and is not described herein again.
S503, determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority.
In this embodiment, S503 is similar to S203 in the embodiment of fig. 2, and is not described herein again.
S504, when the authority type of the target authority is the low-risk privacy authority, a fourth voice message is played, wherein the fourth voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
In this embodiment, the low-risk privacy authority is a privacy data authority with a lower importance degree. The risk of user privacy data leakage caused by the low-risk privacy authority is low. For example, the low risk privacy authority may be a location authority, a sport authority, etc., and is not limited herein. And when the authority type of the target authority is the low-risk privacy authority, the intelligent sound box plays a fourth voice message, and prompts a user to carry out authorization operation on the target authority in a voice reply mode through the fourth voice message. And after receiving the voice replied by the user, performing corresponding authorization or refusal processing on the authority, and feeding back the processing result to the user through the voice. Because the security of the low-risk privacy authority is higher, the privacy information of the user cannot be related generally, and therefore authorization can be directly performed through voice so as to guarantee the convenience of authorization.
And S505, when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to carry out authorization operation on the target authority through the terminal equipment.
In this embodiment, the high-risk privacy authority is a privacy data authority with a higher importance degree. The risk of user privacy data leakage caused by the low-risk privacy authority is high. For example, the low risk privacy authority may be a camera, a photo album, an address book, etc., and is not limited herein. And when the authority type of the target authority is the high-risk privacy authority, the intelligent sound box plays a fifth voice message, and prompts a user to carry out authorization operation on the target authority through the terminal equipment through the fifth voice message.
And after receiving the confirmation instruction input by the user, the terminal equipment sends the confirmation instruction to the intelligent sound box. And when the intelligent sound box receives the confirmation instruction sent by the terminal equipment, authorizing the target authority, and prompting the user to authorize the target authority successfully through voice.
And after receiving the confirmation rejection command input by the user, the terminal equipment sends the rejection command to the intelligent sound box. And if the intelligent sound box receives the refusing instruction sent by the terminal equipment, the target authority is not authorized, and the user is prompted to fail in authorizing the target authority through voice.
According to the embodiment, the intelligent sound box authorizes the high-risk privacy authority by matching with the terminal equipment, so that the authorization security of the high-risk privacy authority can be improved, and the information security of a user is ensured.
Optionally, S505 may specifically include:
and when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to an application program corresponding to the intelligent sound box on the terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to authorize the target authority through the application program corresponding to the intelligent sound box on the terminal equipment.
In this embodiment, the terminal device may be installed with an application program corresponding to the smart speaker, and the user may control the smart speaker through the application program corresponding to the smart speaker on the terminal device. And when the authority type of the target authority is the high-risk privacy authority, the terminal equipment sends authorization request information containing the target authority to an application program corresponding to the intelligent sound box on the terminal equipment, plays a fifth voice message, and prompts a user to authorize the target authority through the application program corresponding to the intelligent sound box on the terminal equipment through the fifth voice message.
Fig. 6 is a schematic flow chart of an authority control method of an intelligent sound box according to a next embodiment of the present invention. The embodiment describes in detail the specific implementation process of setting the privacy authority of the intelligent sound box skill. As shown in fig. 6, the method includes:
s601, acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service.
In this embodiment, S601 is similar to S201 in the embodiment of fig. 2, and is not described here again.
S602, determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type.
In this embodiment, S602 is similar to S202 in the embodiment of fig. 2, and is not described herein again.
S603, determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority.
In this embodiment, S603 is similar to S203 in the embodiment of fig. 2, and is not described here again.
S604, playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to authorize the target authority according to the first authorization mode.
In this embodiment, S604 is similar to S204 in the embodiment of fig. 2, and is not described herein again.
S605, if receiving a first authorization confirmation message of the user, authorizing the target authority, and playing a sixth voice message, wherein the sixth voice message is used for prompting the user to successfully authorize the target authority.
S606, if the authorization refusing message of the user is received or the reply message of the user is not received after the preset time, a seventh voice message is played, wherein the seventh voice message is used for prompting the user that the authorization of the target authority fails.
In this embodiment, the first confirm authorization message and the reject authorization message may be voice messages of the user, or may be confirmation messages sent by the user through the terminal device, which is not limited herein. The preset time may be set according to actual requirements, and is not limited herein. And if the intelligent sound box receives the first authorization confirmation message of the user, authorizing the target authority, playing a sixth voice message, and prompting the user to authorize the target authority successfully through the sixth voice message. And if the terminal equipment receives the authorization refusing message of the user or does not receive the reply message of the user after the preset time, playing a seventh voice message, and prompting the user that the authorization of the target authority fails through the seventh voice message. The embodiment can prompt the user of the authorization result through the voice message.
Optionally, before S601, the method further includes:
receiving a running voice message of a user, wherein the running voice message is used for instructing the smart sound box to run the skill service;
after S604, the method further includes:
and if a second confirmation authorization message of the user is received, operating the skill service.
In this embodiment, the second confirm authorization message and the first confirm authorization message may be the same message or different messages, and are not limited herein. After receiving the running voice message of the user, the intelligent loudspeaker box opens the corresponding skill service and then acquires a request of the skill service about the target skill. And determining an authorization mode corresponding to the target skill, and prompting the user to authorize the target skill according to the corresponding authorization mode through voice. And if the intelligent sound box receives a second authorization confirmation message of the user, authorizing the target skill and operating the skill service. If the intelligent sound box does not receive a second authorization confirmation message of the user, the target skill is not authorized, the intelligent sound box does not start the skill service for the skill service which needs to use the target authority to provide service for the user, and the user is prompted to fail in authorization and cannot use the skill service through voice; for the skill service which can provide service for the user without using the target authority, the intelligent loudspeaker box starts the skill service and prompts the user to fail authorization but can use the skill service through voice.
Optionally, the method further includes:
displaying an authority setting interface on a screen of the intelligent sound box;
and receiving an authority setting instruction input on the authority setting interface by a user, and setting the authority of the skill service indicated by the authority setting instruction.
In this embodiment, the user can manage and set the authority of the skill service through the authority setting interface. For the intelligent sound box with the screen, the intelligent sound box can display an authority setting interface on the screen according to the instruction of the user, then receive the authority setting instruction input by the user on the authority setting interface, and set the authority of the skill service indicated by the authority setting instruction. For the intelligent sound box without the screen, the intelligent sound box receives the permission setting information sent by the terminal equipment, and stores the permission setting information and sets corresponding permissions. The embodiment facilitates the unified management and setting of the user on the authority of the skill service through the authority setting interface, and facilitates the user operation.
In the specific implementation process, the above embodiments may be implemented individually, or a plurality of embodiments may be implemented in combination, and the method may further include other embodiments, which are not limited herein.
According to the method and the device, the user is guided to perform related authorization operation when the user uses the intelligent sound box through voice, so that the user can perform related authorization operation conveniently; authorization is performed on different accounts in different modes, so that the account authorization process is convenient and safe to authorize; by performing different authorization modes on the low-risk privacy authority and the high-risk privacy authority, the security is improved while the authorization convenience is ensured, and other users who are not administrators are prevented from performing important privacy authorization; through the permission setting interface, developers and users can conveniently and uniformly manage the permissions of corresponding skills.
In the embodiment, a permission request of the skill service is acquired, wherein the permission request includes a permission identifier of a target permission, and the target permission is a permission requested by the skill service; determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type; determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority; and playing a voice message, wherein the voice message comprises an authority identifier of the target authority and a first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode. According to the method and the device, the corresponding authorization mode is determined according to the authority type of the target authority, the user is prompted to authorize according to the corresponding authorization mode through the voice message, the authority of the skill of the intelligent sound box can be authorized by adopting different authorization modes according to the authority type, leakage of privacy information of the user can be avoided, and the information safety of the intelligent sound box is improved.
Fig. 7 is a schematic structural diagram of an authority control device of an intelligent sound box according to an embodiment of the present invention. As shown in fig. 7, the permission control device 70 of the smart speaker includes: an obtaining module 701, a first processing module 702, a second processing module 703 and a playing module 704.
An obtaining module 701, configured to obtain a permission request of a skill service, where the permission request includes a permission identifier of a target permission, and the target permission is a permission requested by the skill service;
a first processing module 702, configured to determine a permission type of the target permission according to a permission identifier of the target permission and a corresponding relationship between a preset permission identifier and the permission type;
a second processing module 703, configured to determine a first authorization manner according to the permission type of the target permission and a corresponding relationship between a preset permission type and an authorization manner, where the first authorization manner is an authorization manner corresponding to the permission type of the target permission;
a playing module 704, configured to play a voice message, where the voice message includes the authority identifier of the target authority and the first authorization manner, and the voice message is used to instruct a user to authorize the target authority according to the first authorization manner.
In the embodiment, a permission request of the skill service is acquired, wherein the permission request includes a permission identifier of a target permission, and the target permission is a permission requested by the skill service; determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type; determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority; and playing a voice message, wherein the voice message comprises an authority identifier of the target authority and a first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode. According to the method and the device, the corresponding authorization mode is determined according to the authority type of the target authority, the user is prompted to authorize according to the corresponding authorization mode through the voice message, the authority of the skill of the intelligent sound box can be authorized by adopting different authorization modes according to the authority type, leakage of privacy information of the user can be avoided, and the information safety of the intelligent sound box is improved.
Fig. 8 is a schematic structural diagram of an authority control device of a smart sound box according to another embodiment of the present invention. As shown in fig. 8, the permission control device 70 for a smart sound box provided in this embodiment may further include, on the basis of the inspection device provided in the embodiment shown in fig. 7: a receiving module 705 and a setting module 706.
Optionally, the permission type includes a designated account permission and an independent account permission;
the playing module 704 is specifically configured to:
when the authority type of the target authority is the designated account authority, playing a first voice message, wherein the first voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the independent account authority, playing a second voice message, wherein the second voice message is used for indicating a user to carry out authorization operation on the target authority through terminal equipment.
Optionally, the playing module 704 is specifically configured to:
generating an identification code corresponding to the target authority, displaying the identification code on a screen of the intelligent sound box and/or sending the identification code to the terminal equipment, and playing the second voice message; and the second voice message is used for instructing a user to scan an identification code on a screen of the intelligent sound box and/or on the terminal equipment through the terminal equipment so as to authorize the target permission.
Optionally, the playing back module 704 is further configured to:
after the second voice message is played, if a confirmation instruction sent by the terminal device is received, authorizing the target authority, and prompting a user to authorize the target authority successfully through voice, wherein the confirmation instruction is used for indicating the intelligent sound box to authorize the target authority;
and if a rejection instruction sent by the terminal equipment is received, prompting that the user fails to authorize the target authority through voice, wherein the rejection instruction is used for indicating that the intelligent sound box forbids authorization of the target authority.
Optionally, the permission type comprises notification permission;
the playing module 704 is specifically configured to:
and when the authority type of the target authority is the notification authority, playing a third voice message, wherein the third voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
Optionally, the permission types include a low-risk privacy permission and a high-risk privacy permission;
the playing module 704 is specifically configured to:
when the authority type of the target authority is the low-risk privacy authority, playing a fourth voice message, wherein the fourth voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to carry out authorization operation on the target authority through the terminal equipment.
Optionally, the playing module 704 is specifically configured to:
sending authorization request information containing the target authority to an application program corresponding to the intelligent sound box on terminal equipment; and the fifth voice message is used for indicating a user to authorize the target permission through an application program corresponding to the intelligent sound box on the terminal equipment.
Optionally, the playing back module 704 is further configured to: after the voice message is played, if a first authorization confirmation message of the user is received, authorizing the target authority, and playing a sixth voice message, wherein the sixth voice message is used for prompting the user that the authorization of the target authority is successful;
and if an authorization refusing message of the user is received or a reply message of the user is not received after the preset time, playing a seventh voice message, wherein the seventh voice message is used for prompting the user that the authorization of the target authority fails.
Optionally, the receiving module 705 is configured to:
before acquiring an authority request of skill service, receiving a running voice message of a user, wherein the running voice message is used for indicating the intelligent sound box to run the skill service;
and after the voice message is played, if a second confirmation authorization message of the user is received, operating the skill service.
Optionally, the setting module 706 is configured to:
displaying an authority setting interface on a screen of the intelligent sound box;
and receiving an authority setting instruction input on the authority setting interface by a user, and setting the authority of the skill service indicated by the authority setting instruction.
The permission control device of the intelligent sound box provided by the embodiment of the invention can be used for executing the method embodiment, the realization principle and the technical effect are similar, and the embodiment is not repeated.
Fig. 9 is a schematic diagram of a hardware structure of the smart sound box according to an embodiment of the present invention. As shown in fig. 9, the smart sound box 90 provided in this embodiment includes: at least one processor 901 and memory 902. The smart speaker 90 also includes a communication component 903. The processor 901, the memory 902, and the communication section 903 are connected by a bus 904.
In a specific implementation process, the at least one processor 901 executes the computer execution instructions stored in the memory 902, so that the at least one processor 901 executes the above method for controlling the authority of the smart speaker.
For a specific implementation process of the processor 901, reference may be made to the above method embodiments, which implement principles and technical effects are similar, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 9, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The application also provides a computer-readable storage medium, wherein a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the authority control method of the intelligent sound box is realized.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. An authority control method of an intelligent sound box is characterized by comprising the following steps:
acquiring a permission request of skill service, wherein the permission request comprises a permission identifier of a target permission, and the target permission is the permission requested by the skill service;
determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type;
determining a first authorization mode according to the corresponding relation between the authority type of the target authority and the preset authority type and authorization mode, wherein the first authorization mode is an authorization mode corresponding to the authority type of the target authority; each authority type corresponds to one authorization mode, or a plurality of authority types correspond to the same authorization mode, wherein the authorization modes comprise at least one of voice reply authorization, terminal equipment code scanning authorization and terminal equipment reply authorization; the permission types comprise a designated account permission, an independent account permission, a notification permission, a low-risk privacy permission and a high-risk privacy permission;
and playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to carry out authorization operation on the target authority according to the first authorization mode.
2. The method of claim 1, wherein if the permission types include a designated account permission and an independent account permission;
the playing the voice message comprises:
when the authority type of the target authority is the designated account authority, playing a first voice message, wherein the first voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the independent account authority, playing a second voice message, wherein the second voice message is used for indicating a user to carry out authorization operation on the target authority through terminal equipment.
3. The method of claim 2, wherein playing the second voice message comprises:
generating an identification code corresponding to the target authority, displaying the identification code on a screen of the intelligent sound box and/or sending the identification code to the terminal equipment, and playing the second voice message; and the second voice message is used for instructing a user to scan an identification code on a screen of the intelligent sound box and/or on the terminal equipment through the terminal equipment so as to authorize the target permission.
4. The method of claim 2, wherein after said playing the second voice message, the method further comprises:
if a confirmation instruction sent by the terminal equipment is received, authorizing the target authority, and prompting a user to authorize the target authority successfully through voice, wherein the confirmation instruction is used for indicating the intelligent sound box to authorize the target authority;
and if a rejection instruction sent by the terminal equipment is received, prompting that the user fails to authorize the target authority through voice, wherein the rejection instruction is used for indicating that the intelligent sound box forbids authorization of the target authority.
5. The method of claim 1, wherein if the permission type includes a notification permission;
the playing the voice message comprises:
and when the authority type of the target authority is the notification authority, playing a third voice message, wherein the third voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode.
6. The method of claim 1, wherein if the permission types include a low risk privacy permission and a high risk privacy permission;
the playing the voice message comprises:
when the authority type of the target authority is the low-risk privacy authority, playing a fourth voice message, wherein the fourth voice message is used for indicating a user to carry out authorization operation on the target authority in a voice reply mode;
and when the authority type of the target authority is the high-risk privacy authority, sending authorization request information containing the target authority to terminal equipment, and playing a fifth voice message, wherein the fifth voice message is used for indicating a user to carry out authorization operation on the target authority through the terminal equipment.
7. The method according to claim 6, wherein the sending the authorization request information containing the target authority to the terminal device comprises:
sending authorization request information containing the target authority to an application program corresponding to the intelligent sound box on terminal equipment; and the fifth voice message is used for indicating a user to authorize the target permission through an application program corresponding to the intelligent sound box on the terminal equipment.
8. The method of claim 1, wherein after the playing the voice message, the method further comprises:
if a first authorization confirmation message of the user is received, authorizing the target authority and playing a sixth voice message, wherein the sixth voice message is used for prompting the user that the authorization of the target authority is successful;
and if an authorization refusing message of the user is received or a reply message of the user is not received after the preset time, playing a seventh voice message, wherein the seventh voice message is used for prompting the user that the authorization of the target authority fails.
9. The method of claim 1, wherein prior to obtaining a request for permission for a skills service, the method further comprises:
receiving a running voice message of a user, wherein the running voice message is used for instructing the smart sound box to run the skill service;
after the playing the voice message, the method further comprises:
and if a second confirmation authorization message of the user is received, operating the skill service.
10. The method according to any one of claims 1 to 9, further comprising:
displaying an authority setting interface on a screen of the intelligent sound box;
and receiving an authority setting instruction input on the authority setting interface by a user, and setting the authority of the skill service indicated by the authority setting instruction.
11. The utility model provides an authority control device of intelligence audio amplifier which characterized in that includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a permission request of skill service, the permission request comprises a permission identifier of target permission, and the target permission is the permission requested by the skill service;
the first processing module is used for determining the authority type of the target authority according to the authority identification of the target authority and the corresponding relation between the preset authority identification and the authority type;
the second processing module is used for determining a first authorization mode according to the authority type of the target authority and the corresponding relation between the preset authority type and the authorization mode, wherein the first authorization mode is the authorization mode corresponding to the authority type of the target authority; each authority type corresponds to one authorization mode, or a plurality of authority types correspond to the same authorization mode, wherein the authorization modes comprise at least one of voice reply authorization, terminal equipment code scanning authorization and terminal equipment reply authorization; the permission types comprise a designated account permission, an independent account permission, a notification permission, a low-risk privacy permission and a high-risk privacy permission;
and the playing module is used for playing a voice message, wherein the voice message comprises the authority identifier of the target authority and the first authorization mode, and the voice message is used for indicating a user to authorize the target authority according to the first authorization mode.
12. An intelligent sound box, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory, so that the at least one processor performs the method for controlling the authority of a smart sound box according to any one of claims 1 to 10.
13. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method for controlling the authority of a smart sound box according to any one of claims 1 to 10 is implemented.
CN201910578984.4A 2019-06-28 2019-06-28 Authority control method and device of intelligent sound box, intelligent sound box and storage medium Active CN110334500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578984.4A CN110334500B (en) 2019-06-28 2019-06-28 Authority control method and device of intelligent sound box, intelligent sound box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578984.4A CN110334500B (en) 2019-06-28 2019-06-28 Authority control method and device of intelligent sound box, intelligent sound box and storage medium

Publications (2)

Publication Number Publication Date
CN110334500A CN110334500A (en) 2019-10-15
CN110334500B true CN110334500B (en) 2022-04-12

Family

ID=68143716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578984.4A Active CN110334500B (en) 2019-06-28 2019-06-28 Authority control method and device of intelligent sound box, intelligent sound box and storage medium

Country Status (1)

Country Link
CN (1) CN110334500B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111128159B (en) * 2019-12-18 2022-05-31 上海智勘科技有限公司 Method and system for realizing multi-channel message distribution of intelligent loudspeaker box
CN111600782B (en) * 2020-04-28 2021-05-18 百度在线网络技术(北京)有限公司 Control method and device of intelligent voice equipment, electronic equipment and storage medium
CN111931160B (en) * 2020-08-13 2024-03-29 企查查科技股份有限公司 Authority verification method, authority verification device, terminal and storage medium
CN114070838B (en) * 2022-01-12 2022-11-22 北京智象信息技术有限公司 Method and device for controlling voice playing sound ray overlapping of intelligent sound box based on JS

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655892A (en) * 2009-09-22 2010-02-24 成都市华为赛门铁克科技有限公司 Mobile terminal and access control method
CN105577494A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method of smart home devices, device and system
CN107911386A (en) * 2017-12-06 2018-04-13 北京小米移动软件有限公司 Obtain the method and device of service authorization information
CN108712561A (en) * 2018-04-18 2018-10-26 Oppo广东移动通信有限公司 Right management method, device, mobile terminal and storage medium
CN109104664A (en) * 2018-06-25 2018-12-28 福来宝电子(深圳)有限公司 Control method, system, intelligent sound box and the storage medium of intelligent sound box
US10176807B2 (en) * 2017-04-17 2019-01-08 Essential Products, Inc. Voice setup instructions
CN109408181A (en) * 2018-10-16 2019-03-01 百度在线网络技术(北京)有限公司 Equipment technical ability display methods and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948030A (en) * 2017-12-21 2018-04-20 广东汇泰龙科技有限公司 A kind of household audio control method based on cloud lock, system
CN108768799A (en) * 2018-04-26 2018-11-06 首创置业股份有限公司 A kind of smart home account authoring system, method and terminal
CN109412910A (en) * 2018-11-20 2019-03-01 三星电子(中国)研发中心 The method and apparatus for controlling smart home device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655892A (en) * 2009-09-22 2010-02-24 成都市华为赛门铁克科技有限公司 Mobile terminal and access control method
CN105577494A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method of smart home devices, device and system
US10176807B2 (en) * 2017-04-17 2019-01-08 Essential Products, Inc. Voice setup instructions
CN107911386A (en) * 2017-12-06 2018-04-13 北京小米移动软件有限公司 Obtain the method and device of service authorization information
CN108712561A (en) * 2018-04-18 2018-10-26 Oppo广东移动通信有限公司 Right management method, device, mobile terminal and storage medium
CN109104664A (en) * 2018-06-25 2018-12-28 福来宝电子(深圳)有限公司 Control method, system, intelligent sound box and the storage medium of intelligent sound box
CN109408181A (en) * 2018-10-16 2019-03-01 百度在线网络技术(北京)有限公司 Equipment technical ability display methods and device

Also Published As

Publication number Publication date
CN110334500A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN110334500B (en) Authority control method and device of intelligent sound box, intelligent sound box and storage medium
US9832313B1 (en) Personalized devices for out-bound and in-bound inmate calling and communication
US20160021610A1 (en) Network connection method and apparatus
KR101692369B1 (en) Call handling based on user profile identification
US20180069963A1 (en) Voice communication processing method and system, electronic device, and storage medium
EP3276910A1 (en) Bluetooth-based identity recognition method and device
US10652291B2 (en) Managing access to a conference call
US9602662B2 (en) Verifying telephone caller origin
EP3275165B1 (en) Methods and systems for verifying users by telephone numbers
CN110049062B (en) Verification code verification method, device, system, server, electronic equipment and storage medium
EP3407278A1 (en) Method and apparatus for reporting loss of card or device associated with account number or stolen of account number
CN112968892B (en) Information verification method, device, computing equipment and medium
US20150244682A1 (en) Method and apparatus for identifying and protecting confidential information in a collaboration session
CN114915923B (en) 5G message service triggering method and device, electronic equipment and storage medium
US20220408238A1 (en) Verification information processing method and apparatus, terminal device and storage medium
US9455972B1 (en) Provisioning a mobile device with a security application on the fly
CN107992255B (en) Method for generating image and server
US11347988B2 (en) Method and device for configuring NFC smart card
TW201600994A (en) Method and system for unlocking screen
CN112116339A (en) Capital full link control verification method and device
WO2017148337A1 (en) Methods of providing and acquiring terminal service, device, and terminal
CN105025482B (en) Communication information processing method and equipment thereof
CN109255601B (en) Terminal bus card processing method and device
CN111355853A (en) Call center data processing method and device
EP4161118A1 (en) Call identity authentication method, terminal and computer-readable storage 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210518

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant