CN110968362B - Application running method, device and storage medium - Google Patents
Application running method, device and storage medium Download PDFInfo
- Publication number
- CN110968362B CN110968362B CN201911129176.6A CN201911129176A CN110968362B CN 110968362 B CN110968362 B CN 110968362B CN 201911129176 A CN201911129176 A CN 201911129176A CN 110968362 B CN110968362 B CN 110968362B
- Authority
- CN
- China
- Prior art keywords
- application
- voice
- quick
- target
- control instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44584—Portable applications, i.e. making applications self-contained, e.g. U3 standard
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical field
本公开实施例涉及终端技术领域,特别涉及一种应用运行方法、装置及存储介质。The embodiments of the present disclosure relate to the field of terminal technology, and in particular, to an application running method, device, and storage medium.
背景技术Background technique
目前,用户可以在手机、智能电视等设备中下载安装各种应用程序,以满足不同的使用需求。Currently, users can download and install various applications on mobile phones, smart TVs and other devices to meet different usage needs.
然而,当用户需要在某一设备中使用某一应用程序时,首先需要在该设备中下载安装该应用程序,但下载安装往往需要较长的耗时,导致应用程序启动运行的效率较低。However, when a user needs to use an application on a certain device, he first needs to download and install the application on the device. However, downloading and installing often takes a long time, resulting in low efficiency in starting and running the application.
发明内容Contents of the invention
本公开实施例提供了一种应用运行方法、装置及存储介质,所述技术方案如下:Embodiments of the present disclosure provide an application running method, device and storage medium. The technical solution is as follows:
根据本公开实施例的第一方面,提供了一种应用运行方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, an application running method is provided, and the method includes:
接收第一设备发送的语音控制指令,所述语音控制指令是基于语音数据生成的控制指令;Receive a voice control instruction sent by the first device, where the voice control instruction is a control instruction generated based on the voice data;
根据所述语音控制指令确定启动运行目标快应用,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用;Determine to start and run the target quick application according to the voice control instruction. The quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation;
启动运行所述目标快应用,并显示所述目标快应用的用户界面。Start and run the target quick application, and display the user interface of the target quick application.
可选地,所述启动运行所述目标快应用,包括:Optionally, the startup and running of the target quick application include:
若所述快应用框架中已存储所述目标快应用的应用文件,则通过所述快应用框架基于所述应用文件启动运行所述目标快应用;If the application file of the target quick application has been stored in the quick application framework, start and run the target quick application based on the application file through the quick application framework;
或者,or,
若所述快应用框架中未存储所述目标快应用的应用文件,则通过所述快应用框架从快应用仓库中下载所述应用文件,通过所述快应用框架基于所述应用文件启动运行所述目标快应用。If the application file of the target quick application is not stored in the quick application framework, the application file is downloaded from the quick application warehouse through the quick application framework, and the application file is started to run based on the application file through the quick application framework. The above goals are quickly applied.
可选地,所述语音控制指令中包括所述语音数据;Optionally, the voice control instruction includes the voice data;
所述根据所述语音控制指令确定启动运行目标快应用,包括:Determining to start running the target quick application according to the voice control instruction includes:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
根据所述识别结果确定启动运行所述目标快应用。It is determined to start running the target quick application according to the identification result.
可选地,所述语音控制指令中包括所述语音数据对应的识别结果;Optionally, the voice control instruction includes a recognition result corresponding to the voice data;
所述根据所述语音控制指令确定启动运行目标快应用,包括:Determining to start running the target quick application according to the voice control instruction includes:
根据所述识别结果确定启动运行所述目标快应用。It is determined to start running the target quick application according to the identification result.
根据本公开实施例的第二方面,提供了一种应用运行方法,所述方法包括:According to a second aspect of the embodiment of the present disclosure, an application running method is provided, and the method includes:
采集语音数据;Collect voice data;
基于所述语音数据生成语音控制指令;Generate voice control instructions based on the voice data;
向第二设备发送所述语音控制指令,所述第二设备用于在根据所述语音控制指令确定启动运行目标快应用时,启动运行所述目标快应用,并显示所述目标快应用的用户界面;Send the voice control instruction to a second device, and the second device is configured to start running the target quick application when it is determined to start running the target quick application according to the voice control instruction, and display the user of the target quick application. interface;
其中,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。Wherein, the quick application is an application that runs based on a quick application framework integrated in the operating system and does not require manual installation.
可选地,所述方法还包括:Optionally, the method also includes:
获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;Obtain at least one candidate device, where the candidate device refers to a device that supports running the quick application;
从所述至少一个候选设备中选择距离最近的候选设备,作为所述第二设备。Select the closest candidate device from the at least one candidate device as the second device.
可选地,所述方法还包括:Optionally, the method also includes:
获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;Obtain at least one candidate device, where the candidate device refers to a device that supports running the quick application;
显示设备选择界面,所述设备选择界面中包括所述至少一个候选设备;Display a device selection interface, the device selection interface including the at least one candidate device;
获取对应于所述至少一个候选设备中的目标候选设备的选择指令;Obtaining a selection instruction corresponding to a target candidate device among the at least one candidate device;
将所述目标候选设备确定为所述第二设备。The target candidate device is determined as the second device.
可选地,所述基于所述语音数据生成语音控制指令,包括:Optionally, generating voice control instructions based on the voice data includes:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
生成所述语音控制指令,所述语音控制指令中包括所述识别结果。The voice control instruction is generated, and the voice control instruction includes the recognition result.
根据本公开实施例的第三方面,提供了一种应用运行装置,所述装置包括:According to a third aspect of the embodiment of the present disclosure, an application running device is provided, and the device includes:
指令接收模块,被配置为接收第一设备发送的语音控制指令,所述语音控制指令是基于语音数据生成的控制指令;An instruction receiving module configured to receive a voice control instruction sent by the first device, where the voice control instruction is a control instruction generated based on voice data;
应用确定模块,被配置为根据所述语音控制指令确定启动运行目标快应用,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用;The application determination module is configured to determine to start and run the target quick application according to the voice control instruction. The quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation;
应用启动模块,被配置为启动运行所述目标快应用,并显示所述目标快应用的用户界面。The application startup module is configured to start and run the target quick application, and display the user interface of the target quick application.
可选地,所述应用启动装置被配置为若所述快应用框架中已存储所述目标快应用的应用文件,则通过所述快应用框架基于所述应用文件启动运行所述目标快应用;或者,若所述快应用框架中未存储所述目标快应用的应用文件,则通过所述快应用框架从快应用仓库中下载所述应用文件,通过所述快应用框架基于所述应用文件启动运行所述目标快应用。Optionally, the application launching device is configured to start and run the target quick application based on the application file through the quick application framework if the application file of the target quick application has been stored in the quick application framework; Alternatively, if the application file of the target quick application is not stored in the quick application framework, the application file is downloaded from the quick application warehouse through the quick application framework, and is launched based on the application file through the quick application framework. Run the target quick application.
可选地,所述语音控制指令中包括所述语音数据;Optionally, the voice control instruction includes the voice data;
所述应用确定模块被配置为:The application determination module is configured as:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
根据所述识别结果确定启动运行所述目标快应用。It is determined to start running the target quick application according to the identification result.
可选地,所述语音控制指令中包括所述语音数据对应的识别结果;Optionally, the voice control instruction includes a recognition result corresponding to the voice data;
所述应用确定模块,被配置为根据所述识别结果确定启动运行所述目标快应用。The application determination module is configured to determine to start and run the target quick application according to the identification result.
可选地,所述目标快应用包括具有关联关系的第一快应用和第二快应用;Optionally, the target quick application includes a first quick application and a second quick application that have an associated relationship;
所述装置还包括:The device also includes:
界面显示模块,被配置为分屏显示所述第一快应用的用户界面和所述第二快应用的用户界面。The interface display module is configured to display the user interface of the first quick application and the user interface of the second quick application in split screens.
根据本公开实施例的第四方面,提供了一种应用运行装置,所述装置包括:According to a fourth aspect of the embodiment of the present disclosure, an application running device is provided, and the device includes:
数据采集模块,被配置为采集语音数据;A data collection module configured to collect voice data;
指令生成模块,被配置为基于所述语音数据生成语音控制指令;an instruction generation module configured to generate a voice control instruction based on the voice data;
指令发送模块,被配置为向第二设备发送所述语音控制指令,所述第二设备用于在根据所述语音控制指令确定启动运行目标快应用时,启动运行所述目标快应用,并显示所述目标快应用的用户界面;其中,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。The instruction sending module is configured to send the voice control instruction to a second device, and the second device is configured to start and run the target quick application when it is determined to start running the target quick application according to the voice control instruction, and display the The user interface of the target quick application; wherein the quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation.
可选地,所述装置还包括:Optionally, the device also includes:
设备获取模块,被配置为获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;A device acquisition module configured to acquire at least one candidate device, where the candidate device refers to a device that supports running the quick application;
设备选择模块,被配置为从所述至少一个候选设备中选择距离最近的候选设备,作为所述第二设备。A device selection module is configured to select the closest candidate device from the at least one candidate device as the second device.
可选地,所述装置还包括:Optionally, the device also includes:
设备获取模块,被配置为获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;A device acquisition module configured to acquire at least one candidate device, where the candidate device refers to a device that supports running the quick application;
界面显示模块,被配置为显示设备选择界面,所述设备选择界面中包括所述至少一个候选设备;An interface display module configured to display a device selection interface, the device selection interface including the at least one candidate device;
指令获取模块,被配置为获取对应于所述至少一个候选设备中的目标候选设备的选择指令;an instruction acquisition module configured to acquire a selection instruction corresponding to the target candidate device among the at least one candidate device;
设备确定模块,被配置为将所述目标候选设备确定为所述第二设备。and a device determining module configured to determine the target candidate device as the second device.
可选地,所述指令生成模块,被配置为:Optionally, the instruction generation module is configured as:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
生成所述语音控制指令,所述语音控制指令中包括所述识别结果。The voice control instruction is generated, and the voice control instruction includes the recognition result.
根据本公开实施例的第五方面,提供了一种应用运行装置,所述装置包括:According to a fifth aspect of the embodiment of the present disclosure, an application running device is provided, and the device includes:
处理器;processor;
用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions for the processor;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收第一设备发送的语音控制指令,所述语音控制指令是基于语音数据生成的控制指令;Receive a voice control instruction sent by the first device, where the voice control instruction is a control instruction generated based on the voice data;
根据所述语音控制指令确定启动运行目标快应用,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用;Determine to start and run the target quick application according to the voice control instruction. The quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation;
启动运行所述目标快应用,并显示所述目标快应用的用户界面。Start and run the target quick application, and display the user interface of the target quick application.
根据本公开实施例的第六方面,提供了一种应用运行装置,所述装置包括:According to a sixth aspect of the embodiment of the present disclosure, an application running device is provided, and the device includes:
处理器;processor;
用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions for the processor;
其中,所述处理器被配置为:Wherein, the processor is configured as:
采集语音数据;Collect voice data;
基于所述语音数据生成语音控制指令;Generate voice control instructions based on the voice data;
向第二设备发送所述语音控制指令,所述第二设备用于在根据所述语音控制指令确定启动运行目标快应用时,启动运行所述目标快应用,并显示所述目标快应用的用户界面;Send the voice control instruction to a second device, and the second device is configured to start running the target quick application when it is determined to start running the target quick application according to the voice control instruction, and display the user of the target quick application. interface;
其中,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。Wherein, the quick application is an application that runs based on a quick application framework integrated in the operating system and does not require manual installation.
根据本公开实施例的第七方面,提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的应用运行方法的步骤。According to a seventh aspect of the embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the application running method described in the first aspect is implemented. A step of.
根据本公开实施例的第八方面,提供了另一种非临时性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第二方面所述的应用运行方法的步骤。According to an eighth aspect of the embodiments of the present disclosure, another non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the application operation described in the second aspect is implemented. Method steps.
本公开实施例提供的技术方案可以带来以下有益效果:The technical solutions provided by the embodiments of the present disclosure can bring the following beneficial effects:
通过基于第一设备采集的语音数据生成语音控制指令,第一设备向第二设备发送该语音控制指令,当第二设备根据该语音控制指令确定启动运行目标快应用时,启动运行目标快应用,并显示该目标快应用的用户界面。由于快应用是基于在操作系统中的快应用框架运行且无需手动安装的应用,因此能够在第二设备中快速地启动运行快应用,并获得该快应用提供的功能,从而提升了应用启动运行的效率。By generating a voice control instruction based on the voice data collected by the first device, the first device sends the voice control instruction to the second device. When the second device determines to start the target quick application based on the voice control instruction, the second device starts the target quick application. And display the user interface of the target quick application. Since a quick app is an application that runs based on the quick app framework in the operating system and does not require manual installation, the quick app can be quickly started and run on the second device and the functions provided by the quick app can be obtained, thus improving the startup and running of the application. s efficiency.
另外,通过语音实现远程控制在某一设备中启动运行快应用,无需用户手动操作,实现了“无手化”的操作体验。In addition, remote control through voice can be used to start and run quick applications on a certain device, without the need for manual operation by the user, achieving a "hands-free" operating experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一个实施环境的示意图;Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种应用运行方法的流程图;Figure 2 is a flow chart of an application running method according to an exemplary embodiment;
图3示出了一个设备选择界面的选择方法的示意图;Figure 3 shows a schematic diagram of a selection method on a device selection interface;
图4和图5示出了两种用户界面显示步骤的示意图;Figures 4 and 5 show schematic diagrams of two user interface display steps;
图6示出了一个应用运行方法的示意图;Figure 6 shows a schematic diagram of an application running method;
图7示出了另一个应用运行方法的示意图;Figure 7 shows a schematic diagram of another application running method;
图8示出了再一个应用运行方法的示意图;Figure 8 shows a schematic diagram of yet another application running method;
图9是根据一个示例性实施例示出的快应用框架的框图;Figure 9 is a block diagram of a quick application framework according to an exemplary embodiment;
图10是根据一个示例性实施例示出的快应用的启动流程图;Figure 10 is a startup flow chart of a quick application according to an exemplary embodiment;
图11是根据一示例性实施例示出的一种应用运行装置的框图;Figure 11 is a block diagram of an application running device according to an exemplary embodiment;
图12是根据另一示例性实施例示出的一种应用运行装置的框图;Figure 12 is a block diagram of an application running device according to another exemplary embodiment;
图13是根据另一示例性实施例示出的一种应用运行装置的框图;Figure 13 is a block diagram of an application running device according to another exemplary embodiment;
图14是根据另一示例性实施例示出的一种应用运行装置的框图;Figure 14 is a block diagram of an application running device according to another exemplary embodiment;
图15是根据一示例性实施例示出的一种装置的框图。Figure 15 is a block diagram of a device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.
快应用是一种基于手机硬件平台的新型应用形态,无需安装,即点即用,又兼具原生应用体验(性能、系统整合、交互等)。同时,快应用在诞生之初就在开发规范、能力接入、开发者服务等层面实现了手机厂商间的标准化统一,极大地降低开发者的适配成本。Quick application is a new application form based on mobile phone hardware platform. It does not require installation, can be used immediately, and has a native application experience (performance, system integration, interaction, etc.). At the same time, fast applications have achieved standardization and unification among mobile phone manufacturers in terms of development specifications, capability access, and developer services since their inception, greatly reducing developers' adaptation costs.
与传统应用相比,快应用具备如下特点:Compared with traditional applications, quick applications have the following characteristics:
Instant:即点即用,用户无需等待;Instant: Click to use, users don’t need to wait;
Everywhere:与手机的使用场景深度整合,入口无处不在(搜索,智能助手,智能推荐,应用市场,浏览器……);Everywhere: Deeply integrated with mobile phone usage scenarios, with entrances everywhere (search, smart assistant, smart recommendation, app market, browser...);
Efficient:准前端的开发方式,效率高。Efficient: Quasi-front-end development method, high efficiency.
由于快应用的特殊性,快应用被期待完成更多的任务,实现更多的功能。目前,快应用的功能正在逐步完善中,本公开实施例就是提供了一种快应用的新功能,利用该新功能实现终端快速打开具有特定功能的应用,扩展了快应用的功能,提高了快应用的处理能力以及实用性。Due to the particularity of quick apps, quick apps are expected to complete more tasks and implement more functions. At present, the functions of quick applications are being gradually improved. Embodiments of the present disclosure provide a new function of quick applications. This new function can be used to enable the terminal to quickly open applications with specific functions, expand the functions of quick applications, and improve the efficiency of quick applications. Application processing power and practicality.
图1是根据一示例性实施例示出的一个实施环境的示意图。该实施环境可以包括:第一设备10、第二设备20和服务器30。FIG. 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. The implementation environment may include: a first device 10, a second device 20 and a server 30.
第一设备10可以是诸如音箱、手机、平板电脑、电子书阅读器、多媒体播放设备、可穿戴设备、PC(Personal Computer,个人计算机)等电子设备。在本申请实施例中,第一设备10可以是具有语音采集功能的任一设备。The first device 10 may be an electronic device such as a speaker, a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a wearable device, a PC (Personal Computer), and the like. In this embodiment of the present application, the first device 10 may be any device with a voice collection function.
第二设备20可以是诸如电视、手机、平板电脑、多媒体播放设备、PC等电子设备。在本申请实施例中,第二设备20可以是配置有显示屏幕的任一设备。The second device 20 may be an electronic device such as a television, a mobile phone, a tablet computer, a multimedia playback device, a PC, etc. In this embodiment of the present application, the second device 20 may be any device configured with a display screen.
可选地,在第二设备20中包括可以设置有有操作系统。操作系统是用于对第二设备20的硬件和软件资源进行管理的计算机程序。在本公开实施例中,操作系统中安装有快应用框架。可选地,上述操作系统可以是Android(安卓)操作系统、iOS操作系统、Windows操作系统或者其它定制操作系统,或者自研操作系统等,本公开实施例对此不作限定。Optionally, an operating system may be included in the second device 20 . The operating system is a computer program used to manage the hardware and software resources of the second device 20 . In this embodiment of the present disclosure, the quick application framework is installed in the operating system. Optionally, the above-mentioned operating system may be an Android operating system, an iOS operating system, a Windows operating system, or other customized operating systems, or a self-developed operating system, which is not limited in the embodiments of the present disclosure.
服务器30用于为第一设备10或第二设备20提供后台服务。在本公开实施例中,服务器30用于为第一设备10或第二设备20获取的语音数据提供语音识别的功能。可选地,服务器30可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。The server 30 is used to provide background services for the first device 10 or the second device 20 . In the embodiment of the present disclosure, the server 30 is configured to provide a speech recognition function for the speech data obtained by the first device 10 or the second device 20 . Optionally, the server 30 may be one server, a server cluster composed of multiple servers, or a cloud computing service center.
第一设备10、第二设备20和服务器30之间可通过网络进行互相通信。该网络可以是有线网络,也可以是无线网络。The first device 10, the second device 20 and the server 30 can communicate with each other through the network. The network can be a wired network or a wireless network.
图2是根据一示例性实施例示出的一种应用运行方法的流程图。该方法应用于图1所述的实施环境中。该方法可以包括以下几个步骤(201~205):FIG. 2 is a flowchart of an application running method according to an exemplary embodiment. This method is applied in the implementation environment described in Figure 1. The method may include the following steps (201~205):
在步骤201中,第一设备采集语音数据。In step 201, the first device collects voice data.
第一设备是指具有语音采集功能的设备,如音箱、手机或录音器等。语音数据是指第一设备采集的用户语音通过数字处理获取的数据。在本公开实施例中,第一设备可以通过录音的方式获取用户的语音。需要说明的一点是,第一设备获取的语音中可能存在噪声,该噪声可以是由于环境因素引起的杂音,也可以由于第一设备的背景噪声。The first device refers to a device with voice collection function, such as a speaker, mobile phone or recorder, etc. Voice data refers to data obtained through digital processing of the user's voice collected by the first device. In this embodiment of the present disclosure, the first device may obtain the user's voice by recording. It should be noted that there may be noise in the speech acquired by the first device. The noise may be noise caused by environmental factors or background noise of the first device.
在一种可能的实施方式中,第一设备在采集用户的语音之后,对该语音进行数字处理生成初始的语音数据,并对该初始的语音数据进行滤波处理去除噪声数据,获取用户语音对应的语音数据。其中,上述滤波处理的方式可以是限幅滤波、中值滤波或高斯滤波等,本公开实施例对此不作限定。在另一种可能的实施方式中,第一设备在采集用户的语音之后,提取语音中的文字信息,滤除噪声,并将该文字信息进行数字处理获取对应的音频数据。In a possible implementation, after collecting the user's voice, the first device performs digital processing on the voice to generate initial voice data, performs filtering on the initial voice data to remove noise data, and obtains the voice data corresponding to the user's voice. Voice data. The above-mentioned filtering processing method may be limiting filtering, median filtering, Gaussian filtering, etc., which is not limited in the embodiments of the present disclosure. In another possible implementation, after collecting the user's voice, the first device extracts text information in the voice, filters out noise, and digitally processes the text information to obtain corresponding audio data.
在步骤202中,第一设备基于语音数据生成语音控制指令。In step 202, the first device generates a voice control instruction based on the voice data.
语音控制指令是指用于控制第二设备启动运行对应的快应用的指令。在一种可能的实施例中,该语音控制指令包括上述音频数据。可选地,第一设备获取上述音频数据之后,在该音频数据的基础上获取语音控制指令。在另一种可能的实施方式中,上述语音控制指令包括音频数据的识别结果。Voice control instructions refer to instructions used to control the second device to start and run the corresponding quick application. In a possible embodiment, the voice control instruction includes the above audio data. Optionally, after acquiring the audio data, the first device acquires the voice control instruction based on the audio data. In another possible implementation, the above voice control instruction includes a recognition result of audio data.
关于上述包含内容不同的两种语音控制指令在下文进行详细介绍,在此不作赘述。The above two voice control instructions with different contents will be introduced in detail below and will not be described in detail here.
在步骤203中,第一设备向第二设备发送语音控制指令。In step 203, the first device sends a voice control instruction to the second device.
第二设备用于在根据语音控制指令确定启动运行目标快应用时,启动运行目标快应用,并显示目标快应用的用户界面。其中,快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。The second device is used to start and run the target quick application and display the user interface of the target quick application when it is determined to start and run the target quick application according to the voice control instruction. Among them, quick apps are applications that run based on the quick app framework integrated in the operating system and do not require manual installation.
需要说明的一点是,上述第二设备是预设范围之内的设备,如用户可视范围之内的设备。在一种可能的实施方式中,该第二设备由第一的设备确定,可选地,上述步骤203包括以下几个步骤:It should be noted that the above-mentioned second device is a device within a preset range, such as a device within the visual range of the user. In a possible implementation, the second device is determined by the first device. Optionally, the above step 203 includes the following steps:
1、获取至少一个候选设备。1. Obtain at least one candidate device.
候选设备是指支持运行快应用的设备。可选地,第一设备在接收到上述语音控制指令之后,获取预设范围之内的至少一个设备作为候选设备。其中,预设范围可以是以第一设备或用户为中心,且与第一设备或用户的距离不超过预设阈值的范围,该阈值可以是10m、20m或30m,等等,本公开实施对此不作限定。Candidate devices refer to devices that support running quick applications. Optionally, after receiving the above voice control instruction, the first device acquires at least one device within the preset range as a candidate device. The preset range may be a range centered on the first device or user, and the distance from the first device or user does not exceed a preset threshold. The threshold may be 10m, 20m, or 30m, etc. This disclosure implements This is not a limitation.
可选地,若上述预设范围内不存在候选设备,第一设备可以向用户发出移动请求,该移动请求用于提醒用户移动位置后重新录制语音。可选地,该移动请求的展示形式与第一设备的类型有关。若第一设备上配置有音响,则该移动请求可以以语音的形式展示;若第一设备上配置有显示屏,则移动请求可以以文字显示的形式展示。Optionally, if there is no candidate device within the above-mentioned preset range, the first device can send a move request to the user, and the move request is used to remind the user to re-record the voice after moving the location. Optionally, the presentation form of the mobile request is related to the type of the first device. If the first device is equipped with a speaker, the movement request can be displayed in the form of voice; if the first device is equipped with a display screen, the movement request can be displayed in the form of text display.
需要说明的一点是,由于快应用的打开不需要提前进行应用安装,因此,上述候选设备可以是任一操作系统中集成有快应用框架的设备。It should be noted that since opening a quick app does not require application installation in advance, the above candidate device can be a device with a quick app framework integrated in any operating system.
2、从至少一个候选设备中选择距离最近的候选设备,作为第二设备。2. Select the closest candidate device from at least one candidate device as the second device.
可选地,第一设备在获取候选设备的同时,获取该候选设备与第一设备或用户的距离,进一步地,第一设备对各个候选设备对应的距离进行比较,选择与第一设备或用户距离最近的候选设备作为第二设备。Optionally, while acquiring the candidate device, the first device acquires the distance between the candidate device and the first device or user. Further, the first device compares the distance corresponding to each candidate device, and selects the distance corresponding to the first device or user. The closest candidate device is used as the second device.
在另一种可能的实施方式中,上述第二设备由用户选择。可选地,上述步骤203包括以下几个步骤:In another possible implementation, the above-mentioned second device is selected by the user. Optionally, the above step 203 includes the following steps:
1、获取至少一个候选设备。1. Obtain at least one candidate device.
获取候选设备的方法在上文中已经进行介绍,在此不作赘述。The method of obtaining candidate devices has been introduced above and will not be described again here.
2、显示设备选择界面。2. Display the device selection interface.
设备选择界面是指用于向用户展示候选设备的界面。可选地,设备选择界面中包括至少一个候选设备的标识。该标识可以以图像的形式展示。需要说明的一点是,在这种情况下,上述第一设备需要配置有显示屏幕。The device selection interface refers to the interface used to display candidate devices to the user. Optionally, the device selection interface includes an identification of at least one candidate device. The logo can be displayed in the form of an image. It should be noted that in this case, the above-mentioned first device needs to be equipped with a display screen.
当然,对于未配置有显示屏幕的第一设备,可以通过语音提示的方式向用户展示候选设备,并提醒用户选择合适的第二设备。例如,第一设备为智能音箱时,在获取候选设备之后,向用户发出提示语音“请选择设备1、设备2或设备3作为执行操作的设备”。Of course, for the first device that is not configured with a display screen, candidate devices can be presented to the user through voice prompts, and the user can be reminded to select an appropriate second device. For example, when the first device is a smart speaker, after obtaining the candidate devices, a prompt voice "Please select device 1, device 2 or device 3 as the device to perform the operation" is issued to the user.
3、获取对应于至少一个候选设备中的目标候选设备的选择指令。3. Obtain a selection instruction corresponding to the target candidate device among at least one candidate device.
选择指令用户控制第一设备选择对应的目标候选设备。可选地,用户可以通过点击或语音的方式生成语音控制指令。例如,对于配置有显示屏幕的第一设备,用户可以点击设备1的标识选择设备1作为目标候选设备;或者,用户通过说“选择设备1”选择设备1作为目标候选设备,第一设备采集用户语音后进行语音识别,确定设备1为目标候选设备。The selection instructs the user to control the first device to select a corresponding target candidate device. Optionally, the user can generate voice control instructions by clicking or speaking. For example, for a first device configured with a display screen, the user can click on the logo of device 1 to select device 1 as a target candidate device; or, the user selects device 1 as a target candidate device by saying "select device 1", and the first device collects user information. After the speech, speech recognition is performed, and device 1 is determined to be the target candidate device.
4、将目标候选设备确定为第二设备。4. Determine the target candidate device as the second device.
可选地,第一设备将上述目标候选设备作为第二设备,并向该第二设备发送语音控制指令,进一步地,第二设备通过语音控制指令启动运行对应的目标快应用。Optionally, the first device uses the above target candidate device as the second device and sends a voice control instruction to the second device. Further, the second device starts and runs the corresponding target quick application through the voice control instruction.
示例性地,结合参考图3,手机31采集到用户所述的语音信息“购买商品A”后,经过语音识别获取语音控制指令,并在手机31上显示设备选择界面32,该设备选择界面32包括客厅电视、卧室电视和卧室计算机对应的标识,用户通过点击客厅电视的标识选择客厅电视作为第二设备,进一步地,手机31将上述语音控制指令发送至客厅电视,进一步地,客厅电视的用户界面33显示商品A的待支付界面。其中,上述标识可以包括第二设备的种类、第二设备的样式和第二设备的位置等。For example, with reference to Figure 3, after the mobile phone 31 collects the voice information "Purchase Product A" stated by the user, it obtains the voice control instructions through speech recognition, and displays the device selection interface 32 on the mobile phone 31. The device selection interface 32 Including logos corresponding to the living room TV, bedroom TV and bedroom computer, the user selects the living room TV as the second device by clicking on the logo of the living room TV. Further, the mobile phone 31 sends the above voice control command to the living room TV. Further, the user of the living room TV Interface 33 displays the payment-to-be-paid interface of commodity A. The above identification may include the type of the second device, the style of the second device, the location of the second device, etc.
在本公开实施例中,第一设备在获取上述语音控制指令和第二设备之后,将该语音控制指令发送至第二设备。相应地,第二设备接收第一设备发送的语音控制指令。In this embodiment of the present disclosure, after obtaining the above-mentioned voice control instruction and the second device, the first device sends the voice control instruction to the second device. Correspondingly, the second device receives the voice control instruction sent by the first device.
在一种可能的实施例中,上述语音控制指令中包括语音数据。可选地,上述第一设备采集用户的语音后,将该语音通过数字处理转换为语音数据,并将该语音数据作为语音控制指令的部分内容发送至第二设备。进一步地,第二设备对上述语音数据进行识别,并根据识别结果对相关的快应用执行对应的操作。以第一设备是音箱为例,音箱采集到用户语音为“打开B应用”,进一步地,将该语音转换为语音数据并发送至上述第二设备,接着,第二设备对该语音数据进行语音识别,并根据识别结果打开快应用B;或者,音箱采集到的用户语音为“购买A商品”,进一步地,将该语音转换为语音数据并发送至上述第二设备,接着,第二设备对该语音数据进行语音识别,并根据识别结果打开具有购买功能的快应用购买A商品。In a possible embodiment, the above voice control instruction includes voice data. Optionally, after the first device collects the user's voice, the voice is converted into voice data through digital processing, and the voice data is sent to the second device as part of the voice control instruction. Further, the second device recognizes the above-mentioned voice data, and performs corresponding operations on the relevant quick application according to the recognition results. Taking the first device as a speaker as an example, the speaker collects the user's voice as "Open application B", and further converts the voice into voice data and sends it to the above-mentioned second device. Then, the second device performs voice processing on the voice data. Recognize, and open quick application B according to the recognition result; or, the user's voice collected by the speaker is "Buy product A", further, the voice is converted into voice data and sent to the above-mentioned second device, and then the second device This voice data is used for speech recognition, and based on the recognition results, a quick app with a purchasing function is opened to purchase product A.
在另一种可能的实施例中,上述语音控制指令中包括语音数据对应的识别结果。上述第一设备采集用户的语音后,对该语音进行语音识别生成识别结果,并将该识别结果作为语音控制指令的部分内容发送至第二设备。进一步地,第二设备根据该语音控制指令对相关的快应用执行对应的操作。以第一设备是音箱为例,音箱采集到用户语音为“打开B应用”,进一步地,对该语音进行语音识别并生成语音控制指令,该语音控制指令用于控制第二设备打开快应用B,接着,第一设备将上述语音控制指令发送至第二设备,第二设备根据该语音控制指令打快应用B。In another possible embodiment, the above voice control instruction includes a recognition result corresponding to the voice data. After collecting the user's voice, the first device performs speech recognition on the voice to generate a recognition result, and sends the recognition result to the second device as part of the voice control instruction. Further, the second device performs corresponding operations on the relevant quick application according to the voice control instruction. Taking the first device as a speaker as an example, the speaker collects the user's voice as "open application B". Further, it performs speech recognition on the voice and generates a voice control instruction. The voice control instruction is used to control the second device to open quick application B. , then, the first device sends the above voice control instruction to the second device, and the second device starts application B according to the voice control instruction.
在步骤204中,第二设备根据语音控制指令确定启动运行目标快应用。In step 204, the second device determines to start running the target quick application according to the voice control instruction.
快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。目标快应用是指基于上述语音控制指令确定出需要启动运行的快应用。需要说明的一点是,该目标快应用的数量可以是一个,也可以是多个,本公开实施例对此不作限定。Quick apps are applications that run based on the quick app framework integrated in the operating system and do not require manual installation. The target quick application refers to the quick application that needs to be started and run based on the above voice control instructions. It should be noted that the number of the target quick application may be one or multiple, and this is not limited in the embodiment of the present disclosure.
可选地,上述目标快应用包括具有关联关系的第一快应用和第二快应用。在一种可能的实施方式中,关联关系是指功能相同。也就是说,若第一快应用与第二快应用的功能相同,则第二设备根据上述语音控制指令同时打开第一块应用和第二快应用。例如,第二设备根据上述语音控制指令得知用户需要购买A商品,则第二设备同时打开具有购买功能的第一快应用和第二快应用。Optionally, the target quick application includes a first quick application and a second quick application that have an associated relationship. In a possible implementation, the association relationship refers to the same function. That is to say, if the functions of the first quick application and the second quick application are the same, the second device opens the first application and the second quick application at the same time according to the above voice control instruction. For example, if the second device learns that the user needs to purchase product A according to the above voice control instruction, the second device opens the first quick application and the second quick application with the purchase function at the same time.
在另一种可能的实施方式中,关联关系是指快应用的同时使用的可能性。也就是说,用户在使用第一块应用的时候,可能同时需要使用第二快应用。例如,第二设备根据上述语音控制指令得知用户需要浏览A商品的各种参数,如外观参数、功能参数和配置参数等,则第二设备可以同时打开记录A商品参数的视频快应用,记录A商品参数的资讯快应用和记录A商品购买情况的购买快应用。当然,购买快应用还可以为用户提供购买A商品的功能。可选地,用户也可以提前设置具有关联关系的第一块应用和第二快应用。In another possible implementation, the association relationship refers to the possibility of simultaneous use of quick applications. In other words, when the user is using the first application, he may need to use the second application at the same time. For example, if the second device learns based on the above voice control instructions that the user needs to browse various parameters of product A, such as appearance parameters, functional parameters, configuration parameters, etc., then the second device can simultaneously open the video app that records the parameters of product A, and record An information quick application for the parameters of product A and a quick purchase application for recording the purchase status of product A. Of course, the purchase quick app can also provide users with the function of purchasing product A. Optionally, the user can also set the first application and the second application with an associated relationship in advance.
关于上述包含内容不同的两种语音控制指令在下文进行详细介绍,在此不作赘述。The above two voice control instructions with different contents will be introduced in detail below and will not be described in detail here.
在步骤205中,第二设备启动运行目标快应用,并显示目标快应用的用户界面。In step 205, the second device starts running the target quick application and displays the user interface of the target quick application.
用户界面是指目标快应用对应的显示界面。可选地,该显示界面可以是目标快应用的首页界面,也可以是目标快应用的任一功能对应的界面,如购买界面、播放界面或阅读界面等,本公开实施例对此不作限定。The user interface refers to the display interface corresponding to the target quick application. Optionally, the display interface may be the home page interface of the target quick application, or may be an interface corresponding to any function of the target quick application, such as a purchase interface, a playback interface, or a reading interface, which are not limited in this embodiment of the disclosure.
在本公开实施例中,第二设备在接收到上述语音控制指令之后,根据该语音控制指令确定对应的目标快应用,并启动运行该目标快应用。在一种可能的实施方式中,上述目标快应用在该第二设备中属于历史快应用,即用户在该第二设备中使用过该目标快应用,在这种情况下,该第二设备操作系统的快应用框架中已存储对应的目标快应用的应用文件,第二设备可以通过上述快应用框架基于该对应文件启动对应的目标快应用。在另一种可能的实施方式中,上述目标快应用在该第二设备中属于新型快应用,即用户在该第二设备中未使用过该目标快应用,在这种情况下,该第二设备操作系统的快应用框架中未存储对应的目标快应用的应用文件,第二设备可以通过快应用框架从快应用仓库中下载上述应用文件,并通过上述快应用框架基于该应用文件启动运行对应的目标快应用。In this embodiment of the present disclosure, after receiving the above voice control instruction, the second device determines the corresponding target quick application according to the voice control instruction, and starts running the target quick application. In a possible implementation, the target quick application is a historical quick application in the second device, that is, the user has used the target quick application in the second device. In this case, the second device operates The application file of the corresponding target quick application has been stored in the system's quick application framework, and the second device can launch the corresponding target quick application based on the corresponding file through the above-mentioned quick application framework. In another possible implementation, the target quick application is a new type of quick application in the second device, that is, the user has not used the target quick application in the second device. In this case, the second quick application The application file of the corresponding target quick application is not stored in the quick application framework of the device operating system. The second device can download the above-mentioned application file from the quick application warehouse through the quick application framework, and start and run the corresponding application file based on the above-mentioned quick application framework. The goal is to apply quickly.
可选地,上述第二设备配置有显示屏幕,在启动运行上述目标快应用的同时,在第二设备上显示该目标开应用的用户界面。需要说明的一点是,目标快应用的种类不同,上述用户界面的显示内容也不同。例如,对于视频快应用,上述用户界面可以显示视频列表;对于小说快应用,上述用户界面可以显示小说列表。Optionally, the above-mentioned second device is configured with a display screen, and while starting and running the above-mentioned target quick application, the user interface of the target application is displayed on the second device. One thing that needs to be explained is that the display content of the above user interface is also different depending on the type of target quick application. For example, for a video quick application, the above user interface can display a video list; for a novel quick application, the above user interface can display a novel list.
示例性地,结合参考图4,音箱41采集到用户42所说的语音信息“打开小说xxx”,进一步地,音箱41将根据该语音信息转变为语音数据并生成语音控制指令发送至电视43。接着,电视43根据该语音控制指令,在屏幕上显示用户界面。其中,该用户界面中包括小说xxx44。当然,电视43也可以根据小说xxx44的阅读记录显示小说xxx 44的最近浏览界面。For example, with reference to FIG. 4 , the speaker 41 collects the voice information said by the user 42 “Open novel xxx”. Further, the speaker 41 converts the voice information into voice data and generates voice control instructions to send to the TV 43 . Then, the TV 43 displays the user interface on the screen according to the voice control instruction. Among them, the user interface includes the novel xxx44. Of course, TV 43 can also display the recent browsing interface of novel xxx 44 based on the reading record of novel xxx44.
需要说明的一点是,由于上述目标快应用的数量可以是一个或多个,因此,上述用户界面可以分屏显示不同的快应用对应的用户界面。可选地,上述目标快应用中包括具有关联关系的第一块应用和第二快应用,第二设备在确定该目标快应用之后,分屏显示该第一应用的用户界面和第二应用的用户界面。示例性地,结合参考图5,音箱51采集到用户的语音信息“商品A怎么样”,进一步地,音箱51将根据该语音信息转变为数据并生成语音控制指令发送至电视52。接着,电视52根据该语音控制指令,在屏幕上分屏显示第一快应用的用户界面53和第二快应用的用户界面54。其中,用户界面53中包括介绍A商品的视频,用户界面54中包括介绍A商品的文字。It should be noted that since the number of the above-mentioned target quick applications can be one or more, the above-mentioned user interface can display user interfaces corresponding to different quick applications in split screens. Optionally, the target quick application includes a first application and a second quick application that have an associated relationship. After determining the target quick application, the second device displays the user interface of the first application and the user interface of the second application in split screens. user interface. For example, with reference to FIG. 5 , the speaker 51 collects the user's voice information "How is product A?". Further, the speaker 51 converts the voice information into data and generates voice control instructions to send to the TV 52 . Then, the TV 52 displays the user interface 53 of the first quick application and the user interface 54 of the second quick application on the screen according to the voice control instruction. The user interface 53 includes a video introducing product A, and the user interface 54 includes text introducing product A.
综上所述,本公开实施例提供的技术方案中,通过基于第一设备采集的语音数据生成语音控制指令,第一设备向第二设备发送该语音控制指令,当第二设备根据该语音控制指令确定启动运行目标快应用时,启动运行目标快应用,并显示该目标快应用的用户界面。由于快应用是基于在操作系统中的快应用框架运行且无需手动安装的应用,因此能够在第二设备中快速地启动运行快应用,并获得该快应用提供的功能,从而提升了应用启动运行的效率。To sum up, in the technical solution provided by the embodiments of the present disclosure, a voice control instruction is generated based on the voice data collected by the first device, and the first device sends the voice control instruction to the second device. When the second device controls the When the instruction determines to start running the target quick app, start running the target quick app and display the user interface of the target quick app. Since a quick app is an application that runs based on the quick app framework in the operating system and does not require manual installation, the quick app can be quickly started and run on the second device and the functions provided by the quick app can be obtained, thus improving the startup and running of the application. s efficiency.
另外,通过语音实现远程控制在某一设备中启动运行快应用,无需用户手动操作,实现了“无手化”的操作体验。In addition, remote control through voice can be used to start and run quick applications on a certain device, without the need for manual operation by the user, achieving a "hands-free" operating experience.
另外,由于快应用对应的快应用文件数据小,下载所需要的时间段,因此根据同一语音控制指令同时打开具有关联关系的多个快应用,操作简便,提高了有用信息的显示概率,便于用户进行后续判断。In addition, since the quick app file data corresponding to the quick app is small and the time period required to download it, multiple quick apps with associated relationships can be opened at the same time according to the same voice control command, which is easy to operate, improves the display probability of useful information, and is convenient for users. Make subsequent judgments.
另外,通过快应用框架基于已存储的快应用文件打开目标快应用,操作简单,节约时间。即便没有存储目标应用的快应用文件,第二设备也可以自动从快应用仓库下载获取该目标快应用文件,并启动运行该目标快应用,由于快应用文件的数据较小,从快应用仓库下载所需要的时间少,因此能够保证目标快应用的快速启动运行,实现了快应用“即点即用”的功能。In addition, the quick app framework can be used to open the target quick app based on the stored quick app file, which is simple to operate and saves time. Even if the quick app file of the target application is not stored, the second device can automatically download and obtain the target quick app file from the quick app warehouse, and start running the target quick app. Since the data of the quick app file is small, downloading it from the quick app warehouse It requires less time, so it can ensure the rapid startup and operation of the target quick application, and realize the "click-and-use" function of the quick application.
需要说明的一点是,上述图2实施例中介绍的方法主要是通过语音数据获取语音控制指令后,在实际情况中,还可以通过图像数据获取图像控制指令,并根据该图像控制指令控制第二设备启动运行对应的快应用。当然,在一种可能的实施例中,第二设备根据实际环境情况可以向对应的设备发送指令获取请求,并进一步进行后续步骤。例如,在环境光强较大的情况下,向具有语音采集功能的设备发送指令获取请求,此时,其他具有图像采集功能的设备不进行运作,减少开销;再例如,在环境嘈杂的情况下,向具有图像采集功能的设备发送指令获取请求,此时,其他具有语音采集功能的设备不进行运作。It should be noted that the method introduced in the embodiment of Figure 2 above is mainly to obtain the voice control instruction through voice data. In actual situations, the image control instruction can also be obtained through image data, and the second computer can be controlled according to the image control instruction. The device starts and runs the corresponding quick app. Of course, in a possible embodiment, the second device can send an instruction acquisition request to the corresponding device according to actual environmental conditions, and further perform subsequent steps. For example, when the ambient light intensity is high, an instruction acquisition request is sent to a device with voice collection function. At this time, other devices with image collection function do not operate to reduce overhead; for another example, when the environment is noisy, , sending an instruction acquisition request to the device with the image collection function. At this time, other devices with the voice collection function will not operate.
下面,对上述语音控制指令进行介绍。Next, the above voice control instructions are introduced.
在一种可能的实施方式中,上述语音控制指令包括语音数据。也就是说,第一设备在获取语音数据之后生成语音控制指令并发送至第二设备,进一步地,第二设备可以对该语音数据进行语音识别生成识别结果,并根据该识别结果启动运行目标应用程序。示例性地,结合参考图6,对这种情况进行说明。In a possible implementation, the above voice control instructions include voice data. That is to say, the first device generates a voice control instruction after acquiring the voice data and sends it to the second device. Further, the second device can perform voice recognition on the voice data to generate a recognition result, and start running the target application based on the recognition result. program. By way of example, this situation is explained with reference to FIG. 6 .
步骤61,第一设备根据语音数据生成语音控制指令。Step 61: The first device generates a voice control instruction based on the voice data.
步骤62,第一设备向第二设备发送语音控制指令。Step 62: The first device sends a voice control instruction to the second device.
步骤63,第二设备接收语音控制指令,并向服务器发送语音识别请求。Step 63: The second device receives the voice control instruction and sends a voice recognition request to the server.
语音识别请求用于请求服务器对上述语音数据进行语音识别。可选地,第一设备采集用户的语音后,将该语音通过数字处理转换为语音数据,并将该语音数据作为语音控制指令的部分内容发送至第二设备。进一步地,第二设备在接收到上述语音控制指令后,向服务器发送语音识别请求,接着,服务器对上述语音数据进行语音识别后得到识别结果,并将该识别结果发送至第二设备。The speech recognition request is used to request the server to perform speech recognition on the above speech data. Optionally, after collecting the user's voice, the first device converts the voice into voice data through digital processing, and sends the voice data to the second device as part of the voice control instruction. Further, after receiving the above voice control instruction, the second device sends a voice recognition request to the server. Then, the server performs voice recognition on the above voice data to obtain a recognition result, and sends the recognition result to the second device.
步骤64,第二设备接收服务器发送的语音数据对应的识别结果。Step 64: The second device receives the recognition result corresponding to the voice data sent by the server.
识别结果是指上述语音数据对应的文字信息。在本公开实施例中,第二设备向服务器发送上述语音识别请求后,服务器对该语音识别请求中的语音数据进行语音识别得到识别结果。可选地,服务器在获取上述识别结果后,向第二设备发送该识别结果。The recognition result refers to the text information corresponding to the above-mentioned voice data. In this embodiment of the present disclosure, after the second device sends the above-mentioned speech recognition request to the server, the server performs speech recognition on the speech data in the speech recognition request to obtain a recognition result. Optionally, after obtaining the above recognition result, the server sends the recognition result to the second device.
在一种可能的实施方式中,上述识别结果中包括用户语音对应的文字,也就是说,服务器对上述语音数据进行语音识别后,还原了用户的语音所对应的文字,并将该文字发送给第二设备。例如,用户对第一设备说“我想要购买A商品”,第一设备将用户语音转换为语音数据后发送给第二设备,进一步地,第二设备服务器根据上述语音数据还原出文字“我想要购买A商品”,并将对应的文字发送给第二设备。可选地,第二设备根据该文字执行对应的操作,如打开快应用下单购买商品A。In one possible implementation, the above-mentioned recognition results include text corresponding to the user's voice. That is to say, after the server performs speech recognition on the above-mentioned voice data, it restores the text corresponding to the user's voice and sends the text to Secondary device. For example, the user says "I want to buy product A" to the first device. The first device converts the user's voice into voice data and sends it to the second device. Furthermore, the second device server restores the text "I" based on the above voice data. Want to buy product A" and send the corresponding text to the second device. Optionally, the second device performs a corresponding operation based on the text, such as opening the quick app to place an order for product A.
在另一种可能的实施方式中,上述识别结果中包括用户语音对应的执行指令,也就是说,服务器对上述语音数据进行语音识别后,提取了用户的语音对应的执行指令,并将该执行指令发送给第二设备。可选地,服务器可以通过提取关键字的方法获取对应的执行指令。例如,用户对第一设备说“我想要购买A商品”,第一设备将用户语音转换为语音数据后发送给第二设备,进一步地,第二设备服务器根据上述语音数据提取出执行指令“打开购买类快应用将A商品加入购物车”,并将对应的执行指令发送给第二设备。其中,上述执行指令用于控制第二设备对相应的快应用执行对应的操作。可选地,第二设备接收到上述执行指令之后执行对应的操作。In another possible implementation, the above-mentioned recognition results include execution instructions corresponding to the user's voice. That is to say, after the server performs speech recognition on the above-mentioned voice data, it extracts the execution instructions corresponding to the user's voice and adds the execution instructions to the user's voice. The command is sent to the second device. Optionally, the server can obtain the corresponding execution instructions by extracting keywords. For example, the user says "I want to buy product A" to the first device, and the first device converts the user's voice into voice data and sends it to the second device. Furthermore, the second device server extracts the execution instructions based on the above voice data. Open the quick purchase application and add product A to the shopping cart" and send the corresponding execution instructions to the second device. Wherein, the above execution instructions are used to control the second device to perform corresponding operations on the corresponding quick application. Optionally, the second device performs the corresponding operation after receiving the above execution instruction.
步骤65,第二设备根据识别结果确定启动运行目标快应用。Step 65: The second device determines to start running the target quick application based on the recognition result.
目标快应用是指识别结果对应的命令执行快应用。在本公开实施例中,第二设备在接收到上述识别结果之后,根据对应的识别结果确定启动运行对应的目标快应用。需要说明的一点是,该目标快应用可以是一个,也可以是多个,本公开实施例对此不作限定。The target quick application refers to the command execution quick application corresponding to the recognition result. In this embodiment of the present disclosure, after receiving the above recognition result, the second device determines to start running the corresponding target quick application according to the corresponding recognition result. It should be noted that the target quick application may be one or multiple, which is not limited in this embodiment of the disclosure.
在另一种可能的实施方式中,上述语音控制指令中包括语音数据的识别结果。也就是说,第一设备在获取语音数据之后进行语音识别生成识别结果,并根据该识别结果生成语音控制指令语发送至第二设备,进一步地,第二设备根据语音控制指令中的识别结果启动运行对应的目标快应用。示例性地,结合参考图7,对这种情况进行说明。In another possible implementation, the above voice control instructions include recognition results of voice data. That is to say, after acquiring the voice data, the first device performs speech recognition to generate a recognition result, and generates a voice control instruction based on the recognition result and sends it to the second device. Further, the second device starts based on the recognition result in the voice control instruction. Run the corresponding target quick application. By way of example, this situation is explained with reference to FIG. 7 .
步骤71,第一设备采集语音数据,并向服务器发送语音识别请求。Step 71: The first device collects voice data and sends a voice recognition request to the server.
语音识别请求中包括上述语音数据。可选地,第一设备在获取上述音频数据之后,向服务器发送该音频数据,进一步地,服务器在获取该音频数据之后,对该音频数据进行语音识别生成识别结果,并将该识别结果发送至第一设备。The speech recognition request includes the above-mentioned speech data. Optionally, after acquiring the audio data, the first device sends the audio data to the server. Further, after acquiring the audio data, the server performs speech recognition on the audio data to generate a recognition result, and sends the recognition result to First device.
步骤72,第一设备接收服务器发送的语音数据对应的识别结果。Step 72: The first device receives the recognition result corresponding to the voice data sent by the server.
识别结果是指上述语音数据对应的文字信息。该文字信息可以是用户语音对应的文字,也可以是用户语音对应文字提取出的执行指令,本公开实施例对此不作限定。The recognition result refers to the text information corresponding to the above-mentioned voice data. The text information may be text corresponding to the user's voice, or may be an execution instruction extracted from the text corresponding to the user's voice, which is not limited in the embodiments of the present disclosure.
在一种可能的实施方式中,上述识别结果中包括用户语音对应的文字,也就是说,服务器对上述语音数据进行语音识别后,还原了用户的语音所对应的文字,并将该文字发送给第一设备。例如,用户对第一设备说“我想要购买A商品”,第一设备将用户语音转换为语音数据后发送给服务器,进一步地,服务器根据上述语音数据还原出文字“我想要购买A商品”,并将对应的文字作为识别结果对应的部分内容发送给第一设备。In one possible implementation, the above-mentioned recognition results include text corresponding to the user's voice. That is to say, after the server performs speech recognition on the above-mentioned voice data, it restores the text corresponding to the user's voice and sends the text to First device. For example, the user says "I want to buy product A" to the first device. The first device converts the user's voice into voice data and sends it to the server. Further, the server restores the text "I want to buy product A" based on the above voice data. ”, and send the corresponding text to the first device as part of the content corresponding to the recognition result.
在另一种可能的实施方式中,该识别结果包括用户语音对应的执行指令,也就是说,服务器对上述语音数据进行语音识别后,提取了用户的语音对应的执行指令,并将该执行指令发送给第一设备。可选地,服务器可以通过提取关键字的方法获取对应的执行指令。例如,用户对第一设备说“我想要购买A商品”,第一设备将用户语音转换为语音数据后发送给服务器,进一步地,服务器根据上述语音数据提取出执行指令“打开购买类快应用将A商品加入购物车”,并将对应的执行指令作为识别结果的部分内容发送至第一设备。In another possible implementation, the recognition result includes execution instructions corresponding to the user's voice. That is to say, after the server performs speech recognition on the above-mentioned voice data, it extracts the execution instructions corresponding to the user's voice and converts the execution instructions Sent to the first device. Optionally, the server can obtain the corresponding execution instructions by extracting keywords. For example, the user says "I want to buy product A" to the first device, and the first device converts the user's voice into voice data and sends it to the server. Further, the server extracts the execution instruction "Open the purchase fast application" based on the above voice data. "Add product A to the shopping cart" and send the corresponding execution instruction to the first device as part of the recognition result.
步骤73,第一设备生成语音控制指令,并向第二设备发送语音控制指令。Step 73: The first device generates a voice control instruction and sends the voice control instruction to the second device.
语音控制指令中包括上述识别结果。可选地,第一设备在获取到上述识别结果之后,根据该识别结果生成对应的语音控制指令。可选地,该语音控制指令中可以包括上述用户语音对应的文字,也可以包括上述用户语音对应文字的执行指令,本公开实施例对此不作限定。The voice control instructions include the above recognition results. Optionally, after obtaining the above recognition result, the first device generates a corresponding voice control instruction according to the recognition result. Optionally, the voice control instruction may include text corresponding to the user's voice, or may include an execution instruction corresponding to the text corresponding to the user's voice, which is not limited in this embodiment of the disclosure.
步骤74,第二设备接收到语音控制指令,并启动运行对应的目标快应用。Step 74: The second device receives the voice control instruction and starts running the corresponding target quick application.
在本公开实施例中,上述语音控制指令中包括语音数据的识别结果,进一步地,第二设备根据该识别结果确定启动运行目标快应用,并启动运行该目标快应用。In this embodiment of the present disclosure, the above voice control instruction includes a recognition result of the voice data. Further, the second device determines to start running the target quick application based on the recognition result, and starts running the target quick application.
另外,结合参考图8,以音箱和电视之间的交互为例,对本公开进行介绍说明。In addition, with reference to FIG. 8 , the present disclosure is introduced and explained by taking the interaction between the speaker and the TV as an example.
步骤81,音箱采集语音数据。Step 81: The speaker collects voice data.
步骤82,音箱基于语音数据生成语音控制指令,并获取至少一个候选设备。Step 82: The speaker generates a voice control instruction based on the voice data and obtains at least one candidate device.
步骤83,音箱通过语音采集获取选择指令。Step 83: The speaker obtains the selection instruction through voice collection.
步骤84,音箱根据选择指令确定第二设备为电视。Step 84: The speaker determines that the second device is a television according to the selection instruction.
步骤85,音箱向电视发送语音控制指令。Step 85: The speaker sends a voice control command to the TV.
步骤86,电视对语音控制指令进行语音识别生成识别结果。Step 86: The TV performs speech recognition on the voice control instruction to generate a recognition result.
步骤87,电视根据识别结果确定目标快应用。Step 87: The TV determines the target fast application based on the recognition result.
步骤88,电视启动运行目标快应用。Step 88: The TV starts running the target quick application.
图9是本公开的一个示例性实施例示出的快应用框架的框图900,该快应用框架包括:场景入口920、快应用引擎940和操作系统(Operating System,OS)基础设施&硬件960。Figure 9 is a block diagram 900 of a quick application framework illustrating an exemplary embodiment of the present disclosure. The quick application framework includes: a scene portal 920, a quick application engine 940, and an operating system (Operating System, OS) infrastructure & hardware 960.
场景入口920包括负一屏、全局搜索、锁屏、桌面、应用市场、浏览器和二维码中的至少一种。场景入口920的外在展现形式可以为页面形式和卡片形式。The scene entrance 920 includes at least one of negative screen, global search, lock screen, desktop, application market, browser and QR code. The external presentation form of the scene entrance 920 may be a page form or a card form.
快应用引擎940包括前端框架941、通用场景942、轻量化场景943、嵌入式SDK(Software Development Kit,软件开发工具包)944和业务接入945。The quick application engine 940 includes a front-end framework 941 , a general scenario 942 , a lightweight scenario 943 , an embedded SDK (Software Development Kit) 944 and a business access 945 .
其中,前端框架941包括MVVM(Model-View-View-Model)、V-DOM、路由、基础API(Application Programming Interface,应用程序编程接口)、业务API、UI(UserInterface,用户界面)组件等;Among them, the front-end framework 941 includes MVVM (Model-View-View-Model), V-DOM, routing, basic API (Application Programming Interface, application programming interface), business API, UI (UserInterface, user interface) components, etc.;
通用场景942和轻量化场景943包括JavaScript引擎、标准渲染引擎、极速渲染引擎、端-云-芯加速、安全机制、新兴场景(AI(Artificial Intelligence,人工智能)、AR(Augmented Reality,增强现实)等)、系统整合(应用管理、权限管理等);General scenarios 942 and lightweight scenarios 943 include JavaScript engine, standard rendering engine, ultra-fast rendering engine, device-cloud-core acceleration, security mechanism, emerging scenarios (AI (Artificial Intelligence, artificial intelligence), AR (Augmented Reality, augmented reality) etc.), system integration (application management, rights management, etc.);
业务接入945包括推送(Push)、账号/支付等。Business access 945 includes push, account/payment, etc.
OS基础设施&硬件960包括:图形库、原生控件、系统服务和GPU(GraphicsProcessing Unit,图形处理器)/NPU(Neural-network Processing Unit,嵌入式神经网络处理器)等。OS infrastructure & hardware 960 includes: graphics libraries, native controls, system services, GPU (Graphics Processing Unit, graphics processor)/NPU (Neural-network Processing Unit, embedded neural network processor), etc.
从执行路径层面,有标准的HTML5方式支撑通用的Web场景(一般通过系统的Webview组件或定制的Webview),以及JS(JavaScript)+Native的方式,支撑更轻量、更快速的体验。下面将按3个层面方面简要介绍快应用引擎的架构。From the execution path level, there are standard HTML5 methods that support common Web scenarios (generally through the system's Webview component or customized Webview), and JS (JavaScript) + Native methods that support a lighter and faster experience. The following will briefly introduce the architecture of the quick application engine in three aspects.
1)应用开发(前端框架+组件&API能力)1) Application development (front-end framework + components & API capabilities)
快应用的前端设计借鉴并整合了主流前端框架(Vue,React等)的设计思路:以组件化的方式构建应用,以数据绑定为核心的MVVM设计模式,以V-DOM的方式提升性能,同时选择了简洁清晰的类Vue的模板。同时对布局方面做了相应精简。从新的应用形态、映射原生UI、能力开放的角度,需要定义一套组件与API规范,方便开发这快速开发应用。The front-end design of quick applications draws on and integrates the design ideas of mainstream front-end frameworks (Vue, React, etc.): building applications in a componentized manner, using the MVVM design pattern with data binding as the core, and using V-DOM to improve performance. At the same time, a simple and clear Vue-like template was chosen. At the same time, the layout has been streamlined accordingly. From the perspective of new application forms, mapping native UI, and open capabilities, it is necessary to define a set of component and API specifications to facilitate the rapid development of applications.
2)系统整合(应用管理,卡片-嵌入式SDK,安全机制等等)2) System integration (application management, card-embedded SDK, security mechanism, etc.)
快应用作为完整的应用形态,可以与系统深入整合,如同原生应用一样运行,以及和系统交互。快应用目前有两种形态:全屏方式的独立应用形态与嵌入方式的卡片形态。在独立应用的形态下,给用户的体验就像原生的应用程序,有完整的生命周期管理,页面管理,路由等。快应用可以寄生于安卓的Activity,页面寄生于Fragment,并通过独立的后台Service进行实例的管控。卡片则是另外一种形态,通过嵌入式SDK作为一个独立的局部控件嵌入到系统的各个角落,轻量化的展现动态内容。在安全隔离方面,可通过沙盒机制,进程隔离,权限控制,并结合操作系统层的支持做到较好的安全保障。As a complete application form, quick applications can be deeply integrated with the system, run like native applications, and interact with the system. Quick apps currently come in two forms: full-screen standalone applications and embedded card forms. In the form of an independent application, the user experience is like a native application, with complete life cycle management, page management, routing, etc. Quick apps can be parasitic on Android Activity, pages can be parasitic on Fragments, and instances can be managed and controlled through independent background services. Cards are another form. They are embedded into every corner of the system as an independent local control through the embedded SDK, displaying dynamic content in a lightweight manner. In terms of security isolation, better security can be achieved through sandbox mechanism, process isolation, permission control, and support from the operating system layer.
3)性能体验&新兴场景(JavaScript引擎,渲染引擎,端-云-芯加速,新兴场景)3) Performance experience & emerging scenarios (JavaScript engine, rendering engine, device-cloud-core acceleration, emerging scenarios)
在交互体验、资源开销和稳定性等方面,快应用通过引入原生渲染路径,进而实现前端开发方式+原生渲染与平台能力有效组合。In terms of interactive experience, resource overhead, and stability, quick applications introduce the native rendering path to achieve an effective combination of front-end development methods + native rendering and platform capabilities.
不同于其它的应用层的跨平台框架,快应用植根于手机的操作系统,可实现从芯片<-->操作系统<-->云的深度整合。端和云的结合以启动性能加速为例,通过云和端的协同渲染,网络链路层的优化可以大大加速快应用启动速度。同时可以整合硬件平台的特有能力,进一步提升体验。例如可以结合手机AI芯片,将NPU的算力整合到快应用引擎中来,使得AI场景(人脸识别、图像超分等)在端侧可以低延时、高性能的执行,同时又有效保护了用户的隐私,并节省带宽。Unlike other cross-platform frameworks at the application layer, quick applications are rooted in the mobile operating system, enabling deep integration from chip <--> operating system <--> cloud. The combination of the device and the cloud takes startup performance acceleration as an example. Through the collaborative rendering of the cloud and the device, the optimization of the network link layer can greatly accelerate the startup speed of fast applications. At the same time, the unique capabilities of the hardware platform can be integrated to further enhance the experience. For example, it can be combined with mobile phone AI chips to integrate the computing power of NPU into the fast application engine, so that AI scenarios (face recognition, image super-resolution, etc.) can be executed with low latency and high performance on the device side, while effectively protecting Improves user privacy and saves bandwidth.
图10示出了本公开的一个示例性实施例示出的快应用的启动流程图,包括:Figure 10 shows a startup flow chart of a quick application according to an exemplary embodiment of the present disclosure, including:
1)首次启动时,用户点击触发快应用的程序包的下载,同时做快应用引擎的初始化相关工作。当整个快应用的程序包下载与校验完成后,需要展示的第一个页面的JavaScript文件才会被加载并开始渲染。这个过程中的程序包下载是瓶颈,从前期的实测数据看,正常网络下200K左右的包下载时间至少要400毫秒以上,2M包要2秒以上。1) When starting for the first time, the user clicks to trigger the download of the quick app package, and at the same time does the work related to the initialization of the quick app engine. After the entire quick app package is downloaded and verified, the JavaScript file of the first page that needs to be displayed will be loaded and rendered. Program package downloading is the bottleneck in this process. Judging from early measured data, it takes at least 400 milliseconds to download a 200K package under a normal network, and more than 2 seconds for a 2M package.
2)页面渲染包括JavaScript加载、页面与JavaScript框架逻辑的执行、布局的运算,最终到原生UI控件的绘制。其中,页面内逻辑执行时会有一次或多次的网络请求(页面到应用自己的三方服务器的),网络请求返还的数据驱动页面的再次渲染,直至首屏内容完全展示。2) Page rendering includes JavaScript loading, execution of page and JavaScript framework logic, layout calculations, and finally the drawing of native UI controls. Among them, when the logic in the page is executed, there will be one or more network requests (the page is sent to the application's own third-party server), and the data returned by the network request drives the page to be re-rendered until the first screen content is fully displayed.
这里网络请求、JavaScript执行、排版与绘制并非简单的串行关系,而是并行化地交织在一起影响着整个页面的渲染性能,并与页面设计的逻辑、网络状况与设备运行的状态强相关。Here, network requests, JavaScript execution, typesetting, and drawing are not simply serial relationships, but are intertwined in parallel, affecting the rendering performance of the entire page, and are strongly related to the logic of the page design, network conditions, and device operating status.
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to perform method embodiments of the present disclosure. For details not disclosed in the device embodiments of the disclosure, please refer to the method embodiments of the disclosure.
图11是根据一示例性实施例示出的一种应用运行装置的框图。该装置具有实现上述第二设备侧的应用运行方法的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是第二设备,也可以设置在第二设备中。该装置1100可以包括:指令接收模块1101、应用确定模块1102和应用启动模块1103。Figure 11 is a block diagram of an application running device according to an exemplary embodiment. The device has the function of implementing the above-mentioned application running method on the second device side. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The device may be a second device, or may be provided in the second device. The device 1100 may include: an instruction receiving module 1101, an application determining module 1102, and an application starting module 1103.
指令接收模块1101,被配置为接收第一设备发送的语音控制指令,所述语音控制指令是基于语音数据生成的控制指令。The instruction receiving module 1101 is configured to receive a voice control instruction sent by the first device, where the voice control instruction is a control instruction generated based on voice data.
应用确定模块1102,被配置为根据所述语音控制指令确定启动运行目标快应用,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。The application determination module 1102 is configured to determine, according to the voice control instruction, a target quick application to start and run. The quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation.
应用启动模块1103,被配置为启动运行所述目标快应用,并显示所述目标快应用的用户界面。The application startup module 1103 is configured to start and run the target quick application, and display the user interface of the target quick application.
在示例性实施例中,所述应用启动模块1103被配置为若所述快应用框架中已存储所述目标快应用的应用文件,则通过所述快应用框架基于所述应用文件启动运行所述目标快应用;或者,若所述快应用框架中未存储所述目标快应用的应用文件,则通过所述快应用框架从快应用仓库中下载所述应用文件,通过所述快应用框架基于所述应用文件启动运行所述目标快应用。In an exemplary embodiment, the application startup module 1103 is configured to start and run the target quick application based on the application file through the quick application framework if the application file of the target quick application has been stored in the quick application framework. The target quick application; or, if the application file of the target quick application is not stored in the quick application framework, the application file is downloaded from the quick application warehouse through the quick application framework, and the application file is downloaded from the quick application warehouse based on the quick application framework. The application file starts to run the target quick application.
在示例性实施例中,所述语音控制指令中包括所述语音数据。In an exemplary embodiment, the voice control instruction includes the voice data.
所述应用确定模块1102,被配置为向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;接收所述服务器发送的所述语音数据对应的识别结果;根据所述识别结果确定启动运行所述目标快应用。The application determination module 1102 is configured to send a speech recognition request to a server, where the speech recognition request includes the speech data; receive a recognition result corresponding to the speech data sent by the server; and determine based on the recognition result. Start and run the target quick application.
在示例性实施例中,所述语音控制指令中包括所述语音数据对应的识别结果。In an exemplary embodiment, the voice control instruction includes a recognition result corresponding to the voice data.
所述应用确定模块1102,被配置为根据所述识别结果确定启动运行所述目标快应用。The application determining module 1102 is configured to determine to start running the target quick application according to the identification result.
在示例性实施例中,所述目标快应用包括具有关联关系的第一快应用和第二快应用。In an exemplary embodiment, the target quick application includes a first quick application and a second quick application that have an associated relationship.
如图12所示,所述装置1100还包括:界面显示模块1104。As shown in Figure 12, the device 1100 also includes: an interface display module 1104.
界面显示模块1104,被配置为分屏显示所述第一快应用的用户界面和所述第二快应用的用户界面。The interface display module 1104 is configured to display the user interface of the first quick application and the user interface of the second quick application in split screens.
综上所述,本公开实施例提供的技术方案中,通过基于第一设备采集的语音数据生成语音控制指令,第一设备向第二设备发送该语音控制指令,当第二设备根据该语音控制指令确定启动运行目标快应用时,启动运行目标快应用,并显示该目标快应用的用户界面。由于快应用是基于在操作系统中的快应用框架运行且无需手动安装的应用,因此能够在第二设备中快速地启动运行快应用,并获得该快应用提供的功能,从而提升了应用启动运行的效率。To sum up, in the technical solution provided by the embodiments of the present disclosure, a voice control instruction is generated based on the voice data collected by the first device, and the first device sends the voice control instruction to the second device. When the second device controls the When the instruction determines to start running the target quick app, start running the target quick app and display the user interface of the target quick app. Since a quick app is an application that runs based on the quick app framework in the operating system and does not require manual installation, the quick app can be quickly started and run on the second device and the functions provided by the quick app can be obtained, thus improving the startup and running of the application. s efficiency.
另外,通过语音实现远程控制在某一设备中启动运行快应用,无需用户手动操作,实现了“无手化”的操作体验。In addition, remote control through voice can be used to start and run quick applications on a certain device, without the need for manual operation by the user, achieving a "hands-free" operating experience.
图13是根据另一示例性实施例示出的一种应用运行装置的框图。该装置具有实现上述第一设备侧的应用运行方法的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是第一设备,也设置在第一设备中。该装置1300可以包括:数据采集模块1301、指令生成模块1302和指令发送模块1303。Figure 13 is a block diagram of an application running device according to another exemplary embodiment. The device has the function of implementing the above-mentioned application running method on the first device side. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The device may be the first device and also be provided in the first device. The device 1300 may include: a data collection module 1301, an instruction generation module 1302, and an instruction sending module 1303.
数据采集模块1301,被配置为采集语音数据。The data collection module 1301 is configured to collect voice data.
指令生成模块1302,被配置为基于所述语音数据生成语音控制指令。The instruction generation module 1302 is configured to generate voice control instructions based on the voice data.
指令发送模块1303,被配置为向第二设备发送所述语音控制指令,所述第二设备用于在根据所述语音控制指令确定启动运行目标快应用时,启动运行所述目标快应用,并显示所述目标快应用的用户界面;其中,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。The instruction sending module 1303 is configured to send the voice control instruction to a second device, and the second device is configured to start running the target quick application when it is determined to start running the target quick application according to the voice control instruction, and Display the user interface of the target quick application; wherein the quick application is an application that runs based on a quick application framework integrated in the operating system and does not require manual installation.
在示例性实施例中,如图14所示,所述装置1300还包括:设备获取模块1304和设备选择模块1305。In an exemplary embodiment, as shown in Figure 14, the device 1300 further includes: a device acquisition module 1304 and a device selection module 1305.
设备获取模块1304,被配置为获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备。The device acquisition module 1304 is configured to acquire at least one candidate device, where the candidate device refers to a device that supports running the quick application.
设备选择模块1305,被配置为从所述至少一个候选设备中选择距离最近的候选设备,作为所述第二设备。The device selection module 1305 is configured to select the closest candidate device from the at least one candidate device as the second device.
在示例性实施例中,如图14所示,所述装置1300还包括:界面显示模块1306、指令获取模块1307和设备确定模块1308。In an exemplary embodiment, as shown in Figure 14, the device 1300 further includes: an interface display module 1306, an instruction acquisition module 1307, and a device determination module 1308.
设备获取模块1304,还被配置为获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备。The device acquisition module 1304 is also configured to acquire at least one candidate device, where the candidate device refers to a device that supports running the quick application.
界面显示模块1306,被配置为显示设备选择界面,所述设备选择界面中包括所述至少一个候选设备。The interface display module 1306 is configured to display a device selection interface, where the device selection interface includes the at least one candidate device.
指令获取模块1307,被配置为获取对应于所述至少一个候选设备中的目标候选设备的选择指令。The instruction acquisition module 1307 is configured to obtain a selection instruction corresponding to the target candidate device among the at least one candidate device.
设备确定模块1308,被配置为将所述目标候选设备确定为所述第二设备。The device determination module 1308 is configured to determine the target candidate device as the second device.
在示例性实施例中,所述指令生成模块1302,被配置为向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;接收所述服务器发送的所述语音数据对应的识别结果;生成所述语音控制指令,所述语音控制指令中包括所述识别结果。In an exemplary embodiment, the instruction generation module 1302 is configured to send a voice recognition request to a server, where the voice recognition request includes the voice data; and receive a recognition result corresponding to the voice data sent by the server. ; Generate the voice control instruction, which includes the recognition result.
综上所述,本公开实施例提供的技术方案中,通过基于第一设备采集的语音数据生成语音控制指令,第一设备向第二设备发送该语音控制指令,当第二设备根据该语音控制指令确定启动运行目标快应用时,启动运行目标快应用,并显示该目标快应用的用户界面。由于快应用是基于在操作系统中的快应用框架运行且无需手动安装的应用,因此能够在第二设备中快速地启动运行快应用,并获得该快应用提供的功能,从而提升了应用启动运行的效率。To sum up, in the technical solution provided by the embodiments of the present disclosure, a voice control instruction is generated based on the voice data collected by the first device, and the first device sends the voice control instruction to the second device. When the second device controls the When the instruction determines to start running the target quick app, start running the target quick app and display the user interface of the target quick app. Since a quick app is an application that runs based on the quick app framework in the operating system and does not require manual installation, the quick app can be quickly started and run on the second device and the functions provided by the quick app can be obtained, thus improving the startup and running of the application. s efficiency.
另外,通过语音实现远程控制在某一设备中启动运行快应用,无需用户手动操作,实现了“无手化”的操作体验。In addition, remote control through voice can be used to start and run quick applications on a certain device, without the need for manual operation by the user, achieving a "hands-free" operating experience.
本公开一示例性实施例还提供了一种应用运行装置,能够实现本公开提供的应用运行方法。该装置包括:处理器,以及用于存储处理器的可执行指令的存储器。其中,处理器被配置为:An exemplary embodiment of the present disclosure also provides an application running device, which can implement the application running method provided by the present disclosure. The device includes a processor, and a memory for storing executable instructions of the processor. Where, the processor is configured as:
接收第一设备发送的语音控制指令,所述语音控制指令是基于语音数据生成的控制指令;Receive a voice control instruction sent by the first device, where the voice control instruction is a control instruction generated based on the voice data;
根据所述语音控制指令确定启动运行目标快应用,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用;Determine to start and run the target quick application according to the voice control instruction. The quick application is an application that runs based on the quick application framework integrated in the operating system and does not require manual installation;
启动运行所述目标快应用,并显示所述目标快应用的用户界面。Start and run the target quick application, and display the user interface of the target quick application.
在一些可能的设计中,所述处理器还被配置为:In some possible designs, the processor is further configured to:
若所述快应用框架中已存储所述目标快应用的应用文件,则通过所述快应用框架基于所述应用文件启动运行所述目标快应用;If the application file of the target quick application has been stored in the quick application framework, start and run the target quick application based on the application file through the quick application framework;
或者,or,
若所述快应用框架中未存储所述目标快应用的应用文件,则通过所述快应用框架从快应用仓库中下载所述应用文件,通过所述快应用框架基于所述应用文件启动运行所述目标快应用。If the application file of the target quick application is not stored in the quick application framework, the application file is downloaded from the quick application warehouse through the quick application framework, and the application file is started to run based on the application file through the quick application framework. The above goals are quickly applied.
在一些可能的设计中,所述语音控制指令中包括所述语音数据。In some possible designs, the voice control instruction includes the voice data.
所述处理器还被配置为:The processor is also configured to:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
根据所述识别结果确定启动运行所述目标快应用。It is determined to start running the target quick application according to the identification result.
在一些可能的设计中,所述语音控制指令中包括所述语音数据对应的识别结果。In some possible designs, the voice control instruction includes the recognition result corresponding to the voice data.
所述处理器还被配置为:The processor is also configured to:
根据所述识别结果确定启动运行所述目标快应用。It is determined to start running the target quick application according to the identification result.
在一些可能的设计中,所述目标快应用包括具有关联关系的第一快应用和第二快应用。In some possible designs, the target quick application includes a first quick application and a second quick application that have an associated relationship.
所述显示所述目标快应用的用户界面,包括:The user interface for displaying the target quick application includes:
分屏显示所述第一快应用的用户界面和所述第二快应用的用户界面。The user interface of the first quick application and the user interface of the second quick application are displayed in split screens.
本公开另一示例性实施例还提供了一种应用运行装置,能够实现本公开提供的应用运行方法。该装置包括:处理器,以及用于存储处理器的可执行指令的存储器。其中,处理器被配置为:Another exemplary embodiment of the present disclosure also provides an application running device, which can implement the application running method provided by the present disclosure. The device includes a processor, and a memory for storing executable instructions of the processor. Where, the processor is configured as:
采集语音数据;Collect voice data;
基于所述语音数据生成语音控制指令;Generate voice control instructions based on the voice data;
向第二设备发送所述语音控制指令,所述第二设备用于在根据所述语音控制指令确定启动运行目标快应用时,启动运行所述目标快应用,并显示所述目标快应用的用户界面;Send the voice control instruction to a second device, and the second device is configured to start running the target quick application when it is determined to start running the target quick application according to the voice control instruction, and display the user of the target quick application. interface;
其中,所述快应用是基于集成在操作系统中的快应用框架运行且无需手动安装的应用。Wherein, the quick application is an application that runs based on a quick application framework integrated in the operating system and does not require manual installation.
在一些可能的设计中,所述处理器还被配置为:In some possible designs, the processor is further configured to:
获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;Obtain at least one candidate device, where the candidate device refers to a device that supports running the quick application;
从所述至少一个候选设备中选择距离最近的候选设备,作为所述第二设备。Select the closest candidate device from the at least one candidate device as the second device.
在一些可能的设计中,所述处理器还被配置为:In some possible designs, the processor is further configured to:
获取至少一个候选设备,所述候选设备是指支持运行所述快应用的设备;Obtain at least one candidate device, where the candidate device refers to a device that supports running the quick application;
显示设备选择界面,所述设备选择界面中包括所述至少一个候选设备;Display a device selection interface, the device selection interface including the at least one candidate device;
获取对应于所述至少一个候选设备中的目标候选设备的选择指令;Obtaining a selection instruction corresponding to a target candidate device among the at least one candidate device;
将所述目标候选设备确定为所述第二设备。在一些可能的设计中,所述语音控制指令中包括所述语音数据对应的识别结果。The target candidate device is determined as the second device. In some possible designs, the voice control instruction includes the recognition result corresponding to the voice data.
在一些可能的设计中,所述处理器还被配置为:In some possible designs, the processor is further configured to:
向服务器发送语音识别请求,所述语音识别请求中包括所述语音数据;Send a voice recognition request to the server, where the voice recognition request includes the voice data;
接收所述服务器发送的所述语音数据对应的识别结果;Receive the recognition result corresponding to the voice data sent by the server;
生成所述语音控制指令,所述语音控制指令中包括所述识别结果。The voice control instruction is generated, and the voice control instruction includes the recognition result.
图15是根据一示例性实施例示出的一种装置1500的框图。例如,装置1500可以是手机、音箱、电视、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备等便携式电子设备。Figure 15 is a block diagram of an apparatus 1500 according to an exemplary embodiment. For example, the device 1500 may be a portable electronic device such as a mobile phone, a speaker, a television, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, or the like.
参照图15,装置1500可以包括以下一个或多个组件:处理组件1502,存储器1504,电源组件1506,多媒体组件1508,音频组件1510,输入/输出(I/O,Input/Output)接口1512,传感器组件1514,以及通信组件1516。Referring to Figure 15, the device 1500 may include one or more of the following components: a processing component 1502, a memory 1504, a power supply component 1506, a multimedia component 1508, an audio component 1510, an input/output (I/O, Input/Output) interface 1512, and a sensor. component 1514, and communications component 1516.
处理组件1502通常控制装置1500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1502可以包括一个或多个处理器1520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1502可以包括一个或多个模块,便于处理组件1502和其他组件之间的交互。例如,处理组件1502可以包括多媒体模块,以方便多媒体组件1508和处理组件1502之间的交互。Processing component 1502 generally controls the overall operations of device 1500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1502 may include one or more processors 1520 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1502 may include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
存储器1504被配置为存储各种类型的数据以支持在装置1500的操作。这些数据的示例包括用于在装置1500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM,Static Random-Access Memory),电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read Only Memory),可擦除可编程只读存储器(EPROM,Erasable Programmable Read Only Memory),可编程只读存储器(PROM,Programmable Read-only Memory),只读存储器(ROM,Read Only Memory),磁存储器,快闪存储器,磁盘或光盘。Memory 1504 is configured to store various types of data to support operations at device 1500 . Examples of such data include instructions for any application or method operating on device 1500, contact data, phonebook data, messages, pictures, videos, etc. Memory 1504 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM) , Electrically Erasable Programmable Read Only Memory), Erasable Programmable Read Only Memory (EPROM, Erasable Programmable Read Only Memory), Programmable Read Only Memory (PROM, Programmable Read-only Memory), Read Only Memory (ROM, Read Only Memory), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件1506为装置1500的各种组件提供电力。电源组件1506可以包括电源管理系统,一个或多个电源,及其他与为装置1500生成、管理和分配电力相关联的组件。Power supply component 1506 provides power to various components of device 1500. Power supply components 1506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 1500 .
多媒体组件1508包括在所述装置1500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD,Liquid Crystal Display)和触摸面板(TP,TouchPad)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1508包括一个前置摄像头和/或后置摄像头。当装置1500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1508 includes a screen that provides an output interface between the device 1500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a TouchPad (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 1508 includes a front-facing camera and/or a rear-facing camera. When the device 1500 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件1510被配置为输出和/或输入音频信号。例如,音频组件1510包括一个麦克风(MIC,Microphone),当装置1500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1504或经由通信组件1516发送。在一些实施例中,音频组件1510还包括一个扬声器,用于输出音频信号。Audio component 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a microphone (MIC, Microphone) configured to receive external audio signals when the device 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in memory 1504 or sent via communications component 1516 . In some embodiments, audio component 1510 also includes a speaker for outputting audio signals.
I/O接口1512为处理组件1502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1512 provides an interface between the processing component 1502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件1514包括一个或多个传感器,用于为装置1500提供各个方面的状态评估。例如,传感器组件1514可以检测到装置1500的打开/关闭状态,组件的相对定位,例如所述组件为装置1500的显示器和小键盘,传感器组件1514还可以检测装置1500或装置1500一个组件的位置改变,用户与装置1500接触的存在或不存在,装置1500方位或加速/减速和装置1500的温度变化。传感器组件1514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1514还可以包括光传感器,如互补金属氧化物半导体(CMOS,Complementary Metal Oxide Semiconductor)或电荷耦合器件(CCD,ChargeCoupled Device)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 1514 includes one or more sensors for providing various aspects of status assessment for device 1500 . For example, the sensor component 1514 can detect the open/closed state of the device 1500, the relative positioning of components, such as the display and keypad of the device 1500, and the sensor component 1514 can also detect a change in position of the device 1500 or a component of the device 1500. , the presence or absence of user contact with device 1500 , device 1500 orientation or acceleration/deceleration and temperature changes of device 1500 . Sensor component 1514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1514 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor component 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1516被配置为便于装置1500和其他设备之间有线或无线方式的通信。装置1500可以接入基于通信标准的无线网络,如Wi-Fi,2G,3G,4G,5G,或它们的组合。在一个示例性实施例中,通信组件1516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1516还包括近场通信(NFC,Near FieldCommunication)模块,以促进短程通信。Communications component 1516 is configured to facilitate wired or wireless communications between device 1500 and other devices. Device 1500 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, or a combination thereof. In one exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 also includes a near field communication (NFC) module to facilitate short-range communication.
在示例性实施例中,装置1500可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Demand-SidePlatform)、数字信号处理设备(DSPD,Digital Demand-Side Platform)、可编程逻辑器件(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,FieldProgrammable GateArray)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述应用运行方法。In an exemplary embodiment, the device 1500 may be configured by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Demand-SidePlatforms (DSPs), Digital Signal Processing Devices (DSPDs). Side Platform), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable GateArray), controller, microcontroller, microprocessor or other electronic component implementation, used to execute the above application operations method.
在示例性实施例中,还提供了一种包括计算机程序的非临时性计算机可读存储介质,例如包括计算机程序的存储器1504,上述计算机程序可由装置1500的处理器1520执行以完成上述应用运行方法。例如,所述非临时性计算机可读存储介质可以是ROM、RAM、光盘只读存储器(CD-ROM,Compact Disc Read-Only Memory)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including a computer program is also provided, such as a memory 1504 including a computer program. The above computer program can be executed by the processor 1520 of the device 1500 to complete the above application running method. . For example, the non-transitory computer-readable storage medium may be ROM, RAM, Compact Disc Read-Only Memory (CD-ROM, Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, etc.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that "plurality" mentioned in this article means two or more. "And/or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the related objects are in an "or" relationship.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911129176.6A CN110968362B (en) | 2019-11-18 | 2019-11-18 | Application running method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911129176.6A CN110968362B (en) | 2019-11-18 | 2019-11-18 | Application running method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110968362A CN110968362A (en) | 2020-04-07 |
| CN110968362B true CN110968362B (en) | 2023-09-26 |
Family
ID=70031076
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911129176.6A Active CN110968362B (en) | 2019-11-18 | 2019-11-18 | Application running method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110968362B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112764836B (en) * | 2021-01-28 | 2024-08-09 | 深圳市欢太科技有限公司 | Method and device for running fast application and electronic equipment |
| CN113810494B (en) * | 2021-09-16 | 2023-02-28 | 腾讯科技(深圳)有限公司 | Audio playing control method, device, terminal and storage medium |
| CN113934456A (en) * | 2021-10-22 | 2022-01-14 | 维沃移动通信(杭州)有限公司 | Control method and device and electronic equipment |
| CN116805488A (en) * | 2022-03-18 | 2023-09-26 | 华为技术有限公司 | Multi-equipment voice control system and method |
| CN116010699A (en) * | 2023-01-09 | 2023-04-25 | 雄狮汽车科技(南京)有限公司 | Scene recommendation method and device for vehicle, electronic equipment and storage medium |
| CN119690492A (en) * | 2023-09-25 | 2025-03-25 | 北京小米移动软件有限公司 | A quick application execution method, device and storage medium |
| CN118819662A (en) * | 2024-01-25 | 2024-10-22 | 中国移动通信有限公司研究院 | Application operation, configuration method, device, terminal, server and storage medium |
| CN119336291B (en) * | 2024-12-16 | 2025-05-09 | 上海岩芯数智人工智能科技有限公司 | Audio streaming media optimized playing method and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107799115A (en) * | 2016-08-29 | 2018-03-13 | 法乐第(北京)网络科技有限公司 | A kind of audio recognition method and device |
| CN108091333A (en) * | 2017-12-28 | 2018-05-29 | 广东欧珀移动通信有限公司 | Sound control method and Related product |
| CN110060672A (en) * | 2019-03-08 | 2019-07-26 | 华为技术有限公司 | A kind of sound control method and electronic equipment |
| CN110197662A (en) * | 2019-05-31 | 2019-09-03 | 努比亚技术有限公司 | Sound control method, wearable device and computer readable storage medium |
| KR20190111624A (en) * | 2018-03-23 | 2019-10-02 | 삼성전자주식회사 | Electronic device and method for providing voice recognition control thereof |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108538291A (en) * | 2018-04-11 | 2018-09-14 | 百度在线网络技术(北京)有限公司 | Sound control method, terminal device, cloud server and system |
-
2019
- 2019-11-18 CN CN201911129176.6A patent/CN110968362B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107799115A (en) * | 2016-08-29 | 2018-03-13 | 法乐第(北京)网络科技有限公司 | A kind of audio recognition method and device |
| CN108091333A (en) * | 2017-12-28 | 2018-05-29 | 广东欧珀移动通信有限公司 | Sound control method and Related product |
| KR20190111624A (en) * | 2018-03-23 | 2019-10-02 | 삼성전자주식회사 | Electronic device and method for providing voice recognition control thereof |
| CN110060672A (en) * | 2019-03-08 | 2019-07-26 | 华为技术有限公司 | A kind of sound control method and electronic equipment |
| CN110197662A (en) * | 2019-05-31 | 2019-09-03 | 努比亚技术有限公司 | Sound control method, wearable device and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110968362A (en) | 2020-04-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110968362B (en) | Application running method, device and storage medium | |
| US11073973B2 (en) | Electronic device and method for electronic device displaying image | |
| KR102248474B1 (en) | Voice command providing method and apparatus | |
| CN110874217B (en) | Interface display method and device for quick application and storage medium | |
| CN110865863B (en) | Interface display method and device for fast application and storage medium | |
| KR102376700B1 (en) | Method and Apparatus for Generating a Video Content | |
| CN106033397B (en) | Memory buffer area adjusting method, device and terminal | |
| US20200258517A1 (en) | Electronic device for providing graphic data based on voice and operating method thereof | |
| CN110851240B (en) | Function calling method, device and storage medium | |
| CN110865864B (en) | Quick application interface display method, device, equipment and storage medium | |
| CN110851108A (en) | Electronic equipment operation method and device, electronic equipment and storage medium | |
| EP3416070A1 (en) | Page display method and device and storage medium | |
| WO2023123840A1 (en) | Payment method and apparatus, electronic device, storage medium, and computer program product | |
| EP3236355A1 (en) | Method and apparatus for managing task of instant messaging application | |
| KR102340251B1 (en) | Method for managing data and an electronic device thereof | |
| CN110971974B (en) | Configuration parameter creating method, device, terminal and storage medium | |
| KR20130100448A (en) | Mobile terminal and method for controlling thereof | |
| CN119025200A (en) | A topic generating method and electronic device | |
| CN107450912A (en) | Layout method, device and the terminal of the page | |
| CN107402756A (en) | For drawing the method, apparatus and terminal of the page | |
| CN111061452A (en) | Voice control method and device of user interface | |
| CN110908629A (en) | Electronic equipment operation method and device, electronic equipment and storage medium | |
| CN106604101A (en) | Live streaming interaction method and device | |
| EP3185515B1 (en) | Method and device for inputting information | |
| CN114879954B (en) | Application definition method and device, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |