Movatterモバイル変換


[0]ホーム

URL:


CN116469397A - Method, device and electronic device for setting device operation authority - Google Patents

Method, device and electronic device for setting device operation authority
Download PDF

Info

Publication number
CN116469397A
CN116469397ACN202310245765.0ACN202310245765ACN116469397ACN 116469397 ACN116469397 ACN 116469397ACN 202310245765 ACN202310245765 ACN 202310245765ACN 116469397 ACN116469397 ACN 116469397A
Authority
CN
China
Prior art keywords
electronic device
identity information
voice
sound pickup
electronic equipment
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.)
Pending
Application number
CN202310245765.0A
Other languages
Chinese (zh)
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.)
Voiceai Technologies Co ltd
Original Assignee
Voiceai Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Voiceai Technologies Co ltdfiledCriticalVoiceai Technologies Co ltd
Priority to CN202310245765.0ApriorityCriticalpatent/CN116469397A/en
Publication of CN116469397ApublicationCriticalpatent/CN116469397A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种设置设备操作权限的方法、装置、电子设备以及存储介质,涉及语音识别技术领域。该方法应用于第一电子设备,通过若接收到第二电子设备的操作请求,则获取第二电子设备的身份信息作为第一身份信息,其中,操作请求由第二电子设备基于用户输入的语音生成;获取第一电子设备的身份信息作为第二身份信息;基于第一身份信息以及第二身份信息,设置第二电子设备对第一电子设备的操作权限。本申请通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。

The application discloses a method, a device, an electronic device and a storage medium for setting device operation authority, and relates to the technical field of speech recognition. The method is applied to the first electronic device, and if an operation request of the second electronic device is received, the identity information of the second electronic device is obtained as the first identity information, wherein the operation request is generated by the second electronic device based on the voice input by the user; the identity information of the first electronic device is obtained as the second identity information; based on the first identity information and the second identity information, the operation authority of the second electronic device to the first electronic device is set. This application recognizes the operation request sent by the second electronic device to the first electronic device by voice, and further sets the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, so as to realize the interconnection and interaction between electronic devices and improve the user experience.

Description

Translated fromChinese
设置设备操作权限的方法、装置以及电子设备Method, device and electronic device for setting device operation authority

技术领域technical field

本申请涉及语音识别技术领域,更具体地,涉及一种设置设备操作权限的方法、装置以及电子设备。The present application relates to the technical field of voice recognition, and more specifically, to a method, device and electronic device for setting device operation authority.

背景技术Background technique

随着科学技术的发展,电子设备的使用越来越广泛,功能越来越多,已经成为人们日常生活中的必备之一。其中,随着可穿戴设备的发展和普及,可穿戴设备的应用场景日渐丰富。相关技术中,由于将语音识别技术与可穿戴设备相结合,仅支持单个用户对可穿戴设备的使用和体验,使得用户对可穿戴设备的体验不佳。With the development of science and technology, the use of electronic equipment is becoming more and more extensive, with more and more functions, and has become one of the must-haves in people's daily life. Among them, with the development and popularization of wearable devices, the application scenarios of wearable devices are becoming more and more abundant. In the related art, because the voice recognition technology is combined with the wearable device, only a single user's use and experience of the wearable device is supported, which makes the user's experience of the wearable device poor.

发明内容Contents of the invention

鉴于上述问题,本申请提出了一种设置设备操作权限的方法、装置、电子设备以及存储介质,可以通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。In view of the above problems, this application proposes a method, device, electronic device, and storage medium for setting device operation authority, which can recognize the operation request sent by the second electronic device to the first electronic device through voice recognition, and further set the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, thereby realizing the interconnection and interaction between electronic devices and improving the user experience.

第一方面,本申请实施例提供了一种设置设备操作权限的方法,应用于第一电子设备,所述方法包括:若接收到第二电子设备的操作请求,则获取所述第二电子设备的身份信息作为第一身份信息,其中,所述操作请求由所述第二电子设备基于用户输入的语音生成;获取所述第一电子设备的身份信息作为第二身份信息;基于所述第一身份信息以及所述第二身份信息,设置所述第二电子设备对所述第一电子设备的操作权限。In a first aspect, an embodiment of the present application provides a method for setting device operation authority, which is applied to a first electronic device, and the method includes: if an operation request from a second electronic device is received, acquiring identity information of the second electronic device as first identity information, wherein the operation request is generated by the second electronic device based on a voice input by a user; acquiring the identity information of the first electronic device as second identity information; and setting the operation authority of the second electronic device to the first electronic device based on the first identity information and the second identity information.

第二方面,本申请实施例提供了一种设置设备操作权限的装置,应用于第一电子设备,所述装置包括:第一身份信息获取模块、第二身份信息获取模块以及操作权限设置模块。其中,第一身份信息获取模块,用于若接收到第二电子设备的操作请求,则获取所述第二电子设备的身份信息作为第一身份信息,其中,所述操作请求由所述第二电子设备基于用户输入的语音生成;第二身份信息获取模块,用于所述第一电子设备的身份信息作为第二身份信息;操作权限设置模块,用于基于所述第一身份信息以及所述第二身份信息,设置所述第二电子设备对所述第一电子设备的操作权限。In a second aspect, the embodiment of the present application provides a device for setting device operation authority, which is applied to a first electronic device, and the device includes: a first identity information acquisition module, a second identity information acquisition module, and an operation authority setting module. Wherein, the first identity information acquisition module is used to acquire the identity information of the second electronic device as the first identity information if an operation request of the second electronic device is received, wherein the operation request is generated by the second electronic device based on the voice input by the user; the second identity information acquisition module is used to use the identity information of the first electronic device as the second identity information; the operation authority setting module is used to set the operation authority of the second electronic device to the first electronic device based on the first identity information and the second identity information.

第三方面,本申请实施例提供了一种电子设备,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the foregoing method.

第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, where program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.

本申请实施例提供的设置设备操作权限的方法、装置、电子设备以及存储介质,通过若接收到第二电子设备的操作请求,则获取第二电子设备的身份信息作为第一身份信息,其中,操作请求由第二电子设备基于用户输入的语音生成;获取第一电子设备的身份信息作为第二身份信息;基于第一身份信息以及第二身份信息,设置第二电子设备对第一电子设备的操作权限。本申请通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。The method, device, electronic device, and storage medium for setting the device operation authority provided in the embodiments of the present application obtain the identity information of the second electronic device as the first identity information if an operation request of the second electronic device is received, wherein the operation request is generated by the second electronic device based on the voice input by the user; the identity information of the first electronic device is obtained as the second identity information; and the operation authority of the second electronic device to the first electronic device is set based on the first identity information and the second identity information. This application recognizes the operation request sent by the second electronic device to the first electronic device by voice, and further sets the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, so as to realize the interconnection and interaction between electronic devices and improve the user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative work.

图1示出了本申请一实施例提供的设置设备操作权限的方法的应用环境的示意图;FIG. 1 shows a schematic diagram of an application environment of a method for setting device operation permissions provided by an embodiment of the present application;

图2示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;FIG. 2 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图3示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;FIG. 3 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图4示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;FIG. 4 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图5示出了本申请一实施例提供的电子设备之间建立协同关系的示意图;FIG. 5 shows a schematic diagram of establishing a collaborative relationship between electronic devices provided by an embodiment of the present application;

图6示出了本申请一实施例提供的电子设备之间建立协同关系的示意图;FIG. 6 shows a schematic diagram of establishing a collaborative relationship between electronic devices provided by an embodiment of the present application;

图7示出了本申请一实施例提供的电子设备之间建立协同关系的示意图;FIG. 7 shows a schematic diagram of establishing a collaborative relationship between electronic devices provided by an embodiment of the present application;

图8示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;Fig. 8 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图9示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;FIG. 9 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图10示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图;FIG. 10 shows a schematic flowchart of a method for setting device operation authority provided by an embodiment of the present application;

图11示出了本申请一实施例提供的设置设备操作权限的装置的模块框图;Fig. 11 shows a module block diagram of an apparatus for setting device operation authority provided by an embodiment of the present application;

图12示出了本申请实施例用于执行根据本申请实施例的设置设备操作权限的方法的电子设备的框图;Fig. 12 shows a block diagram of an electronic device used to execute the method for setting device operation authority according to the embodiment of the present application;

图13示出了本申请实施例的用于保存或者携带实现根据本申请实施例的设置设备操作权限的方法的程序代码的存储单元。Fig. 13 shows a storage unit for storing or carrying program codes for implementing the method for setting device operation authority according to the embodiment of the present application according to the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

随着可穿戴设备的发展和普及,可穿戴设备的应用场景日渐丰富。相关技术中,由于可穿戴设备仅支持穿戴的用户进行操作与体验,使得用户对可穿戴设备的体验感低下。With the development and popularization of wearable devices, the application scenarios of wearable devices are becoming more and more abundant. In the related art, since the wearable device only supports the operation and experience of the wearable user, the user's experience of the wearable device is low.

针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的设置设备操作权限的方法、装置、电子设备以及存储介质,通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。其中,具体的设置设备操作权限的方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor found out after long-term research and proposed the method, device, electronic device and storage medium for setting the device operation authority provided by the embodiment of the present application, through voice recognition of the operation request sent by the second electronic device to the first electronic device, and further setting the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, realizing the interconnection and interaction between electronic devices, and improving the user experience. Wherein, the specific method for setting the device operation authority will be described in detail in the subsequent embodiments.

下面将针对可用于本申请实施例提供的设置设备操作权限的方法的应用环境进行说明。The following will describe the application environment that can be used for the method for setting device operation authority provided by the embodiment of the present application.

请参阅图1,图1示出了可用于本申请实施例提供的设置设备操作权限的方法的应用环境示意图。如图1所示,该应用环境包括第一电子设备101和第二电子设备102,其中,第一电子设备101可以为手机、平板电脑、游戏机、可穿戴设备等电子设备;第二电子设备102可以为手机、平板电脑、游戏机、可穿戴设备等电子设备,在此不作限定。其中,图1仅示出了第一电子设备101为智能手机以及第二电子设备102为智能手机的应用环境。其中,第一电子设备101和第二电子设备102之间建立有协同关系,第一电子设备101和第二电子设备102可以基于该协同关系进行数据传输。其中,第一电子设备101和第二电子设备102基于该协同关系进行数据传输的方式可以是,通过无线通信技术(如WiFi、蓝牙、zigbee技术等)或者串口通信接口(如串行外设接口等)进行数据传输,在本申请实施例中,第一电子设备101和第二电子设备102基于协同关系进行数据传输的方式,在此不作限定。其中,第一电子设备101和第二电子设备102基于协同关系进行传输的数据可以是,音频数据、视频数据、文字数据等,在此不作限定。Please refer to FIG. 1 . FIG. 1 shows a schematic diagram of an application environment applicable to the method for setting device operation permissions provided by the embodiment of the present application. As shown in FIG. 1 , the application environment includes a first electronic device 101 and a second electronic device 102, wherein the first electronic device 101 may be electronic devices such as mobile phones, tablet computers, game consoles, and wearable devices; the second electronic device 102 may be electronic devices such as mobile phones, tablet computers, game consoles, and wearable devices, which are not limited herein. Wherein, FIG. 1 only shows an application environment in which the first electronic device 101 is a smart phone and the second electronic device 102 is a smart phone. Wherein, a coordination relationship is established between the first electronic device 101 and the second electronic device 102, and the first electronic device 101 and the second electronic device 102 may perform data transmission based on the coordination relationship. Wherein, the manner in which the first electronic device 101 and the second electronic device 102 perform data transmission based on the cooperative relationship may be through wireless communication technology (such as WiFi, Bluetooth, zigbee technology, etc.) or a serial communication interface (such as a serial peripheral interface, etc.). In the embodiment of the present application, the manner in which the first electronic device 101 and the second electronic device 102 perform data transmission based on the cooperative relationship is not limited herein. Wherein, the data transmitted by the first electronic device 101 and the second electronic device 102 based on the collaborative relationship may be audio data, video data, text data, etc., which are not limited herein.

