WO2023045736A1 - Distributed data management method, electronic device, and system - Google Patents

Distributed data management method, electronic device, and system Download PDF

Info

Publication number
WO2023045736A1
WO2023045736A1 PCT/CN2022/116851 CN2022116851W WO2023045736A1 WO 2023045736 A1 WO2023045736 A1 WO 2023045736A1 CN 2022116851 W CN2022116851 W CN 2022116851W WO 2023045736 A1 WO2023045736 A1 WO 2023045736A1
Authority
WO
WIPO (PCT)
Prior art keywords
target application
application
electronic device
icon
data
Prior art date
Application number
PCT/CN2022/116851
Other languages
French (fr)
Chinese (zh)
Inventor
帅煜韬
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023045736A1 publication Critical patent/WO2023045736A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present application relates to the technical field of terminals, and provides a distributed data management method, an electronic device, and a system. The present application can improve the efficiency of application management in a distributed system. The method comprises: detecting a first instruction input by a user, and sending data of a target application to a second electronic device associated with the first instruction, wherein the second electronic device and a first electronic device are in the same electronic device group, the first instruction is used for instructing to manage the target application of the second electronic device, and managing the target application comprises any one of the following: installing the target application, updating the target application, uninstalling the target application, deploying an icon of the target application, and deleting the icon of the target application.

Description