请参阅图2,图2示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图。该设置设备操作权限的方法应用于第一电子设备,通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。在具体的实施例中,该设置设备操作权限的方法可以应用于如图11所示的设置设备操作权限的装置200以及配置有设置设备操作权限的装置200的电子设备100(图12)。下面将以第一电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的第一电子设备可以包括智能手机、平板电脑、穿戴式电子设备、智能家居等,在此不做限定。下面将针对图2所示的流程进行详细的阐述,所述设置设备操作权限的方法具体可以包括以下步骤:Please refer to FIG. 2 , which shows a schematic flowchart of a method for setting device operation permissions provided by an embodiment of the present application. The method for setting the device operation authority is applied to the first electronic device, and the operation request sent by the second electronic device to the first electronic device is recognized by voice, and the operation authority of the second electronic device to the first electronic device is further set according to the identity information of each electronic device, thereby realizing the interconnection and interaction between the electronic devices and improving the user experience. In a specific embodiment, the method for setting device operation authority can be applied to the device 200 for setting device operation authority shown in FIG. 11 and the electronic device 100 ( FIG. 12 ) configured with the device 200 for setting device operation authority. The following will take the first electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the first electronic device applied in this embodiment may include smart phones, tablet computers, wearable electronic devices, smart homes, etc., which are not limited here. The process shown in Figure 2 will be described in detail below, and the method for setting device operation authority may specifically include the following steps:

步骤S110:若接收到第二电子设备的操作请求,则获取所述第二电子设备的身份信息作为第一身份信息,其中,所述操作请求由所述第二电子设备基于用户输入的语音生成。Step S110: If an operation request of the second electronic device is received, acquire the identity information of the second electronic device as the first identity information, wherein the operation request is generated by the second electronic device based on the voice input by the user.

在一些实施方式中,第一电子设备与第二电子设备之间建立有协同关系,第一电子设备与第二电子设备可以基于该协同关系进行数据传输。进一步的,第二电子设备可以基于该协同关系向第一电子设备发送操作请求。其中,该操作请求可以是由第二电子设备基于用户按压第二电子设备的操作按键生成,也可以是由第二电子设备基于用户按压第二电子设备的屏幕生成,还可以是由第二电子设备基于用户输入的语音生成。In some implementation manners, a cooperative relationship is established between the first electronic device and the second electronic device, and the first electronic device and the second electronic device may perform data transmission based on the cooperative relationship. Further, the second electronic device may send an operation request to the first electronic device based on the coordination relationship. Wherein, the operation request may be generated by the second electronic device based on the user pressing the operation button of the second electronic device, or may be generated by the second electronic device based on the user pressing the screen of the second electronic device, or may be generated by the second electronic device based on the voice input by the user.

在一些实施方式中,第一电子设备中可以预先设置有操作请求检测模型,第一电子设备可以基于该协同关系接收第二电子设备发送的语音。并进一步的,基于操作请求检测模型对第二电子设备发送的语音进行检测,判断第二电子设备发送的语音中是否包括操作请求。若第一电子设备中的处理器基于操作请求检测模型检测到第二电子设备发送的语音中包括操作请求,则确认第一电子设备接收到第二电子设备的操作请求。In some implementation manners, an operation request detection model may be preset in the first electronic device, and the first electronic device may receive the voice sent by the second electronic device based on the coordination relationship. Furthermore, the voice sent by the second electronic device is detected based on the operation request detection model, and it is judged whether the voice sent by the second electronic device includes an operation request. If the processor in the first electronic device detects that the voice sent by the second electronic device includes an operation request based on the operation request detection model, it confirms that the first electronic device has received the operation request from the second electronic device.

在另一些实施方式中,第二电子设备中可以预先设置有操作请求检测模型,第二电子设备可以基于操作请求检测模型对用户输入第二电子设备的语音进行检测,判断用户输入第二电子设备的语音中是否包括操作请求。若第二电子设备中的处理器基于操作请求检测模型检测到用户输入第二电子设备的语音中包括操作请求,则可以基于第一电子设备与第二电子设备之间建立的协同关系将该操作请求以及该操作请求对应的语音发送至第一电子设备,第一电子设备可以基于该协同关系接收第二电子设备发送的操作请求以及该操作请求对应的语音。In other embodiments, the second electronic device may be preset with an operation request detection model, and the second electronic device may detect the voice input by the user to the second electronic device based on the operation request detection model, and determine whether the voice input by the user to the second electronic device includes an operation request. If the processor in the second electronic device detects that the voice input by the user to the second electronic device includes an operation request based on the operation request detection model, the operation request and the voice corresponding to the operation request may be sent to the first electronic device based on the cooperative relationship established between the first electronic device and the second electronic device, and the first electronic device may receive the operation request sent by the second electronic device and the voice corresponding to the operation request based on the cooperative relationship.

其中,操作请求检测模型可以是关键词检测模型(如,TF-IDF算法、Filler模型、LDA算法等),也可以是语义提取模型(如,自然语言处理技术(Natural LanguageProcessing,NLP)、FCN模型、U-Net模型、OCRNet模型等),在此不作限定。其中,第二电子设备可以包括麦克风,第二电子设备发送至第一电子设备的操作请求可以是,第二电子设备的麦克风采集的用户输入的语音。示例性的,第二电子设备包括麦克风,第二电子设备的麦克风采集的用户输入的语音“我来帮你操作”后,将该语音发送至第一电子设备。其中,第一电子设备中预先设置有关键词检测模型,第一电子设备可以基于该关检词检测模型对接收到的第二电子设备发送的该语音进行关键词检测,获得关键词“我来”,“操作”,进而确定接收到第二电子设备的操作请求。Wherein, the operation request detection model may be a keyword detection model (such as TF-IDF algorithm, Filler model, LDA algorithm, etc.), or a semantic extraction model (such as Natural Language Processing technology (Natural Language Processing, NLP), FCN model, U-Net model, OCRNet model, etc.), which is not limited here. Wherein, the second electronic device may include a microphone, and the operation request sent by the second electronic device to the first electronic device may be voice input by the user collected by the microphone of the second electronic device. Exemplarily, the second electronic device includes a microphone, and after the microphone of the second electronic device collects the voice "I'll help you operate" input by the user, the voice is sent to the first electronic device. Wherein, a keyword detection model is preset in the first electronic device, based on the keyword detection model, the first electronic device can perform keyword detection on the received voice sent by the second electronic device, obtain the keywords "I come", "operate", and then determine that the operation request of the second electronic device has been received.

在一些实施方式中,第一电子设备接收到第二电子设备的操作请求后,可以进一步的,获取第二电子设备的身份信息作为第一身份信息。In some implementation manners, after receiving the operation request of the second electronic device, the first electronic device may further acquire the identity information of the second electronic device as the first identity information.

在一些实施方式中,第一电子设备接收到第二电子设备的操作请求后,可以进一步的,基于第一电子设备与第二电子设备之间建立的协同关系,获得第二电子设备的ID、操作账号信息、操作域等,并将第二电子设备的ID、操作账号信息、操作域等作为第二电子设备的身份信息。In some implementations, after the first electronic device receives the operation request from the second electronic device, it may further obtain the ID, operating account information, operating domain, etc. of the second electronic device based on the collaborative relationship established between the first electronic device and the second electronic device, and use the ID, operating account information, operating domain, etc. of the second electronic device as the identity information of the second electronic device.

在另一些实施方式中,第一电子设备中可以预先设置有声纹识别模型以及声纹库。进一步的,第一电子设备接收到由第二电子设备基于用户输入的语音生成的操作请求后,可以基于该声纹检测模型对该操作请求对应的语音进行声纹识别,进而获得与该语音对应的第一声纹。进一步的,第一电子设备可以基于声纹库,获取与该第一声纹对应的身份信息,并确定该身份信息作为第二电子设备的身份信息,以及确定第二电子设备的身份信息作为第一身份信息。In some other implementation manners, a voiceprint recognition model and a voiceprint library may be preset in the first electronic device. Further, after the first electronic device receives the operation request generated by the second electronic device based on the voice input by the user, it may perform voiceprint recognition on the voice corresponding to the operation request based on the voiceprint detection model, and then obtain the first voiceprint corresponding to the voice. Further, the first electronic device may obtain identity information corresponding to the first voiceprint based on the voiceprint database, determine the identity information as the identity information of the second electronic device, and determine the identity information of the second electronic device as the first identity information.

在一些实施方式中,第二电子设备可以包括麦克风,第二电子设备中的处理器获得麦克风采集的音频后,可以对采集的音频进行预处理。示例性的,第二电子设备中可以预先设置有人声检测模型(如,VAD模型等),第二电子设备可以基于该人声检测模型实时检测第二电子设备中的麦克风采集的音频。进一步的,第二电子设备可以将不包含人声的音频滤除,也即,不将不包含人声的音频发送至第一电子设备;第二电子设备也可以将包含人声的音频进行去噪处理,也即,优化第二电子设备发送至第一电子设备的音频,以提高第一电子设备无感声纹识别的鲁棒性和可靠性,以及提高获取的第一身份信息的准确性。In some implementations, the second electronic device may include a microphone, and after the processor in the second electronic device obtains the audio collected by the microphone, it may perform preprocessing on the collected audio. Exemplarily, a human voice detection model (such as a VAD model, etc.) may be preset in the second electronic device, and the second electronic device may detect audio collected by a microphone in the second electronic device in real time based on the human voice detection model. Further, the second electronic device can filter out audio that does not contain human voice, that is, not send the audio that does not contain human voice to the first electronic device; the second electronic device can also perform denoising processing on audio that contains human voice, that is, optimize the audio that the second electronic device sends to the first electronic device, so as to improve the robustness and reliability of the first electronic device's non-inductive voiceprint recognition, and improve the accuracy of the acquired first identity information.

其中,第二电子设备将包含人声的音频进行去噪处理可以是,第二电子设备基于人声检测模型,实时检测第二电子设备中的麦克风采集的音频的前景人声和背景噪声,若检测到该音频中包括前景人声,则可以实时的通过当前时刻前预设时长内采集到的背景噪声,对当前时刻采集的音频进行去噪处理,进而提高第二电子设备向第一电子设备发送语音的效率,以及提高第一电子设备对第二电子设备发送的语音进行识别的可靠性和鲁棒性。Wherein, the second electronic device performs denoising processing on audio containing human voices. The second electronic device detects in real time foreground human voices and background noises of audio collected by a microphone in the second electronic device based on a human voice detection model. If the audio includes foreground human voices, the audio collected at the current time can be denoised in real time through the background noise collected within a preset time before the current time, thereby improving the efficiency of the second electronic device sending voices to the first electronic device, and improving the reliability and robustness of the first electronic device recognizing the voices sent by the second electronic device.

在一些实施方式中,请参阅图3,在步骤S110之前,本申请实施例提供的一种设置设备操作权限的方法还可以包括步骤S101-步骤S103。In some implementation manners, please refer to FIG. 3 , before step S110 , a method for setting device operation authority provided in the embodiment of the present application may further include steps S101 - S103 .

步骤S101:获取所述第一电子设备的第一拾音结果,以及获取所述第二电子设备的第二拾音结果。Step S101: Obtain a first sound pickup result of the first electronic device, and obtain a second sound pickup result of the second electronic device.

在一些实施方式中,多个电子设备之间建立的协同关系可以是虚拟协同关系,也可以真实协同关系,还可以是混合协同关系。其中,虚拟协同关系中,对建立虚拟协同关系的多个设备无空间位置的要求,也即,建立虚拟协同关系的多个设备不需要在同一空间中就可以进行数据传输。其中,真实协同关系中,对建立真实协同关系的多个设备要求在同一个空间中,也即,建立真实协同关系的多个设备在同一空间中才可以进行数据传输。其中,混合协同关系中,对建立混合协同关系的多个设备,要求部分设备在同一空间中,部分设备无空间位置要求,也即,建立混合协同关系的多个设备,部分设备在同一空间中才可以进行数据传输,部分设备不需要在同一空间中也可以进行数据传输。In some implementation manners, the collaborative relationship established between multiple electronic devices may be a virtual collaborative relationship, a real collaborative relationship, or a mixed collaborative relationship. Among them, in the virtual collaborative relationship, there is no spatial location requirement for multiple devices that establish the virtual collaborative relationship, that is, multiple devices that establish the virtual collaborative relationship do not need to be in the same space to perform data transmission. Among them, in the real collaborative relationship, multiple devices that establish the real collaborative relationship are required to be in the same space, that is, multiple devices that establish the real collaborative relationship can perform data transmission only in the same space. Among them, in the hybrid collaboration relationship, for multiple devices that establish a hybrid collaboration relationship, some devices are required to be in the same space, and some devices have no spatial location requirements. That is, for multiple devices that establish a hybrid collaboration relationship, some devices can perform data transmission in the same space, and some devices can perform data transmission without being in the same space.

在一些实施方式中,第一电子设备与第二电子设备之间的协同关系可以是,确定第一电子设备与第二电子设备是否在同一空间,若第一电子设备与第二电子设备在同一空间,可以在第一电子设备与第二电子设备之间建立真实协同关系;若第一电子设备与第二电子设备不在同一空间,可以在第一电子设备与第二电子设备之间建立虚拟协同关系或者混合协同关系。In some implementations, the collaborative relationship between the first electronic device and the second electronic device may be to determine whether the first electronic device and the second electronic device are in the same space, if the first electronic device and the second electronic device are in the same space, a real collaborative relationship may be established between the first electronic device and the second electronic device; if the first electronic device and the second electronic device are not in the same space, a virtual collaborative relationship or a hybrid collaborative relationship may be established between the first electronic device and the second electronic device.

可选的,确定第一电子设备与第二电子设备是否在同一空间的方式,可以是获取第一电子设备的第一定位,以及第二电子设备的第二定位,根据第一定位以及第二定位之间的距离,确定第一电子设备与第二电子设备是否在同一空间。示例性的,若第一定位以及第二定位之间的距离大于预设距离,则确定第一电子设备与第二电子设备不在同一空间。其中,第一电子设备可以包括拾音设备,第二电子设备也可以包括拾音设备,确定第一电子设备与第二电子设备是否在同一空间的方式也可以是,获取第一电子设备的第一拾音结果,以及获取第二电子设备的第二拾音结果,以根据第一拾音结果以及第二拾音结果,确定第一电子设备与第二电子设备是否在同一空间。其中,第一拾音结果可以理解为第一电子设备采集的音频,第二拾音结果可以理解为第二电子设备采集的音频。Optionally, the method of determining whether the first electronic device and the second electronic device are in the same space may be to acquire the first location of the first electronic device and the second location of the second electronic device, and determine whether the first electronic device and the second electronic device are in the same space according to the distance between the first location and the second location. Exemplarily, if the distance between the first location and the second location is greater than a preset distance, it is determined that the first electronic device and the second electronic device are not in the same space. Wherein, the first electronic device may include a sound pickup device, and the second electronic device may also include a sound pickup device. The method of determining whether the first electronic device and the second electronic device are in the same space may also be to obtain a first sound pickup result of the first electronic device, and obtain a second sound pickup result of the second electronic device, so as to determine whether the first electronic device and the second electronic device are in the same space according to the first sound pickup result and the second sound pickup result. Wherein, the first sound pickup result can be understood as the audio collected by the first electronic device, and the second sound pickup result can be understood as the audio collected by the second electronic device.

步骤S102:基于预设语音检测模型对所述第一拾音结果进行处理,获得第一语音特征,以及基于所述预设语音检测模型对所述第二拾音结果进行处理,获得第二语音特征。Step S102: Process the first sound pickup result based on a preset speech detection model to obtain a first speech feature, and process the second sound pickup result based on the preset speech detection model to obtain a second speech feature.

在一些实施方式中,第一电子设备中预先设置有预设语音检测模型,其中,预设语音检测模型可以是声纹识别模型(如,TF-IDF算法、Filler模型、LDA算法等),也可以是语音内容识别模型(如,Seq2Seq模型、transfomer模型等)。其中,第一电子设备中的处理器可以直接获取第一电子设备的麦克风采集的第一拾音结果,并进一步的,基于预设语音检测模型对第一拾音结果进行处理,获得第一语音特征。其中,第一语言特征可以是第一拾音结果的声纹,也可以是第一拾音结果的语音内容,在此不作限定。In some embodiments, a preset voice detection model is preset in the first electronic device, wherein the preset voice detection model can be a voiceprint recognition model (such as TF-IDF algorithm, Filler model, LDA algorithm, etc.), or a voice content recognition model (such as, Seq2Seq model, transformer model, etc.). Wherein, the processor in the first electronic device may directly obtain the first sound pickup result collected by the microphone of the first electronic device, and further, process the first sound pickup result based on a preset speech detection model to obtain the first speech feature. Wherein, the first language feature may be the voiceprint of the first sound pickup result, or the speech content of the first sound pickup result, which is not limited here.

在一些实施方式中,第一电子设备可以通过无线通信技术从相关联的云端或电子设备获得第二电子设备的第二拾音结果,也可以通过串口通信接口从相关联的电子设备获得第二电子设备的第二拾音结果,也可以直接通过无线通信技术或者串口通信接口从第二电子设备获得第二电子设备的第二拾音结果。并进一步基于预设语音检测模型对第二拾音结果进行处理,获得第二语音特征。其中,第二语言特征可以是第二拾音结果的声纹,也可以是第二拾音结果的语音内容,在此不作限定。In some implementations, the first electronic device may obtain the second sound pickup result of the second electronic device from an associated cloud or electronic device through wireless communication technology, may also obtain the second sound pickup result of the second electronic device from the associated electronic device through a serial communication interface, or may directly obtain the second sound pickup result of the second electronic device from the second electronic device through wireless communication technology or a serial communication interface. And further process the second voice pickup result based on the preset voice detection model to obtain the second voice features. Wherein, the second language feature may be the voiceprint of the second sound pickup result, or the speech content of the second sound pickup result, which is not limited here.

在一些实施方式中,第二电子设备中也可以预先设置有预设语音检测模型,第二电子设备获得第二拾音结果后,可以基于该预设语音检测模型对第二拾音结果进行处理,获得第二语音特征,并进一步的将该第二语音特征通过无线通信技术或者串口通信接口发送至第一电子设备,以第一电子设备基于第一语言特征以及第二语言特征,建立第一电子设备与第二电子设备之间的协同关系。In some implementations, the second electronic device may also be pre-set with a preset voice detection model. After the second electronic device obtains the second voice pickup result, it may process the second voice pickup result based on the preset voice detection model to obtain a second voice feature, and further send the second voice feature to the first electronic device through a wireless communication technology or a serial communication interface, and use the first electronic device to establish a collaborative relationship between the first electronic device and the second electronic device based on the first language feature and the second language feature.

步骤S103:若所述第一语音特征与所述第二语音特征的相似度大于或等于预设相似度,则确定所述第一电子设备与所述第二电子设备在同一空间中,并将所述第一电子设备与所述第二电子设备建立协同关系,其中,建立所述协同关系的多个电子设备基于所述协同关系进行数据传输。Step S103: If the similarity between the first voice feature and the second voice feature is greater than or equal to a preset similarity, determine that the first electronic device and the second electronic device are in the same space, and establish a cooperative relationship between the first electronic device and the second electronic device, wherein the multiple electronic devices that have established the collaborative relationship perform data transmission based on the collaborative relationship.

在一些实施方式中,第一电子设备获得第一语音特征以及第二语音特征后,可以计算第一语音特征与第二语音特征之间的相似度。可选的,计算第一语音特征与第二语音特征之间的相似度,可以是计算第一语音特征中的声纹与第二语音特征中的声纹的相似度,并将该相似度作为第一语音特征与第二语音特征之间的相似度;也可以是计算第一语音特征中的语音内容与第二语音特征中的语音内容的相似度,并将该相似度作为第一语音特征与第二语音特征之间的相似度;还可以是计算第一语音特征中的声纹与第二语音特征中的声纹的第一相似度,以及计算第一语音特征中的语音内容与第二语音特征中的语音内容的第二相似度,并进一步的计算第一相似度与第二相似度的平均值、中值或算数平均值等,作为第一语音特征与第二语音特征之间的相似度。In some implementations, after obtaining the first voice feature and the second voice feature, the first electronic device may calculate the similarity between the first voice feature and the second voice feature. Optionally, calculating the similarity between the first speech feature and the second speech feature can be calculating the similarity between the voiceprint in the first speech feature and the voiceprint in the second speech feature, and using the similarity as the similarity between the first speech feature and the second speech feature; it can also be calculating the similarity between the speech content in the first speech feature and the speech content in the second speech feature, and using the similarity as the similarity between the first speech feature and the second speech feature; it can also be calculating the first similarity between the voiceprint in the first speech feature and the voiceprint in the second speech feature, and calculating The second similarity between the speech content in the first speech feature and the speech content in the second speech feature, and further calculate the average, median or arithmetic mean of the first similarity and the second similarity, as the similarity between the first speech feature and the second speech feature.

进一步的,第一电子设备获得第一语音特征与第二语音特征的相似度后,可以将该相似度与预设相似度进行比较,若第一语音特征与第二语音特征的相似度大于或等于预设相似度,则确定第一电子设备与第二电子设备在同一空间中,并将第一电子设备与第二电子设备建立协同关系。其中,多个电子设备建立协同关系后,可以基于该协同关系进行数据传输,进一步的,多个电子设备建立协同关系后,其中一个设备可以基于该协同关系向建立有协同关系的一个或多个设备发送操作请求,该一个或多个设备可以设置发送操作请求的设备对该一个或多个设备的操作权限,以多个设备间进行互联互动,提高用户操作设备的趣味性和体验感。Further, after the first electronic device obtains the similarity between the first voice feature and the second voice feature, it can compare the similarity with a preset similarity, and if the similarity between the first voice feature and the second voice feature is greater than or equal to the preset similarity, then determine that the first electronic device and the second electronic device are in the same space, and establish a cooperative relationship between the first electronic device and the second electronic device. Among them, after multiple electronic devices establish a cooperative relationship, they can perform data transmission based on the cooperative relationship. Further, after multiple electronic devices establish a cooperative relationship, one of the devices can send an operation request to one or more devices that have established a cooperative relationship based on the collaborative relationship, and the one or more devices can set the device that sends the operation request.

示例性的,第一电子设备为可穿戴设备,包括麦克风,可以采集穿戴用户的人声以及麦克风拾音范围内其他用户的人声;第二电子设备为可穿戴设备,包括麦克风,可以采集穿戴用户的人声以及麦克风拾音范围内其他用户的人声。其中,第一电子设备(A)中的麦克风可以采集麦克风拾音范围内用户(a)的人声以及用户(b)的人声,也即第一拾音结果;其中,第一电子设备(A)中的麦克风采集的用户(a)的人声音量远大于用户(b)的人声音量。进一步的,第一电子设备可以通过预设语音检测模型对第一拾音结果进行处理,获得第一语音特征。其中,第一电子设备可以通过音量特征进行人声分离,将用户a和用户b的人声分离,得到人声Aa和Ab,并进一步提取各人声的声纹和/或语音内容,作为第一拾音结果的第一语音特征。Exemplarily, the first electronic device is a wearable device, which includes a microphone, and can collect the human voice of the wearing user and the voices of other users within the microphone pickup range; the second electronic device is a wearable device, including a microphone, and can collect the wearable user's voice and other users' voices within the microphone pickup range. Wherein, the microphone in the first electronic device (A) can collect the human voice of the user (a) and the human voice of the user (b) within the sound pickup range of the microphone, that is, the first sound pickup result; wherein, the volume of the human voice of the user (a) collected by the microphone in the first electronic device (A) is much larger than the volume of the human voice of the user (b). Further, the first electronic device may process the first voice pickup result by using a preset voice detection model to obtain the first voice features. Wherein, the first electronic device can perform vocal separation by volume feature, separate the vocals of user a and user b to obtain vocals Aa and Ab, and further extract the voiceprint and/or voice content of each voice as the first voice feature of the first voice pickup result.