分布式数据管理方法、电子设备及系统Distributed data management method, electronic device and system
本申请要求于2021年09月24日提交国家知识产权局、申请号为202111124130.2、发明名称为“分布式数据管理方法、电子设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on September 24, 2021, with the application number 202111124130.2, and the title of the invention is "distributed data management method, electronic equipment and system", the entire content of which is incorporated by reference in this application.
技术领域technical field
本申请涉及终端技术领域,尤其涉及分布式数据管理方法、电子设备及系统。The present application relates to the technical field of terminals, and in particular to a distributed data management method, electronic equipment and a system.
背景技术Background technique
目前,电子设备的种类和数目越来越多,一个用户可能拥有多个电子设备。用户可以选择在各电子设备中安装各类应用程序。其中,当用户需要对多个电子设备的应用程序进行管理时,通常需要在各个电子设备上分别进行管理操作。以用户在两个电子设备上安装应用1为例,用户需要在电子设备1上打开应用市场,搜索应用1,并点击安装,用户还需在电子设备2上打开应用市场,搜索应用1,并点击安装。Currently, there are more and more types and numbers of electronic devices, and a user may own multiple electronic devices. Users can choose to install various application programs in each electronic device. Wherein, when the user needs to manage the application programs of multiple electronic devices, it usually needs to perform management operations on each electronic device respectively. Take the user installing application 1 on two electronic devices as an example. The user needs to open the application market on electronic device 1, search for application 1, and click Install. The user also needs to open the application market on electronic device 2, search for application 1, and Click Install.
可见,目前的应用程序管理方式,效率较低。It can be seen that the current application program management method is inefficient.
发明内容Contents of the invention
本申请提供分布式数据管理方法、电子设备及系统,可以在分布式系统中提高应用程序的管理效率。The application provides a distributed data management method, an electronic device and a system, which can improve the management efficiency of application programs in a distributed system.
为了实现上述目的,本申请提供了以下技术方案:In order to achieve the above object, the application provides the following technical solutions:
第一方面,本申请提供一种分布式数据管理方法,应用于第一电子设备或能够实现第一电子设备功能的组件(比如芯片系统),该方法包括:In a first aspect, the present application provides a distributed data management method, which is applied to a first electronic device or a component (such as a chip system) capable of realizing the functions of the first electronic device, and the method includes:
检测用户输入的第一指令,向第一指令关联的第二电子设备发送目标应用的数据;其中,第二电子设备与第一电子设备在同一电子设备组内;第一指令用于指示管理第二电子设备的目标应用;管理目标应用包括如下任一项:安装目标应用、更新目标应用、卸载目标应用、部署目标应用的图标、删除目标应用的图标。Detect the first instruction input by the user, and send the data of the target application to the second electronic device associated with the first instruction; wherein, the second electronic device and the first electronic device are in the same electronic device group; the first instruction is used to instruct management of the second electronic device 2. The target application of the electronic device; managing the target application includes any of the following: installing the target application, updating the target application, uninstalling the target application, deploying the icon of the target application, and deleting the icon of the target application.
本申请实施例的技术方案,能够通过第一电子设备管理第二电子设备上的目标应用,也就意味着,用户在任意一台电子设备上管理应用时,可以按需对组网内其他设备上的同一应用进行管理,增强用户体验。并且,用户可以在同一电子设备上对组网内其他设备的应用进行统一管理,无需逐个设备进行应用管理操作,降低了用户管理应用的操作复杂度,进而能够提升应用管理的效率。The technical solution of the embodiment of the present application can manage the target application on the second electronic device through the first electronic device, which means that when the user manages the application on any electronic device, he can control other devices in the network as needed The same application on the Internet can be managed to enhance the user experience. Moreover, the user can manage the applications of other devices in the network in a unified manner on the same electronic device, without performing application management operations on each device, which reduces the operational complexity of user management applications, thereby improving the efficiency of application management.
在一种可能的设计中,部署目标应用的图标,包括:在桌面上显示目标应用的图标。所述图标用于响应于用户输入的第三指令,管理所述目标应用。In a possible design, deploying the icon of the target application includes: displaying the icon of the target application on a desktop. The icon is used to manage the target application in response to a third instruction input by the user.
在桌面上显示目标应用的图标之后,用户可以通过操作该图标,对组网内其他设备的目标应用进行统一管理,进而降低用户管理应用的操作复杂度,提升应用管理的效率。After the icon of the target application is displayed on the desktop, the user can manage the target application of other devices in the network in a unified manner by operating the icon, thereby reducing the operation complexity of the user management application and improving the efficiency of application management.
在一种可能的设计中,方法还包括:根据第一指令以及预设策略,从电子设备组中确定第一指令关联的第二电子设备;In a possible design, the method further includes: according to the first instruction and the preset policy, determining the second electronic device associated with the first instruction from the electronic device group;
其中,预设策略包括目标应用的类型。Wherein, the preset policy includes the type of the target application.
该种方式中,第一电子设备可根据预设策略(比如但不限于目标应用的类型)自动智能的选择需要进行应用管理(比如部署目标应用的图标)的第二电子设备,无需用户手动选择第二电子设备,在一定程度上能够简化用户操作。In this way, the first electronic device can automatically and intelligently select the second electronic device that requires application management (such as deploying the icon of the target application) according to a preset policy (such as but not limited to the type of the target application), without manual selection by the user The second electronic device can simplify user operations to a certain extent.
在一种可能的设计中,第一指令还用于指示第二电子设备的标识;In a possible design, the first instruction is also used to indicate the identity of the second electronic device;
方法还包括:根据第一指令,从电子设备组中确定第一指令指示的第二电子设备。The method further includes: according to the first instruction, determining the second electronic device indicated by the first instruction from the electronic device group.
在一种可能的设计中,第一指令还用于指示管理本地的目标应用。In a possible design, the first instruction is also used to instruct to manage a local target application.
也就是说,用户可以通过向第一电子设备输入第一指令,从而指示第一电子设备管理本地的目标应用,以及指示第二电子设备管理第二电子设备的目标应用。示例性的,用户向第一电子设备输入第一指令,该第一指令用于指示第一电子设备安装音乐应用,以及指示第二电子设备安装音乐应用。再示例性的,用户向第一电子设备输入第一指令,该第一指令用于指示第一电子设备安装音乐应用,以及指示第二电子设备部署音乐应用的图标,以及指示第三电子设备部署音乐应用的图标。That is to say, the user can instruct the first electronic device to manage the local target application and instruct the second electronic device to manage the target application of the second electronic device by inputting the first instruction to the first electronic device. Exemplarily, the user inputs a first instruction to the first electronic device, and the first instruction is used to instruct the first electronic device to install the music application, and instruct the second electronic device to install the music application. In another example, the user inputs a first instruction to the first electronic device, and the first instruction is used to instruct the first electronic device to install a music application, to instruct the second electronic device to deploy an icon of the music application, and to instruct the third electronic device to install an icon of the music application. Icon for music app.
在一种可能的设计中,目标应用的数据包括目标应用在第二电子设备中的待管理状态,待管理状态包括如下任意状态:待安装目标应用、待更新目标应用、待卸载目标应用、待部署目标应用的图标、待删除目标应用的图标。In a possible design, the data of the target application includes the state of the target application to be managed in the second electronic device, and the state to be managed includes any of the following states: the target application to be installed, the target application to be updated, the target application to be uninstalled, the state to be managed The icon of the deployment target application and the icon of the target application to be deleted.
在一种可能的设计中,目标应用的数据还包括如下任一项或多项:目标应用的标识、目标应用的安装包、目标应用的下载链接、目标应用的升级包。In a possible design, the data of the target application further includes any one or more of the following: an identification of the target application, an installation package of the target application, a download link of the target application, and an upgrade package of the target application.
在一种可能的设计中,在管理本地的目标应用后,方法还包括:向第二电子设备发送目标应用的管理状态;管理状态包括如下任意状态:已安装目标应用、已更新目标应用、已卸载目标应用、已部署目标应用的图标、已删除目标应用的图标。In a possible design, after managing the local target application, the method further includes: sending the management state of the target application to the second electronic device; the management state includes any of the following states: the target application has been installed, the target application has been updated, Uninstalled target app, deployed target app's icon, deleted target app's icon.
在一种可能的设计中,方法还包括:In one possible design, the method also includes:
接收用户输入的第二指令,根据第二指令开启预设模式;receiving a second instruction input by the user, and starting the preset mode according to the second instruction;
管理本地的目标应用,包括:在预设模式下,电子设备管理预设类型的目标应用;Manage local target applications, including: in the default mode, the electronic device manages target applications of preset types;
其中,预设模式包括如下任意模式:儿童模式、青少年模式、省电模式。Wherein, the preset mode includes any of the following modes: child mode, youth mode, and power saving mode.
通过该方式,能够确保在预设模式下,屏蔽一些诸如不安全应用的安装。In this manner, it can be ensured that in the preset mode, some installations such as unsafe applications are blocked.
在一种可能的设计中,方法还包括:In one possible design, the method also includes:
呈现设置界面,设置界面用于设置如下任一项或多项:开启分布式数据管理的功能、目标应用的图标的用户界面UI效果、目标应用的类型所关联的电子设备。A setting interface is presented, and the setting interface is used to set any one or more of the following: the function of enabling distributed data management, the UI effect of the icon of the target application, and the electronic device associated with the type of the target application.
第二方面,提供一种分布式数据管理方法,应用于第二电子设备或能够实现第二电子设备功能的组件(比如芯片系统),该方法包括:In a second aspect, a distributed data management method is provided, which is applied to a second electronic device or a component (such as a chip system) capable of realizing a function of the second electronic device, and the method includes:
从第一电子设备接收目标应用的数据;其中,第二电子设备与第一电子设备在同一电子设备组内;第一指令用于指示管理第二电子设备的目标应用;管理目标应用包括如下任一项:安装目标应用、更新目标应用、卸载目标应用、部署目标应用的图标、删除目标应用的图标;Receive the data of the target application from the first electronic device; wherein, the second electronic device and the first electronic device are in the same electronic device group; the first instruction is used to instruct to manage the target application of the second electronic device; the management of the target application includes any of the following One: install the target application, update the target application, uninstall the target application, deploy the icon of the target application, delete the icon of the target application;
根据目标应用的数据,管理目标应用。Manage the target application according to the data of the target application.
在一种可能的设计中,部署目标应用的图标,包括:在桌面上显示目标应用的图标,所述图标用于响应于用户输入的第三指令,管理所述目标应用。In a possible design, deploying the icon of the target application includes: displaying the icon of the target application on the desktop, where the icon is used to manage the target application in response to a third instruction input by a user.
在一种可能的设计中,目标应用的数据包括目标应用在第二电子设备中的待管理状态,待管理状态包括如下任意状态:待安装目标应用、待更新目标应用、待卸载目标应用、待部署目标应用的图标、待删除目标应用的图标。In a possible design, the data of the target application includes the state of the target application to be managed in the second electronic device, and the state to be managed includes any of the following states: the target application to be installed, the target application to be updated, the target application to be uninstalled, the state to be managed The icon of the deployment target application and the icon of the target application to be deleted.
在一种可能的设计中,目标应用的数据还包括如下任一项或多项:目标应用的标识、目标应用的安装包、目标应用的下载链接、目标应用的升级包。In a possible design, the data of the target application further includes any one or more of the following: an identification of the target application, an installation package of the target application, a download link of the target application, and an upgrade package of the target application.
在一种可能的设计中,在管理目标应用后,方法还包括:向第一电子设备发送目标应用的管理状态;管理状态包括如下任意状态:已安装目标应用、已更新目标应用、已卸载目标应用、已部署目标应用的图标、已删除目标应用的图标。In a possible design, after the target application is managed, the method further includes: sending the management state of the target application to the first electronic device; the management state includes any of the following states: the target application has been installed, the target application has been updated, the target application has been uninstalled app, icon for deployed target app, icon for deleted target app.
在一种可能的设计中,方法还包括:In one possible design, the method also includes:
从第一电子设备接收第三指令,根据第三指令开启预设模式;receiving a third instruction from the first electronic device, and turning on the preset mode according to the third instruction;
管理目标应用,包括:在预设模式下,电子设备管理预设类型的目标应用;Managing the target application includes: in the preset mode, the electronic device manages the target application of the preset type;
其中,预设模式包括如下任意模式:儿童模式、青少年模式、省电模式。Wherein, the preset mode includes any of the following modes: child mode, youth mode, and power saving mode.
在一种可能的设计中,根据目标应用的数据,管理目标应用,包括:在息屏状态下,根据目标应用的数据,管理目标应用。In a possible design, managing the target application according to the data of the target application includes: managing the target application according to the data of the target application in an off-screen state.
第三方面,提供一种分布式数据管理系统,该系统包括:In a third aspect, a distributed data management system is provided, which includes:
第一电子设备,用于检测用户输入的第一指令,并向第一指令关联的第二电子设备发送目标应用的数据;The first electronic device is configured to detect a first instruction input by a user, and send target application data to a second electronic device associated with the first instruction;
第二电子设备,用于从第一电子设备接收目标应用的数据,并根据目标应用的数据管理目标应用;The second electronic device is configured to receive the data of the target application from the first electronic device, and manage the target application according to the data of the target application;
其中,第二电子设备与第一电子设备在同一电子设备组内;第一指令用于指示管理第二电子设备的目标应用;管理目标应用包括如下任一项:安装目标应用、更新目标应用、卸载目标应用、部署目标应用的图标、删除目标应用的图标。Wherein, the second electronic device is in the same electronic device group as the first electronic device; the first instruction is used to instruct to manage the target application of the second electronic device; managing the target application includes any of the following: installing the target application, updating the target application, Uninstall the target application, deploy the icon of the target application, delete the icon of the target application.
在一种可能的设计中,部署目标应用的图标,包括:在桌面上显示目标应用的图标,所述图标用于响应于用户输入的第三指令,管理所述目标应用。In a possible design, deploying the icon of the target application includes: displaying the icon of the target application on the desktop, where the icon is used to manage the target application in response to a third instruction input by a user.
在一种可能的设计中,第一指令还用于指示管理本地的目标应用。In a possible design, the first instruction is also used to instruct to manage a local target application.
在一种可能的设计中,第一电子设备,还用于接收用户输入的第二指令,根据第二指令开启预设模式;In a possible design, the first electronic device is further configured to receive a second instruction input by the user, and enable the preset mode according to the second instruction;
管理本地的目标应用,包括:在预设模式下,电子设备管理预设类型的目标应用;Manage local target applications, including: in the default mode, the electronic device manages target applications of preset types;
其中,预设模式包括如下任意模式:儿童模式、青少年模式、省电模式。Wherein, the preset mode includes any of the following modes: child mode, youth mode, and power saving mode.
在一种可能的设计中,第二电子设备,用于根据目标应用的数据管理目标应用,包括:在息屏状态下,根据目标应用的数据,管理目标应用。In a possible design, the second electronic device, configured to manage the target application according to the data of the target application, includes: managing the target application according to the data of the target application in an off-screen state.
第四方面,提供一种电子设备,该电子设备包括处理器和存储器,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器执行计算机指令时,执行如本申请第一方面任一种可能的设计方式的方法。In a fourth aspect, there is provided an electronic device, the electronic device includes a processor and a memory, and the memory is used to store computer program codes, the computer program codes include computer instructions, and when the processor executes the computer instructions, any of the following aspects of the first aspect of the present application can be executed. A method of possible design style.
第五方面,提供一种电子设备,该电子设备包括处理器和存储器,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器执行计算机指令时, 执行如本申请第二方面任一种可能的设计方式的方法。In a fifth aspect, an electronic device is provided, the electronic device includes a processor and a memory, the memory is used to store computer program codes, the computer program codes include computer instructions, and when the processor executes the computer instructions, any of the following aspects of the second aspect of the present application can be performed. A method of possible design style.
第六方面,提供一种分布式数据管理系统,包括上述第四方面以及第五方面的电子设备。In a sixth aspect, a distributed data management system is provided, including the electronic devices in the fourth and fifth aspects above.
第七方面,本申请实施例提供一种芯片系统,该芯片系统应用于包括上述触摸屏的电子设备。该芯片系统包括一个或多个接口电路和一个或多个处理器。该接口电路和处理器通过线路互联。该接口电路用于从电子设备的存储器接收信号,并向处理器发送该信号,该信号包括存储器中存储的计算机指令。当处理器执行计算机指令时,电子设备执行上述任意方面及其任一种可能的实施方式的方法。In a seventh aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device including the above-mentioned touch screen. The system-on-a-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by wires. The interface circuit is for receiving a signal from the memory of the electronic device and sending the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device executes the method in any of the above aspects and any possible implementation manners thereof.
第八方面,本申请实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行任意方面任一种可能的实施方式的方法。In an eighth aspect, the embodiment of the present application provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is made to execute the method in any possible implementation manner of any aspect.
第九方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述任意方面及其任一种可能的实施方式的方法。In a ninth aspect, the embodiments of the present application provide a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the method of any of the above aspects and any possible implementation manner thereof.
附图说明Description of drawings
图1A为本申请实施例提供的分布式系统的架构图;FIG. 1A is an architecture diagram of a distributed system provided by an embodiment of the present application;
图1B、图1C为本申请实施例提供的分布式组网过程中的界面图;FIG. 1B and FIG. 1C are interface diagrams during the distributed networking process provided by the embodiment of the present application;
图2A、图2B为本申请实施例提供的装置的结构示意图;2A and 2B are schematic structural diagrams of the device provided by the embodiment of the present application;
图3为本申请实施例提供的装置的软件架构示意图;FIG. 3 is a schematic diagram of the software architecture of the device provided by the embodiment of the present application;
图4为本申请实施例提供的一组界面图;Fig. 4 is a set of interface diagrams provided by the embodiment of the present application;
图5A为本申请实施例提供的另一组界面图;FIG. 5A is another set of interface diagrams provided by the embodiment of the present application;
图5B为本申请实施例提供的另一组界面图;FIG. 5B is another set of interface diagrams provided by the embodiment of the present application;
图5C为本申请实施例提供的另一组界面图;FIG. 5C is another set of interface diagrams provided by the embodiment of the present application;
图6、图7为本申请实施例提供的界面图;Figure 6 and Figure 7 are the interface diagrams provided by the embodiment of the present application;
图8A-图8D为本申请实施例提供的分布式数据管理方法的流程示意图;8A-8D are schematic flowcharts of the distributed data management method provided by the embodiment of the present application;
图9A-图9C为本申请实施例提供的界面图;9A-9C are interface diagrams provided by the embodiment of the present application;
图10为本申请实施例提供的分布式数据管理方法的另一流程示意图;FIG. 10 is another schematic flowchart of the distributed data management method provided by the embodiment of the present application;
图11-图16为本申请实施例提供的界面图;Figures 11-16 are interface diagrams provided by the embodiment of this application;
图17为本申请实施例提供的分布式数据管理方法的另一流程示意图;FIG. 17 is another schematic flowchart of the distributed data management method provided by the embodiment of the present application;
图18为本申请实施例提供的界面图;Figure 18 is an interface diagram provided by the embodiment of this application;
图19为本申请提供的一种电子设备的结构示意图;FIG. 19 is a schematic structural diagram of an electronic device provided by the present application;
图20为本申请提供的一种芯片系统的示意图。FIG. 20 is a schematic diagram of a chip system provided by the present application.
具体实施方式Detailed ways
本申请实施例提供分布式数据管理方法,应用在包括多个电子设备的分布式系统(distributed system)中。分布式系统可以指由多个电子设备组合而成的一个整体。在分布式系统中,至少两个电子设备通过无线连接或者有线连接的方式连接后,共同执行任务。在分布式系统中的设备可以称之为分布式设备。分布式系统处于分布式环境,该分布式环境可以为局域网,或广域网,对此本申请实施例不做限定。本申请实施例的技术方案,能够对分布式系统中多个分布式设备的数据进行统一管理。分布式设备的数据包括但不限于应用程序的数据。The embodiment of the present application provides a distributed data management method, which is applied in a distributed system (distributed system) including multiple electronic devices. A distributed system can refer to a whole composed of multiple electronic devices. In a distributed system, after at least two electronic devices are connected through a wireless connection or a wired connection, they jointly perform tasks. Devices in a distributed system can be called distributed devices. The distributed system is in a distributed environment, and the distributed environment may be a local area network or a wide area network, which is not limited in this embodiment of the present application. The technical solutions of the embodiments of the present application can manage the data of multiple distributed devices in a distributed system in a unified manner. Distributed device data includes, but is not limited to, application program data.
图1A为本申请实施例提供的一种示例性的分布式系统示意图。参照图1A,该系统包括多个电子设备(图1A以电子设备101-103为例)。其中,多个电子设备的每个电子设备中可以安装应用程序。FIG. 1A is a schematic diagram of an exemplary distributed system provided by an embodiment of the present application. Referring to FIG. 1A, the system includes multiple electronic devices (FIG. 1A takes electronic devices 101-103 as an example). Wherein, an application program can be installed in each electronic device of the plurality of electronic devices.
多个电子设备可以建立通信连接。可选的,设备之间可以根据各种通信协议建立连接。通信协议包括但不限于如下一种或多种:无线保真(wireless fidelity,Wi-Fi)协议,蓝牙协议建立连接。Multiple electronic devices can establish a communication link. Optionally, connections between devices may be established according to various communication protocols. The communication protocol includes but is not limited to one or more of the following: a wireless fidelity (wireless fidelity, Wi-Fi) protocol, and a Bluetooth protocol for establishing a connection.
建立通信连接之后,设备之间可以进行数据传输。数据包括但不限于应用程序的数据。应用程序的数据包括但不限于:应用程序的标识、应用程序的名称、应用程序的图标、应用程序的版本、应用程序的关联设备的标识、应用程序在关联设备中的状态。应用程序的状态包括但不限于已安装、待安装、已更新、待更新、已卸载、待卸载、已部署图标、待部署图标、已删除图标、待删除图标。After the communication connection is established, data transmission can be performed between the devices. Data includes, but is not limited to, application data. The data of the application program includes but is not limited to: the identification of the application program, the name of the application program, the icon of the application program, the version of the application program, the identification of the associated device of the application program, and the state of the application program in the associated device. The status of the application program includes, but is not limited to, installed, pending installation, updated, pending update, uninstalled, pending uninstallation, icon deployed, icon pending deployment, icon deleted, icon pending deletion.
安装状态又可包括如下状态:多设备安装状态、本地安装(或称本机安装)。多设备安装,可以指在电子设备组内多个电子设备上安装应用。本地安装,可以指在本设备上安装该应用,可选的,在电子设备组内其他设备上部署该应用的图标。The installation state may further include the following states: multi-device installation state, local installation (or local installation). Multi-device installation may refer to installing an application on multiple electronic devices within an electronic device group. Local installation may refer to installing the application on the device, and optionally, deploying the icon of the application on other devices in the electronic device group.
卸载状态可包括:多设备卸载状态、本地卸载状态。多设备卸载,可以指在电子设备组内多个电子设备上卸载该应用。本地卸载,可以指在本设备上卸载该应用。The uninstallation status may include: multi-device uninstallation status and local uninstallation status. Multi-device uninstallation may refer to uninstalling the application on multiple electronic devices in the electronic device group. Local uninstallation may refer to uninstalling the application on the device.
部署状态,可以指在设备上显示应用的图标,但不安装应用。Deployment state, which can mean that the app's icon is displayed on the device, but the app is not installed.
应用程序关联的设备,可以包括如下任一项或多项中的设备:已安装该应用的设备、待安装该应用的设备、已更新该应用至目标版本的设备、待更新该应用至目标版本的设备、待卸载该应用的设备、已部署该应用的设备、待部署该应用的设备。Devices associated with the application may include any one or more of the following devices: devices that have installed the application, devices that are to be installed, devices that have updated the application to the target version, and devices that have the application to be updated to the target version , the device on which the application is to be uninstalled, the device on which the application has been deployed, and the device on which the application is to be deployed.
需要说明的是,应用程序可以在各种状态之间切换。比如,可以从部署状态转换到安装状态。状态之间的转换可详见后续实施例。It should be noted that the application can switch between various states. For example, it is possible to transition from a deployed state to an installed state. The transition between states can be referred to the subsequent embodiments in detail.
本申请实施例中,将仅在本机中安装且仅在本机部署应用图标的应用,称为本机应用或本地应用。在本机中安装,且在本机以及组内其他设备中部署应用图标的应用;或者,在电子设备组的多个电子设备上安装的应用,称为共享应用。In the embodiment of the present application, an application that is only installed on the local machine and only deploys an application icon on the local machine is called a local machine application or a local application. An application installed on this machine and deploying application icons on this machine and other devices in the group; or an application installed on multiple electronic devices in the electronic device group is called a shared application.
可选的,上述建立连接的多个电子设备可以是具有关联关系的多个电子设备。可选的,可以为登录同一账号的多个电子设备。比如,登录同一华为账号的电子设备之间可以建立连接,构成电子设备组。可选的,建立连接的多个电子设备位于同一局域网内。在另一些实施例中,形成电子设备组的多个电子设备也可以不位于同一局域网内。Optionally, the above-mentioned multiple electronic devices that establish the connection may be multiple electronic devices that have an association relationship. Optionally, it can be multiple electronic devices logged in with the same account. For example, electronic devices that log in to the same Huawei account can establish a connection to form an electronic device group. Optionally, multiple electronic devices for establishing connection are located in the same local area network. In some other embodiments, the multiple electronic devices forming the electronic device group may not be located in the same local area network.
或者,形成电子设备组的多个电子设备可以没有登录同一账号。示例性的,形成电子设备组的多个电子设备可以是家庭成员的电子设备,或者,是工作伙伴的电子设备。Alternatively, multiple electronic devices forming an electronic device group may not log in with the same account. Exemplarily, the multiple electronic devices forming the electronic device group may be electronic devices of family members, or electronic devices of work partners.
可选的,不同成员类型的电子设备形成的电子设备组,组内电子设备之间可以分享的数据不同。示例性的,对于家庭成员的电子设备形成的电子设备组,多个电子设备之间可以分享生活、工作等方面的数据。比如,多个电子设备之间可以 分享相册、备忘录等数据。对于工作伙伴的电子设备形成的电子设备组,多个电子设备之间可以分享工作方面的数据。比如,可以分享会议安排等数据。Optionally, in an electronic device group formed by electronic devices of different member types, the data that can be shared between electronic devices in the group is different. Exemplarily, for an electronic device group formed by electronic devices of family members, multiple electronic devices can share data on life, work, and the like. For example, data such as photo albums and memos can be shared between multiple electronic devices. For the electronic device group formed by the electronic devices of the working partners, work-related data can be shared among multiple electronic devices. For example, data such as meeting arrangements can be shared.
基于上述图1A示出的系统架构图,在一种可能的实现方式中,当电子设备101、电子设备102、电子设备103进行通信时,电子设备之间需要验证或建立可信任关系,以此为前提为后续的数据同步提供支持。Based on the system architecture diagram shown in FIG. 1A above, in a possible implementation, when the electronic device 101, the electronic device 102, and the electronic device 103 communicate, it is necessary to verify or establish a trusted relationship between the electronic devices, so that Provide support for subsequent data synchronization as a prerequisite.
在一些实施例中,电子设备101通过移动网络或互联网可以发现一个或多个其他设备登录的账户是电子设备101的账户,或者该一个或多个其他设备登录的账户是电子设备101登录账户的关联账户,则该一个或多个其他设备和电子设备101具有信任关系。该一个或多个其他设备中包括电子设备102、电子设备103。登录同一账户或关联账户的设备之间可以获取对方的设备信息,实现数据通信。其中,关联账户可以为被同一账户授权的账户。In some embodiments, the electronic device 101 can discover that one or more accounts logged in by other devices are the accounts of the electronic device 101 through the mobile network or the Internet, or that the accounts logged in by the one or more other devices are the accounts logged in by the electronic device 101 If the account is associated, the one or more other devices have a trust relationship with the electronic device 101 . The one or more other devices include the electronic device 102 and the electronic device 103 . Devices logged into the same account or associated accounts can obtain each other's device information and realize data communication. Wherein, the associated account may be an account authorized by the same account.
上述账户可以为云服务器提供商为用户提供的账户,如华为账户,还可以为用于登录应用程序的账户,如各类通讯软件的账户、支付软件的账户等。The above-mentioned account may be an account provided by the cloud server provider for the user, such as a Huawei account, or an account used to log in to an application program, such as an account of various communication software, an account of payment software, and the like.
在一些实施例中,电子设备之间可以通过手动添加的方式建立可信任关系,包括例如碰一碰和扫一扫的方式。示例性的,如图1B所示,用户可以从设置应用进入设备管理界面310,设备管理界面310可以包括名称为“我的设备”的列表。其中,“我的设备”包括本机和音响。本机和音响可以是同账号(例如,共用一个华为账号)的设备。或者,本机和音响可以是异账号但经过认证绑定的设备。In some embodiments, a trusted relationship can be established between electronic devices through manual addition, including, for example, touch and scan. Exemplarily, as shown in FIG. 1B , the user may enter the device management interface 310 from the setting application, and the device management interface 310 may include a list named "My Devices". Among them, "My Devices" includes the machine and speakers. The unit and the speaker can be devices with the same account (for example, sharing a Huawei account). Alternatively, the unit and the audio system can be devices with different accounts but authenticated bindings.
可选的,设备管理界面310可以包括绑定其他设备按钮311。本申请实施例中,绑定是指两个设备间建立可信关系,从而可以进行设备之间的数据同步等操作。响应于用户对绑定其他设备按钮311的操作(例如,点击操作),进入如图1C所示的设备绑定界面320,设备绑定界面320中包括扫描到的可添加设备列表,用户可以在该可添加设备列表中选择想要绑定的设备。例如图1C中示出的房间电视321、平板322和智能手表323,其中,当电子设备想要和房间电视321或平板322或智能手表323建立绑定关系,可以直接点击房间电视321对应的绑定按钮321A或者平板322对应的绑定按钮322A或者智能手表323对应的绑定按钮323A,实现对房间电视321或平板322或智能手表323的绑定。Optionally, the device management interface 310 may include a bind other device button 311 . In the embodiment of the present application, binding refers to the establishment of a trusted relationship between two devices, so that operations such as data synchronization between the devices can be performed. In response to the user's operation (for example, click operation) on the button 311 of binding other devices, the device binding interface 320 shown in Figure 1C is entered. The device binding interface 320 includes a list of devices that can be added after scanning. Select the device you want to bind in the addable device list. For example, room TV 321, tablet 322, and smart watch 323 shown in FIG. Binding button 321A or the binding button 322A corresponding to the tablet 322 or the binding button 323A corresponding to the smart watch 323 realizes binding to the room TV 321 or the tablet 322 or smart watch 323 .
可选的,设备绑定界面320中还包括碰一碰添加按钮324和扫一扫添加按钮325,可以和电子设备没有扫描到的电子设备进行绑定。示例性的,响应于针对碰一碰添加按钮324的用户操作,电子设备开启NFC,用背面碰一碰其他设备上的ontag标签,可以实现对其他设备的绑定;响应于针对扫一扫添加按钮325的用户操作,电子设备扫描其他设备的二维码,可以实现对其他设备的绑定。Optionally, the device binding interface 320 also includes a tap to add button 324 and a scan to add button 325, which can be bound to electronic devices that have not been scanned by the electronic device. Exemplarily, in response to the user's operation on the touch add button 324, the electronic device turns on NFC, touches the ontag label on other devices with the back, and can realize the binding to other devices; The user operates the button 325, and the electronic device scans the two-dimensional code of other devices, which can realize the binding to other devices.
应该理解的是,图1B和图1C分别对应的UI界面中的各个元素(例如,按钮、图标、文字等)的位置、名称和形状等不是固定不变的,可以根据需求进行自由组合或设计。例如,可以将图1B中的按钮311替换为图1C中的按钮324和按钮325。It should be understood that the positions, names and shapes of the respective elements (such as buttons, icons, text, etc.) in the UI interface corresponding to FIG. 1B and FIG. 1C are not fixed, and can be freely combined or designed according to requirements. . For example, button 311 in FIG. 1B may be replaced with button 324 and button 325 in FIG. 1C.
需要指出的是,设备之间的互相通信以实现本申请实施例的方案可以是建立在同一组网中的基础上;也可以是建立在设备之间存在信任关系的基础上,例如共同账号、关联账号、绑定关系等;还可以是在同一组网中并且建立信任关系的基 础上,本申请对此不做限制。It should be pointed out that the mutual communication between devices to implement the solution of the embodiment of this application can be established on the basis of the same network; it can also be established on the basis of a trust relationship between devices, such as a common account, Associated account, binding relationship, etc.; it can also be based on the same network and established trust relationship, which is not limited in this application.
可选的,电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、上网本,个人数字助理(personal digital assistant,PDA),电视等设备,本申请实施例对该电子设备的具体形态不作特殊限制。图1A以电子设备101为电视,电子设备102为平板,电子设备103为手机为例示例性示出了电子设备的形态,但并不构成对电子设备的形态构成限制。Optionally, the electronic device can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a netbook, a personal digital assistant (personal digital assistant, PDA), a television, etc. The specific form of the device is not particularly limited. FIG. 1A exemplarily shows the form of the electronic equipment by taking the electronic equipment 101 as a TV, the electronic equipment 102 as a tablet, and the electronic equipment 103 as a mobile phone, but this does not limit the form of the electronic equipment.
示例性的,图2A为本申请实施例提供的电子设备的一个结构示意图。Exemplarily, FIG. 2A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195 etc. .
可以理解的是,本申请实施例示意的结构并不构成对电子设备的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器, 充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器,使处理器110与触摸传感器通过I2C总线接口通信,实现电子设备的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be respectively coupled to the touch sensor, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor through the I2C interface, so that the processor 110 and the touch sensor can communicate through the I2C bus interface to realize the touch function of the electronic device.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device. The processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment, or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙 (bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),还可以采用有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),MiniLED,Micro-OLED,量子点发光二极管(quantum dot light emitting diodes,QLED)等制造生产。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), or an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), MiniLED, Micro-OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED) and other manufacturing and production. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信, 实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备的各种功能应用以及数据处理。The internal memory 121 may be used to store computer-executable program codes including instructions. The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. The processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。电子设备可以通过音频模块170,例如音乐播放,录音等。音频模块170可以包括扬声器,受话器,麦克风,耳机接口,以及应用处理器等实现音频功能。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 . Electronic equipment can pass through the audio module 170, such as music playback, recording and so on. The audio module 170 may include a speaker, a receiver, a microphone, an earphone interface, and an application processor to implement audio functions.
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate a vibrating reminder. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation with the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
示例性的,图2B示出了电子设备的另一种示例性结构。如图2B所示,电子设备包括:处理器501、存储器502、收发器503。处理器501、存储器502的实现可参见图2A所示电子设备的处理器、存储器的实现。收发器503,用于电子设备与其他设备交互。收发器503可以是基于诸如Wi-Fi、蓝牙或其他通信协议的器件。Exemplarily, FIG. 2B shows another exemplary structure of an electronic device. As shown in FIG. 2B , the electronic device includes: a processor 501 , a memory 502 , and a transceiver 503 . The implementation of the processor 501 and the memory 502 may refer to the implementation of the processor and the memory of the electronic device shown in FIG. 2A . The transceiver 503 is used for the electronic device to interact with other devices. The transceiver 503 may be a device based on communication protocols such as Wi-Fi, Bluetooth or other.
上述图2A、图2B仅为电子设备的结构的可能示例,并不构成对电子设备结构的限制。The foregoing FIG. 2A and FIG. 2B are only possible examples of the structure of the electronic device, and do not constitute a limitation on the structure of the electronic device.
示例性的,图3示出了电子设备的一种示例性软件架构。该系统可包括四层,从 上至下分别为应用程序层(简称应用层),应用程序框架层(简称框架层),系统服务层,以及内核层(也称为驱动层)。Exemplarily, Fig. 3 shows an exemplary software architecture of an electronic device. The system may include four layers, from top to bottom are application program layer (abbreviated as application layer), application program framework layer (referred to as framework layer), system service layer, and kernel layer (also referred to as driver layer).
其中,应用层可以包括一系列应用程序包。在本申请的一些实施例中,应用可以被原子化,具体的,应用可以由一个或多个能力(ability,又可称为原子能力等)组成。能力包括但不限于特征能力(feature ability,FA,又可称为元程序)和元能力(atomic ability,AA,又可称为元服务)。FA有UI界面,提供与用户交互的能力;AA无UI界面,提供后台运行任务的能力以及统一的数据访问抽象。FA、AA还可以有其他名称,本申请实施例对此不进行限制。Wherein, the application layer may include a series of application program packages. In some embodiments of the present application, an application may be atomized. Specifically, an application may consist of one or more capabilities (ability, also called an atomic capability, etc.). Capabilities include but are not limited to feature capability (FA, also called meta-program) and meta-capability (atomic ability, AA, also called meta-service). FA has a UI interface, providing the ability to interact with users; AA has no UI interface, providing the ability to run tasks in the background and a unified data access abstraction. FA and AA may also have other names, which are not limited in this embodiment of the present application.
应用程序框架层可为应用程序层的应用程序提供API和编程框架。比如,提供用户界面(UI)框架,能力(ability)框架,用户程序框架。The application framework layer can provide API and programming framework for the application program of the application program layer. For example, a user interface (UI) framework, an ability framework, and a user program framework are provided.
系统服务层是系统的核心能力集合,通过框架层对应用程序提供服务。该层包含以下几个部分:The system service layer is a collection of core capabilities of the system, providing services to applications through the framework layer. This layer consists of the following parts:
系统基本能力子系统集:为分布式应用在多设备上的运行、调度、迁移等操作提供了基础能力,由分布式软总线、分布式数据管理模块、分布式任务调度、方舟多语言运行时(未在图中示出)、公共基础库(未在图中示出)、多模输入、图形、安全、人工智能(artificial intelligence,AI)等子系统组成。System Basic Capability Subsystem Set: Provides basic capabilities for the operation, scheduling, and migration of distributed applications on multiple devices. It consists of distributed soft bus, distributed data management module, distributed task scheduling, and Ark multilingual runtime (not shown in the figure), public basic library (not shown in the figure), multi-mode input, graphics, security, artificial intelligence (artificial intelligence, AI) and other subsystems.
其中,分布式软总线是可以用于设备之间通信的逻辑通道。Among them, the distributed soft bus is a logical channel that can be used for communication between devices.
在本申请的一些实施例中,如图3所示的系统服务层还可包括应用管理模块、决策模块。In some embodiments of the present application, the system service layer shown in FIG. 3 may further include an application management module and a decision-making module.
其中,应用管理模块,用于监听应用程序的状态。当应用的状态发生变化(比如检测到用户的安装、更新、卸载应用等指令时)时,执行应用的安装、更新、卸载等操作,并可以将应用的状态数据记录到分布式数据管理模块中。Wherein, the application management module is used for monitoring the state of the application program. When the state of the application changes (for example, when the user's instructions for installing, updating, and uninstalling the application are detected), operations such as installation, update, and uninstallation of the application are performed, and the state data of the application can be recorded in the distributed data management module .
在本申请的一些实施例中,分布式数据管理模块,可以用来接收并记录应用状态数据,并在应用的状态发生变化后,将应用状态数据同步到组内的其他电子设备中。In some embodiments of the present application, the distributed data management module can be used to receive and record the application state data, and after the state of the application changes, the application state data is synchronized to other electronic devices in the group.
决策模块,用于监听分布式数据管理模块中应用状态数据。当检测到应用状态发生变更,确定针对应用的第一策略,并通知应用管理模块根据第一策略执行相应的操作(比如安装应用)。The decision-making module is used to monitor the application state data in the distributed data management module. When it is detected that the state of the application has changed, the first policy for the application is determined, and the application management module is notified to perform a corresponding operation (such as installing the application) according to the first policy.
可选的,应用管理模块和决策模块等模块功能还可以位于其他层级。可选的,应用管理模块和决策模块的功能可以集成到一个模块中,比如集成到处理模块中。本申请实施例并不限制模块的划分方式以及各模块具体实现的功能。Optionally, module functions such as the application management module and the decision-making module may also be located at other levels. Optionally, the functions of the application management module and the decision-making module may be integrated into one module, such as a processing module. The embodiment of the present application does not limit the division mode of the modules and the specific functions implemented by each module.
基本软件服务子系统集:为系统提供公共的、通用的软件服务,由事件通知、电话、多媒体、DFX、MSDP&DV等子系统组成。Basic software service subsystem set: provide public and common software services for the system, composed of event notification, telephone, multimedia, DFX, MSDP&DV and other subsystems.
增强软件服务子系统集:为系统提供针对不同设备的、差异化的能力增强型软件服务,由智慧屏专有业务、穿戴专有业务、IoT专有业务等子系统组成。Enhanced software service subsystem set: provide the system with differentiated capability-enhanced software services for different devices, consisting of subsystems such as smart screen proprietary services, wearable proprietary services, and IoT proprietary services.
硬件服务子系统集:提供硬件服务,由位置服务、生物特征识别、穿戴专有硬件服务、IoT专有硬件服务等子系统组成。Hardware service subsystem set: provides hardware services, and is composed of subsystems such as location services, biometric identification, wearable proprietary hardware services, and IoT proprietary hardware services.
根据不同设备形态的部署环境,基本软件服务子系统集、增强软件服务子系统集、硬件服务子系统集内部可以按子系统粒度裁剪,每个子系统内部又可以按功能粒度裁剪。According to the deployment environment of different equipment forms, the basic software service subsystem set, the enhanced software service subsystem set, and the hardware service subsystem set can be tailored according to the granularity of the subsystem, and each subsystem can be tailored according to the granularity of the function.
内核层分为内核子系统和驱动子系统。The kernel layer is divided into kernel subsystem and driver subsystem.
内核子系统:采用多内核设计。内核抽象层(kernel abstract layer,KAL)通过屏蔽多内核差异,对上层提供基础的内核能力,包括进程/线程管理、内存管理、文件系统、网络管理和外设管理等。Kernel subsystem: adopt multi-core design. The kernel abstract layer (kernel abstract layer, KAL) provides basic kernel capabilities to the upper layer by shielding multi-core differences, including process/thread management, memory management, file system, network management, and peripheral management.
驱动子系统:提供统一外设访问能力和驱动开发、管理框架。Driver subsystem: Provides a unified peripheral access capability and a driver development and management framework.
上述图3仅为电子设备的软件架构的一种可能示例,并不构成对电子设备的软件架构的限制。The above FIG. 3 is only a possible example of the software architecture of the electronic device, and does not constitute a limitation on the software architecture of the electronic device.
本申请实施例的技术方案可用来对分布式系统中的数据进行管理。数据管理包括但不限于如下一项或多项:在分布式系统的一个或多个分布式设备中安装应用、在分布式系统的一个或多个设备中更新应用、在分布式系统的一个或多个设备中卸载应用等。首先,以在分布式系统中安装应用场景为例说明本申请实施例的技术方案。The technical solutions of the embodiments of the present application can be used to manage data in a distributed system. Data management includes, but is not limited to, one or more of the following: installing applications in one or more distributed devices in a distributed system, updating applications in one or more devices in a distributed system, Uninstall apps from multiple devices, etc. First, the technical solution of the embodiment of the present application is described by taking the installation of an application scenario in a distributed system as an example.
在一些实施例中,用户可通过应用市场等方式在电子设备上安装应用程序。以在平板上安装音乐应用为例,示例性的,如图4的(a)所示,用户可以点击应用市场的图标。检测到用户点击应用市场图标的操作,平板显示图4的(b)所示应用市场的界面,用户可以在应用市场的界面内搜索安装音乐应用。In some embodiments, the user can install the application program on the electronic device through an application market or other means. Taking the installation of a music application on a tablet as an example, as shown in (a) of FIG. 4 , the user may click the icon of the application market. When the operation of clicking the application market icon by the user is detected, the tablet displays the application market interface shown in (b) of FIG. 4 , and the user can search and install music applications in the application market interface.
示例性的,如图4的(b)所示,在一些示例中,用户通过图4的(b)所示界面搜索华为音乐应用,并点击“安装按钮”,平板在检测到用户点击“安装”按钮之后,可默认需要本机安装音乐应用,并从服务器下载华为音乐的安装包,在本机安装华为音乐。华为音乐应用在本机安装完成后,平板可显示如图4的(c)所示界面,该界面包括华为音乐的图标403。示例性的,以平板采用
Figure PCTCN2022116851-appb-000001
系统为例,平板的安装包比如可以但不限于是Android应用程序包(Android application package,APK)。
Exemplarily, as shown in (b) of Figure 4, in some examples, the user searches for the Huawei music application through the interface shown in (b) of Figure 4, and clicks the "install button", and the tablet detects that the user clicks the "install button". ” button, the music application needs to be installed locally by default, and the installation package of Huawei Music is downloaded from the server, and Huawei Music is installed locally. After the Huawei music application is installed locally, the tablet can display an interface as shown in (c) of FIG. 4 , and the interface includes an icon 403 of Huawei music. Exemplary, using a tablet
Figure PCTCN2022116851-appb-000001
Taking the system as an example, the installation package of the tablet may be, but not limited to, an Android application package (Android application package, APK).
在另一些实施例中,若检测到用户点击“安装”按钮,则平板可根据用户的设置确定需要安装华为音乐应用的设备。比如,根据待安装的应用类型确定需要安装该待安装应用的设备。示例性的,若用户通过图4的(b)所示应用市场界面搜索视频应用,并点击“安装”按钮,则平板根据待安装的应用类型(即视频应用),确定需要安装视频应用的设备可以为电视等常用来看视频的设备。又比如,若用户通过图4的(b)所示应用市场界面搜索文本编辑应用,并点击“安装”按钮,则平板确定需要安装文本编辑应用的设备可以为笔记本电脑等常用于办公的设备。可选的,平板在确定需要在其他设备上安装目标应用时,可指示该其他设备安装目标应用。In other embodiments, if it is detected that the user clicks the "Install" button, the tablet can determine the device that needs to install the Huawei Music application according to the user's settings. For example, a device that needs to install the application to be installed is determined according to the type of the application to be installed. Exemplarily, if a user searches for a video application through the application market interface shown in (b) of FIG. It can be a device commonly used to watch videos such as a TV. For another example, if the user searches for a text editing application through the application market interface shown in (b) of FIG. 4 , and clicks the "Install" button, the tablet determines that the device that needs to install the text editing application can be a laptop or other commonly used office equipment. Optionally, when the tablet determines that the target application needs to be installed on other devices, it may instruct the other devices to install the target application.
或者,平板可根据用户输入的第一指令确定需要安装音乐应用的设备。第一指令用于指示需要管理音乐应用的设备(即第二电子设备)。示例性的,如图11的(b)所示,在检测到用户在应用市场界面点击“安装”按钮的操作指令后,平板可弹出窗口801,该窗口801可用来选择需安装音乐应用或部署音乐应用图标的设备。如图11的(b)所示,检测到用户勾选选项803,则平板确定需要在平板本地安装音乐应用。Alternatively, the tablet may determine the device on which the music application needs to be installed according to the first instruction input by the user. The first instruction is used to indicate the device (that is, the second electronic device) that needs to manage the music application. Exemplarily, as shown in (b) of FIG. 11 , after detecting the operation instruction of the user clicking the "Install" button on the application market interface, the tablet may pop up a window 801, which can be used to select the music application to be installed or to deploy Device with music app icon. As shown in (b) of FIG. 11 , when it is detected that the user checks option 803, the tablet determines that a music application needs to be installed locally on the tablet.
本申请实施例不限制确定待安装目标应用设备的具体方式。可以理解,平板在 确定需要在其他设备上安装目标应用后,可指示该其他设备安装目标应用。平板指示其他设备安装目标应用的具体实现方式可见下述实施例。The embodiment of the present application does not limit the specific manner of determining the target application device to be installed. It can be understood that after the tablet determines that the target application needs to be installed on other devices, it can instruct the other devices to install the target application. The specific implementation manner of the tablet instructing other devices to install the target application can be seen in the following embodiments.
可选的,平板通过应用市场安装音乐应用的过程中或音乐应用安装完成后,可以通过分布式数据管理模块向组内其他设备同步音乐应用的数据,如此一来,其他设备可以根据音乐应用的数据设置分布式管理入口,并通过该分布式管理入口管理音乐应用。比如,对于某个设备来说,其可以通过该分布式管理入口控制组内其他设备上的应用安装、更新、卸载、部署图标等操作。Optionally, during the process of installing the music application through the application market or after the installation of the music application, the tablet can synchronize the data of the music application to other devices in the group through the distributed data management module. The data sets the distributed management portal, and the music application is managed through the distributed management portal. For example, for a certain device, it can control operations such as application installation, update, uninstallation, and deployment icons on other devices in the group through the distributed management portal.
作为一种可能的实现方式,分布式管理入口可以是应用的图标。以待管理的应用为音乐应用为例,平板可以在电子设备组中确定需要部署音乐应用图标的电子设备。以应用管理指令为安装音乐应用为例,作为一种可能的实现方式,平板根据用户输入的指令确定需要部署音乐应用图标的设备。示例性的,如图11的(b)所示,检测到用户勾选选项802的第一指令后,平板可确定需要在手机上部署华为音乐的图标。As a possible implementation manner, the distributed management entry may be an application icon. Taking the application to be managed as an example of a music application, the tablet may determine an electronic device in the electronic device group that needs to deploy a music application icon. Taking the application management instruction as an example of installing a music application, as a possible implementation, the tablet determines the device on which the icon of the music application needs to be deployed according to the instruction input by the user. Exemplarily, as shown in (b) of FIG. 11 , after detecting the first instruction of the user to check option 802, the tablet may determine that an icon of Huawei Music needs to be deployed on the mobile phone.
需要说明的是,作为分布式管理入口的图标与电子设备的本地应用的图标不同。电子设备的本地应用的图标,通常仅用于管理该电子设备中该本地应用的相关操作(比如更新或安装或卸载该电子设备中的该本地应用等)。示例性的,如图4的(c)所示的华为视频应用为平板的本地应用,即仅在平板中安装或部署图标,未在其他设备上安装或部署图标,那么,用户可通过长按华为视频的图标,触发平板弹出卸载选项,用户可以通过点击卸载选项,触发平板卸载本地的华为视频应用。可以看出,平板上的华为视频图标仅可用来管理平板上的华为视频的更新、卸载等操作。而对于某个设备来说,该设备上作为分布式管理入口的图标,可用来管理其他设备上应用的更新、卸载等操作。可选的,该图标用于响应于用户输入的第三指令,管理所述目标应用。示例性的,仍参见图5A的(b),用户可以通过操作手机上的图标603(作为分布式管理入口的图标)控制电视安装音乐应用,即能够通过分布式系统中的某个设备,对整个分布式系统中多个设备的应用进行管理,管理方式更加灵活便捷。It should be noted that the icon serving as the distributed management entry is different from the icon of the local application of the electronic device. The icon of the local application of the electronic device is generally only used to manage related operations of the local application in the electronic device (such as updating or installing or uninstalling the local application in the electronic device, etc.). Exemplarily, the Huawei video application shown in (c) of Figure 4 is a local application of the tablet, that is, the icon is only installed or deployed on the tablet, and the icon is not installed or deployed on other devices. Then, the user can press and hold the The Huawei Video icon triggers the tablet to pop up an uninstall option, and the user can click the uninstall option to trigger the tablet to uninstall the local Huawei Video app. It can be seen that the Huawei Video icon on the tablet can only be used to manage operations such as updating and uninstalling Huawei Video on the tablet. For a device, the icon on the device as a distributed management entry can be used to manage operations such as updating and uninstalling applications on other devices. Optionally, the icon is used to manage the target application in response to a third instruction input by the user. Exemplarily, still referring to (b) of FIG. 5A, the user can control the TV to install music applications by operating the icon 603 on the mobile phone (an icon serving as a distributed management entrance), that is, through a certain device in the distributed system, the The application of multiple devices in the entire distributed system is managed, and the management method is more flexible and convenient.
或者,平板确定所在电子设备组内其他电子设备中均需要部署音乐应用的图标,即需要全局部署音乐应用的图标。示例性的,平板默认在本机安装某个应用后,将该应用的图标部署在组内其他所有设备上,以便其他设备可以通过该应用的图标(管理入口)方便的管理该应用。Alternatively, the tablet determines that the icon of the music application needs to be deployed in other electronic devices in the electronic device group, that is, the icon of the music application needs to be deployed globally. Exemplarily, after the tablet installs an application locally by default, the icon of the application is deployed on all other devices in the group, so that other devices can conveniently manage the application through the icon (management entry) of the application.
或者,平板根据预设策略确定需要部署音乐应用图标的设备(即需要提供管理入口的设备)为所在组内的某些设备。预设策略包括但不限于:目标应用的类型、目标应用的同类应用在各设备中的使用频率、电子设备的部署权限、电子设备针对目标应用的部署权限。这里仅列举了预设策略的几种可能的实现方式,并不构成应用管理策略的限制,应用管理策略还可以为其他,这里不再穷举应用管理策略的所有情况。Alternatively, the tablet determines that the devices that need to deploy the music application icon (that is, the devices that need to provide management access) are certain devices in the group according to the preset policy. The preset policy includes, but is not limited to: the type of the target application, the usage frequency of similar applications of the target application in each device, the deployment authority of the electronic device, and the deployment authority of the electronic device for the target application. Here are just a few possible implementations of the preset policy, which do not constitute a limitation of the application management policy. The application management policy may be other, and all cases of the application management policy will not be exhaustively listed here.
示例性的,若用户通过图4的(b)所示应用市场界面搜索视频应用,并点击“安装”按钮,则平板根据目标应用的类型(即视频应用类型),确定需要部署视频应用图标(管理入口)的设备可以为电视等常用来看视频的设备,后续,电 视等设备可以通过视频应用的图标(即管理入口),方便的管理视频应用。又比如,若用户通过图4的(b)所示应用市场界面搜索文本编辑应用,并点击“安装”按钮,则平板确定需要部署文本编辑应用图标的设备可以为笔记本电脑等常用于办公的设备。Exemplarily, if the user searches for a video application through the application market interface shown in (b) of FIG. 4 and clicks the "Install" button, the tablet determines that the video application icon ( The device of the management portal) can be a device commonly used to watch videos such as a TV. Subsequently, the TV and other devices can conveniently manage the video application through the icon of the video application (ie, the management portal). For another example, if the user searches for a text editing application through the application market interface shown in (b) of Figure 4, and clicks the "Install" button, the tablet determines that the device that needs to deploy the text editing application icon can be a laptop or other commonly used office equipment. .
再示例性的,以目标应用为华为音乐为例,平板可以统计所在组内各设备上各种音乐应用(与目标应用的类型相同,比如可以是
Figure PCTCN2022116851-appb-000002
)的使用情况,将华为音乐图标部署在音乐应用使用频次高的电子设备上。
As another example, taking the target application as Huawei Music as an example, the tablet can count various music applications on each device in the group (the same type as the target application, for example, it can be
Figure PCTCN2022116851-appb-000002
), deploy the Huawei Music icon on electronic devices with high frequency of music applications.
再示例性的,某个电子设备允许组内其他设备在自身部署应用的图标,即有应用图标的部署权限,那么,针对该电子设备,同一组内的其他设备可选择向该电子设备部署音乐应用的图标,以便该电子设备后续能够通过该图标方便的管理其他设备上的音乐应用。As another example, an electronic device allows other devices in the group to deploy application icons on itself, that is, it has the deployment permission of the application icon. Then, for the electronic device, other devices in the same group can choose to deploy music to the electronic device The icon of the application, so that the electronic device can conveniently manage music applications on other devices through the icon in the future.
再示例性的,某个电子设备仅允许组内其他设备在自身部署娱乐类应用(比如视频、音乐)的图标,不允许其他设备在自身部署诸如邮件应用、办公应用等,那么,针对该电子设备,同一组内的其他设备可选择向该电子设备部署音乐应用的图标(管理入口),以便该电子设备后续能够通过该图标管理其他设备上的音乐应用。As another example, an electronic device only allows other devices in the group to deploy icons of entertainment applications (such as video and music) on itself, and does not allow other devices to deploy icons such as mail applications and office applications on itself. devices, other devices in the same group can choose to deploy music application icons (management portals) to the electronic device, so that the electronic device can subsequently manage music applications on other devices through the icon.
再比如,手机可接收用户输入的第二指令,根据所述第二指令开启预设模式。或者,手机可从组网内其他设备接收第三指令,并根据第三指令开启预设模式。在所述预设模式下,所述电子设备管理预设类型的目标应用。预设模式包括但不限于儿童模式(或类似的青少年模式)模式、省电模式。示例性的,家长可以设置儿童(或青少年)的设备上只接受教育应用图标的部署。再示例性的,可以设置在电量低的设备上只接受耗电量少的应用的图标部署。For another example, the mobile phone may receive a second instruction input by the user, and turn on the preset mode according to the second instruction. Alternatively, the mobile phone may receive a third instruction from other devices in the network, and turn on the preset mode according to the third instruction. In the preset mode, the electronic device manages preset types of target applications. Preset modes include, but are not limited to, children's mode (or similar teenage mode) mode, power saving mode. Exemplarily, a parent may set the child's (or teenager's) device to only accept the deployment of educational application icons. As another example, it may be set that only icons of applications with low power consumption are accepted on devices with low power consumption.
上述仅列举了几种可能的确定需部署管理入口的设备的方式,本申请实施例对确定需部署目标应用管理入口的设备的方式不做限制,限于篇幅,这里不再穷举所有情况。The above only enumerates several possible ways to determine the devices that need to deploy the management portal. The embodiments of the present application do not limit the ways to determine the devices that need to deploy the target application management portal. Due to space limitations, all cases are not listed here.
本申请实施例中,在确定需要部署音乐应用图标的电子设备后,平板可以向这些电子设备发送音乐应用的数据(简称应用数据),电子设备可根据音乐应用的数据部署音乐应用的图标。可选的,应用的数据包括应用程序的标识、应用程序的名称、应用程序的图标。应用的数据还可以包括但不限于如下任一项或多项数据:应用程序的版本、应用程序在平板中的状态(比如已安装)、平板的标识、应用程序在手机中的状态(比如待部署应用图标)。In this embodiment of the application, after determining the electronic devices that need to deploy music application icons, the tablet can send music application data (referred to as application data) to these electronic devices, and the electronic devices can deploy music application icons according to the music application data. Optionally, the data of the application includes the identification of the application, the name of the application, and the icon of the application. The data of the application may also include but not limited to any one or more of the following data: the version of the application, the state of the application in the tablet (such as installed), the identification of the tablet, the state of the application in the mobile phone (such as pending deploy app icon).
以平板确定需要在手机部署音乐应用的图标为例,如图4的(b)和(d)所示,检测到用户点击“安装”按钮之后,在一些示例中,平板可根据诸如音乐应用的类型确定需要在手机部署音乐应用的图标,并向手机发送音乐应用的部署数据。作为一种可能的设置音乐应用管理入口的方式,手机在桌面上显示图4的(d)所示音乐应用的图标404,图标404可作为手机管理其他设备上音乐应用的入口。比如,用户可以通过在手机中操作图标404,触发手机控制其他设备安装、卸载或更新音乐应用。Take the tablet as an example to determine that the icon of the music application needs to be deployed on the mobile phone, as shown in (b) and (d) of Figure 4, after detecting that the user clicks the "Install" button, in some examples, the tablet can, according to the icon such as the music application The type determines that the icon of the music application needs to be deployed on the mobile phone, and sends the deployment data of the music application to the mobile phone. As a possible way of setting the music application management portal, the mobile phone displays the icon 404 of the music application shown in (d) of FIG. For example, the user can trigger the mobile phone to control other devices to install, uninstall or update music applications by operating the icon 404 in the mobile phone.
可选的,为了区分作为管理入口的应用图标以及其他应用图标(比如本地应用 图标),作为管理入口的图标404可以与本地应用图标具有不同的用户界面(user interface,UI)效果。示例性的,图标404的右下角显示平板的缩略图,以表示该图标相关的应用数据来自平板。再示例性的,图标404还可以比本地应用图标具有更深或浅的颜色,以便与本地应用图标区分开来。本申请实施例并不限制作为管理入口的应用图标的具体UI效果,只要其能够与本地应用图标区分开来即可。Optionally, in order to distinguish the application icon used as the management entry from other application icons (such as local application icons), the icon 404 used as the management entry may have different user interface (user interface, UI) effects from the local application icons. Exemplarily, a thumbnail of the tablet is displayed at the lower right corner of the icon 404 to indicate that the application data related to the icon comes from the tablet. As another example, the icon 404 may also have a darker or lighter color than the local application icon, so as to be distinguished from the local application icon. The embodiment of the present application does not limit the specific UI effect of the application icon used as the management entry, as long as it can be distinguished from the local application icon.
可选的,对于同一应用来说,应用图标在不同状态时对应的UI效果可以不同。以图标403和图标404为例,图标403表示平板中的音乐应用为已安装状态,图标404表示手机中的音乐应用为部署状态,暂未安装音乐应用。可选的,与图标403相比,图标404在图标403的基础上增加控件405,用于表示图标404对应的音乐应用未在本地安装。本申请实施例中还可以用其他UI效果区分不同应用状态对应的应用图标,限于篇幅这里不再一一穷举。Optionally, for the same application, the UI effects corresponding to the application icons in different states may be different. Taking icon 403 and icon 404 as an example, icon 403 indicates that the music application in the tablet is installed, and icon 404 indicates that the music application in the mobile phone is in deployment state, and the music application is not installed yet. Optionally, compared with the icon 403, the icon 404 adds a control 405 on the basis of the icon 403, which is used to indicate that the music application corresponding to the icon 404 is not installed locally. In the embodiment of the present application, other UI effects may also be used to distinguish application icons corresponding to different application states, which are not exhaustively listed here due to space limitations.
可选的,手机可以根据桌面布局特点等显示图标404。图标404与图标403可以具有不同的尺寸,长宽比例,位置等。如此一来,能够使得图标404具有更好的显示效果,更加符合用户的视觉需求,提升电子设备与用户之间的交互体验。Optionally, the mobile phone may display the icon 404 according to the characteristics of the desktop layout and the like. The icon 404 and the icon 403 may have different sizes, aspect ratios, positions and the like. In this way, the icon 404 can have a better display effect, better meet the user's visual needs, and improve the interactive experience between the electronic device and the user.
可以理解,在电子设备已设置管理应用程序的入口(比如应用程序的图标)的情况下,电子设备可以通过应用程序的管理入口对该应用程序进行管理。如下介绍电子设备通过应用管理入口(比如应用的图标)管理应用的过程。It can be understood that, in the case that the electronic device has set an entry for managing the application program (such as an icon of the application program), the electronic device can manage the application program through the application program management entry. The process of managing applications by the electronic device through the application management portal (such as the icon of the application) is introduced as follows.
在一些实施例中,手机可以分页显示本地已安装应用的图标(通常不作为分布式管理入口)和可作为分布式管理入口的图标。如图5A的(a)所示,手机在界面601显示本机安装的图库、计算器等应用程序的图标,如图5A的(b)所示,手机在界面602显示可作为分布式管理入口的音乐603、天气等应用程序的图标。In some embodiments, the mobile phone can display icons of locally installed applications (usually not used as distributed management portals) and icons that can be used as distributed management portals in pages. As shown in (a) of Figure 5A, the mobile phone displays icons of application programs such as a library and a calculator installed on the machine on interface 601, as shown in (b) of Figure 5A, the mobile phone displays on interface 602 that can be used as a distributed management entrance Music 603, Weather and other applications icons.
可选的,界面602显示的作为分布式管理入口的图标可包括已安装应用的图标以及未安装应用的图标。比如,音乐应用未安装,桌面上显示相应的部署状态的音乐图标。再比如,浏览器应用已安装,桌面上显示相应的已安装状态的浏览器图标。或者,在作为分布式管理入口的图标中,已安装应用的图标与未安装应用的图标还可以分页显示。Optionally, the icons displayed on the interface 602 as distributed management entrances may include icons of installed applications and icons of uninstalled applications. For example, if the music application is not installed, the corresponding music icon in the deployment state is displayed on the desktop. For another example, the browser application has been installed, and a corresponding installed browser icon is displayed on the desktop. Alternatively, among the icons serving as the distributed management entry, icons of installed applications and icons of uninstalled applications may also be displayed in pages.
在另一些实施例中,手机可以在同一界面中显示作为分布式管理入口的图标和本地应用的图标。比如,在同一界面中既显示已安装的图库、计算器等本地应用,又显示音乐、天气等可作为分布式管理入口的应用。In some other embodiments, the mobile phone may display an icon serving as a distributed management portal and an icon of a local application in the same interface. For example, in the same interface, not only the installed local applications such as gallery and calculator are displayed, but also applications such as music and weather that can be used as distributed management entrances are displayed.
可选的,用户可以选择应用程序的管理操作,应用程序的管理操作包括但不限于安装、更新、卸载。平板基于用户输入的管理操作对应用进行跨设备管理。以跨设备安装应用(分布式安装应用)为例,示例性的,如图5A的(b)所示,检测到用户长按音乐应用图标603的操作后,手机可显示窗口604,窗口604用于选择需执行的应用管理操作。示例性的,当检测到用户点击安装选项,手机可显示图5A的(c)所示窗口605,窗口605用于选择需要安装音乐应用的设备。可选的,窗口605包括未安装音乐应用的电子设备(比如手机、电视)的信息。示例性的,检测到用户勾选手机、电视选项的操作指令(第三指令)后,手机可根据第三指令管理音乐应用。作为一种可能的实现方式,手机检测到第三指令后,确定用户想要在手机和电视上安装音乐应用,那么,手机根据用户的安装意图,在本地安 装音乐应用,并控制电视安装音乐应用。Optionally, the user may select a management operation of the application program, and the management operation of the application program includes but is not limited to installation, update, and uninstallation. The tablet performs cross-device management of the application based on the management operation input by the user. Taking cross-device installation of applications (distributed installation of applications) as an example, as shown in (b) of FIG. It is used to select the application management operation to be performed. Exemplarily, when it is detected that the user clicks on the installation option, the mobile phone may display a window 605 shown in (c) of FIG. 5A , and the window 605 is used to select a device that needs to install the music application. Optionally, window 605 includes information about electronic devices (such as mobile phones and televisions) that do not have music applications installed. Exemplarily, after detecting an operation instruction (third instruction) for the user to check the options of the mobile phone and the TV, the mobile phone can manage the music application according to the third instruction. As a possible implementation, after the mobile phone detects the third instruction, it determines that the user wants to install the music application on the mobile phone and the TV, then the mobile phone installs the music application locally according to the user's installation intention, and controls the TV to install the music application .
作为一种可能的实现方式,手机在本机安装音乐应用,可以实现为:手机从组内安装有音乐应用的设备获取音乐应用的安装数据,并根据安装数据在本机安装音乐应用。其中,安装数据包括但不限于音乐应用的安装包。As a possible implementation, the installation of the music application on the mobile phone may be implemented as follows: the mobile phone obtains the installation data of the music application from the devices in the group that have the music application installed, and installs the music application on the local machine according to the installation data. Wherein, the installation data includes but not limited to the installation package of the music application.
作为一种可能的实现方式,手机控制电视安装音乐应用,可以是显式指示电视安装音乐应用,也可以隐式指示电视安装音乐应用。As a possible implementation manner, the mobile phone controls the TV to install the music application, which may explicitly instruct the TV to install the music application, or may implicitly instruct the TV to install the music application.
可选的,手机隐式指示电视安装音乐应用,可以实现为:手机向电视发送音乐应用的数据,该数据包括音乐应用在电视中的状态(待安装状态)。这样一来,电视在获取到音乐应用的数据后,可根据其中的应用状态获知需要安装音乐应用,那么,电视获取音乐应用的安装包并进行安装。Optionally, the mobile phone implicitly instructs the TV to install the music application, which may be implemented as follows: the mobile phone sends data of the music application to the TV, and the data includes the status of the music application on the TV (to-be-installed status). In this way, after the TV obtains the data of the music application, it can know that the music application needs to be installed according to the application status therein, and then, the TV obtains the installation package of the music application and installs it.
可选的,手机显式指示电视安装音乐应用,可以实现为:手机向电视发送安装音乐应用的指令,以指示电视安装音乐应用。电视在接收到该指令后,可获知需要安装音乐应用,那么,电视获取音乐应用的安装包并进行安装。Optionally, the mobile phone explicitly instructs the TV to install the music application, which may be implemented as: the mobile phone sends an instruction to install the music application to the TV, so as to instruct the TV to install the music application. After receiving the instruction, the television may know that the music application needs to be installed, and then, the television obtains the installation package of the music application and installs it.
作为一种可能的实现方式,电视获取音乐应用的安装包,可以是从安装有音乐应用的设备获取,也可以是从服务器获取,还可以是从本地获取。示例性的,以前文场景举例,平板安装音乐应用后或安装音乐应用过程中,将音乐应用的数据(不携带安装数据),比如音乐应用在平板中的状态发送给组内需部署音乐应用图标的设备,即手机、电视。手机可据音乐应用的状态数据获知平板已安装了音乐应用。此种实现方式中,电视在需要本机安装音乐应用时,可以从平板获取音乐应用的安装数据。再示例性的,平板安装音乐应用后或安装音乐应用过程中,将音乐应用的安装数据发送给手机、电视。此种实现方式中,后续电视在需要本机安装音乐应用时,可从本地获取音乐应用的安装数据。As a possible implementation manner, the television may obtain the installation package of the music application from a device installed with the music application, from a server, or locally. Exemplarily, taking the previous scenario as an example, after the music application is installed on the tablet or during the process of installing the music application, the data of the music application (without carrying the installation data), such as the status of the music application in the tablet, is sent to the group that needs to deploy the music application icon. Devices, i.e. cell phones, TVs. The mobile phone can learn that the tablet has installed the music application according to the state data of the music application. In this implementation manner, when the TV needs to install the music application locally, it can obtain the installation data of the music application from the tablet. In another example, after the music application is installed on the tablet or during the installation process of the music application, the installation data of the music application is sent to the mobile phone and the TV. In this implementation manner, when the subsequent TV needs to install the music application locally, it can obtain the installation data of the music application locally.
可选的,音乐应用的安装包可携带在应用数据中发送给手机、电视,也可以与应用数据携带在不同消息中发给手机、电视。Optionally, the installation package of the music application can be carried in the application data and sent to the mobile phone or the TV, or can be carried in different messages with the application data and sent to the mobile phone or the TV.
本申请实施例的技术方案,用户可以直接通过电子设备提供的分布式管理入口(比如桌面上显示的应用程序的图标)对多个电子设备上的应用程序进行管理,无需在多个电子设备上分别进行操作,降低了应用程序管理操作的复杂度,进而能够提高应用程序管理的效率。According to the technical solution of the embodiment of the present application, the user can directly manage the application programs on multiple electronic devices through the distributed management portal provided by the electronic device (such as the icon of the application program displayed on the desktop), without having to Performing operations separately reduces the complexity of application program management operations, thereby improving the efficiency of application program management.
此外,与用户通过遥控器在电视上搜索、安装应用程序,遥控器的输入体验较差,应用程序管理效率低相比,本申请实施例中,可以由手机控制电视上应用程序的安装过程(比如在图5A的(c)所示控件605中仅勾选电视选项),由于手机的输入能力通常比遥控器的输入能力高,因此,通过手机管理应用程序的效率更高。此外,通过手机可以管理多个设备上的应用程序,无需分别对多个电子设备进行操作,或者,降低了分别对多个电子设备进行操作的概率。In addition, compared with users who search and install applications on the TV through the remote control, the input experience of the remote control is poor, and the application management efficiency is low, in the embodiment of the present application, the installation process of the application on the TV can be controlled by the mobile phone ( For example, only the TV option is checked in the control 605 shown in (c) of FIG. 5A ), since the input capability of the mobile phone is usually higher than that of the remote controller, the efficiency of managing the application program through the mobile phone is higher. In addition, the application programs on multiple devices can be managed through the mobile phone, without operating the multiple electronic devices separately, or reducing the probability of separately operating the multiple electronic devices.
可选的,手机本地安装音乐应用后,可在桌面上显示图5A的(d)所示音乐应用的图标606。可选的,图标606与图标603的样式可以不同,以便用户能够区分音乐应用当前处于部署状态或安装状态。并且,图标606还可以与本地应用的图标不同,以便用户能够清晰区分本地应用与共享应用的图标。Optionally, after the music application is installed locally on the mobile phone, an icon 606 of the music application shown in (d) of FIG. 5A may be displayed on the desktop. Optionally, the icons 606 and 603 may have different styles, so that the user can distinguish whether the music application is currently deployed or installed. Moreover, the icon 606 may also be different from the icon of the local application, so that the user can clearly distinguish the icons of the local application and the shared application.
图5A主要以先选择分布式管理应用的操作,后选择需分布式管理应用的设备 为例进行说明。在另一些实施例中,还可以先选择需分布式管理应用的设备,后选择分布式管理应用的操作。比如,参见图5B的(b),在一个示例中,检测到用户长按(或其他定义的操作)音乐应用图标603之后,手机可弹出窗口610。检测到用户勾选手机、电视选项以及点击“确定”按钮之后,手机可弹出图5B的(c)所示窗口604。检测到用户点击“安装”按钮之后,手机在本地安装音乐应用,并指示电视安装音乐应用。示例性的,手机本地安装完音乐应用后,可在桌面显示图5B的(d)所示图标606。可选的,图标606与图标603的UI样式或UI效果不同。Fig. 5A is mainly illustrated by first selecting the operation of the distributed management application, and then selecting the device requiring the distributed management application as an example. In some other embodiments, it is also possible to first select the device requiring the distributed management application, and then select the operation of the distributed management application. For example, referring to (b) of FIG. 5B , in one example, after detecting that the user presses (or performs other defined operations) on the music application icon 603 for a long time, the mobile phone may pop up a window 610 . After detecting that the user checks the mobile phone and TV options and clicks the "OK" button, the mobile phone may pop up a window 604 shown in (c) of FIG. 5B. After detecting that the user taps the "Install" button, the phone installs the music application locally and instructs the TV to install the music application. Exemplarily, after the music application is installed locally on the mobile phone, the icon 606 shown in (d) of FIG. 5B may be displayed on the desktop. Optionally, the UI style or UI effect of the icon 606 is different from that of the icon 603 .
在另一些实施例中,手机还可提供一个窗口,通过该一个窗口,既可以用于用户选择需进行分布式应用管理的设备,又可以用于选择需进行的分布式操作(比如安装、卸载等)。In some other embodiments, the mobile phone can also provide a window through which the user can not only select the device to be managed by the distributed application, but also can be used to select the distributed operation (such as installation, uninstallation, etc.) to be performed. wait).
在一些实施例中,为了方便用户按设备来源查找共享应用,图5C示出了本申请实施例提供的另一组界面。In some embodiments, in order to facilitate users to search for shared applications by device source, FIG. 5C shows another set of interfaces provided by the embodiment of the present application.
如图5C中的(a)所示,手机可以显示有界面706,该界面可以包括电子设备标签,(例如,标签708,标签709,标签710)。当某一电子设备的标签被选中时,手机可以显示在该设备上安装的应用的图标。例如,如图5C中的(a)所示,响应于检测到用户点击标签708的操作,手机可以显示所有共享应用的图标。当共享应用的图标较多时,界面706还可以显示滚动条707。响应于检测到用户点击标签709的操作,手机可以显示平板上安装的应用的图标;响应于检测到用户点击标签710的操作,手机可以显示电脑上安装的应用的图标。As shown in (a) of FIG. 5C, the mobile phone may display an interface 706, which may include electronic device labels, (eg, label 708, label 709, label 710). When a tab of a certain electronic device is selected, the mobile phone may display icons of applications installed on the device. For example, as shown in (a) in FIG. 5C , in response to detecting the user's operation of clicking the label 708 , the mobile phone may display icons of all shared applications. When there are many shared application icons, the interface 706 may also display a scroll bar 707 . In response to detecting that the user clicks on label 709, the mobile phone may display icons of applications installed on the tablet; in response to detecting that the user clicks on label 710, the mobile phone may display icons of applications installed on the computer.
可以理解的是,此时手机可以不显示用于标识应用来源的电子设备缩略图。如图5C中的(b)所示,手机在界面706显示的应用图标可以不显示平板电脑的缩略图。It can be understood that at this time, the mobile phone may not display the thumbnail image of the electronic device used to identify the source of the application. As shown in (b) of FIG. 5C , the application icon displayed by the mobile phone on the interface 706 may not display the thumbnail image of the tablet computer.
在一些实施例中,用户可以在图5C的(b)所示界面选择需要进行分布式管理的应用,比如长按音乐应用的图标。在检测到用户长按音乐应用的图标后,手机可弹出窗口604。在检测到用户点击卸载选项后,手机可指示平板电脑卸载音乐应用。In some embodiments, the user can select an application that needs to be managed in the interface shown in (b) of FIG. 5C , such as long pressing the icon of a music application. After detecting that the user has long pressed the icon of the music application, the mobile phone may pop up a window 604 . After detecting that the user tapped the uninstall option, the phone can instruct the tablet to uninstall the music application.
在一些实施例中,如图6所示,电视在检测到来自手机的指示安装音乐应用的指令后,可显示提示框609,用于提示是否安装音乐应用。在一个示例中,若检测到用户点击“接受安装”选项,则电视安装音乐应用。若检测到用户点击“拒绝安装”选项,则电视不针对手机的指令做响应,不安装音乐应用。若检测到用户点击“部署图标”,则电视仅部署音乐应用的图标,而不安装音乐应用,部署音乐应用的图标后,该图标可作为音乐应用的分布式管理入口。In some embodiments, as shown in FIG. 6 , after the TV detects an instruction from the mobile phone to install the music application, it may display a prompt box 609 for prompting whether to install the music application. In one example, if it is detected that the user clicks on the "Accept Install" option, the TV installs the music application. If it is detected that the user clicks on the option "refuse to install", the TV will not respond to the instruction of the mobile phone, and will not install the music application. If it is detected that the user clicks the "deploy icon", the TV only deploys the icon of the music application without installing the music application. After the icon of the music application is deployed, the icon can be used as a distributed management entry for the music application.
图5A主要以通过部署状态的音乐应用图标603(此种情况下暂未安装音乐应用)对音乐应用进行分布式管理为例,在另一些实施例中,还可以通过安装状态的音乐应用图标(比如图标606)跨设备管理音乐应用。示例性的,如图7的(a)所示,手机已安装音乐应用,且在桌面上显示安装状态的音乐应用图标606,若检测到用户长按图标606,则手机弹出窗口607,窗口607显示卸载、更新、在其他设备上安装等选项。若检测到用户点击“在其他设备上安装”选项,则手机可弹出图7的(b)所示窗口608,用于选择需要安装音乐应用的设备。可选的,窗口608 包括没有安装音乐应用的设备,比如图7的(b)所示电视。Figure 5A mainly takes the distributed management of music applications through the music application icon 603 in the deployed state (in this case, no music application has been installed yet) as an example. In other embodiments, the music application icon in the installed state ( Such as icon 606) manages music applications across devices. Exemplarily, as shown in (a) of Figure 7, the mobile phone has installed the music application, and the music application icon 606 of the installed state is displayed on the desktop, if it is detected that the user presses the icon 606 for a long time, the mobile phone pops up a window 607, and the window 607 Displays options to uninstall, update, install on other devices, etc. If it is detected that the user clicks on the "install on other devices" option, the mobile phone may pop up a window 608 shown in (b) of FIG. 7 for selecting a device that needs to install the music application. Optionally, window 608 includes devices without music applications installed, such as the TV shown in (b) of FIG. 7 .
如下介绍分布式管理应用程序过程中各电子设备之间的交互。以电子设备组包括平板、手机、电视为例,如图8A所示,本申请实施例的分布式数据管理方法包括:The interaction between the various electronic devices in the distributed management application process is described as follows. Taking the electronic device group including a tablet, a mobile phone, and a TV as an example, as shown in FIG. 8A, the distributed data management method of the embodiment of the present application includes:
S101、手机的处理模块检测到对音乐应用(目标应用的一个示例)的第一指令。S101. The processing module of the mobile phone detects a first instruction to a music application (an example of a target application).
可选的,第一指令包括应用的安装操作或更新操作或卸载操作。Optionally, the first instruction includes an installation operation, an update operation, or an uninstallation operation of the application.
示例性的,如图5A的(b)所示,用户点击安装按钮,并在图5A的(c)所示界面中选择需要安装音乐应用的设备,手机的处理模块可以检测用户在窗口604点击“安装”按钮以及在窗口605中勾选手机、电视的第一指令。其中,该第一指令关联的电子设备为手机、电视。Exemplarily, as shown in (b) of Figure 5A, the user clicks the install button, and selects the device that needs to install the music application in the interface shown in (c) of Figure 5A, the processing module of the mobile phone can detect that the user clicks on the "Install" button and the first instruction to check the mobile phone and TV in the window 605 . Wherein, the electronic equipment associated with the first instruction is a mobile phone or a television.
图5A是以通过操作未安装应用的图标603(分布式管理入口)来对应用进行分布式管理为例进行说明,在另一些实施例中,用户还可以通过操作已安装应用的图标(分布式管理入口)来对应用进行分布式管理。示例性的,如图7的(a)所示,用户可以通过长按图标606,触发手机弹出窗口607,用户可以通过点击窗口607中的“在其他设备安装”,触发手机弹出图7的(b)所示窗口608。若检测到用户在窗口608中勾选电视选项,并点击“确定”的安装操作指令,手机可确定需要控制电视安装音乐应用。Figure 5A is an example of distributed management of applications by operating the icon 603 (distributed management entry) of the uninstalled application. In other embodiments, the user can also operate the icon (distributed management) of the installed application management portal) to perform distributed management on applications. Exemplarily, as shown in (a) of FIG. 7 , the user can long press the icon 606 to trigger a pop-up window 607 on the mobile phone, and the user can click "install on other devices" in the window 607 to trigger the pop-up ( b) Window 608 is shown. If it is detected that the user checks the TV option in window 608 and clicks the installation operation instruction of "OK", the mobile phone can determine that it is necessary to control the TV to install the music application.
S102、手机的处理模块根据第一指令获取音乐应用的第一数据,并根据第一数据在本地安装音乐应用。S102. The processing module of the mobile phone acquires first data of the music application according to the first instruction, and locally installs the music application according to the first data.
音乐应用的第一数据包括但不限于:音乐应用的标识、音乐应用的安装包。可选的,执行不同的应用操作时,手机获取的第一数据可以不同。图8A对应的实施例主要以在分布式系统中安装应用场景为例进行说明。可选的,音乐应用的标识包括但不限于如下任一项或多项:音乐应用的名称、音乐应用的图标、音乐应用的版本。The first data of the music application includes but not limited to: the identification of the music application, and the installation package of the music application. Optionally, when executing different application operations, the first data acquired by the mobile phone may be different. The embodiment corresponding to FIG. 8A is mainly described by taking an application scenario installed in a distributed system as an example. Optionally, the identification of the music application includes but is not limited to any one or more of the following: the name of the music application, the icon of the music application, and the version of the music application.
示例性的,如图5A的(c)所示,手机的处理模块根据用户输入的安装操作指令(即勾选手机、电视,且点击“确定”按钮)确定需要本机以及电视上安装音乐应用后,可控制手机从服务器获取音乐应用的第一数据,比如获取如下任一项或多项数据:音乐应用的标识、音乐应用的安装包、音乐应用的下载链接。手机可根据音乐应用的第一数据在本机安装音乐应用。并且,手机可控制电视安装音乐应用。手机控制电视安装音乐应用的具体实现方式可参见下述实施例的步骤S103-S106。Exemplarily, as shown in (c) of FIG. 5A, the processing module of the mobile phone determines that the music application needs to be installed on the machine and the TV according to the installation operation instruction input by the user (that is, check the mobile phone and the TV, and click the "OK" button). Afterwards, the mobile phone can be controlled to obtain the first data of the music application from the server, such as any one or more of the following data: the identification of the music application, the installation package of the music application, and the download link of the music application. The mobile phone can locally install the music application according to the first data of the music application. Moreover, the mobile phone can control the TV to install music applications. For the specific implementation manner of controlling the TV to install the music application by the mobile phone, refer to steps S103-S106 in the following embodiments.
示例性的,如图5A的(d)所示,手机在本地安装音乐应用后,可以在桌面显示音乐应用的图标606。可选的,该图标可作为跨设备管理音乐应用的入口。可选的,若该图标606作为跨设备管理应用的入口,则图标606的UI效果与普通应用的图标不同。Exemplarily, as shown in (d) of FIG. 5A , after the mobile phone locally installs the music application, it may display an icon 606 of the music application on the desktop. Optionally, the icon can be used as an entry point for cross-device music management applications. Optionally, if the icon 606 is used as an entry point of the cross-device management application, the UI effect of the icon 606 is different from that of an ordinary application.
再示例性的,在图5A的(c)所示界面中,用户可以仅勾选电视,并点击“确定”按钮,如此,手机可确定用户的安装意图是在电视中安装音乐应用。此种情况下,手机可不执行步骤S102,直接执行如下步骤S103,以便通过手机控制电视安装音乐应用。As another example, in the interface shown in (c) of FIG. 5A , the user can only check the TV and click the "OK" button. In this way, the mobile phone can determine that the user's installation intention is to install the music application on the TV. In this case, the mobile phone may not perform step S102, but directly perform the following step S103, so as to control the TV to install the music application through the mobile phone.
S103、手机的处理模块获取音乐应用的第二数据,并向分布式数据管理模块发送音乐应用的第二数据。S103. The processing module of the mobile phone acquires the second data of the music application, and sends the second data of the music application to the distributed data management module.
所述目标应用的第二数据包括所述目标应用在所述第二电子设备中的待管理状态,所述待管理状态包括如下任意状态:待安装所述目标应用、待更新所述目标应用、待卸载所述目标应用、待部署所述目标应用的图标、待删除所述目标应用的图标。The second data of the target application includes a state to be managed of the target application in the second electronic device, and the state to be managed includes any of the following states: the target application is to be installed, the target application is to be updated, The target application to be uninstalled, the icon of the target application to be deployed, and the icon of the target application to be deleted.
可选的,所述目标应用的数据还包括如下任一项或多项:所述目标应用的标识、所述目标应用的安装包、所述目标应用的下载链接、所述目标应用的升级包。Optionally, the data of the target application further includes any one or more of the following: an identifier of the target application, an installation package of the target application, a download link of the target application, an upgrade package of the target application .
S104、电视的分布式数据管理模块从手机的分布式数据管理模块获取应用的第二数据。S104. The distributed data management module of the TV acquires the second data of the application from the distributed data management module of the mobile phone.
作为一种可能的实现方式,手机的分布式数据管理模块向电视的分布式数据管理模块同步第二数据。As a possible implementation manner, the distributed data management module of the mobile phone synchronizes the second data with the distributed data management module of the TV.
可选的,应用的第二数据包括但不限于如下任一项或多项数据:应用的标识、安装该应用的设备信息、该应用在组内各设备中的状态。Optionally, the second data of the application includes, but is not limited to, any one or more of the following data: the identification of the application, the information of the device on which the application is installed, and the state of the application in each device in the group.
可选的,应用操作或应用事件不同时,第二数据可以相同或不同。如下分情况进行介绍。图8A对应的实施例主要以应用操作为安装应用为例进行说明。Optionally, when the application operations or application events are different, the second data may be the same or different. The situation is introduced as follows. The embodiment corresponding to FIG. 8A is mainly described by taking the application operation as installing an application as an example.
其中,用户输入的安装操作指令可以指示本地安装或多设备安装。示例性的,以安装操作指示在多设备中安装应用为例,如图5A的(c)所示,用户勾选手机、电视选项,且点击“确定”按钮,那么,手机可根据用户输入的该安装操作指令确定需要在手机、电视中安装音乐应用,则手机向电视发送的第二数据可以包括表1所示的一个或多个数据。Wherein, the installation operation instruction input by the user may indicate local installation or multi-device installation. Exemplarily, taking the installation operation instruction to install applications on multiple devices as an example, as shown in (c) of Figure 5A, the user checks the mobile phone and TV options and clicks the "OK" button, then the mobile phone can The installation operation instruction determines that the music application needs to be installed in the mobile phone or the TV, and the second data sent by the mobile phone to the TV may include one or more data shown in Table 1.
表1第二数据Table 1 Second data
Figure PCTCN2022116851-appb-000003
Figure PCTCN2022116851-appb-000003
其中,如表1所示,第二数据可包括指示在电视中安装音乐应用的信息(比如指示电视中的音乐应用的状态为待安装状态的信息),电视可据此获知需要安装音乐应用。可选的,第二数据可包括音乐应用的安装包,电视可下载并安装该安装包,进而完成音乐应用的安装。Wherein, as shown in Table 1, the second data may include information indicating that the music application is installed on the TV (such as information indicating that the status of the music application on the TV is pending installation), and the TV may know that the music application needs to be installed. Optionally, the second data may include an installation package of the music application, and the TV may download and install the installation package, thereby completing the installation of the music application.
再示例性的,以安装操作指令指示需要在手机本地安装音乐应用为例,比如在图5A的(c)所示窗口605中,用户仅勾选电视选项,且点击“确定”按钮,那么,手机可根据用户输入的安装操作指令,确定需要在电视上安装音乐应用,则手机可以将表2所示的第二数据发给电视,以控制电视安装音乐应用。As another example, take the installation operation instruction indicating that a music application needs to be installed locally on the mobile phone as an example. For example, in the window 605 shown in (c) of FIG. 5A, the user only checks the TV option and clicks the "OK" button, then, The mobile phone can determine that the music application needs to be installed on the TV according to the installation operation instruction input by the user, and then the mobile phone can send the second data shown in Table 2 to the TV to control the TV to install the music application.
表2第二数据Table 2 Second Data
Figure PCTCN2022116851-appb-000004
Figure PCTCN2022116851-appb-000004
S105、电视的处理模块从分布式数据管理模块获取第二数据。S105. The processing module of the television acquires the second data from the distributed data management module.
作为一种可能的实现方式,分布式数据管理模块中的应用数据发生更新时,主动通知处理模块,或者,处理模块按一定策略,比如按周期向分布式管理模块查询应用数据是否发生更新。As a possible implementation, when the application data in the distributed data management module is updated, the processing module is actively notified, or the processing module queries the distributed management module whether the application data is updated according to a certain policy, such as periodically.
S106、电视显示提示界面。S106. The television displays a prompt interface.
需要说明的是,步骤S106为可选步骤。可以理解,电视的处理模块从手机接收音乐应用的第二数据后,可根据第二数据确定用户很可能想要在电视上安装音乐应用。此种情况下,为了进一步确定用户的安装意图,或者为了避免用户之前的安装操作(第一指令)是误操作,电视的处理模块可控制显示模块(比如显示屏)显示提示界面,提示用户是否在电视上安装音乐应用,在检测到用户输入的指示在电视上安装音乐应用的指令后,电视按照用户的安装意图,在本地安装音乐应用。It should be noted that step S106 is an optional step. It can be understood that after receiving the second data of the music application from the mobile phone, the processing module of the TV may determine according to the second data that the user probably wants to install the music application on the TV. In this case, in order to further determine the user's installation intention, or to prevent the user's previous installation operation (first instruction) from being a wrong operation, the processing module of the TV can control the display module (such as a display screen) to display a prompt interface, prompting the user whether to Installing the music application on the TV, after detecting an instruction input by the user to install the music application on the TV, the TV locally installs the music application according to the installation intention of the user.
示例性的,如图6所示,电视从手机接收音乐应用的第二数据后,弹出窗口609,用于提示用户是否在电视上安装音乐应用。在一些示例中,若检测到用户点击“接受安装”按钮,则电视执行如下步骤S107。在另一些示例中,若检测到用户点击“拒绝安装”按钮,则电视不安装音乐应用。在另一些示例中,若检测到用户点击“部署图标”,则电视仅在诸如桌面显示音乐应用的图标,而不安装音乐应用。Exemplarily, as shown in FIG. 6 , after the television receives the second data of the music application from the mobile phone, a pop-up window 609 is used to prompt the user whether to install the music application on the television. In some examples, if it is detected that the user clicks the "accept installation" button, the television performs the following step S107. In some other examples, if it is detected that the user clicks on the "refuse to install" button, the TV does not install the music application. In some other examples, if it is detected that the user clicks on the "deploy icon", the TV only displays the icon of the music application on the desktop without installing the music application.
S107、电视的处理模块根据第二数据安装音乐应用。S107. The processing module of the television installs the music application according to the second data.
在一些实施例中,电视的处理模块从手机接收第二数据后,先根据第二数据以及本地音乐应用的状态信息,确定第一策略,再根据第一策略确定需要执行的操作。In some embodiments, after receiving the second data from the mobile phone, the processing module of the TV first determines the first strategy according to the second data and the state information of the local music application, and then determines the operation to be performed according to the first strategy.
以在分布式系统中管理音乐应用为例,如果电视从手机接收的第二数据如上述表1或表2所示,那么,电视可根据第二数据中的状态信息(即指示电视待安装音乐应用),获知电视中需要安装音乐应用。此种情况下,电视的处理模块判断本地是否已安装表1或表2所指示10.1版本的音乐应用。若本地没有安装音乐应用,则电视的处理模块确定第一策略是安装应用,并根据第一策略控制电视安装10.1版本的音乐应用。若电视本地安装有音乐应用,但安装版本不是10.1版本,则电视的处理模块确定第一策略是更新应用,控制电视将音乐应用的版本更新至10.1版本。若本地已安装10.1版本的音乐应用,则电视的处理模块确定第一策略, 且根据第一策略不执行安装操作。Taking the management of music applications in a distributed system as an example, if the second data received by the TV from the mobile phone is as shown in Table 1 or Table 2 above, then the TV can application), it is learned that the music application needs to be installed on the TV. In this case, the processing module of the TV judges whether the music application of version 10.1 indicated in Table 1 or Table 2 has been installed locally. If there is no music application installed locally, the processing module of the TV determines that the first strategy is to install the application, and controls the TV to install the music application of version 10.1 according to the first strategy. If the music application is locally installed on the TV, but the installed version is not version 10.1, the processing module of the TV determines that the first strategy is to update the application, and controls the TV to update the version of the music application to version 10.1. If the music application of version 10.1 has been installed locally, the processing module of the TV determines the first strategy, and does not perform the installation operation according to the first strategy.
可选的,升级应用版本所需的升级包可以从组内其他设备获取,或者从应用市场获取。Optionally, the upgrade package required to upgrade the application version can be obtained from other devices in the group, or obtained from the application market.
在另一些实施例中,组网的设备之间共享彼此的应用数据。这样一来,手机在指示电视安装音乐应用之前,可以知道电视上并未安装有音乐应用。那么,电视在接收来自手机的第二数据后,无需执行上述判断第一策略的步骤,而是直接根据第二数据中的状态信息(即指示电视待安装音乐应用的信息),在本地安装音乐应用。In other embodiments, the networked devices share each other's application data. This way, the phone can know that the music app is not installed on the TV before instructing the TV to install the music app. Then, after receiving the second data from the mobile phone, the TV does not need to perform the above-mentioned step of judging the first strategy, but directly installs the music locally according to the state information in the second data (that is, the information indicating that the TV is waiting to install the music application). application.
S108、电视的处理模块获取音乐应用的第三数据,并向分布式数据管理模块发送音乐应用的第三数据。S108. The processing module of the TV acquires the third data of the music application, and sends the third data of the music application to the distributed data management module.
可选的,第三数据为音乐应用相关且发生变化的数据。本申请实施例中,电视的应用数据发生变化时,处理模块可以将发生变化的应用数据更新到分布式数据管理模块中,再由分布式数据管理模块将更新的应用数据同步至设备组内的其他设备,以便其他设备获知应用的最新数据。示例性的,应用在电视中由部署状态转化为安装状态时,第三数据可以为状态信息。这样一来,组内设备可获知电视中的该应用已由部署状态转化为安装状态。再示例性的,应用在电视中由低版本升级为高版本时,第三数据可以为应用的版本信息。Optionally, the third data is data related to the music application and changed. In the embodiment of the present application, when the application data of the TV changes, the processing module can update the changed application data to the distributed data management module, and then the distributed data management module will synchronize the updated application data to the devices in the device group. other devices so that other devices are notified of the app's latest data. Exemplarily, when the application changes from the deployed state to the installed state on the TV, the third data may be state information. In this way, the devices in the group can learn that the application in the TV has changed from the deployed state to the installed state. As another example, when an application is upgraded from a lower version to a higher version on the TV, the third data may be version information of the application.
S109、电视的分布式数据管理模块向手机的分布式数据管理模块发送音乐应用的第三数据。S109. The distributed data management module of the TV sends the third data of the music application to the distributed data management module of the mobile phone.
可见,电视可以将电视中发生变化的应用数据通知给组内其他设备,以便其他设备根据应用的状态等变化执行后续操作。第三数据包括但不限于音乐应用的管理状态;所述管理状态包括如下任意状态:已安装所述目标应用、已更新所述目标应用、已卸载所述目标应用、已部署所述目标应用的图标、已删除所述目标应用的图标。It can be seen that the TV can notify other devices in the group of the changed application data in the TV, so that other devices can perform follow-up operations according to changes in the status of the application. The third data includes but is not limited to the management state of the music application; the management state includes any of the following states: the target application has been installed, the target application has been updated, the target application has been uninstalled, and the target application has been deployed. icon, the icon for which the target application has been deleted.
图8A以在分布式系统的分布式设备中安装应用为例,对本申请实施例提供的分布式数据管理方法进行说明。在分布式设备中更新、卸载、部署图标场景可参考图8A对应的实施例。如下,分别介绍更新、卸载、部署图标场景中各电子设备之间的交互情况。FIG. 8A illustrates the distributed data management method provided by the embodiment of the present application by taking installing an application in a distributed device in a distributed system as an example. For updating, uninstalling, and deploying icon scenarios in distributed devices, reference may be made to the embodiment corresponding to FIG. 8A . The interaction between electronic devices in the icon update, uninstall, and deployment scenarios are introduced respectively as follows.
1、在分布式系统中更新应用的场景1. Scenarios for updating applications in distributed systems
如图8B,应用更新场景下,分布式数据管理的流程包括:As shown in Figure 8B, in the application update scenario, the distributed data management process includes:
S201、手机的处理模块检测到对音乐应用的更新操作。S201. The processing module of the mobile phone detects an update operation on the music application.
如图9A的(a)所述界面601示出了手机本地安装的应用,如图9A的(b)所示界面701示出了共享应用。如图9A的(b)所示,在检测到用户长按音乐应用图标603的操作后,手机弹出窗口702。窗口702可用来选择进行的应用操作。应用操作可包括但不限于安装、更新、卸载、部署图标、卸载图标。The interface 601 shown in (a) of FIG. 9A shows applications installed locally on the mobile phone, and the interface 701 shown in (b) of FIG. 9A shows shared applications. As shown in (b) of FIG. 9A , after detecting the user's operation of long pressing the music application icon 603 , the mobile phone pops up a window 702 . Window 702 may be used to select an application operation to perform. Application operations may include, but are not limited to, install, update, uninstall, deploy icon, uninstall icon.
在一些示例中,如图9A的(b)所示,用户点击更新按钮,触发手机跳转到图9A的(c)所示界面,界面包括窗口703。在图9A的(c)所示窗口703,用户选择需要更新音乐应用的设备,手机的处理模块可以检测用户在窗口703中勾选手机、电视的更新操作指令。In some examples, as shown in (b) of FIG. 9A , the user clicks the update button, triggering the mobile phone to jump to the interface shown in (c) of FIG. 9A , the interface includes window 703 . In the window 703 shown in (c) of FIG. 9A , the user selects the device that needs to update the music application, and the processing module of the mobile phone can detect that the user checks the update operation instruction of the mobile phone and the TV in the window 703 .
需要说明的是,图9A主要以先选择分布式操作(即更新应用),再选择需分布式管理应用的设备(即手机、电视),在另一些实施例中,还可以先选择需分布式管理应用的设备,再选择分布式管理操作(即更新应用)。It should be noted that in Fig. 9A, the distributed operation (i.e. update application) is selected first, and then the device (i.e. mobile phone, TV) requiring distributed management application is selected. In other embodiments, the distributed operation can also be selected first Devices that manage applications, and then select the distributed management operation (that is, update applications).
或者,在另一些实施例中,手机提供一个窗口,该窗口既可用于选择设备以及对应的分布式管理操作。示例性的,如图9B的(b)所示,在检测到用户长按音乐图标603之后,手机可弹出窗口705。检测到用户勾选手机菜单下的安装选项、勾选电视菜单下的部署选项,以及点击“确定”按钮之后,手机在本地安装音乐应用,并指示电视部署音乐应用的图标。Or, in some other embodiments, the mobile phone provides a window, which can be used to select a device and corresponding distributed management operations. Exemplarily, as shown in (b) of FIG. 9B , after detecting that the user has long pressed the music icon 603 , the mobile phone may pop up a window 705 . After detecting that the user checks the installation option under the mobile phone menu, checks the deployment option under the TV menu, and clicks the "OK" button, the mobile phone installs the music application locally and instructs the TV to deploy the icon of the music application.
可选地,图9B的实现方式中,针对不同设备的分布式管理操作可以不同。比如,对于手机,分布式管理操作为安装应用,对于电视,分布式管理操作为部署应用图标。Optionally, in the implementation manner of FIG. 9B , distributed management operations for different devices may be different. For example, for a mobile phone, the distributed management operation is to install an application, and for a TV, the distributed management operation is to deploy an application icon.
S202、手机的处理模块根据更新操作获取音乐应用的升级包,并根据升级包在本地更新音乐应用。S202. The processing module of the mobile phone acquires an upgrade package of the music application according to the update operation, and locally updates the music application according to the upgrade package.
可选的,升级包可从服务器获取,或从组网内已存储该升级包的设备中获取。Optionally, the upgrade package can be obtained from a server, or from a device in the network that has stored the upgrade package.
可以理解,该步骤S103为可选步骤。当不执行该步骤时,可以理解为手机没有在本地更新应用,而是远程控制电视更新应用。当执行该步骤时,可以理解为手机既在本地更新应用,又远程控制电视更新应用。It can be understood that this step S103 is an optional step. When this step is not performed, it can be understood that the mobile phone does not update the application locally, but remotely controls the TV to update the application. When this step is executed, it can be understood that the mobile phone not only updates the application locally, but also remotely controls the TV to update the application.
S203、手机的处理模块获取音乐应用的第一状态信息,并向分布式数据管理模块发送音乐应用的第一状态信息。S203. The processing module of the mobile phone acquires the first state information of the music application, and sends the first state information of the music application to the distributed data management module.
其中,第一状态信息可用于表征应用在电视中的状态。这里,在应用更新场景中,第一状态信息表征应用在电视中为待更新状态。Wherein, the first state information may be used to characterize the state of the application in the TV. Here, in the application update scenario, the first state information indicates that the application is in a state to be updated on the TV.
可选的,手机的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的该其他信息。其他信息包括但不限于如下任一项或多项:音乐应用的标识、音乐应用的升级包、音乐应用在手机中的状态(比如已安装)、手机的设备标识。Optionally, the processing module of the mobile phone can also obtain other information of the music application, and send the other information of the music application to the distributed data management module. Other information includes, but is not limited to, any one or more of the following: identification of the music application, upgrade package of the music application, status of the music application in the mobile phone (for example, installed), and device identification of the mobile phone.
示例性的,表3示出了处理模块向分布式数据管理模块发送的数据。其中,这些数据中包括第一状态信息。Exemplarily, Table 3 shows the data sent by the processing module to the distributed data management module. Wherein, these data include the first state information.
表3分布式数据管理模块中的数据Table 3 Data in the distributed data management module
Figure PCTCN2022116851-appb-000005
Figure PCTCN2022116851-appb-000005
S204、电视的分布式数据管理模块将第一状态信息同步到手机的分布式数据管理模块。S204. The distributed data management module of the TV synchronizes the first state information to the distributed data management module of the mobile phone.
S205、电视的处理模块从电视的分布式数据管理模块获取第一状态信息。S205. The processing module of the TV acquires the first state information from the distributed data management module of the TV.
S206、电视的处理模块控制电视显示提示界面。S206. The processing module of the TV controls the TV to display a prompt interface.
其中,该提示界面用于提示是否更新音乐应用。Wherein, the prompt interface is used to prompt whether to update the music application.
该步骤S206为可选步骤。This step S206 is an optional step.
S207、电视的处理模块根据第一状态信息更新音乐应用。S207. The processing module of the television updates the music application according to the first state information.
可选的,在执行S206的情况下,电视的处理模块控制电视显示提示界面后,若检测到用户指示更新音乐应用的操作指令,则执行步骤S207,否则,处理模块不执行应用更新步骤。Optionally, in the case of executing S206, after the processing module of the TV controls the TV to display the prompt interface, if an operation instruction from the user to update the music application is detected, step S207 is executed; otherwise, the processing module does not execute the application updating step.
在不执行S206的情况下,处理模块可以在获取第一状态信息后,根据第一状态信息更新音乐应用。示例性的,如果第一状态信息如上表3所示,则意味着电视需要将音乐应用的版本更新至指定版本。此种情况下,电视的处理模块执行应用更新操作。其中,更新应用所需的升级包可以从服务器获取,或者从组网内其他设备获取。In the case of not executing S206, the processing module may update the music application according to the first state information after acquiring the first state information. Exemplarily, if the first status information is as shown in Table 3 above, it means that the TV needs to update the version of the music application to a specified version. In this case, the processing module of the TV performs an application update operation. Wherein, the upgrade package required for updating the application can be obtained from the server, or obtained from other devices in the network.
S208、电视的处理模块获取音乐应用的第二状态信息,并向分布式数据管理模块发送音乐应用的第二状态信息。S208. The processing module of the TV acquires the second state information of the music application, and sends the second state information of the music application to the distributed data management module.
其中,第二状态信息用于指示应用在电视上的最新状态。这里,电视更新完应用版本后,应用的最新状态为已更新版本。Wherein, the second status information is used to indicate the latest status of the application on the TV. Here, after the TV updates the application version, the latest state of the application is the updated version.
可选的,电视的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的其他信息。Optionally, the processing module of the TV can also obtain other information of the music application, and send the other information of the music application to the distributed data management module.
S209、电视的分布式数据管理模块向手机的分布式数据管理模块同步音乐应用的第二状态信息。S209. The distributed data management module of the TV synchronizes the second state information of the music application with the distributed data management module of the mobile phone.
如此一来,组外内的其他设备可以获知目标应用在电视上的最新状态。可选的,其他设备可以根据目标应用的最新状态执行后续的分布式数据管理。In this way, other devices outside the group can learn the latest status of the target application on the TV. Optionally, other devices may perform subsequent distributed data management according to the latest state of the target application.
可选的,电视还可以向手机等组网内设备同步应用的其他信息,以便组网内设备共享彼此的应用信息,并根据这些应用信息进行分布式数据管理。Optionally, the TV can also synchronize other application information with devices in the network such as mobile phones, so that the devices in the network can share each other's application information and perform distributed data management based on the application information.
2、在分布式系统中部署应用图标的场景2. Scenarios for deploying application icons in a distributed system
如图8C,应用更新场景下,分布式数据管理的流程包括:As shown in Figure 8C, in the application update scenario, the distributed data management process includes:
S301、平板的处理模块检测到对音乐应用的部署图标操作。S301. The processing module of the tablet detects an operation on the deployment icon of the music application.
示例性的,如图11的(b)所示,检测到用户点击“安装”按钮后,平板显示窗口801。用户可以在窗口801中勾选选项803,平板的处理模块可以检测到用户对音乐应用的该部署图标操作指令。Exemplarily, as shown in (b) of FIG. 11 , after detecting that the user clicks the “Install” button, the tablet displays a window 801 . The user can check the option 803 in the window 801, and the processing module of the tablet can detect the user's instruction to deploy the icon of the music application.
S302、平板的处理模块获取音乐应用的第一状态信息,并向分布式数据管理模块发送音乐应用的第一状态信息。S302. The processing module of the tablet acquires the first state information of the music application, and sends the first state information of the music application to the distributed data management module.
其中,第一状态信息可用于表征应用在电视中的状态。这里,在应用图标部署场景中,第一状态信息表征应用在电视中为待部署图标状态。Wherein, the first state information may be used to characterize the state of the application in the TV. Here, in the application icon deployment scenario, the first status information indicates that the application is in the status of an icon to be deployed on the TV.
可选的,手机的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的该其他信息。其他信息包括但不限于如下任一项或多项:音乐应用的标识、音乐应用在手机中的状态(比如已安装)、手机的设备标识。Optionally, the processing module of the mobile phone can also obtain other information of the music application, and send the other information of the music application to the distributed data management module. Other information includes, but is not limited to, any one or more of the following: identification of the music application, status of the music application in the mobile phone (for example, installed), and device identification of the mobile phone.
示例性的,表4示出了处理模块向分布式数据管理模块发送的数据。其中,这 些数据中包括第一状态信息。Exemplarily, Table 4 shows the data sent by the processing module to the distributed data management module. Wherein, these data include the first state information.
表4Table 4
Figure PCTCN2022116851-appb-000006
Figure PCTCN2022116851-appb-000006
S303、平板的分布式数据管理模块向手机的分布式数据管理模块同步第一状态信息。S303. The distributed data management module of the tablet synchronizes the first state information with the distributed data management module of the mobile phone.
仍以图11为例,在检测到用户在窗口801中勾选选项803后,平板可向手机同步音乐应用的数据。音乐应用的数据包括第一状态信息。Still taking FIG. 11 as an example, after detecting that the user has checked the option 803 in the window 801, the tablet can synchronize the data of the music application to the mobile phone. The data of the music application includes first state information.
S304、手机的处理模块从分布式数据管理模块获取第一状态信息。S304. The processing module of the mobile phone acquires the first state information from the distributed data management module.
S305、手机的处理模块控制手机显示提示界面。S305. The processing module of the mobile phone controls the mobile phone to display a prompt interface.
其中,提示界面用于提示是否部署音乐应用的图标。Wherein, the prompt interface is used to prompt whether to deploy an icon of the music application.
该步骤S305为可选步骤。This step S305 is an optional step.
S306、手机的处理模块根据第一状态信息部署音乐应用的图标。S306. The processing module of the mobile phone deploys the icon of the music application according to the first state information.
示例性的,如果手机从平板获取如上表4所示的数据,则意味着需要在电视中部署音乐应用的图标(10.1版本对应的图标)。此种情况下,在一些示例中,电视的处理模块判断本地是否已部署10.1版本的图标,若电视本地已部署版本10.1对应的图标,则电视的处理模块可以不向处理模块发送安装指令。或者,若电视没有部署音乐应用的图标,则电视的处理模块向处理模块发送安装指令,用于指示处理模块部署版本10.1对应的图标。或者,若电视部署有音乐应用的图标,但版本不是10.1版本,则处理模块向处理模块发送安装指令,用于指示处理模块部署10.1版本对应的图标。或者,在另一些示例中,处理模块不执行判断版本等步骤,而是直接根据表4所示第一状态信息,在本地部署音乐应用的图标。Exemplarily, if the mobile phone obtains the data shown in Table 4 above from the tablet, it means that the icon of the music application (the icon corresponding to version 10.1) needs to be deployed on the TV. In this case, in some examples, the processing module of the TV determines whether the icon of version 10.1 has been locally deployed, and if the icon corresponding to version 10.1 has been locally deployed on the TV, the processing module of the TV may not send an installation instruction to the processing module. Or, if the TV does not deploy the icon of the music application, the processing module of the TV sends an installation instruction to the processing module, which is used to instruct the processing module to deploy the icon corresponding to version 10.1. Alternatively, if the TV is deployed with an icon of the music application, but the version is not version 10.1, the processing module sends an installation instruction to the processing module to instruct the processing module to deploy the icon corresponding to version 10.1. Or, in some other examples, the processing module does not perform steps such as determining the version, but directly deploys the icon of the music application locally according to the first state information shown in Table 4.
S307、手机的处理模块获取音乐应用的第二状态信息,并向分布式数据管理模块发送音乐应用的第二状态信息。S307. The processing module of the mobile phone acquires the second state information of the music application, and sends the second state information of the music application to the distributed data management module.
其中,第二状态信息用于指示应用在手机上的最新状态。这里,手机部署完应用图标后,应用的最新状态为已部署应用图标。Wherein, the second state information is used to indicate the latest state of the application on the mobile phone. Here, after the mobile phone deploys the application icon, the latest state of the application is the deployed application icon.
可选的,手机的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的其他信息。Optionally, the processing module of the mobile phone can also obtain other information of the music application, and send the other information of the music application to the distributed data management module.
S308、手机的分布式数据管理模块向平板的分布式数据管理模块同步音乐应用的第二状态信息。S308. The distributed data management module of the mobile phone synchronizes the second state information of the music application with the distributed data management module of the tablet.
3、在分布式系统中卸载应用的场景3. Scenarios of uninstalling applications in distributed systems
如图8D,该场景中,分布式数据管理方法包括:As shown in Figure 8D, in this scenario, the distributed data management method includes:
S401、手机的处理模块检测到对音乐应用的卸载应用操作。S401. The processing module of the mobile phone detects an application uninstallation operation on the music application.
如图9C的(a)所示界面601示出了手机本地安装的应用,如图9C的(b)所示界面701示出了共享应用。如图9C的(b)所示,在检测到用户长按音乐应用图标603的操作后,手机弹出窗口702。窗口702可用来选择进行的应用操作。 Interface 601 shown in (a) of FIG. 9C shows applications installed locally on the mobile phone, and interface 701 shown in (b) of FIG. 9C shows shared applications. As shown in (b) of FIG. 9C , after detecting the user's operation of long pressing the music application icon 603 , the mobile phone pops up a window 702 . Window 702 may be used to select an application operation to perform.
在一些示例中,如图9C的(b)所示,用户点击“卸载”按钮,触发手机跳转到图9C的(c)所示界面,该界面包括窗口704。在图9C的(c)所示窗口704,用户选择需要卸载音乐应用的设备(比如手机和电视),手机的处理模块可以检测用户在窗口704中勾选手机、电视的卸载操作指令。In some examples, as shown in (b) of FIG. 9C , the user clicks the “Uninstall” button, triggering the mobile phone to jump to the interface shown in (c) of FIG. 9C , which includes a window 704 . In the window 704 shown in (c) of FIG. 9C , the user selects a device (such as a mobile phone and a TV) that needs to uninstall the music application, and the processing module of the mobile phone can detect that the user checks the uninstall operation instruction of the mobile phone and the TV in the window 704 .
需要说明的是,图9C主要以先选择分布式管理操作(即卸载应用),再选择需分布式管理应用的设备(即需卸载应用的手机、电视),在另一些实施例中,还可以先选择需分布式管理应用的设备,再选择分布式管理操作(即卸载应用)。It should be noted that in Figure 9C, the distributed management operation (i.e., uninstalling the application) is selected first, and then the device that needs the distributed management application (i.e., the mobile phone and the TV that needs to uninstall the application) is selected. In other embodiments, it can also be First select the device that needs the distributed management application, and then select the distributed management operation (that is, uninstall the application).
或者,在另一些实施例中,手机提供一个窗口,该窗口既可用于选择设备以及对应的分布式管理操作(即卸载应用)。Or, in some other embodiments, the mobile phone provides a window, which can be used to select a device and a corresponding distributed management operation (that is, to uninstall an application).
S402、手机卸载本地的音乐应用。S402. The mobile phone uninstalls the local music application.
该步骤为可选步骤。This step is optional.
示例性的,在图9C的(c)所示窗口704,用户选择需要卸载音乐应用的设备是手机和电视,则手机需要卸载本地音乐应用。若用户没有勾选手机选项,则手机不需要卸载本地音乐应用。Exemplarily, in the window 704 shown in (c) of FIG. 9C , the user selects that the devices that need to uninstall music applications are mobile phones and TVs, and the mobile phones need to uninstall local music applications. If the user does not check the mobile phone option, the mobile phone does not need to uninstall the local music application.
S403、手机的处理模块获取音乐应用的第一状态信息,并向分布式数据管理模块发送音乐应用的第一状态信息。S403. The processing module of the mobile phone acquires the first state information of the music application, and sends the first state information of the music application to the distributed data management module.
其中,第一状态信息可用于表征应用在电视中的状态。结合图9C所示举例,这里第一状态信息表征应用在电视中为待卸载状态。Wherein, the first state information may be used to characterize the state of the application in the TV. With reference to the example shown in FIG. 9C , here the first state information indicates that the application is in a state to be uninstalled on the TV.
可选的,手机的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的该其他信息。其他信息包括但不限于如下任一项或多项:音乐应用的标识、音乐应用在手机中的状态(比如已安装)、手机的设备标识。可选的,音乐应用的标识包括但不限于如下任一项或多项:音乐应用的名称、音乐应用的图标、音乐应用的版本。Optionally, the processing module of the mobile phone can also obtain other information of the music application, and send the other information of the music application to the distributed data management module. Other information includes, but is not limited to, any one or more of the following: identification of the music application, status of the music application in the mobile phone (for example, installed), and device identification of the mobile phone. Optionally, the identification of the music application includes but is not limited to any one or more of the following: the name of the music application, the icon of the music application, and the version of the music application.
示例性的,表5示出了处理模块向分布式数据管理模块发送的数据。其中,这些数据中包括第一状态信息。Exemplarily, Table 5 shows the data sent by the processing module to the distributed data management module. Wherein, these data include the first state information.
表5table 5
Figure PCTCN2022116851-appb-000007
Figure PCTCN2022116851-appb-000007
S404、平板的分布式数据管理模块向手机的分布式数据管理模块同步第一状态信息。S404. The distributed data management module of the tablet synchronizes the first state information with the distributed data management module of the mobile phone.
S405、手机的处理模块从分布式数据管理模块获取第一状态信息。S405. The processing module of the mobile phone acquires the first state information from the distributed data management module.
S406、手机的处理模块控制手机显示提示界面。S406. The processing module of the mobile phone controls the mobile phone to display a prompt interface.
其中,提示界面用于提示是否卸载音乐应用。Wherein, the prompt interface is used to prompt whether to uninstall the music application.
该步骤S406为可选步骤。This step S406 is an optional step.
S407、手机的处理模块根据第一状态信息卸载音乐应用。S407. The processing module of the mobile phone uninstalls the music application according to the first state information.
S408、电视的处理模块获取音乐应用的第二状态信息,并向分布式数据管理模块发送音乐应用的第二状态信息。S408. The processing module of the television acquires the second state information of the music application, and sends the second state information of the music application to the distributed data management module.
其中,第二状态信息用于指示应用在电视上的最新状态。这里,电视卸载完应用版本后,应用的最新状态为已卸载。Wherein, the second status information is used to indicate the latest status of the application on the TV. Here, after the TV has uninstalled the application version, the latest status of the application is uninstalled.
可选的,电视的处理模块还可以获取音乐应用的其他信息,并向分布式数据管理模块发送音乐应用的其他信息。Optionally, the processing module of the TV can also obtain other information of the music application, and send the other information of the music application to the distributed data management module.
S409、电视的分布式数据管理模块向手机的分布式数据管理模块同步音乐应用的第二状态信息。S409. The distributed data management module of the TV synchronizes the second state information of the music application with the distributed data management module of the mobile phone.
可选的,图8A-图8D中的功能模块还可以有其他划分方式,相应的,方法流程可以为其他。示例性的,可以将处理模块划分为决策模块和应用管理模块。以安装应用场景为例,图10示出了一种可能的方法实施例。其他场景的方法实施例可参见图10。如图10所示,在安装应用场景,该方法包括:Optionally, the functional modules in FIG. 8A-FIG. 8D may also be divided in other manners, and correspondingly, the method flow may be other. Exemplarily, the processing module can be divided into a decision-making module and an application management module. Taking the installation application scenario as an example, FIG. 10 shows a possible method embodiment. Refer to FIG. 10 for method embodiments in other scenarios. As shown in Figure 10, in the installation application scenario, the method includes:
S101a、手机的应用管理模块检测到对音乐应用的第一指令。S101a. The application management module of the mobile phone detects a first instruction for the music application.
可选的,在不同场景中,第一指令可以不同。比如,在安装应用场景中,第一指令可以是安装应用的操作。Optionally, in different scenarios, the first instruction may be different. For example, in the scenario of installing an application, the first instruction may be an operation of installing the application.
S102a、手机的应用管理模块根据第一指令获取音乐应用的第一数据,并根据第一数据在本地安装音乐应用。S102a. The application management module of the mobile phone acquires first data of the music application according to the first instruction, and installs the music application locally according to the first data.
该步骤为可选步骤。This step is optional.
S103a、手机的应用管理模块获取音乐应用的第二数据,并向手机的分布式数据管理模块发送第二数据。S103a. The application management module of the mobile phone obtains the second data of the music application, and sends the second data to the distributed data management module of the mobile phone.
其中,第二数据包括应用状态数据。在安装场景中,应用状态可以是应用待安装。Wherein, the second data includes application state data. In an installation scenario, the application status may be that the application is to be installed.
S104、电视的分布式数据管理模块从手机的分布式数据管理模块获取第二数据。S104. The distributed data management module of the TV acquires the second data from the distributed data management module of the mobile phone.
其中,第二数据包括应用状态数据。Wherein, the second data includes application state data.
S105a、电视的决策模块从电视的分布式数据管理模块获取第二数据。S105a. The decision-making module of the TV acquires the second data from the distributed data management module of the TV.
S106a、电视的决策模块控制电视显示提示界面。S106a. The decision-making module of the TV controls the TV to display a prompt interface.
可选的,提示界面用于询问是否安装音乐应用。Optionally, the prompt interface is used to ask whether to install the music application.
S107a、电视的决策模块根据第二数据确定第二指令。S107a. The decision-making module of the television determines the second instruction according to the second data.
示例性的,在安装应用场景中,第二指令可以是安装应用的指令。Exemplarily, in the scenario of installing an application, the second instruction may be an instruction to install an application.
示例性的,决策模块可根据第二数据中的应用状态,确定需要执行的分布式应用管理操作(比如安装应用的操作)。可选的,决策模块可根据第二数据中的其他数据,确定第二指令,以便指示应用管理模块按第二指令执行相应的分布式应用管理(比如安装应用)。第二数据中的其他数据包括但不限于:应用的标识、所述应用的安装包、所述应用的下载链接。Exemplarily, the decision module may determine the distributed application management operation (such as the operation of installing the application) that needs to be performed according to the application state in the second data. Optionally, the decision-making module may determine the second instruction according to other data in the second data, so as to instruct the application management module to perform corresponding distributed application management (such as installing applications) according to the second instruction. Other data in the second data includes, but is not limited to: the identification of the application, the installation package of the application, and the download link of the application.
S107b、决策模块向应用管理模块发送第二指令。S107b. The decision-making module sends a second instruction to the application management module.
可选的,第二指令携带如下任一项或多项信息:应用标识、安装包的存储路径、应用图标的存储路径、安装包的下载链接。其中,安装包的下载链接可以是从服务器下载安装包的链接。安装包的存储路径可以是安装包在本地的存储路径,应用图标的存储路径可以是应用图标在本地的存储路径。Optionally, the second instruction carries any one or more of the following information: application identifier, storage path of the installation package, storage path of the application icon, and download link of the installation package. Wherein, the download link of the installation package may be a link for downloading the installation package from the server. The storage path of the installation package may be a local storage path of the installation package, and the storage path of the application icon may be a local storage path of the application icon.
在不同场景中,第一指令可以不同。比如,在安装应用的场景中,第二指令是用于指示应用管理模块安装应用的指令。In different scenarios, the first instruction may be different. For example, in the scenario of installing an application, the second instruction is an instruction for instructing the application management module to install the application.
S107c、应用管理模块根据第一指令安装音乐应用。S107c. The application management module installs the music application according to the first instruction.
S108、电视的应用管理模块获取音乐应用的第三数据,并向电视的分布式数据管理模块发送第三数据。S108. The application management module of the TV obtains the third data of the music application, and sends the third data to the distributed data management module of the TV.
S109、电视的分布式数据管理模块向手机的分布式数据管理模块发送第三数据。S109. The distributed data management module of the TV sends the third data to the distributed data management module of the mobile phone.
上述图8A-图8D主要以应用安装、更新、卸载几种场景为例对本申请实施例的分布式数据管理方法进行说明,图10主要以应用安装、更新、卸载几种场景为例对本申请实施例的分布式数据管理方法进行说明,可以理解,本申请实施例的方案还可以应用于其他场景(比如包括但不限于删除应用图标、部署应用图标),其他场景的具体实现可参考上述列举的场景。The above-mentioned Figures 8A-8D mainly illustrate the distributed data management method of the embodiment of the application by taking several scenarios of application installation, update, and uninstallation as examples, and Figure 10 mainly uses several scenarios of application installation, update, and uninstallation as examples to illustrate the implementation It can be understood that the solution of the embodiment of the present application can also be applied to other scenarios (such as including but not limited to deleting application icons and deploying application icons). For the specific implementation of other scenarios, please refer to the above listed Scenes.
图11示出了本申请实施例的另一组可能的界面图。通过该组界面,用户可以选择需要安装或部署应用的设备。示例性的,如图11的(a)和(b)所示,平板在检测到用户打开应用市场且长按“安装”键后,弹出窗口801。如图11的(b)所示,检测到用户勾选选项802和选项803的操作后,平板确定需要在本地安装音乐应用以及需要在手机上部署音乐应用的图标。Fig. 11 shows another group of possible interface diagrams of the embodiment of the present application. Through this group interface, users can select devices to install or deploy applications. Exemplarily, as shown in (a) and (b) of FIG. 11 , after the tablet detects that the user opens the application market and presses and holds the "install" key, a window 801 pops up. As shown in (b) of FIG. 11 , after detecting that the user checks option 802 and option 803 , the tablet determines that the music application needs to be installed locally and the icon of the music application needs to be deployed on the mobile phone.
在一些实施例中,手机可以将共享应用的图标移动到桌面的一类文件夹中。该类文件夹可以包括部分或全部共享应用的图标。示例性的,如图12的(d)所示,手机可以将部署的音乐应用图标移动到共享应用的文件夹中。In some embodiments, the mobile phone can move the icon of the shared application to a type of folder on the desktop. Such folders may include icons of some or all shared applications. Exemplarily, as shown in (d) of FIG. 12 , the mobile phone may move the deployed music application icon to the shared application folder.
在另一些实施例中,为了降低对桌面显示区域的占用,还可以将共享应用的图标(可作为应用跨设备管理的图标)隐藏,在用户需要使用共享应用的图标时,可通过预设手势唤出共享应用的图标。示例性的,如图13的(d)所示,初始时,手机桌面并未显示共享应用的图标,响应于用户在桌面空白处的长按操作,手机可显示文件夹1001,文件夹1001包括可跨设备管理的应用的图标。In some other embodiments, in order to reduce the occupation of the desktop display area, the icon of the shared application (which can be used as an icon for application cross-device management) can also be hidden. When the user needs to use the icon of the shared application, he can use the preset gesture Bring up the icon for the shared app. Exemplarily, as shown in (d) of FIG. 13 , initially, the desktop of the mobile phone does not display the icon of the shared application, and in response to the user's long-press operation on the blank space of the desktop, the mobile phone can display a folder 1001, and the folder 1001 includes Icons for apps that can be managed across devices.
需要说明的是,本申请实施例中,当通过某一设备管理其他设备上的应用时,无需同时在该其他设备上进行操作,甚至可以在其他设备息屏状态时管理该其他设备上的应用。示例性的,如图11的(b)所示,在勾选选项802之后,平板可指示手机部署音乐应用的图标。此时,相比于现有技术中在手机中部署应用需执行一系列操作,比如,点亮手机屏幕,在应用市场中查询下载安装包等操作,本申请实施例的技术方案中,无需用户拿起手机进行操作,甚至手机可以是息屏状态,手机可根据平板的指示自动部署音乐应用的图标,降低了用户跨设备管理音乐应用时的操作复杂度。It should be noted that, in the embodiment of the present application, when a certain device is used to manage applications on other devices, it is not necessary to operate on the other devices at the same time, and it is even possible to manage the applications on the other devices when the screen of the other device is off. . Exemplarily, as shown in (b) of FIG. 11 , after option 802 is checked, the tablet may instruct the mobile phone to deploy an icon of a music application. At this time, compared with the prior art that requires a series of operations to deploy the application on the mobile phone, such as turning on the screen of the mobile phone, searching and downloading the installation package in the application market, etc., in the technical solution of the embodiment of the present application, there is no need for the user to Pick up the mobile phone to operate, and even the mobile phone can be in the off-screen state. The mobile phone can automatically deploy the icon of the music application according to the instructions of the tablet, which reduces the operation complexity of the user when managing the music application across devices.
在另一些实施例中,本文的技术方案还可以应用于儿童模式下的应用管理。示例性的,如图14的(a)所示,检测到用户长按音乐应用的图标1102后,手机可 弹出窗口1101。检测到用户点击窗口1101中的“更多”按钮后,手机可弹出图14的(b)所示窗口1103。窗口1103用于设置儿童模式下的应用管理选项。其中,时间管理选项用于设置音乐应用的最长使用时长、禁用时段等。网络设置用于设置音乐应用使用的网络,比如设置为仅在Wi-Fi网络中加载音乐。当然,儿童模式下,应用管理相关的选项还可以包括其他,并不局限于图14的(b)所示的时间管理、网络设备等。In some other embodiments, the technical solutions herein can also be applied to application management in children's mode. Exemplarily, as shown in (a) of FIG. 14 , after detecting that the user has long pressed the icon 1102 of the music application, the mobile phone may pop up a window 1101 . After detecting that the user clicks the "More" button in the window 1101, the mobile phone may pop up the window 1103 shown in (b) of FIG. 14 . Window 1103 is used to set application management options in the child mode. Wherein, the time management option is used to set the maximum usage time of the music application, the period of disabling, and the like. The network settings are used to set the network used by the music application, such as setting to only load music on the Wi-Fi network. Of course, in the child mode, options related to application management may also include other options, and are not limited to time management, network equipment, etc. as shown in (b) of FIG. 14 .
本申请实施例的方法,家长无需通过多级菜单设置儿童模式的应用管理选项,而是直接通过共享应用的图标设置儿童模式的应用管理选项,设置方式更加便捷、灵活。With the method of the embodiment of the present application, parents do not need to set the application management options of the children's mode through the multi-level menu, but directly set the application management options of the children's mode through the icon of the shared application, and the setting method is more convenient and flexible.
需要说明的是,本申请实施例所列举的表格仅是本申请实施例中应用数据的示例性格式,应用数据还可以是其他格式。并且,应用数据的内容不局限于表格所列举内容。It should be noted that the tables listed in the embodiment of the present application are only exemplary formats of the application data in the embodiment of the present application, and the application data may also be in other formats. Moreover, the content of the application data is not limited to the content listed in the table.
在另一些实施例中,本申请实施例还提供一种跨设备管理应用的方法。电子设备可以通过跨设备管理入口,远程控制其他电子设备上的应用相关操作。示例性的,如图15的(a)所示,在检测到用户长按共享应用华为视频的图标后,手机可弹出窗口1102,窗口1102包括“远程控制”选项。检测到用户点击“远程控制”选项后,手机可弹出图15的(b)所示界面1203,用来选择需要进行远程控制的设备。检测到用户勾选“电视”选项后,手机确定需要通过手机端的华为视频控制电视端的华为视频。可选的,手机可以将华为视频的相关界面信息发送给电视,电视可根据界面信息绘制华为视频的UI。示例性的,如图15的(c)所示,手机打开华为视频后,用户在华为视频的搜索栏中搜索电影X,手机可显示获取到的电影X的相关电影。比如电影1、电影2等。手机可以将界面1204的信息发送给电视,从而电视能够根据该信息进行显示。用户能够通过大屏的电视查看电影的推荐信息。之后,如图15的(c)所示,用户拖动滑动条,刷新界面。手机可以将刷新后的界面1205的信息发送给电视,从而用户能够通过电视查看电影的推荐信息。可见,通过该方案,用户能够通过手机等电子设备的共享应用控制电视等电子设备中的共享应用的相关操作。一方面,相比于通过遥控器控制电视上的华为视频的操作(比如拖动滑动条、翻页),手机等电子设备具有更强的输入能力,输入体验更好,通过手机控制电视上的华为视频的操作,输入体验更好,输入效率更高。另一方面,相比于在手机等小屏设备本地操作应用,并在本地观看应用的操作界面,电视等大屏设备的观看体验更好,能够提高用户的交互体验。In some other embodiments, the embodiment of the present application also provides a method for managing applications across devices. An electronic device can remotely control application-related operations on other electronic devices through a cross-device management portal. Exemplarily, as shown in (a) of FIG. 15 , after detecting that the user has long pressed the icon of the sharing application Huawei Video, the mobile phone may pop up a window 1102, and the window 1102 includes the "remote control" option. After detecting that the user clicks on the "remote control" option, the mobile phone may pop up an interface 1203 shown in (b) of FIG. 15 for selecting a device to be remotely controlled. After detecting that the user has checked the "TV" option, the mobile phone determines that it needs to control the Huawei video on the TV side through the Huawei video on the mobile phone side. Optionally, the mobile phone can send relevant interface information of Huawei Video to the TV, and the TV can draw the UI of Huawei Video according to the interface information. Exemplarily, as shown in (c) of FIG. 15 , after the mobile phone opens Huawei Video, the user searches for movie X in the search bar of Huawei Video, and the mobile phone can display the acquired related movies of Movie X. Like Movie 1, Movie 2, etc. The mobile phone can send the information of interface 1204 to the TV, so that the TV can display according to the information. Users can view movie recommendation information through a large-screen TV. Afterwards, as shown in (c) of FIG. 15 , the user drags the slide bar to refresh the interface. The mobile phone can send the information of the refreshed interface 1205 to the TV, so that the user can view the recommendation information of movies through the TV. It can be seen that through this solution, the user can control related operations of the shared application in the electronic device such as the TV through the shared application of the electronic device such as the mobile phone. On the one hand, compared with the operation of controlling Huawei video on the TV through the remote control (such as dragging the slider and turning pages), electronic devices such as mobile phones have stronger input capabilities, and the input experience is better. The operation of Huawei video has a better input experience and higher input efficiency. On the other hand, compared to operating the application locally on a small-screen device such as a mobile phone and watching the operation interface of the application locally, the viewing experience on a large-screen device such as a TV is better, which can improve the user's interactive experience.
总体来说,通过跨设备控制应用程度的操作,可以获得不同设备的技术优势。比如,通过上述手机控制电视的华为视频的操作,既可以获得手机的高输入效率,又可以获得电视的高观看体验。Generally speaking, by controlling the operation of the application level across devices, the technical advantages of different devices can be obtained. For example, through the above-mentioned mobile phone to control the operation of Huawei video on the TV, it can not only obtain the high input efficiency of the mobile phone, but also obtain the high viewing experience of the TV.
在另一些实施例中,分布式数据管理模块还可以将用户通过应用输入的信息同步给组网内其他设备。示例性的,如图16的(a)所示,手机A显示共享应用“备忘录”的图标901。检测到用户长按备忘录的图标901的操作指令后,手机A可弹出窗口902,用于创建事项。在检测到用户点击“创建事项”后,手机A弹出图 16的(b)所示窗口903,用于选择需要创建事项的设备。若检测到用户勾选手机A,手机B选项,则手机A确定用户想要在本地和手机B均创建事项。那么,手机A可弹出备忘录的创建事项界面,并根据用户输入的信息创建事项,并将创建的事项同步到手机B。示例性的,图16的(c)示出了手机A中创建的多个事项。其中,事项905是需要同步到手机B中的事项。在该方案中,手机A的用户可以通过本设备选择其他设备上创建事项,从而其他设备的用户B可以方便的查看手机A的用户A记载的事项,以便提醒用户B需要注意的事项。并且,该方案中,无需在手机A、手机B上分别创建事项,即可在分布式系统中想要创建事项的多个设备中均创建事项,极大降低了实现复杂度。In some other embodiments, the distributed data management module can also synchronize the information input by the user through the application to other devices in the network. Exemplarily, as shown in (a) of FIG. 16 , mobile phone A displays an icon 901 of the sharing application "note". After detecting the operation instruction of the user long pressing the icon 901 of the memo, the mobile phone A may pop up a window 902 for creating an item. After detecting that the user clicks on "create item", mobile phone A pops up a window 903 shown in (b) of Figure 16 for selecting a device that needs to create an item. If it is detected that the user checks the options of mobile phone A and mobile phone B, then mobile phone A determines that the user wants to create items locally and on mobile phone B. Then, the mobile phone A can pop up the creation item interface of the memo, and create the item according to the information input by the user, and synchronize the created item to the mobile phone B. Exemplarily, (c) of FIG. 16 shows multiple items created in mobile phone A. Wherein, item 905 is an item that needs to be synchronized to mobile phone B. In this solution, the user of mobile phone A can choose to create items on other devices through this device, so that user B of other devices can conveniently view the items recorded by user A of mobile phone A, so as to remind user B of matters that need attention. Moreover, in this solution, there is no need to create items on mobile phone A and mobile phone B separately, but items can be created on multiple devices that want to create items in the distributed system, which greatly reduces the complexity of implementation.
图16以手机A在本地和手机B均创建事项为例进行说明,在另一些示例中,手机A还可以不在本地创建事项,而仅控制在组网内其他设备上创建事项。FIG. 16 uses mobile phone A to create items locally and mobile phone B as an example. In other examples, mobile phone A may not create items locally, but only controls the creation of items on other devices in the network.
在另一些实施例中,分布式数据管理模块还可以向组网内其他设备同步应用的其他信息。其他信息包括但不限于登录账号信息。In some other embodiments, the distributed data management module can also synchronize other information of the application to other devices in the network. Other information includes but is not limited to login account information.
示例性的,设备A的分布式数据管理模块向组网内设备2同步应用的登录账号信息,这样一来,设备2在安装应用后,可以根据登录账号信息可以智能的登录到同一账号,免于用户手动输入账号信息。Exemplarily, the distributed data management module of device A synchronizes the login account information of the application with device 2 in the network, so that after installing the application, device 2 can intelligently log in to the same account according to the login account information, avoiding The user manually enters the account information.
可选的,上述分布式数据管理模块在设备之间同步数据时,可以区分数据类型,对于一些重要数据,可以进行加密传输。Optionally, the above-mentioned distributed data management module can distinguish data types when synchronizing data between devices, and encrypt and transmit some important data.
或者,可选的,上述分布式数据管理模块可以根据设备之间的距离,确定是否对数据进行加密传输。比如,若两个设备距离小于阈值,则认为数据传输的风险较低,分布式数据管理模块不对数据进行加密传输。反之,若两个设备距离大于或等于阈值,则认为数据传输的风险较高,分布式数据管理模块需要对数据进行加密传输。Or, optionally, the above-mentioned distributed data management module may determine whether to encrypt and transmit data according to the distance between devices. For example, if the distance between the two devices is less than the threshold, it is considered that the risk of data transmission is low, and the distributed data management module does not encrypt the data for transmission. Conversely, if the distance between the two devices is greater than or equal to the threshold, it is considered that the risk of data transmission is high, and the distributed data management module needs to encrypt the data for transmission.
或者,可选的,分布式数据管理模块根据设备之间的信任关系,确定是否对数据进行加密传输。比如,设备组网时,先进行身份等校验,校验通过的设备,才能加入电子设备组,因此,加入同一电子设备组中的设备,默认彼此之间具有信任关系。电子设备组内进行数据传输时,默认可以不加密传输。Or, optionally, the distributed data management module determines whether to encrypt the data for transmission according to the trust relationship between the devices. For example, when a device is networked, identity verification is performed first, and only devices that pass the verification can join the electronic device group. Therefore, devices that join the same electronic device group have a trust relationship with each other by default. When data transmission is carried out within the electronic equipment group, the transmission may be unencrypted by default.
或者,可选的,分布式数据管理模块根据组网关系,确定是否对数据进行加密传输。对于处于同一网络内的数据传输,可以不加密传输,对于跨网络的数据传输,进行加密传输。Or, optionally, the distributed data management module determines whether to encrypt and transmit data according to the networking relationship. For data transmission within the same network, it can be transmitted without encryption, and for data transmission across networks, encrypted transmission is performed.
图5B中(a),图9B中(a),图11中的(c)、图11的(d),图12中的(a)、图12的(b),图12的(c),图13中的(a)、图13的(b)、图13的(c),图15中的(d)等未进行详细描述的附图,可参见其他实施例部分的相似附图的描述,本申请不再赘述。(a) in Figure 5B, (a) in Figure 9B, (c) in Figure 11, (d) in Figure 11, (a) in Figure 12, (b) in Figure 12, (c) in Figure 12 , (a) in FIG. 13, (b) in FIG. 13, (c) in FIG. 13, (d) in FIG. description, this application will not repeat them.
上述实施例主要以用户选择需进行分布式应用管理的设备为例进行说明,在另一些实施例中,还可以是设备在本地安装目标应用的过程中,该设备自动指示组内其他设备安装目标应用。或者,设备在本地卸载目标应用的过程中,该设备自动指示组内其他设备卸载目标应用。或者,设备在本地更新目标应用的过程中,该设备自动指示组内其他设备更新目标应用。或者,设备在本地部署目标应用的 图标的过程中,该设备自动指示组内其他设备部署目标应用的图标。或者,设备在本地删除目标应用的图标的过程中,该设备自动指示组内其他设备删除目标应用的图标。也就是说,设备之间的应用管理是联动的,在组网内某个设备上管理应用,在组网内其他设备上进行相同的管理操作。当然,本申请实施例的分布式管理场景不局限于应用安装、卸载等场景,还可以是其他场景,限于篇幅,这里不再穷举所有场景。The above-mentioned embodiments are mainly described by taking the user's selection of a device that requires distributed application management as an example. In other embodiments, the device may automatically instruct other devices in the group to install the target application during the process of locally installing the target application. application. Alternatively, during the process of locally uninstalling the target application, the device automatically instructs other devices in the group to uninstall the target application. Alternatively, during the process of locally updating the target application, the device automatically instructs other devices in the group to update the target application. Or, during the process of locally deploying the icon of the target application by the device, the device automatically instructs other devices in the group to deploy the icon of the target application. Alternatively, during the process of locally deleting the icon of the target application, the device automatically instructs other devices in the group to delete the icon of the target application. That is to say, the application management between devices is linked, and the application is managed on a certain device in the network, and the same management operation is performed on other devices in the network. Of course, the distributed management scenarios in this embodiment of the present application are not limited to scenarios such as application installation and uninstallation, but may also be other scenarios. Due to space limitations, all scenarios are not listed here.
示例性的,以安装应用场景为例,图17示出了设备之间联动管理应用的一种方式。当检测到用户在手机上安装音乐应用的第三指令之后,手机可在本地安装音乐应用,并自动指示组网内的其他设备,比如电视安装音乐应用。可见,该方式中,某个设备的管理操作可间接作用在组网内其他设备上,无需用户选择需要进行分布式管理应用的设备,简化了分布式数据管理的交互流程。Exemplarily, taking the installation application scenario as an example, FIG. 17 shows a manner of linkage management application between devices. After detecting the user's third instruction to install the music application on the mobile phone, the mobile phone can locally install the music application, and automatically instruct other devices in the network, such as a TV, to install the music application. It can be seen that in this method, the management operation of a certain device can be indirectly applied to other devices in the network, and there is no need for the user to select the device that needs to perform distributed management applications, which simplifies the interactive process of distributed data management.
在一些实施例中,终端可以提供设置共享应用的入口。示例性的,图18的(a)所示,当用户开启该开关1201时,可进一步允许在多个设备中进行跨设备的应用管理。用户允许开启跨设备管理用用后,如图18的(b)所示,可对共享应用、共享应用的UI效果、目标应用关联的电子设备等进行设置。In some embodiments, the terminal may provide an entry for setting a shared application. Exemplarily, as shown in (a) of FIG. 18 , when the user turns on the switch 1201 , it may further allow cross-device application management in multiple devices. After the user allows cross-device management to be enabled, as shown in (b) of Figure 18, the shared application, the UI effect of the shared application, and the electronic device associated with the target application can be set.
本申请另一些实施例提供了一种装置,该装置可以是上述终端或电子设备。该装置可以包括:显示屏、存储器和一个或多个处理器。该显示屏、存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,终端可执行上述方法实施例中终端执行的各个功能或者步骤。该终端的结构可以参考图2A所示的手机的结构或图2B所示的终端。Some other embodiments of the present application provide an apparatus, and the apparatus may be the above-mentioned terminal or electronic equipment. The apparatus may include: a display screen, memory and one or more processors. The display screen, memory and processor are coupled. The memory is used to store computer program code comprising computer instructions. When the processor executes the computer instructions, the terminal may execute various functions or steps performed by the terminal in the foregoing method embodiments. The structure of the terminal may refer to the structure of the mobile phone shown in FIG. 2A or the terminal shown in FIG. 2B.
其中,该终端的核心结构可以表示为图19所示的结构,终端包括:处理模块1301、输入模块1302、存储模块1303和显示模块1304。Wherein, the core structure of the terminal can be represented as the structure shown in FIG. 19 , and the terminal includes: a processing module 1301 , an input module 1302 , a storage module 1303 and a display module 1304 .
处理模块1301,可包括中央处理器(CPU)、应用处理器(Application Processor,AP)或通信处理器(Communication Processor,CP)中的至少一个。处理模块1301可执行与用户电子设备的其他元件中的至少一个的控制和/或通信相关的操作或数据处理。具体地,处理模块1301可用于根据一定的触发条件,控制主屏上显示的内容。处理模块1301还用于将输入的指令或数据进行处理,并根据处理后的数据确定显示样式。The processing module 1301 may include at least one of a central processing unit (CPU), an application processor (Application Processor, AP) or a communication processor (Communication Processor, CP). The processing module 1301 may perform operations or data processing related to control and/or communication of at least one of other elements of the user electronic device. Specifically, the processing module 1301 can be configured to control the content displayed on the main screen according to a certain trigger condition. The processing module 1301 is also used to process the input instruction or data, and determine the display style according to the processed data.
输入模块1302,用于获取用户输入的指令或数据,并将获取到的指令或数据传输到电子设备的其他模块。具体地说,输入模块1302的输入方式可以包括触摸、手势、接近屏幕等,也可以是语音输入。例如,输入模块可以是电子设备的屏幕,获取用户的输入操作并根据获取到的输入操作生成输入信号,将输入信号传输至处理模块1301。The input module 1302 is configured to obtain instructions or data input by the user, and transmit the obtained instructions or data to other modules of the electronic device. Specifically, the input mode of the input module 1302 may include touch, gesture, approaching the screen, etc., and may also be voice input. For example, the input module may be a screen of an electronic device, acquires user input operations, generates input signals according to the acquired input operations, and transmits the input signals to the processing module 1301 .
存储模块1303,可包括易失性存储器和/或非易失性存储器。存储模块用于存储用户终端设备的其他模块中的至少一个相关的指令或数据,可选的,存储模块可记录应用的相关数据。应用的数据包括但不限于应用的状态、应用的标识、安装包、下载链接、升级包。The storage module 1303 may include a volatile memory and/or a nonvolatile memory. The storage module is used to store at least one related instruction or data in other modules of the user terminal device. Optionally, the storage module can record relevant application data. Application data includes, but is not limited to, application status, application identification, installation packages, download links, and upgrade packages.
显示模块1304,可包括例如液晶显示器(LCD)、发光二极管(LED)显示器、有机发光二极管(OLED)显示器、微机电系统(MEMS)显示器或电子纸显示器。用于显示用户可观看的内容(例如,文本、图像、视频、图标、符号等)。The display module 1304 may include, for example, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, an Organic Light Emitting Diode (OLED) display, a Micro Electro Mechanical System (MEMS) display or an electronic paper display. Used to display user-viewable content (eg, text, images, videos, icons, symbols, etc.).
可选的,还包括通信模块1305,用于支持个人终端(通过通信网络)与其他个人终端通信。例如,通信模块可经由无线通信或有线通信连接到网络,以与其他个人终端或网 络服务器进行通信。无线通信可采用蜂窝通信协议中的至少一个,诸如,长期演进(LTE)、高级长期演进(LTE-A)、码分多址(CDMA)、宽带码分多址(WCDMA)、通用移动通信系统(UMTS)、无线宽带(WiBro)或全球移动通信系统(GSM)。无线通信可包括例如短距通信。短距通信可包括无线保真(Wi-Fi)、蓝牙、近场通信(NFC)、磁条传输(MST)或GNSS中的至少一个。Optionally, a communication module 1305 is also included, configured to support the personal terminal to communicate with other personal terminals (through the communication network). For example, the communication module can be connected to a network via wireless communication or wired communication to communicate with other personal terminals or a network server. The wireless communication may employ at least one of cellular communication protocols, such as Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Communications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM). Wireless communications may include, for example, short-range communications. The short-range communication may include at least one of wireless fidelity (Wi-Fi), Bluetooth, near field communication (NFC), magnetic stripe transmission (MST), or GNSS.
本申请实施例还提供一种芯片系统,如图20所示,该芯片系统包括至少一个处理器1401和至少一个接口电路1402。处理器1401和接口电路1402可通过线路互联。例如,接口电路1402可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1402可用于向其它装置(例如处理器1401)发送信号。示例性的,接口电路1402可读取存储器中存储的指令,并将该指令发送给处理器1401。当所述指令被处理器1401执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。The embodiment of the present application also provides a chip system, as shown in FIG. 20 , the chip system includes at least one processor 1401 and at least one interface circuit 1402 . The processor 1401 and the interface circuit 1402 may be interconnected through wires. For example, interface circuit 1402 may be used to receive signals from other devices, such as memory of an electronic device. As another example, the interface circuit 1402 may be used to send signals to other devices (such as the processor 1401). Exemplarily, the interface circuit 1402 can read instructions stored in the memory, and send the instructions to the processor 1401 . When the instructions are executed by the processor 1401, the electronic device may be made to execute various steps in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
本申请实施例还提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例中手机执行的各个功能或者步骤。The embodiment of the present application also provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on the above-mentioned electronic device, the electronic device is made to perform the various functions or steps performed by the mobile phone in the above-mentioned method embodiment .
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中手机执行的各个功能或者步骤。The embodiment of the present application also provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute each function or step performed by the mobile phone in the method embodiment above.
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be assigned by Completion of different functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机 存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. And aforementioned storage medium comprises: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), various mediums that can store program codes such as magnetic disc or optical disc.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above content is only the specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application shall be covered within the protection scope of the application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (20)

  1. 一种分布式数据管理系统,其特征在于,包括:A distributed data management system is characterized in that it includes:
    第一电子设备,用于检测用户输入的第一指令,并向所述第一指令关联的第二电子设备发送目标应用的数据;The first electronic device is configured to detect a first instruction input by a user, and send target application data to a second electronic device associated with the first instruction;
    第二电子设备,用于从所述第一电子设备接收目标应用的数据,并根据所述目标应用的数据管理所述目标应用;a second electronic device, configured to receive data of a target application from the first electronic device, and manage the target application according to the data of the target application;
    其中,所述第二电子设备与所述第一电子设备在同一电子设备组内;所述第一指令用于指示管理所述第二电子设备的目标应用;管理所述目标应用包括如下任一项:安装所述目标应用、更新所述目标应用、卸载所述目标应用、部署所述目标应用的图标、删除所述目标应用的图标。Wherein, the second electronic device and the first electronic device are in the same electronic device group; the first instruction is used to instruct to manage the target application of the second electronic device; managing the target application includes any of the following Item: install the target application, update the target application, uninstall the target application, deploy the icon of the target application, delete the icon of the target application.
  2. 根据权利要求1所述的系统,其特征在于,所述第一电子设备,还用于接收用户输入的第二指令,并根据所述第二指令开启预设模式;The system according to claim 1, wherein the first electronic device is further configured to receive a second instruction input by a user, and enable a preset mode according to the second instruction;
    所述第一电子设备,用于在所述预设模式下,所述第一电子设备管理预设类型的目标应用;The first electronic device is configured to manage target applications of a preset type in the preset mode;
    其中,所述预设模式包括如下任意一种模式:儿童模式、青少年模式、省电模式。Wherein, the preset mode includes any one of the following modes: child mode, youth mode, and power saving mode.
  3. 根据权利要求1或2所述的系统,其特征在于,所述第二电子设备,用于根据所述目标应用的数据管理所述目标应用,包括:在息屏状态下,根据所述目标应用的数据,管理所述目标应用。The system according to claim 1 or 2, wherein the second electronic device is configured to manage the target application according to the data of the target application, comprising: in the off-screen state, according to the target application data that manages the target application.
  4. 一种分布式数据管理方法,其特征在于,应用于第一电子设备,所述方法包括:A distributed data management method, characterized in that it is applied to a first electronic device, the method comprising:
    检测用户输入的第一指令;Detecting the first command input by the user;
    向所述第一指令关联的第二电子设备发送目标应用的数据;sending the data of the target application to the second electronic device associated with the first instruction;
    其中,所述第二电子设备与所述第一电子设备在同一电子设备组内;所述第一指令用于指示管理所述第二电子设备的目标应用;管理所述目标应用包括如下任一项:安装所述目标应用、更新所述目标应用、卸载所述目标应用、部署所述目标应用的图标、删除所述目标应用的图标。Wherein, the second electronic device and the first electronic device are in the same electronic device group; the first instruction is used to instruct to manage the target application of the second electronic device; managing the target application includes any of the following Item: install the target application, update the target application, uninstall the target application, deploy the icon of the target application, delete the icon of the target application.
  5. 根据权利要求4所述的方法,其特征在于,所述部署所述目标应用的图标,包括:在桌面上显示所述目标应用的图标,所述图标用于响应于用户输入的第三指令,管理所述目标应用。The method according to claim 4, wherein the deploying the icon of the target application comprises: displaying the icon of the target application on the desktop, the icon being used to respond to a third instruction input by the user, Manage the target application.
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:根据所述第一指令以及预设策略,从所述电子设备组中确定所述第一指令关联的所述第二电子设备;The method according to claim 4 or 5, characterized in that the method further comprises: according to the first instruction and a preset policy, determining from the electronic device group the second instruction associated with the first instruction 2. electronic equipment;
    其中,所述预设策略包括所述目标应用的类型。Wherein, the preset policy includes the type of the target application.
  7. 根据权利要求4或5所述的方法,其特征在于,所述第一指令还用于指示所述第二电子设备的标识;The method according to claim 4 or 5, wherein the first instruction is also used to indicate the identity of the second electronic device;
    所述方法还包括:根据所述第一指令,从所述电子设备组中确定所述第二电子设备。The method further includes: determining the second electronic device from the group of electronic devices according to the first instruction.
  8. 根据权利要求4-7中任一项所述的方法,其特征在于,所述第一指令还用于 指示管理本地的目标应用。The method according to any one of claims 4-7, wherein the first instruction is also used to instruct management of a local target application.
  9. 根据权利要求4-8中任一项所述的方法,其特征在于,所述目标应用的数据包括所述目标应用在所述第二电子设备中的待管理状态,所述待管理状态包括如下任意状态:待安装所述目标应用、待更新所述目标应用、待卸载所述目标应用、待部署所述目标应用的图标、待删除所述目标应用的图标。The method according to any one of claims 4-8, wherein the data of the target application includes a state to be managed of the target application in the second electronic device, and the state to be managed includes the following Any state: the target application is to be installed, the target application is to be updated, the target application is to be uninstalled, the icon of the target application is to be deployed, and the icon of the target application is to be deleted.
  10. 根据权利要求9所述的方法,其特征在于,所述目标应用的数据还包括如下任一项或多项:所述目标应用的标识、所述目标应用的安装包、所述目标应用的下载链接、所述目标应用的升级包。The method according to claim 9, wherein the data of the target application further includes any one or more of the following: the identification of the target application, the installation package of the target application, the download of the target application Link, upgrade package of the target application.
  11. 根据权利要求4-10中任一项所述的方法,其特征在于,在管理本地的所述目标应用后,所述方法还包括:向所述第二电子设备发送所述目标应用的管理状态;所述管理状态包括如下任意状态:已安装所述目标应用、已更新所述目标应用、已卸载所述目标应用、已部署所述目标应用的图标、已删除所述目标应用的图标。The method according to any one of claims 4-10, characterized in that, after managing the local target application, the method further comprises: sending the management status of the target application to the second electronic device The management state includes any of the following states: the target application has been installed, the target application has been updated, the target application has been uninstalled, the icon of the target application has been deployed, and the icon of the target application has been deleted.
  12. 根据权利要求4-11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 4-11, further comprising:
    接收用户输入的第二指令,根据所述第二指令开启预设模式;receiving a second instruction input by the user, and enabling the preset mode according to the second instruction;
    管理本地的目标应用,包括:在所述预设模式下,所述第一电子设备管理预设类型的目标应用;Managing a local target application includes: in the preset mode, the first electronic device manages a preset type of target application;
    其中,所述预设模式包括如下任意一种模式:儿童模式、青少年模式。Wherein, the preset mode includes any one of the following modes: children's mode and youth mode.
  13. 根据权利要求4-12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 4-12, further comprising:
    呈现设置界面,所述设置界面用于设置如下任一项或多项:开启分布式数据管理的功能、所述目标应用的图标的用户界面UI效果、所述目标应用的类型所关联的电子设备。A setting interface is presented, and the setting interface is used to set any one or more of the following: the function of enabling distributed data management, the user interface UI effect of the icon of the target application, and the electronic device associated with the type of the target application .
  14. 一种分布式数据管理方法,其特征在于,应用于第二电子设备,所述方法包括:A distributed data management method, characterized in that it is applied to a second electronic device, the method comprising:
    从第一电子设备接收目标应用的数据;其中,所述第二电子设备与所述第一电子设备在同一电子设备组内;receiving data of a target application from a first electronic device; wherein, the second electronic device is in the same electronic device group as the first electronic device;
    根据所述目标应用的数据,管理所述目标应用;所述管理所述目标应用包括如下任一项:安装所述目标应用、更新所述目标应用、卸载所述目标应用、部署所述目标应用的图标、删除所述目标应用的图标。Manage the target application according to the data of the target application; the managing the target application includes any of the following: installing the target application, updating the target application, uninstalling the target application, deploying the target application icon, delete the icon of the target application.
  15. 根据权利要求14所述的方法,其特征在于,所述部署所述目标应用的图标,包括:在桌面上显示所述目标应用的图标,所述图标用于响应于用户输入的第三指令,管理所述目标应用。The method according to claim 14, wherein the deploying the icon of the target application comprises: displaying the icon of the target application on the desktop, the icon being used to respond to a third instruction input by the user, Manage the target application.
  16. 根据权利要求14或15所述的方法,其特征在于,所述目标应用的数据包括所述目标应用在所述第二电子设备中的待管理状态,所述待管理状态包括如下任意状态:待安装所述目标应用、待更新所述目标应用、待卸载所述目标应用、待部署所述目标应用的图标、待删除所述目标应用的图标;The method according to claim 14 or 15, wherein the data of the target application includes a state to be managed of the target application in the second electronic device, and the state to be managed includes any of the following states: The target application is installed, the target application is to be updated, the target application is to be uninstalled, the icon of the target application is to be deployed, and the icon of the target application is to be deleted;
    所述目标应用的数据还包括如下任一项或多项:所述目标应用的标识、所述目标应用的安装包、所述目标应用的下载链接、所述目标应用的升级包。The data of the target application further includes any one or more of the following: an identifier of the target application, an installation package of the target application, a download link of the target application, and an upgrade package of the target application.
  17. 根据权利要求14-16中任一项所述的方法,其特征在于,在管理所述目标 应用后,所述方法还包括:向所述第一电子设备发送所述目标应用的管理状态;所述管理状态包括如下任意状态:已安装所述目标应用、已更新所述目标应用、已卸载所述目标应用、已部署所述目标应用的图标、已删除所述目标应用的图标。The method according to any one of claims 14-16, characterized in that, after the target application is managed, the method further comprises: sending the management status of the target application to the first electronic device; The management state includes any of the following states: the target application has been installed, the target application has been updated, the target application has been uninstalled, the icon of the target application has been deployed, and the icon of the target application has been deleted.
  18. 根据权利要求14-17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14-17, further comprising:
    从所述第一电子设备接收第三指令,根据所述第三指令开启预设模式;receiving a third instruction from the first electronic device, and enabling a preset mode according to the third instruction;
    管理目标应用,包括:在所述预设模式下,所述第二电子设备管理预设类型的目标应用;Managing the target application includes: in the preset mode, the second electronic device manages a preset type of target application;
    其中,所述预设模式包括如下任意一种模式:儿童模式、青少年模式、省电模式。Wherein, the preset mode includes any one of the following modes: child mode, youth mode, and power saving mode.
  19. 一种电子设备,其特征在于,所述电子设备包括存储器和一个或多个处理器;所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,使所述一个或多个所述处理器执行如权利要求4-18任一项所述的方法。An electronic device, characterized in that the electronic device includes a memory and one or more processors; the memory is coupled to the processor; the memory is used to store computer program code, and the computer program code includes a computer Instructions, when said processors execute said computer instructions, cause said one or more said processors to perform the method according to any one of claims 4-18.
  20. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在终端上运行时,使得所述终端执行如权利要求4-18中任一项所述的方法。A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, wherein when the instructions are run on a terminal, the terminal is made to perform the operation described in any one of claims 4-18 described method.