其中,第二电子设备(B)中的麦克风可以采集麦克风拾音范围内用户(b)的人声以及用户(a)的人声,也即第二拾音结果;其中,第二电子设备(B)中的麦克风采集的用户(b)的人声音量远大于用户(a)的人声音量。进一步的,第二电子设备可以通过预设语音检测模型对第二拾音结果进行处理,获得第二语音特征。其中,第二电子设备可以通过音量特征进行人声分离,将用户a和用户b的人声分离,得到人声Ba和Bb,并进一步提取各人声的声纹和/或语音内容,作为第二拾音结果的第二语音特征。Wherein, the microphone in the second electronic device (B) can collect the human voice of the user (b) and the human voice of the user (a) within the sound pickup range of the microphone, that is, the second sound pickup result; wherein, the volume of the human voice of the user (b) collected by the microphone in the second electronic device (B) is much larger than the volume of the human voice of the user (a). Further, the second electronic device may process the second voice pickup result by using a preset voice detection model to obtain the second voice feature. Wherein, the second electronic device can perform vocal separation by volume feature, separate the vocals of user a and user b to obtain vocals Ba and Bb, and further extract the voiceprint and/or voice content of each vocal as the second voice feature of the second sound pickup result.

其中,第一电子设备可以将获取的人声Aa的声纹和语音内容与第二电子设备采集的所有的人声(人声Ba和Bb)进行匹配,若存在第二电子设备采集的人声的声纹和语音内容与人声Aa的声纹和语音内容的相似度大于或等于预设相似度,则确定第一电子设备与第二电子设备在同一空间中,在第一电子设备和第二电子设备之间建立真实协同关系。Wherein, the first electronic device can match the acquired voiceprint and voice content of the human voice Aa with all the human voices (voices Ba and Bb) collected by the second electronic device, and if the similarity between the voiceprint and voice content of the human voice collected by the second electronic device and the voiceprint and voice content of the human voice Aa is greater than or equal to the preset similarity, then it is determined that the first electronic device and the second electronic device are in the same space, and a real collaborative relationship is established between the first electronic device and the second electronic device.

需要说明的是,在同一空间中两个以上的电子设备进行语音采集,以建立协同关系时,考虑到由于同一空间中,所有电子设备的麦克风组成了一个麦克风阵列,因此,无法通过电子设备采集语音的音量特征进行电子设备采集的语音的人声分离。本申请提供的实施例可以通过综合所有电子设备采集的语音,进行多声源定位和分离,以确定多个电子设备是否存在同一空间,以进一步建立多个设备之间的协同关系。其中,若同一空间多设备建立协同关系场景下,各设备可以实时获取多个设备采集的音频,并实时对多个设备采集到的音频分析提取共同的背景噪声,然后利用该背景噪声实时对各设备当前采集的音频进行去噪处理,获得各设备的拾音结果。It should be noted that when two or more electronic devices collect voices in the same space to establish a collaborative relationship, it is considered that since the microphones of all electronic devices form a microphone array in the same space, it is impossible to separate the human voice of the voice collected by the electronic device through the volume characteristics of the voice collected by the electronic device. The embodiments provided in the present application can perform multi-sound source localization and separation by synthesizing voices collected by all electronic devices to determine whether multiple electronic devices exist in the same space, so as to further establish a cooperative relationship between multiple devices. Among them, if multiple devices in the same space establish a collaborative relationship scenario, each device can obtain the audio collected by multiple devices in real time, and analyze the audio collected by multiple devices in real time to extract common background noise, and then use the background noise to denoise the audio currently collected by each device in real time to obtain the sound pickup results of each device.

在一些实施方式中,第一电子设备可以包括拾音范围可以调整的第一麦克风,第二电子设备可以包括拾音范围可以调整的第二麦克风。其中,第一麦克风的拾音范围与第二麦克风的拾音范围可以相同也可以不同,在此不作限定。In some implementations, the first electronic device may include a first microphone with an adjustable sound pickup range, and the second electronic device may include a second microphone with an adjustable sound pickup range. Wherein, the sound pickup range of the first microphone and the sound pickup range of the second microphone may be the same or different, which is not limited herein.

在一些实施方式中,第一麦克风可以在第一拾音范围内采集第一拾音结果,第二麦克风也可以在第一拾音范围采集第二拾音结果。若第一电子设备在第一拾音范围内获取的第一拾音结果的第一语音特征与第二电子设备在第一拾音范围内获取的第二拾音结果的第二语音特征的相似度小于预设相似度,则确定第一电子设备在第一拾音范围内未获取到第一电子设备的第一拾音结果,以及在第一拾音范围内未获取到第二电子设备的第二拾音结果,则自动扩大第一麦克风与第二麦克风的拾音范围,以在第二拾音范围内获取第一电子设备的第一拾音结果,以及在第二拾音范围内获取第二电子设备的第二拾音结果。并进一步返回执行获得第一电子设备在第二拾音范围内获取的第一拾音结果的第一语音特征,以及获得第二电子设备在第二拾音范围内获取的第二拾音结果的第二语音特征,以及比较第一语音特征与第二语音特征的相似度与预设相似度的大小的步骤,直至第一语音特征与第二语音特征的相似度大于或等于预设相似度,确定第一电子设备与第二电子设备在同一空间中,并将第一电子设备与第二电子设备建立协同关系,或者麦克风的拾音范围达到最大值时,停止对麦克风拾音范围的调整。In some implementations, the first microphone may collect the first sound pickup result within the first sound pickup range, and the second microphone may also collect the second sound pickup result within the first sound pickup range. If the similarity between the first speech feature of the first sound pickup result acquired by the first electronic device within the first sound pickup range and the second speech feature of the second sound pickup result obtained by the second electronic device within the first sound pickup range is less than the preset similarity, it is determined that the first electronic device has not obtained the first sound pickup result of the first electronic device within the first sound pickup range, and has not obtained the second sound pickup result of the second electronic device within the first sound pickup range, automatically expanding the sound pickup ranges of the first microphone and the second microphone to obtain the first sound pickup result of the first electronic device within the second sound pickup range, and A second sound pickup result of the second electronic device is acquired within the second sound pickup range. And further returning to the steps of obtaining the first voice feature of the first sound pickup result obtained by the first electronic device within the second sound pickup range, and obtaining the second voice feature of the second sound pickup result obtained by the second electronic device within the second sound pickup range, and comparing the similarity between the first voice feature and the second voice feature with the preset similarity, until the similarity between the first voice feature and the second voice feature is greater than or equal to the preset similarity, it is determined that the first electronic device and the second electronic device are in the same space, and the first electronic device and the second electronic device are established. Stop adjusting the microphone pickup range.

其中,第一拾音范围小于第二拾音范围;第一电子设备与第二电子设备之间进行协同关系建立时,第一麦克风与第二麦克风的拾音范围可以自动从最小值逐渐扩大,直至第一电子设备与第二电子设备之间建立有协同关系后,可以保持麦克风的拾音范围为建立协同关系时的大小;或者第一麦克风与第二麦克风的拾音范围扩大到最大值时仍无法确定第一电子设备与第二电子设备处于同一空间,可以保持麦克风的拾音范围为最大值或者最小值。Wherein, the first sound pickup range is smaller than the second sound pickup range; when the cooperative relationship is established between the first electronic device and the second electronic device, the sound pickup range of the first microphone and the second microphone can be automatically gradually expanded from the minimum value until the first electronic device and the second electronic device establish a cooperative relationship, and the sound pickup range of the microphone can be kept at the size when the cooperative relationship is established;

在一些实施方式中,第一电子设备和第二电子设备建立协同关系后,或者第一电子设备与第二电子设备之间的协同关系发生改变(如,第一电子设备被其他电子设备接管、第一电子设备退出协同关系或者有新的电子设备与第一电子设备建立协同关系等),第一麦克风的拾音范围可以发生变化,第二麦克风的拾音范围也可以发生变化,在此不作限定。In some embodiments, after the first electronic device and the second electronic device establish a cooperative relationship, or the cooperative relationship between the first electronic device and the second electronic device changes (for example, the first electronic device is taken over by another electronic device, the first electronic device withdraws from the cooperative relationship, or a new electronic device establishes a cooperative relationship with the first electronic device, etc.), the sound pickup range of the first microphone may change, and the sound pickup range of the second microphone may also change, which is not limited here.

在一些实施方式中,第一电子设备中第一麦克风的拾音范围可以根据第一电子设备所处环境以及第一电子设备所处环境中其他设备的数量进行调整。示例性的,若第一电子设备所处环境中噪声大于噪声阈值或者第一电子设备所处环境中其他设备的数量大于数量阈值,为了提高第一电子设备的拾音质量,可以调整第一电子设备的拾音范围在能与一台其他设备建立协同关系的前提下的最小范围。若第一电子设备所处环境中噪声小于或等于噪声阈值,或者第一电子设备所处环境中其他设备的数量小于或等于数量阈值,为了提高第一电子设备与其他电子设备进行协同的效率,可以调整第一电子设备的拾音范围为拾音的最大范围。In some implementations, the sound pickup range of the first microphone in the first electronic device can be adjusted according to the environment where the first electronic device is located and the number of other devices in the environment where the first electronic device is located. Exemplarily, if the noise in the environment where the first electronic device is located is greater than the noise threshold or the number of other devices in the environment where the first electronic device is located is greater than the number threshold, in order to improve the sound pickup quality of the first electronic device, the sound pickup range of the first electronic device may be adjusted to a minimum range on the premise that a cooperative relationship can be established with one other device. If the noise in the environment where the first electronic device is located is less than or equal to the noise threshold, or the number of other devices in the environment where the first electronic device is located is less than or equal to the number threshold, in order to improve the efficiency of collaboration between the first electronic device and other electronic devices, the sound pickup range of the first electronic device may be adjusted to the maximum sound pickup range.

在一些实施方式中,请参阅图4,本申请实施例提供的一种设置设备操作权限的方法还可以包括步骤S104-步骤S106。In some implementation manners, please refer to FIG. 4 , a method for setting device operation authority provided by the embodiment of the present application may further include step S104-step S106.

步骤S104:若所述第一语音特征与所述第二语音特征的相似度小于所述预设相似度,则生成查询请求,并将所述查询请求发送至协同设备,其中,所述协同设备与所述第一电子设备之间建立有协同关系。Step S104: If the similarity between the first voice feature and the second voice feature is less than the preset similarity, generate a query request and send the query request to a collaboration device, wherein a collaboration relationship is established between the collaboration device and the first electronic device.

在一些实施方式中,考虑到电子设备之间建立协同关系时,受麦克风拾音范围的影响,不同的设备空间分布可能会导致两个设备混响,从而采集不同对方的人声,从而导致设备之间建立协同关系失败。为避免第一电子设备与第二电子设备之间建立协同关系受第一电子设备与第二电子设备之间的空间分布的影响,在本申请实施例中,第一电子设备可以在第一语音特征与第二语音特征的相似度小于预设相似度时,生成查询请求,并将查询请求发送至与第一电子设备之间建立有协同关系的协同设备。In some implementations, considering the establishment of a cooperative relationship between electronic devices, due to the influence of the sound pickup range of the microphones, different spatial distributions of the two devices may cause the two devices to reverberate, thereby collecting different voices of each other, resulting in failure to establish a cooperative relationship between the devices. In order to avoid the establishment of a cooperative relationship between the first electronic device and the second electronic device being affected by the spatial distribution between the first electronic device and the second electronic device, in this embodiment of the application, the first electronic device may generate a query request when the similarity between the first voice feature and the second voice feature is less than a preset similarity, and send the query request to the collaborative device that has established a collaborative relationship with the first electronic device.

作为一种实施方式,第一电子设备在第一麦克风的拾音范围扩大到最大范围时获得的第一语音特征,与第二麦克风的拾音范围扩大到最大范围时获得的第二语音特征的相似度小于预设相似度时,可以生成查询请求,并可以将该查询请求发送至与第一电子设备之间建立有协同关系的协同设备。As an implementation manner, when the similarity between the first voice feature obtained when the sound pickup range of the first microphone is expanded to the maximum range and the second voice feature obtained when the sound pickup range of the second microphone is expanded to the maximum range is less than a preset similarity, a query request may be generated, and the query request may be sent to a collaborative device that establishes a cooperative relationship with the first electronic device.

步骤S105:获取所述协同设备基于所述查询请求反馈的查询结果,其中,所述查询结果包括所述协同设备与所述第二电子设备之间建立有协同关系,或者,所述协同设备与所述第二电子设备之间未建立有协同关系。Step S105: Obtain a query result fed back by the coordination device based on the query request, wherein the query result includes that a coordination relationship has been established between the coordination device and the second electronic device, or that no coordination relationship has been established between the coordination device and the second electronic device.

在一些实施方式中,第一电子设备向协同设备发送查询请求后,协同设备可以响应于该查询请求,查询与该协同设备建立有协同关系的设备,若第二电子设备与该协同设备建立有协同关系,则向第一电子设备反馈该协同设备与第二电子设备之间建立有协同关系的查询结果;或者若第二电子设备与该协同设备未建立有协同关系,则向第一电子设备反馈该协同设备与第二电子设备之间未建立有协同关系的查询结果。In some implementations, after the first electronic device sends a query request to the coordination device, the coordination device may respond to the query request and query the device that has established a coordination relationship with the coordination device. If the second electronic device has established a coordination relationship with the coordination device, then feed back the query result that the coordination relationship has been established between the coordination device and the second electronic device to the first electronic device;

作为一种实施方式,第一电子设备向协同设备发送查询请求后,协同设备可以响应于该查询请求,查询与该协同设备建立有协同关系的除第一电子设备的设备,也即,以避免出现死循环,不对查询者进行系统关系的查询。As an implementation manner, after the first electronic device sends a query request to the coordination device, the coordination device may respond to the query request and query devices other than the first electronic device that have established a coordination relationship with the coordination device.

作为另一种实施方式,第一电子设备向协同设备发送查询请求后,协同设备可以响应于该查询请求,查询与该协同设备建立有协同关系的除第一电子设备的设备,若协同设备未与第二电子设备建立有协同关系,进一步的,该协同设备可以生成目标设备查询请求,并将该目标设备查询请求发送至与该协同设备建立有协同关系的设备,直至查询到存在设备与第二电子设备建立有协同关系或者不存在设备与第二电子设备建立有协同关系,获得目标设备查询结果,并将该目标设备查询结果发送至第一电子设备。其中,目标查询结果包括存在设备与第二电子设备之间建立有协同关系,或者,不存在设备与第二电子设备之间建立有协同关系。进一步的,若第一电子设备基于目标设备查询结果确定存在设备与第二电子设备之间建立有协同关系,则将第一电子设备与第二电子设备建立协同关系。As another implementation manner, after the first electronic device sends a query request to the coordination device, the coordination device may respond to the query request and query the devices other than the first electronic device that have established a coordination relationship with the coordination device. The query result of the target device is sent to the first electronic device. Wherein, the target query result includes that there is a cooperative relationship established between the device and the second electronic device, or that there is no cooperative relationship established between the device and the second electronic device. Further, if the first electronic device determines, based on the target device query result, that there is a cooperative relationship established between the existing device and the second electronic device, then establish a cooperative relationship between the first electronic device and the second electronic device.

步骤S106:若基于所述查询结果确定所述协同设备与所述第二电子设备之间建立有协同关系,则将所述第一电子设备与所述第二电子设备建立协同关系。Step S106: If it is determined based on the query result that a cooperative relationship has been established between the coordinated device and the second electronic device, establish a coordinated relationship between the first electronic device and the second electronic device.

在一些实施方式中,若第一电子设备基于查询结果确定协同设备与第二电子设备之间建立有协同关系,则将第一电子设备与第二电子设备建立协同关系。In some implementation manners, if the first electronic device determines that a cooperative relationship has been established between the coordinated device and the second electronic device based on the query result, then establish a coordinated relationship between the first electronic device and the second electronic device.

示例性的,请参阅图5、图6以及图7。图5示出了,理想状态下,多个设备之间互相都能够建立协同关系。图6示出了,第一电子设备无法根据拾音结果与第二电子设备之间建立协同关系时,第一电子设备生成查询请求发送至协同设备,查询协同设备与第二电子设备时间是否建立有协同关系,若未建立,则由协同设备查询与协同设备建立有协同关系的设备是否与第二电子设备建立有协同关系,直至查询到存在设备与第二电子设备之间建立有协同关系,并进一步将第一电子设备与第二电子设备建立协同关系。图7示出了,第一电子设备无法根据拾音结果与第二电子设备之间建立协同关系时,第一电子设备生成查询请求至协同设备,查询协同设备与第二电子设备时间是否建立有协同关系,若未建立,则由协同设备查询与协同设备建立有协同关系的设备是否与第二电子设备建立有协同关系,直至查询到不存在设备与第二电子设备之间建立有协同关系,则说明第一电子设备与第二电子设备之间不满足建立协同关系的条件。For example, please refer to FIG. 5 , FIG. 6 and FIG. 7 . FIG. 5 shows that in an ideal state, multiple devices can establish a cooperative relationship with each other. Figure 6 shows that when the first electronic device cannot establish a cooperative relationship with the second electronic device according to the sound pickup result, the first electronic device generates a query request and sends it to the cooperative device to inquire whether the cooperative device has established a cooperative relationship with the second electronic device. Figure 7 shows that when the first electronic device cannot establish a cooperative relationship with the second electronic device according to the sound pickup result, the first electronic device generates a query request to the cooperative device to query whether the cooperative device has established a cooperative relationship with the second electronic device. If not established, the cooperative device queries whether the device that has established a cooperative relationship with the cooperative device has established a cooperative relationship with the second electronic device.

步骤S120:获取所述第一电子设备的身份信息作为第二身份信息。Step S120: Obtain the identity information of the first electronic device as the second identity information.

在一些实施方式中,第一电子设备获取第一电子设备的身份信息可以是,第一电子设备获取第一电子设备的ID、操作账号信息、操作域等,并将第一电子设备的ID、操作账号信息、操作域等作为第一电子设备的身份信息。并进一步的,将第一电子设备的身份信息作为第二身份信息。In some implementations, the acquisition of the identity information of the first electronic device by the first electronic device may be that the first electronic device acquires the ID, operating account information, operating domain, etc. of the first electronic device, and uses the ID, operating account information, operating domain, etc. of the first electronic device as the identity information of the first electronic device. And further, the identity information of the first electronic device is used as the second identity information.

在另一些实施方式中,第一电子设备可以包括第一麦克风,第一电子设备可以获取第一麦克风采集的语音,并通过无感声纹识别技术识别第一麦克风采集的语音对应的用户的身份信息,并将该用户的身份信息作为第一电子设备的身份信息,以及确定第一电子设备的身份信息作为第二身份信息。In other embodiments, the first electronic device may include a first microphone, and the first electronic device may obtain the voice collected by the first microphone, and identify the identity information of the user corresponding to the voice collected by the first microphone through a non-inductive voiceprint recognition technology, and use the user's identity information as the identity information of the first electronic device, and determine the identity information of the first electronic device as the second identity information.

其中,第一电子设备可以为包括麦克风的可穿戴设备,如耳机、虚拟实境(VirtualReality,VR)等具备语音交互功能的可穿戴设备。第一电子设备可以通过该麦克风实时采集声音,提取穿戴者的语音,并通过第一电子设备中预设的声纹识别模型提取穿戴者的语音的声纹,进一步的,将该声纹与第一电子设备中预先设置的声纹库进行匹配,识别穿戴者的身份信息,并将该穿戴的身份信息作为第一电子设备的身份信息,以及确定第一电子设备的身份信息作为第二身份信息。Wherein, the first electronic device may be a wearable device including a microphone, such as a headset, a virtual reality (Virtual Reality, VR) and other wearable devices with a voice interaction function. The first electronic device can collect sound in real time through the microphone, extract the voice of the wearer, and extract the voiceprint of the wearer's voice through the voiceprint recognition model preset in the first electronic device, and further, match the voiceprint with the voiceprint library preset in the first electronic device, identify the identity information of the wearer, use the worn identity information as the identity information of the first electronic device, and determine the identity information of the first electronic device as the second identity information.

作为一种实施方式,若穿戴者未在声纹库中注册声纹,第一电子设备可以生成提示穿戴者将声纹与身份信息对应注册在声纹库中的提示信息,以丰富第一电子设备的声纹库,提高第一电子设备确定第一身份信息的准确性。As an implementation, if the wearer has not registered the voiceprint in the voiceprint database, the first electronic device may generate prompt information prompting the wearer to register the voiceprint and identity information in the voiceprint database correspondingly, so as to enrich the voiceprint database of the first electronic device and improve the accuracy of the first electronic device in determining the first identity information.

步骤S130:基于所述第一身份信息以及所述第二身份信息,设置所述第二电子设备对所述第一电子设备的操作权限。Step S130: Based on the first identity information and the second identity information, set the operation authority of the second electronic device to the first electronic device.

在一些实施方式中,第一电子设备获得第一身份信息以及第二身份信息后,可以基于该第一身份信息以及第二身份信息,设置第二电子设备对第一电子设备的操作权限。示例性的,第一电子设备中可以预先设置有操作账号信息对应的等级;其中,第一身份信息为第一电子设备的操作账号信息,第二身份信息为第二电子设备的操作账号信息,若基于第一电子设备中预先设置的操作账号信息对应的等级,确定第一电子设备的操作账号信息的等级高于第二电子设备的操作账号信息,则授予第二电子设备对第一电子设备操作的权限;若第一电子设备的操作账号信息的等级等于或低于第二电子设备的操作账号信息,则生成授权设置界面并显示在第一电子设备,以用户基于该授权设置界面设置第二电子设备对第一电子设备操作权限。In some implementations, after the first electronic device obtains the first identity information and the second identity information, based on the first identity information and the second identity information, the operation authority of the second electronic device to the first electronic device can be set. Exemplarily, the level corresponding to the operation account information may be preset in the first electronic device; wherein, the first identity information is the operation account information of the first electronic device, and the second identity information is the operation account information of the second electronic device. If based on the level corresponding to the operation account information preset in the first electronic device, it is determined that the level of the operation account information of the first electronic device is higher than the operation account information of the second electronic device, the second electronic device is granted the right to operate the first electronic device; if the level of the operation account information of the first electronic device is equal to or lower than that of the second electronic device, an authorization setting interface is generated and displayed On the first electronic device, the user sets the operation authority of the second electronic device to the first electronic device based on the authorization setting interface.

在一些实施方式中,请参阅图8,步骤S130可以包括步骤S131-步骤S134。In some implementations, please refer to FIG. 8 , step S130 may include step S131-step S134.

步骤S131:获取所述第一身份信息对应的第一优先级。Step S131: Obtain the first priority corresponding to the first identity information.

在一些实施方式中,第一电子设备中可以预先设置有身份信息对应的优先级。第一电子设备获取第一身份信息后,可以进一步获取第一身份信息对应的第一优先级。示例性的,第一身份信息为穿戴第一电子设备的用户的身份信息,如,父母、游戏中的队长。In some implementation manners, the priority corresponding to the identity information may be preset in the first electronic device. After the first electronic device acquires the first identity information, it may further acquire the first priority corresponding to the first identity information. Exemplarily, the first identity information is the identity information of the user wearing the first electronic device, such as a parent, or a captain in a game.

步骤S132:获取所述第二身份信息对应的第二优先级。Step S132: Obtain a second priority corresponding to the second identity information.

在一些实施方式中,第一电子设备中可以预先设置有身份信息对应的优先级。第一电子设备获取第二身份信息后,可以进一步获取第二身份信息对应的第二优先级。示例性的,第二身份信息为穿戴第二电子设备的用户的身份信息,如,孩子、游戏中的队员。In some implementation manners, the priority corresponding to the identity information may be preset in the first electronic device. After the first electronic device acquires the second identity information, it may further acquire the second priority corresponding to the second identity information. Exemplarily, the second identity information is the identity information of the user wearing the second electronic device, such as a child or a player in a game.

步骤S133:若所述第一优先级高于所述第二优先级,则将所述第一电子设备的操作权限授予所述第二电子设备。Step S133: if the first priority is higher than the second priority, grant the operation authority of the first electronic device to the second electronic device.