PCT/CN2022/116851 2021-09-24 2022-09-02 Distributed data management method, electronic device, and system WO2023045736A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111124130.2 2021-09-24
CN202111124130.2A CN115857746A (en) 2021-09-24 2021-09-24 Distributed data management method, electronic device and system

Publications (1)

Publication Number Publication Date
WO2023045736A1 true WO2023045736A1 (en) 2023-03-30

Family

ID=85652606

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/116851 WO2023045736A1 (en) 2021-09-24 2022-09-02 Distributed data management method, electronic device, and system

Country Status (2)

Country Link
CN (1) CN115857746A (en)
WO (1) WO2023045736A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199682A (en) * 2014-08-04 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
US20160285949A1 (en) * 2013-10-30 2016-09-29 Le Shi Zhi Xin Electronic Technology (Tianjin) Limited Wireless login-based remote control method and device
CN111093183A (en) * 2019-11-13 2020-05-01 华为技术有限公司 Mobile equipment management method and equipment
CN111831176A (en) * 2020-06-18 2020-10-27 维沃移动通信有限公司 Application program management method and device
CN113138786A (en) * 2021-04-25 2021-07-20 维沃移动通信有限公司 Application updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160285949A1 (en) * 2013-10-30 2016-09-29 Le Shi Zhi Xin Electronic Technology (Tianjin) Limited Wireless login-based remote control method and device
CN104199682A (en) * 2014-08-04 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
CN111093183A (en) * 2019-11-13 2020-05-01 华为技术有限公司 Mobile equipment management method and equipment
CN111831176A (en) * 2020-06-18 2020-10-27 维沃移动通信有限公司 Application program management method and device
CN113138786A (en) * 2021-04-25 2021-07-20 维沃移动通信有限公司 Application updating method and device