在一些实施方式中,第一电子设备中预先设置有身份信息对应的优先级,若第一优先级高于第二优先级,则将第一电子设备的操作权限授予第二电子设备。示例性的,第一电子设备中预先设置的优先级中可以包括:父母的优先级高于孩子的优先级、游戏中的队长的优先级高于游戏中的对应的优先级等。若第一优先级为父母的优先级,第二优先级为孩子的优先级,则将第一电子设备的操作权限授予第二电子设备;若第一优先级为游戏中队长的优先级,第二优先级为游戏中队员的优先级,则将第一电子设备的操作权限授予第二电子设备。In some implementations, the first electronic device is preset with a priority corresponding to the identity information, and if the first priority is higher than the second priority, the operation authority of the first electronic device is granted to the second electronic device. Exemplarily, the preset priorities in the first electronic device may include: the priority of parents is higher than that of children, the priority of the captain in the game is higher than the corresponding priority in the game, and so on. If the first priority is the priority of the parents, and the second priority is the priority of the child, the operation authority of the first electronic device is granted to the second electronic device; if the first priority is the priority of the captain in the game, and the second priority is the priority of the team members in the game, the operation authority of the first electronic device is granted to the second electronic device.

其中,第一电子设备基于无感声纹识别,识别用户的身份信息,从而确定身份信息对应的预设权限,进而在第二电子设备的身份信息对应得优先级高于第一电子设备的身份信息对应得优先级时,强制性的将第一电子设备的操作权限授予第二电子设备,以支持多个用户利用第一电子设备进行互联互动,提高了多设备场景下设备的可玩性和丰富性,提高了用户的体验感。Wherein, the first electronic device identifies the user's identity information based on non-inductive voiceprint recognition, thereby determining the preset authority corresponding to the identity information, and then when the priority corresponding to the identity information of the second electronic device is higher than the priority corresponding to the identity information of the first electronic device, the operation authority of the first electronic device is forcibly granted to the second electronic device, so as to support multiple users to use the first electronic device for interconnection and interaction, improve the playability and richness of the device in a multi-device scenario, and improve the user experience.

步骤S134:若所述第一优先级等于所述第二优先级,则获取所述第一电子设备对应的用户基于所述操作请求输入的权限设置指令,并基于所述权限设置指令,设置所述第二电子设备对所述第一电子设备的操作权限。Step S134: If the first priority is equal to the second priority, obtain an authority setting instruction input by the user corresponding to the first electronic device based on the operation request, and set the operation authority of the second electronic device on the first electronic device based on the authority setting instruction.

在一些实施方式中,若第一电子设备确定第一优先级等于第二优先级,则获取第一电子设备对应的用户基于操作请求输入的权限设置指令,并基于权限设置指令,设置第二电子设备对第一电子设备的操作权限。In some implementations, if the first electronic device determines that the first priority is equal to the second priority, obtain the permission setting instruction input by the user corresponding to the first electronic device based on the operation request, and set the operation permission of the second electronic device on the first electronic device based on the permission setting instruction.

在一些实施方式中,操作请求由第二电子设备基于用户输入的语音生成,第二电子设备确定第一优先级等于第二优先级后,可以生成用于提示第一电子设备对应的用户基于操作请求输入的权限设置指令的提示信息。进一步的,第一电子设备可以获取第一电子设备对应的用户基于操作请求输入的权限设置指令,并可以基于权限设置指令,设置第二电子设备对第一电子设备的操作权限。其中,用户基于操作请求输入的权限设置指令可以是,将第一电子设备的操作权限授予第二电子设备,或者不将第一电子设备的操作权限授予第二电子设备。In some implementations, the operation request is generated by the second electronic device based on the voice input by the user, and after the second electronic device determines that the first priority is equal to the second priority, it may generate prompt information for prompting the corresponding user of the first electronic device to input permission setting instructions based on the operation request. Further, the first electronic device may obtain the permission setting instruction input by the user corresponding to the first electronic device based on the operation request, and may set the operation permission of the second electronic device on the first electronic device based on the permission setting instruction. Wherein, the permission setting instruction input by the user based on the operation request may be to grant the operation permission of the first electronic device to the second electronic device, or not to grant the operation permission of the first electronic device to the second electronic device.

示例性的,若第一电子设备接收到第二电子设备的操作请求,同时确定第一优先级等于第二优先级,并收到第一电子设备对应的用户基于操作请求输入的将第一电子设备的操作权限授予第二电子设备的权限设置指令时,将第一电子设备的操作权限授予第二电子设备。若第一电子设备接收到第二电子设备的操作请求,同时确定第一优先级等于第二优先级,并从第一电子设备接收到操作请求开始计时,直至计时达到时间阈值的过程中都没有检测到第一电子设备对应的用户发出声音,则确定获得第一电子设备对应的用户基于操作请求输入的将第一电子设备的操作权限授予第二电子设备的权限设置指令,将第一电子设备的操作权限授予第二电子设备。Exemplarily, if the first electronic device receives an operation request from the second electronic device, and at the same time determines that the first priority is equal to the second priority, and receives a permission setting instruction for granting the operation permission of the first electronic device to the second electronic device from the user corresponding to the first electronic device based on the operation request, the operation permission of the first electronic device is granted to the second electronic device. If the first electronic device receives an operation request from the second electronic device, and at the same time determines that the first priority is equal to the second priority, and starts timing from the first electronic device receiving the operation request, until the timing reaches the time threshold, it is not detected that the user corresponding to the first electronic device makes a sound, then it is determined that the user corresponding to the first electronic device enters a permission setting instruction to grant the operation permission of the first electronic device to the second electronic device based on the operation request, and grants the operation permission of the first electronic device to the second electronic device.

其中,第一电子设备基于无感声纹识别,识别用户的身份信息,从而确定身份信息对应的预设权限,进而在第二电子设备的身份信息对应得优先级等于第一电子设备的身份信息对应得优先级时,规则性的获取第一电子设备对应的用户基于操作请求输入的权限设置指令,并基于权限设置指令,设置第二电子设备对第一电子设备的操作权限,以支持用户进行跨设备的互联互动,提高了用户的体验感。Wherein, the first electronic device identifies the user's identity information based on the non-inductive voiceprint recognition, thereby determining the preset authority corresponding to the identity information, and then when the priority corresponding to the identity information of the second electronic device is equal to the priority corresponding to the identity information of the first electronic device, regularly acquires the authority setting instruction input by the user corresponding to the first electronic device based on the operation request, and sets the operation authority of the second electronic device to the first electronic device based on the authority setting instruction, so as to support the user to perform cross-device interconnection and interaction, and improve the user experience.

在一些实施方式中,第一电子设备与多个电子设备之间建立有协同关系,若第一电子设备接收到多个电子设备的包括操作请求的语音时,第一电子设备可以利用多声源定位分离的方法,将各电子设备采集的语音进行人声分离得到各电子设备独立的语音操作请求以及语音来源,然后进一步利用无感声纹识别技术确认各电子设备对应的身份信息,并进一步根据身份信息获得各电子设备的预设权限,再根据各电子设备的预设权限的等级以及语音操作请求对应的时间进行优先级排列,获得目标顺序,最后第一电子设备可以基于该目标顺序设置各电子设备对第一电子设备的操作权限。In some implementations, a cooperative relationship is established between the first electronic device and multiple electronic devices. If the first electronic device receives voices including operation requests from multiple electronic devices, the first electronic device can use the method of multi-sound source positioning and separation to separate the voices collected by each electronic device to obtain the independent voice operation request and voice source of each electronic device, and then further use the non-inductive voiceprint recognition technology to confirm the corresponding identity information of each electronic device, and further obtain the preset authority of each electronic device according to the identity information, and then perform according to the level of preset authority of each electronic device and the time corresponding to the voice operation request. The priority is arranged to obtain the target order, and finally the first electronic device can set the operation authority of each electronic device to the first electronic device based on the target order.

本申请一实施例提供的设置设备操作权限的方法,通过若接收到第二电子设备的操作请求,则获取第二电子设备的身份信息作为第一身份信息,其中,操作请求由第二电子设备基于用户输入的语音生成;获取第一电子设备的身份信息作为第二身份信息;基于第一身份信息以及第二身份信息,设置第二电子设备对第一电子设备的操作权限。本申请通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了设备之间的互联互动,提高了用户的体验感。In the method for setting device operation authority provided by an embodiment of the present application, if an operation request of the second electronic device is received, the identity information of the second electronic device is obtained as the first identity information, wherein the operation request is generated by the second electronic device based on the voice input by the user; the identity information of the first electronic device is obtained as the second identity information; and the operation authority of the second electronic device to the first electronic device is set based on the first identity information and the second identity information. This application recognizes the operation request sent by the second electronic device to the first electronic device by voice, and further sets the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, so as to realize the interconnection and interaction between the devices and improve the user experience.

请参阅图9,图9示出了本申请一实施例提供的设置设备操作权限的方法的流程示意图。该方法应用于上述第一电子设备,其中,所述第一电子设备为可穿戴设备。下面将针对图9所示的流程进行详细的阐述,所述设置设备操作权限的方法具体可以包括以下步骤:Please refer to FIG. 9 , which shows a schematic flowchart of a method for setting device operation permissions provided by an embodiment of the present application. The method is applied to the above-mentioned first electronic device, wherein the first electronic device is a wearable device. The process shown in Figure 9 will be described in detail below, and the method for setting device operation authority may specifically include the following steps:

步骤S210:若接收到第二电子设备的操作请求,则检测所述第一电子设备所处的状态信息,其中,所述状态信息包括处于穿戴状态或者未处于穿戴状态。Step S210: If the operation request of the second electronic device is received, detect the status information of the first electronic device, wherein the status information includes being in a wearing state or not being in a wearing state.

在一些实施方式中,第一电子设备为可穿戴设备,可以包括麦克风,如,耳机、VR等具备语音交互功能的可穿戴设备。In some implementations, the first electronic device is a wearable device, which may include a microphone, such as a wearable device with a voice interaction function such as an earphone and a VR.

其中,第一电子设备与第二电子设备之间建立有协同关系,第一电子设备与第二电子设备可以基于该协同关系进行数据传输。作为一种实施方式,第一电子设备接收到第二电子设备的操作请求后,可以检测第一电子设备所处的状态信息。其中,该状态信息包括第一电子设备处于穿戴状态或者未处于穿戴状态。Wherein, a coordination relationship is established between the first electronic device and the second electronic device, and the first electronic device and the second electronic device may perform data transmission based on the coordination relationship. As an implementation manner, after receiving the operation request of the second electronic device, the first electronic device may detect the state information of the first electronic device. Wherein, the state information includes whether the first electronic device is in a wearing state or not in a wearing state.

可选的,第一电子设备中的处理器检测第一电子设备所处的状态信息的方式,可以是检测是否存在脉搏信息,若存在脉搏信息则确定第一电子设备处于穿戴状态;若不存在脉搏信息则确定第一电子设备未处于穿戴状态。第一电子设备也可以包括红外线传感器,其中,第一电子设备可获取该红外线传感器的红外线信号,检测第一电子设备所处的状态信息。Optionally, the way for the processor in the first electronic device to detect the state information of the first electronic device may be to detect whether there is pulse information, and if there is pulse information, it is determined that the first electronic device is in the wearing state; if there is no pulse information, it is determined that the first electronic device is not in the wearing state. The first electronic device may also include an infrared sensor, where the first electronic device may acquire an infrared signal from the infrared sensor to detect state information of the first electronic device.

步骤S220:若所述第一电子设备的状态信息为未处于穿戴状态,则将所述第一电子设备的操作权限授予所述第二电子设备。Step S220: If the state information of the first electronic device is not in the wearing state, grant the operation authority of the first electronic device to the second electronic device.

在一些实施方式中,若第一电子设备的处理器检测到第一电子设备的状态信息为未穿戴状态,则将第一电子设备的操作权限授予第二电子设备。In some implementations, if the processor of the first electronic device detects that the state information of the first electronic device is not worn, the operation authority of the first electronic device is granted to the second electronic device.

示例性的,第一电子设备和第二电子设备应用于多设备组队游戏中,若第一电子设备接收到第二电子设备的操作请求,进一步的,第一电子设备的处理器可以检测第一电子设备的状态信息,若检测到第一电子设备处于未穿戴状态,则将第一电子设备的操作权限授予第二电子设备。Exemplarily, the first electronic device and the second electronic device are used in a multi-device team game. If the first electronic device receives an operation request from the second electronic device, further, the processor of the first electronic device may detect the state information of the first electronic device, and if it is detected that the first electronic device is not worn, the operation authority of the first electronic device is granted to the second electronic device.

其中,可穿戴设备,也即第一电子设备,借助麦克风以及对自身的状态信息的分析,智能地对第二电子设备进行授权操作,实现了可靠的、鲁棒性的以及丰富的跨设备的语音协同,提高了用户对可穿戴设备体验感。Among them, the wearable device, that is, the first electronic device, uses a microphone and analyzes its own state information to intelligently authorize the operation of the second electronic device, realizing reliable, robust, and rich cross-device voice collaboration, and improving the user's sense of wearable device experience.

在一些实施方式中,请参阅图10,本申请实施例提供的一种设置设备操作权限的方法还可以包括步骤S230-步骤S250。In some implementation manners, please refer to FIG. 10 , a method for setting device operation authority provided by the embodiment of the present application may further include step S230-step S250.

步骤S230:若所述第一电子设备的状态信息为处于穿戴状态,则获取所述第一电子设备的目标语音。Step S230: If the state information of the first electronic device is in a wearing state, then acquire the target voice of the first electronic device.

在一些实施方式中,若第一电子设备的处理器确定第一电子设备的状态信息为处于穿戴状态,则可以获取第一电子设备的目标语音。In some implementations, if the processor of the first electronic device determines that the state information of the first electronic device is in a wearing state, then the target voice of the first electronic device may be acquired.

其中,目标语音可以理解为,第一电子设备中的麦克风采集的穿戴第一电子设备的用户的语音。Wherein, the target voice may be understood as the voice of the user wearing the first electronic device collected by the microphone in the first electronic device.

在一些实施方式中,若第一电子设备的状态信息为处于穿戴状态,且第一电子设备中的处理器检测到穿戴第一电子设备的用户一直在说话,则获取第一电子设备的目标语音。In some implementations, if the state information of the first electronic device is in the wearing state, and the processor in the first electronic device detects that the user wearing the first electronic device has been talking, then acquire the target voice of the first electronic device.

步骤S240:对所述目标语音进行语义分析,获得所述目标语音对应的语义内容,其中,所述语义内容包括游戏内容或者非游戏内容。Step S240: Perform semantic analysis on the target voice to obtain semantic content corresponding to the target voice, wherein the semantic content includes game content or non-game content.

在一些实施方式中,第一电子设备获得目标语音后,可以对目标语音进行语义分析,获得目标语音对应的语义内容。其中,语义内容包括游戏内容或者非游戏内容。In some implementation manners, after obtaining the target voice, the first electronic device may perform semantic analysis on the target voice to obtain semantic content corresponding to the target voice. Wherein, the semantic content includes game content or non-game content.

在一些实施方式中,第一电子设备中可以预先设置有语义分析模型,如,自然语言处理技术(Natural Language Processing,NLP)、FCN模型、U-Net模型、OCRNet模型等。进一步的,第一电子设备获得目标语音后,可以基于该语义分析模型对该目标语音进行语义内容获取,获得目标语音对应的语义内容。In some implementation manners, a semantic analysis model, such as a natural language processing technology (Natural Language Processing, NLP), FCN model, U-Net model, OCRNet model, etc., may be preset in the first electronic device. Further, after the first electronic device obtains the target voice, it may acquire the semantic content of the target voice based on the semantic analysis model to obtain the semantic content corresponding to the target voice.

步骤S250:若所述语义内容为非游戏内容,则将所述第一电子设备的操作权限授予所述第二电子设备。Step S250: If the semantic content is non-game content, grant the operation authority of the first electronic device to the second electronic device.

在一些实施方式中,若第一电子设备确定目标语音的语义内容为非游戏内容,如打电话等内容,则可以将第一电子设备的操作权限授予第二电子设备。In some implementations, if the first electronic device determines that the semantic content of the target voice is non-game content, such as content such as making a phone call, the operation authority of the first electronic device may be granted to the second electronic device.

其中,第一电子设备在接收到第二电子设备的操作请求后,通过检测自身的状态信息,机动性的对第二电子设备进行操作授权。示例性的,第一电子设备与第二电子设备应用于多设备组队的游戏中,第一电子设备接收到第二电子设备的操作请求后,检测自身的状态信息,若处于未穿戴状态,则将第一电子设备的操作权限授予第二电子设备;若处于穿戴状态,且检测到穿戴第一电子设备的用户一直在说话,则获取该用户的目标语音,对该目标语音进行语义分析,若分析确定该用户在做游戏以外的事情,如打电话等,则将第一电子设备的操作权限授予第二电子设备,进而实现设备之间的互联互动,提高了用户的体验感。Wherein, after receiving the operation request of the second electronic device, the first electronic device dynamically authorizes the operation of the second electronic device by detecting its own state information. Exemplarily, the first electronic device and the second electronic device are used in a multi-device team game. After the first electronic device receives an operation request from the second electronic device, it detects its own state information, and if it is not worn, then grants the operation authority of the first electronic device to the second electronic device; Realize the interconnection and interaction between devices, and improve the user experience.

本申请一实施例提供的设置设备操作权限的方法,相较于图2所示的设置设备操作权限的方法,本实施例还可以若接收到第二电子设备的操作请求,则检测第一电子设备所处的状态信息,其中,状态信息包括处于穿戴状态或者未处于穿戴状态;若第一电子设备的状态信息为未处于穿戴状态,则将第一电子设备的操作权限授予第二电子设备。本申请通过检测电子设备的穿戴状况,在电子设别未处于穿戴状态时智能的将电子设备的操作权限授予请求操作的电子设备,实现用户跨设备的互联互动,提高了用户的体验感。Compared with the method for setting the device operation authority shown in FIG. 2 , the method for setting the device operation authority provided by an embodiment of the present application can also detect the state information of the first electronic device if the operation request of the second electronic device is received, wherein the state information includes whether it is in the wearing state or not in the wearing state; if the state information of the first electronic device is not in the wearing state, the operation authority of the first electronic device is granted to the second electronic device. This application detects the wearing status of the electronic device, and intelligently grants the operation authority of the electronic device to the electronic device that requests the operation when the electronic device is not in the wearing state, so as to realize the interconnection and interaction of users across devices and improve the user experience.

请参阅图11,图11示出了本申请一实施例提供的设置设备操作权限的装置的模块框图。该设置设备操作权限的装置200应用于上述第一电子设备。下面将针对图11所示的流程进行详细的阐述,所述设置设备操作权限的装置200包括:第一身份信息获取模块210、第二身份信息获取模块220以及操作权限设置模块230,其中:Please refer to FIG. 11 . FIG. 11 shows a module block diagram of an apparatus for setting device operation authority provided by an embodiment of the present application. The apparatus 200 for setting device operation permissions is applied to the above-mentioned first electronic device. The process shown in FIG. 11 will be described in detail below. The apparatus 200 for setting device operation authority includes: a first identity information acquisition module 210, a second identity information acquisition module 220, and an operation authority setting module 230, wherein:

第一身份信息获取模块210,用于若接收到第二电子设备的操作请求,则获取所述第二电子设备的身份信息作为第一身份信息,其中,所述操作请求由所述第二电子设备基于用户输入的语音生成。The first identity information obtaining module 210 is configured to obtain the identity information of the second electronic device as the first identity information if an operation request of the second electronic device is received, wherein the operation request is generated by the second electronic device based on the voice input by the user.

第二身份信息获取模块220,用于所述第一电子设备的身份信息作为第二身份信息。The second identity information obtaining module 220 is configured to use the identity information of the first electronic device as the second identity information.

操作权限设置模块230,用于基于所述第一身份信息以及所述第二身份信息,设置所述第二电子设备对所述第一电子设备的操作权限。An operation authority setting module 230, configured to set the operation authority of the second electronic device to the first electronic device based on the first identity information and the second identity information.

进一步地,在所述若接收到第二电子设备的操作请求,则获取所述第二电子设备的身份信息作为第一身份信息之前,所述设置设备操作权限的装置200还可以包括:拾音结果获取模块、语音特征获取模块以及第一协同关系建立模块,其中:Further, before obtaining the identity information of the second electronic device as the first identity information if the operation request of the second electronic device is received, the apparatus 200 for setting the device operation authority may further include: a voice pickup result acquisition module, a voice feature acquisition module, and a first collaborative relationship establishment module, wherein:

拾音结果获取模块,用于获取所述第一电子设备的第一拾音结果,以及获取所述第二电子设备的第二拾音结果。A sound pickup result obtaining module, configured to obtain a first sound pickup result of the first electronic device, and obtain a second sound pickup result of the second electronic device.

语音特征获取模块,用于基于预设语音检测模型对所述第一拾音结果进行处理,获得第一语音特征,以及基于所述预设语音检测模型对所述第二拾音结果进行处理,获得第二语音特征。A speech feature acquisition module, configured to process the first sound pickup result based on a preset speech detection model to obtain a first speech feature, and process the second sound pickup result based on the preset speech detection model to obtain a second speech feature.

第一协同关系建立模块,用于若所述第一语音特征与所述第二语音特征的相似度大于或等于预设相似度,则确定所述第一电子设备与所述第二电子设备在同一空间中,并将所述第一电子设备与所述第二电子设备建立协同关系,其中,建立所述协同关系的多个电子设备基于所述协同关系进行数据传输。A first collaborative relationship establishment module, configured to determine that the first electronic device and the second electronic device are in the same space if the similarity between the first voice feature and the second voice feature is greater than or equal to a preset similarity, and establish a collaborative relationship between the first electronic device and the second electronic device, wherein the plurality of electronic devices that establish the collaborative relationship perform data transmission based on the collaborative relationship.

进一步地,所述拾音结果获取模块可以包括:拾音结果获取子模块,其中:Further, the sound pickup result acquisition module may include: a sound pickup result acquisition submodule, wherein:

拾音结果获取子模块,用于若在第一拾音范围内未获取到所述第一电子设备的第一拾音结果,以及在所述第一拾音范围内未获取到所述第二电子设备的第二拾音结果,则在第二拾音范围内获取所述第一电子设备的第一拾音结果,以及在所述第二拾音范围内获取所述第二电子设备的第二拾音结果,其中,所述第一拾音范围小于所述第二拾音范围。The sound pickup result acquisition submodule is configured to acquire the first sound pickup result of the first electronic device within the first sound pickup range and obtain the second sound pickup result of the second electronic device within the first sound pickup range, if the first sound pickup result of the first electronic device is not obtained within the first sound pickup range, and acquire the second sound pickup result of the second electronic device within the second sound pickup range, wherein the first sound pickup range is smaller than the second sound pickup range.

进一步地,所述设置设备操作权限的装置200还可以包括:查询请求发送模块、查询结果获取模块以及第二协同关系建立模块,其中:Further, the apparatus 200 for setting device operation authority may also include: a query request sending module, a query result obtaining module, and a second collaborative relationship establishing module, wherein:

查询请求发送模块,用于若所述第一语音特征与所述第二语音特征的相似度小于所述预设相似度,则生成查询请求,并将所述查询请求发送至协同设备,其中,所述协同设备与所述第一电子设备之间建立有协同关系。A query request sending module, configured to generate a query request if the similarity between the first voice feature and the second voice feature is less than the preset similarity, and send the query request to a coordination device, wherein a coordination relationship is established between the coordination device and the first electronic device.

查询结果获取模块,用于获取所述协同设备基于所述查询请求反馈的查询结果,其中,所述查询结果包括所述协同设备与所述第二电子设备之间建立有协同关系,或者,所述协同设备与所述第二电子设备之间未建立有协同关系。A query result acquisition module, configured to acquire a query result fed back by the coordination device based on the query request, wherein the query result includes that a coordination relationship has been established between the coordination device and the second electronic device, or that no coordination relationship has been established between the coordination device and the second electronic device.