Also Published As

Publication number Publication date
CN115857746A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
WO2020177622A1 (en) Method for displaying ui assembly and electronic device
WO2021017837A1 (en) Card sharing method, apparatus and system
CN112486363A (en) Cross-device content sharing method, electronic device and system
US11979516B2 (en) Audio output method and terminal device
EP2704461B1 (en) Mobile terminal and control method thereof
WO2024016832A1 (en) Application continuation method and apparatus
CN113961157B (en) Display interaction system, display method and equipment
CN113311975A (en) Application interaction method among multiple devices and related devices
EP4290346A1 (en) File management method, electronic device, and computer-readable storage medium
WO2023130921A1 (en) Method for page layout adapted to multiple devices, and electronic device
WO2021244452A1 (en) Multi-device interaction method and system
CN114065706A (en) Multi-device data cooperation method and electronic device
WO2023045736A1 (en) Distributed data management method, electronic device, and system
WO2022188683A1 (en) Flexibly authorized access control method, and related apparatus and system
WO2022052706A1 (en) Service sharing method, system and electronic device
CN111600862A (en) User account management method and device
WO2023198196A1 (en) Device control method and electronic device
WO2024083133A1 (en) Distributed data management method, electronic device and system
EP4290841A1 (en) Card display method, electronic device, and computer readable storage medium
WO2023036082A1 (en) System and method for displaying and controlling remote device task
WO2022160999A1 (en) Display method and electronic device
WO2023142935A1 (en) Application component management method and related device
WO2023020496A1 (en) Display method, chip, and electronic device
WO2022242503A1 (en) Screen projection method and related apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22871786

Country of ref document: EP

Kind code of ref document: A1