第二协同关系建立模块,用于若基于所述查询结果确定所述协同设备与所述第二电子设备之间建立有协同关系,则将所述第一电子设备与所述第二电子设备建立协同关系。The second cooperative relationship establishment module is configured to establish a cooperative relationship between the first electronic device and the second electronic device if it is determined based on the query result that a cooperative relationship has been established between the coordinated device and the second electronic device.

进一步地,所述操作权限设置模块230可以包括:第一优先级获取单元、第二优先级获取单元、第一操作权限设置单元以及第二操作权限设置单元,其中:Further, the operation authority setting module 230 may include: a first priority acquisition unit, a second priority acquisition unit, a first operation authority setting unit, and a second operation authority setting unit, wherein:

第一优先级获取单元,用于获取所述第一身份信息对应的第一优先级。A first priority obtaining unit, configured to obtain the first priority corresponding to the first identity information.

第二优先级获取单元,用于获取所述第二身份信息对应的第二优先级。The second priority obtaining unit is configured to obtain the second priority corresponding to the second identity information.

第一操作权限设置单元,用于若所述第一优先级高于所述第二优先级,则将所述第一电子设备的操作权限授予所述第二电子设备。A first operation authority setting unit, configured to grant the operation authority of the first electronic device to the second electronic device if the first priority is higher than the second priority.

第二操作权限设置单元,用于若所述第一优先级等于所述第二优先级,则获取所述第一电子设备对应的用户基于所述操作请求输入的权限设置指令,并基于所述权限设置指令,设置所述第二电子设备对所述第一电子设备的操作权限。A second operation authority setting unit, configured to obtain an authority setting instruction input by a user corresponding to the first electronic device based on the operation request if the first priority is equal to the second priority, and set the operation authority of the second electronic device on the first electronic device based on the authority setting instruction.

进一步地,所述第一电子设备为可穿戴设备,所述设置设备操作权限的装置200还可以包括:状态信息监测模块以及操作权限授予第一模块,其中:Further, the first electronic device is a wearable device, and the device 200 for setting device operation authority may further include: a state information monitoring module and a first operation authority granting module, wherein:

状态信息监测模块,用于检测所述第一电子设备所处的状态信息,其中,所述状态信息包括处于穿戴状态或者未处于穿戴状态。A state information monitoring module, configured to detect state information of the first electronic device, wherein the state information includes being in a wearing state or not being in a wearing state.

操作权限授予第一模块,用于若所述第一电子设备的状态信息为未处于穿戴状态,则将所述第一电子设备的操作权限授予所述第二电子设备。The operation authority granting first module is configured to grant the operation authority of the first electronic device to the second electronic device if the status information of the first electronic device is not in the wearing state.

进一步地,所述设置设备操作权限的装置200还可以包括:目标语音获取模块、语音内容获取模块以及操作权限授予第二模块,其中:Further, the apparatus 200 for setting device operation authority may also include: a target voice acquisition module, a voice content acquisition module, and a second operation authority granting module, wherein:

目标语音获取模块,用于若所述第一电子设备的状态信息为处于穿戴状态,则获取所述第一电子设备的目标语音。A target voice acquiring module, configured to acquire the target voice of the first electronic device if the state information of the first electronic device is in a wearing state.

语音内容获取模块,用于对所述目标语音进行语义分析,获得所述目标语音对应的语义内容,其中,所述语义内容包括游戏内容或者非游戏内容。The voice content acquisition module is configured to perform semantic analysis on the target voice to obtain semantic content corresponding to the target voice, wherein the semantic content includes game content or non-game content.

操作权限授予第二模块,用于若所述语义内容为非游戏内容,则将所述第一电子设备的操作权限授予所述第二电子设备。The operation authority granting second module is configured to grant the operation authority of the first electronic device to the second electronic device if the semantic content is non-game content.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the devices and modules described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

请参阅图12,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 12 , which shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, and an e-book. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured to be executed by the one or more processors 110, and one or more programs are configured to perform the methods described in the foregoing method embodiments.

其中,处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(ProgrammableLogic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Wherein, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions of the electronic device 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 may be implemented in at least one hardware form of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the content to be displayed; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but may be realized by a communication chip alone.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), and instructions for implementing the following various method embodiments. The storage data area can also store data created during use of the electronic device 100 (such as phonebook, audio and video data, chat record data) and the like.

请参阅图13,其示出了本申请实施例提供的一种计算机可读取存储介质的结构框图。该计算机可读取介质300中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 13 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program codes are stored in the computer-readable medium 300, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.

计算机可读取存储介质300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读取存储介质300包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读取存储介质300具有执行上述方法中的任何方法步骤的程序代码310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码310可以例如以适当形式进行压缩。The computer readable storage medium 300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 300 has a storage space for program code 310 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. Program code 310 may, for example, be compressed in a suitable form.

综上所述,本申请实施例提供的设置设备操作权限的方法、装置、电子设备以及存储介质,通过若接收到第二电子设备的操作请求,则获取第二电子设备的身份信息作为第一身份信息,其中,操作请求由第二电子设备基于用户输入的语音生成;获取第一电子设备的身份信息作为第二身份信息;基于第一身份信息以及第二身份信息,设置第二电子设备对第一电子设备的操作权限。本申请通过语音识别第二电子设备向第一电子设备发送的操作请求,并进一步根据各电子设备的身份信息设置第二电子设备对第一电子设备的操作权限,实现了电子设备之间的互联互动,提高了用户的体验感。To sum up, the method, device, electronic device, and storage medium provided by the embodiments of the present application for setting the device operation authority obtain the identity information of the second electronic device as the first identity information if the operation request of the second electronic device is received, wherein the operation request is generated by the second electronic device based on the voice input by the user; the identity information of the first electronic device is obtained as the second identity information; and the operation authority of the second electronic device to the first electronic device is set based on the first identity information and the second identity information. This application recognizes the operation request sent by the second electronic device to the first electronic device by voice, and further sets the operation authority of the second electronic device to the first electronic device according to the identity information of each electronic device, so as to realize the interconnection and interaction between electronic devices and improve the user experience.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (10)

CN202310245765.0A2023-03-152023-03-15 Method, device and electronic device for setting device operation authorityPendingCN116469397A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202310245765.0ACN116469397A (en)2023-03-152023-03-15 Method, device and electronic device for setting device operation authority

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202310245765.0ACN116469397A (en)2023-03-152023-03-15 Method, device and electronic device for setting device operation authority

Publications (1)

Publication NumberPublication Date
CN116469397Atrue CN116469397A (en)2023-07-21

Family

ID=87174249

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202310245765.0APendingCN116469397A (en)2023-03-152023-03-15 Method, device and electronic device for setting device operation authority

Country Status (1)

CountryLink
CN (1)CN116469397A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120117627A1 (en)*2010-11-052012-05-10Acer IncorporatedAuthority Control Systems and Methods
CN105095706A (en)*2015-06-252015-11-25小米科技有限责任公司Method and apparatus for setting operational right
CN105100102A (en)*2015-07-312015-11-25宇龙计算机通信科技(深圳)有限公司Authority configuration method and device as well as information configuration method and device
CN106685978A (en)*2017-01-042017-05-17北京奇虎科技有限公司 Access authority control method, device and mobile terminal between multiple devices
CN106778209A (en)*2016-12-162017-05-31北京奇虎科技有限公司Server, wearable device and its corresponding authority control method and device
US20170332236A1 (en)*2014-11-292017-11-16Huawei Technologies Co., Ltd.Identity authentication method and wearable device
CN107886957A (en)*2017-11-172018-04-06广州势必可赢网络科技有限公司Voice wake-up method and device combined with voiceprint recognition
CN108648754A (en)*2018-04-262018-10-12北京小米移动软件有限公司Sound control method and device
CN109039842A (en)*2018-09-132018-12-18珠海格力电器股份有限公司Control method, device and system of household appliance
CN110753034A (en)*2019-09-272020-02-04万翼科技有限公司Authority management method and related device
CN110767221A (en)*2018-07-262020-02-07珠海格力电器股份有限公司Household appliance and method for determining control authority
CN113114723A (en)*2021-03-182021-07-13西安万像电子科技有限公司Reverse control method, server and system
CN114299939A (en)*2021-04-152022-04-08海信视像科技股份有限公司 A smart device, voice control device and control method for smart home
CN114417289A (en)*2021-12-072022-04-29珠海格力电器股份有限公司Equipment control method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120117627A1 (en)*2010-11-052012-05-10Acer IncorporatedAuthority Control Systems and Methods
US20170332236A1 (en)*2014-11-292017-11-16Huawei Technologies Co., Ltd.Identity authentication method and wearable device
CN105095706A (en)*2015-06-252015-11-25小米科技有限责任公司Method and apparatus for setting operational right
CN105100102A (en)*2015-07-312015-11-25宇龙计算机通信科技(深圳)有限公司Authority configuration method and device as well as information configuration method and device
CN106778209A (en)*2016-12-162017-05-31北京奇虎科技有限公司Server, wearable device and its corresponding authority control method and device
CN106685978A (en)*2017-01-042017-05-17北京奇虎科技有限公司 Access authority control method, device and mobile terminal between multiple devices
CN107886957A (en)*2017-11-172018-04-06广州势必可赢网络科技有限公司Voice wake-up method and device combined with voiceprint recognition
CN108648754A (en)*2018-04-262018-10-12北京小米移动软件有限公司Sound control method and device
CN110767221A (en)*2018-07-262020-02-07珠海格力电器股份有限公司Household appliance and method for determining control authority
CN109039842A (en)*2018-09-132018-12-18珠海格力电器股份有限公司Control method, device and system of household appliance
CN110753034A (en)*2019-09-272020-02-04万翼科技有限公司Authority management method and related device
CN113114723A (en)*2021-03-182021-07-13西安万像电子科技有限公司Reverse control method, server and system
CN114299939A (en)*2021-04-152022-04-08海信视像科技股份有限公司 A smart device, voice control device and control method for smart home
CN114417289A (en)*2021-12-072022-04-29珠海格力电器股份有限公司Equipment control method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
涂金海: "基于声纹识别技术的可分配权限智能家居系统设计与研究", 中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑;信息科技), 15 January 2023 (2023-01-15)*

Similar Documents

PublicationPublication DateTitle
US10831440B2 (en)Coordinating input on multiple local devices
US11386905B2 (en)Information processing method and device, multimedia device and storage medium
US10460095B2 (en)Earpiece with biometric identifiers
US20150088515A1 (en)Primary speaker identification from audio and video data
WO2021013137A1 (en)Voice wake-up method and electronic device
US11386886B2 (en)Adjusting speech recognition using contextual information
CN110556127B (en)Method, device, equipment and medium for detecting voice recognition result
WO2018188586A1 (en)Method and device for user registration, and electronic device
JP2017516167A (en) Perform actions related to an individual's presence
CN108766438A (en)Man-machine interaction method and device, storage medium and intelligent terminal
CN109101517B (en)Information processing method, information processing apparatus, and medium
WO2022199405A1 (en)Voice control method and apparatus
CN108966080A (en)Volume adjusting method and device, storage medium and terminal equipment
CN107643909B (en)Method and electronic device for coordinating input on multiple local devices
WO2021052306A1 (en)Voiceprint feature registration
CN113033245A (en)Function adjusting method and device, storage medium and electronic equipment
CN109032345A (en)Apparatus control method, device, equipment, server-side and storage medium
CN107968890A (en)Theme setting method and device, terminal equipment and storage medium
CN108600559B (en) Control method, device, storage medium and electronic device for silent mode
CN107395873A (en) Volume adjustment method, device, storage medium and terminal
CN105005489A (en)Terminal equipment and starting method thereof
CN116469397A (en) Method, device and electronic device for setting device operation authority
US20190065608A1 (en)Query input received at more than one device
CN113395451B (en)Video shooting method and device, electronic equipment and storage medium
US11302322B2 (en)Ignoring command sources at a digital assistant

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp