













技术领域technical field
本申请涉及卡片处理技术领域,尤其涉及一种应用程序卡片的管理方法、电子设备及计算机可读存储介质。The present application relates to the technical field of card processing, and in particular to a method for managing application program cards, electronic equipment, and a computer-readable storage medium.
背景技术Background technique
电子设备桌面上的APP图标下显示一条小横线,用户可上滑此类APP图标,APP的卡片则被调出显示在桌面。用户可通过执行操作将APP的卡片放置于桌面的任何位置。A small horizontal line is displayed under the APP icon on the desktop of the electronic device. The user can slide up such APP icon, and the APP card is called out and displayed on the desktop. Users can place the APP card anywhere on the desktop by performing operations.
但是,目前只有电子设备的原生应用程序才配置有卡片,用户可通过上述操作将卡片调出并固定显示在桌面上,若第三方应用程序需要配置卡片,需要第三方独立开发,如此制约了卡片的推广应用。However, at present, only the native applications of electronic devices are equipped with cards. Users can call out the cards through the above operations and display them on the desktop. If a third-party application needs to configure cards, it needs to be independently developed by a third party. promotional application.
发明内容Contents of the invention
本申请提供了一种应用程序卡片的管理方法、电子设备、计算机程序产品及计算机可读存储介质,目的在于在不需要第三方开发的前提下,生成电子设备安装的第三方应用程序的卡片。The present application provides a method for managing application cards, electronic equipment, computer program products, and computer-readable storage media. The purpose is to generate third-party application cards installed in electronic equipment without the need for third-party development.
为了实现上述目的,本申请提供了以下技术方案:In order to achieve the above object, the application provides the following technical solutions:
第一方面,本申请提供了一种应用于电子设备的应用程序卡片的管理方法,该方法包括:获取电子设备安装的应用程序的快捷方式shortcut信息;转换应用程序的shortcut信息为应用程序的卡片信息;在接收到卡片查询请求时,在电子设备的桌面展示应用程序的卡片信息所指示的卡片。In a first aspect, the present application provides a method for managing application cards applied to electronic devices, the method comprising: acquiring shortcut information of application programs installed in electronic equipment; converting the shortcut information of application programs into application program cards information; when a card query request is received, the card indicated by the card information of the application is displayed on the desktop of the electronic device.
由上述内容可以看出:获取电子设备安装的应用程序的shortcut信息,转换应用程序的shortcut信息为卡片信息,如此可得到电子设备安装的应用程序的卡片。因此,在接收到卡片查询请求时,在电子设备的桌面即可展示应用程序的卡片信息所指示的卡片,实现了在不需要第三方开发的前提下,生成电子设备安装的第三方应用程序的卡片的目的,利于卡片的推广应用。It can be seen from the above content that the shortcut information of the application program installed on the electronic device is obtained, and the shortcut information of the application program is converted into card information, so that the card of the application program installed on the electronic device can be obtained. Therefore, when a card query request is received, the card indicated by the card information of the application program can be displayed on the desktop of the electronic device, realizing the generation of third-party application programs installed on the electronic device without the need for third-party development. The purpose of the card is to facilitate the promotion and application of the card.
在一个可能的实施方式中,在电子设备的桌面展示应用程序的卡片信息所指示的卡片的方式,包括:在电子设备的服务中心的界面,展示应用程序的卡片信息所指示的卡片;或者,在电子设备的负一屏,展示应用程序的卡片信息所指示的卡片。In a possible implementation manner, the way of displaying the card indicated by the card information of the application program on the desktop of the electronic device includes: displaying the card indicated by the card information of the application program on the interface of the service center of the electronic device; or, On the negative screen of the electronic device, display the card indicated by the card information of the application program.
在一个可能的实施方式中,获取电子设备安装的应用程序的快捷方式shortcut信息,包括:确定电子设备开机重启时,获取电子设备安装的应用程序的shortcut信息;或者,确定电子设备安装新的应用程序时,获取电子设备安装的新的应用程序的shortcut信息;或者,确定电子设备安装的应用程序更新时,获取电子设备更新的应用程序的shortcut信息。In a possible implementation manner, obtaining the shortcut information of the application program installed on the electronic device includes: determining the shortcut information of the application program installed on the electronic device when the electronic device is restarted; or determining that a new application program is installed on the electronic device When programming, obtain the shortcut information of the new application program installed on the electronic device; or, when determining that the application program installed on the electronic device is updated, obtain the shortcut information of the updated application program on the electronic device.
在一个可能的实施方式中,获取电子设备安装的应用程序的快捷方式shortcut信息,包括:获取电子设备安装的第三方应用程序的shortcut信息。In a possible implementation manner, obtaining the shortcut information of the application installed on the electronic device includes: obtaining the shortcut information of the third-party application installed on the electronic device.
在一个可能的实施方式中,获取电子设备安装的第三方应用程序的shortcut信息之前,还包括:从电子设备安装的应用程序中,确定出第三方应用程序。In a possible implementation manner, before acquiring the shortcut information of the third-party application programs installed on the electronic device, the method further includes: determining the third-party application program from the application programs installed on the electronic device.
在一个可能的实施方式中,从电子设备安装的应用程序中,确定出第三方应用程序,包括:通过与电子设备的包管理PM交互,确定电子设备安装的所有的应用程序;将电子设备安装的所有的应用程序,在白名单中进行筛查,得到筛查结果,白名单包括电子设备安装的原生应用程序的标识;根据筛查结果,确定电子设备安装的第三方应用程序。In a possible implementation manner, determining the third-party application program from the application programs installed on the electronic device includes: determining all the application programs installed on the electronic device by interacting with the package management PM of the electronic device; All the application programs in the white list are screened to obtain a screening result, and the white list includes identifications of native application programs installed on the electronic device; according to the screening results, third-party application programs installed on the electronic device are determined.
在一个可能的实施方式中,获取电子设备安装的应用程序的快捷方式shortcut信息,包括:通过与电子设备的包管理PM交互,获取电子设备安装的应用程序的ActivityInfo信息;读取ActivityInfo信息的metaData属性中的应用程序的shortcut信息。In a possible implementation manner, obtaining the shortcut information of the application program installed on the electronic device includes: obtaining the ActivityInfo information of the application program installed on the electronic device by interacting with the package management PM of the electronic device; reading the metaData of the ActivityInfo information The shortcut information of the application in the properties.
在一个可能的实施方式中,电子设备开机重启的确定方式,包括:监听开机广播,以确定电子设备是否开机重启。In a possible implementation manner, the method for determining whether the electronic device is turned on and restarted includes: monitoring a start-up broadcast to determine whether the electronic device is turned on and restarted.
在一个可能的实施方式中,电子设备安装新的应用程序的确定方式,包括:监听应用程序安装广播,以确定电子设备是否安装新的应用程序。In a possible implementation manner, the method for determining whether the electronic device installs a new application program includes: monitoring an application program installation broadcast to determine whether the electronic device installs a new application program.
在一个可能的实施方式中,电子设备安装的应用程序更新的确定方式,包括:监听应用程序更新广播,以确定电子设备安装的应用程序是否被更新。In a possible implementation manner, the method for determining the update of the application program installed on the electronic device includes: monitoring an application program update broadcast to determine whether the application program installed on the electronic device is updated.
在一个可能的实施方式中,转换应用程序的shortcut信息为应用程序的卡片信息,包括:确定应用程序的shortcut信息中属于每一个应用程序的快捷方式的属性信息;将每一个应用程序快捷方式的属性信息,填充到卡片模板对应位置,得到每一个快捷方式对应的卡片;组合应用程序的每一个快捷方式对应的卡片的卡片信息,得到应用程序的卡片信息。In a possible implementation manner, converting the shortcut information of the application program into the card information of the application program includes: determining the attribute information of the shortcut belonging to each application program in the shortcut information of the application program; The attribute information is filled in the corresponding position of the card template to obtain the card corresponding to each shortcut; the card information of the card corresponding to each shortcut of the application is combined to obtain the card information of the application.
在一个可能的实施方式中,应用程序的shortcut信息包括:应用包名、快捷启动图标、快捷启动标题、以及快捷启动Intent。In a possible implementation manner, the shortcut information of the application program includes: an application package name, a shortcut launch icon, a shortcut launch title, and a shortcut launch Intent.
在一个可能的实施方式中,还包括:响应于第一触发操作,在电子设备的桌面展示第一触发操作指定的应用程序的多个卡片;响应于第二触发操作,在电子设备的桌面展示第二触发操作指定的卡片。In a possible implementation manner, it further includes: in response to the first trigger operation, displaying multiple cards of the application program specified by the first trigger operation on the desktop of the electronic device; in response to the second trigger operation, displaying on the desktop of the electronic device The card specified by the second trigger action.
在本可能的实施方式中,针对应用程序的多个卡片,用户可通过输入触发操作,实现在指定在电子设备的桌面展示一个或多个卡片。In this possible implementation manner, for multiple cards of the application program, the user can trigger an operation by inputting one or more cards on the designated desktop of the electronic device.
在一个可能的实施方式中,还包括:接收应用程序的卸载消息;从卡片列表中删除被卸载应用程序的卡片信息,卡片列表用于存储电子设备的应用程序的卡片信息;删除电子设备的桌面展示的被卸载应用程序的卡片。In a possible implementation, it also includes: receiving an uninstallation message of the application; deleting the card information of the uninstalled application from the card list, and the card list is used to store the card information of the application of the electronic device; deleting the desktop of the electronic device The card showing the uninstalled app.
在本可能的实时方式中,在应用程序被卸载之后,可通过从卡片列表中删除被卸载应用程序的卡片信息,以及删除电子设备的桌面展示的被卸载应用程序的卡片,实现应用程序被卸载,电子设备的桌面展示的应用程序的卡片跟随删除。In this possible real-time method, after the application is uninstalled, the application can be uninstalled by deleting the card information of the uninstalled application from the card list, and deleting the card of the uninstalled application displayed on the desktop of the electronic device , the cards of the application programs displayed on the desktop of the electronic device are subsequently deleted.
在一个可能的实施方式中,还包括:响应于第一卡片删除请求,删除电子设备的桌面展示的第一卡片删除请求指定的应用程序的卡片;从卡片列表中删除用户指定的应用程序的卡片信息,卡片列表用于存储电子设备的应用程序的卡片信息。In a possible implementation, it also includes: in response to the first card deletion request, deleting the card of the application specified by the first card deletion request displayed on the desktop of the electronic device; deleting the card of the application specified by the user from the card list Information, the card list is used to store the card information of the application program of the electronic device.
在本可能的实施方式中,用户可通过输入卡片删除操作,实现在应用程序未被卸载时,而删除应用程序的卡片信息。In this possible implementation manner, the user can delete the card information of the application program when the application program is not uninstalled by inputting a card deletion operation.
在一个可能的实施方式中,还包括:响应于第二卡片删除请求,删除电子设备的桌面展示的第二卡片删除请求指定的应用程序的卡片。In a possible implementation manner, the method further includes: in response to the second card deletion request, deleting the card of the application program specified by the second card deletion request displayed on the desktop of the electronic device.
在本可能的实施方式中,用户可通过输入卡片删除操作,实现删除电子设备的桌面展示的应用程序的卡片。In this possible implementation manner, the user may delete the card of the application displayed on the desktop of the electronic device by inputting a card deletion operation.
第二方面,本申请提供了一种电子设备,包括:一个或多个处理器、存储器和显示屏;存储器和显示屏与一个或多个处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,电子设备执行如第一方面任意一项的方法。In a second aspect, the present application provides an electronic device, including: one or more processors, a memory and a display screen; the memory and the display screen are coupled with one or more processors, and the memory is used to store computer program codes, computer program The code includes computer instructions, and when one or more processors execute the computer instructions, the electronic device executes the method according to any one of the first aspect.
第三方面,本申请提供了一种计算机存储介质,用于存储计算机程序,计算机程序被执行时,具体用于实现如第一方面任意一项的方法。In a third aspect, the present application provides a computer storage medium for storing a computer program, and when the computer program is executed, it is specifically used to implement the method according to any one of the first aspect.
第四方面,本申请提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面任意一项的方法。In a fourth aspect, the present application provides a computer program product. When the computer program product is run on a computer, the computer is made to execute the method according to any one of the first aspect.
附图说明Description of drawings
图1为本申请提供的应用场景展示图;FIG. 1 is a display diagram of an application scenario provided by this application;
图2a为本申请提供的电子设备的结构示意图;Figure 2a is a schematic structural diagram of the electronic device provided by the present application;
图2b为本申请提供的电子设备的软件架构图;Figure 2b is a software architecture diagram of the electronic device provided by the present application;
图3为本申请实施例一提供的一种卡片的生成方法的时序图;FIG. 3 is a sequence diagram of a method for generating a card provided in
图4为本申请实施例一提供的应用程序A的四个快捷方式的展示图;FIG. 4 is a diagram showing four shortcuts of application program A provided in
图5为本申请实施例一提供的卡片模板的展示图;Fig. 5 is a display diagram of a card template provided in
图6为本申请实施例一提供的应用程序A的四个快捷方式对应的卡片的展示图;FIG. 6 is a display diagram of cards corresponding to the four shortcuts of application A provided in
图7为本申请实施例一提供的服务中心展示应用程序A的卡片的展示图;FIG. 7 is a display diagram of a card displaying application program A in the service center provided in
图8为本申请实施例一提供的生成应用程序A的卡片的展示图;FIG. 8 is a display diagram of a card generating application A provided in
图9a为本申请实施例二提供的一种卡片删除的方法的时序图;Fig. 9a is a sequence diagram of a method for deleting a card provided in Embodiment 2 of the present application;
图9b为本申请实施例二提供的删除应用程序A的卡片的展示图;FIG. 9b is a display diagram of a card for deleting application program A provided in Embodiment 2 of the present application;
图10a为本申请实施例三提供的一种卡片删除的方法的时序图;Fig. 10a is a sequence diagram of a method for deleting a card provided in Embodiment 3 of the present application;
图10b为本申请实施例三提供的删除服务中心展示的应用程序A的卡片的展示图;Fig. 10b is a display diagram of the card of the application program A displayed by the deletion service center provided by the third embodiment of the present application;
图11为本申请实施例提供的删除电子设备桌面展示的应用程序A的卡片的展示图。FIG. 11 is a display diagram of a card for deleting an application program A displayed on a desktop of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. The terms used in the following examples are for the purpose of describing particular examples only, and are not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also Expressions such as "one or more" are included unless the context clearly dictates otherwise. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and/or" describes the association relationship of associated objects, indicating that there may be three types of relationships; for example, A and/or B may mean: A exists alone, A and B exist simultaneously, and B exists alone, wherein A and B may be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
本申请实施例涉及的多个,是指大于或等于两个。需要说明的是,在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。A plurality referred to in the embodiment of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or imply order.
为了更清楚地阐明本申请技术方案,下面对本申请涉及的相关概念进行解释。In order to clarify the technical solution of the present application, the related concepts involved in the present application are explained below.
1)卡片是一种电子设备向用户呈现信息的形式,可以包括有关同一个主题的图片、文本、链接、控件等信息。例如,天气类卡片、股票类卡片和新闻类卡片等。1) A card is a form in which an electronic device presents information to users, and may include pictures, texts, links, controls, and other information on the same topic. For example, weather cards, stock cards, news cards, etc.
在一些实施例中,卡片还可以为与卡片对应的应用程序(application,APP)的入口,用户可以通过对卡片操作,打开与卡片对应的应用程序,使得电子设备向用户呈现与该卡片对应的应用程序的界面,从而使得用户可以在该界面上查看更详细的信息。进一步的,用户还可以在打开卡片对应的应用程序后,在应用程序的界面上进行相应的操作,来满足自身的需求。例如,天气类卡片对应的应用程序为天气。用户可以通过对天气类卡片的操作,打开应用程序天气,使得电子设备向用户呈现天气的界面。用户可以通过对天气的界面进行操作,可以设置天气类卡片上显示的信息、或者查看某一城市的天气情况等,来满足自身的需求。In some embodiments, the card can also be the entrance of an application program (application, APP) corresponding to the card, and the user can open the application program corresponding to the card by operating the card, so that the electronic device presents the application program corresponding to the card to the user. The interface of the application program, so that the user can view more detailed information on the interface. Furthermore, after opening the application program corresponding to the card, the user can perform corresponding operations on the interface of the application program to meet his own needs. For example, the application corresponding to the weather card is weather. The user can open the application weather by operating the weather card, so that the electronic device presents a weather interface to the user. Users can operate the weather interface, set the information displayed on the weather card, or view the weather conditions of a certain city, etc., to meet their own needs.
在另一些实施例中,卡片还可以为与卡片对应的应用程序提供的一种或多种服务的入口,用户可通过对卡片操作,打开卡片对应的应用程序提供的服务,使得电子设备向用户呈现该卡片对应的应用程序的服务的界面。In some other embodiments, the card can also be the entrance of one or more services provided by the application program corresponding to the card, and the user can open the service provided by the application program corresponding to the card by operating the card, so that the electronic device can provide the user with Present the interface of the service of the application program corresponding to the card.
2)原生应用程序,是指预先安装到电子设备的应用程序,属于电子设备自带的应用程序。电子设备首次开机启动,电子设备的桌面呈现有原生应用程序的图标。2) A native application program refers to an application program pre-installed on an electronic device, and belongs to an application program that comes with the electronic device. When the electronic device is turned on for the first time, the desktop of the electronic device presents icons of native applications.
3)第三方应用程序,区别于原生应用程序,第三方应用程序是指第三方生产,需用户在电子设备上安装的应用程序。3) Third-party applications are different from native applications. Third-party applications refer to applications produced by third parties that need to be installed on electronic devices by users.
4)负一屏,又可称为“-1屏”,是指在电子设备的主屏幕向右滑动屏幕,直至滑动至最左侧分屏的用户界面。负一屏可以用于放置一些快捷服务功能和通知消息,比如全局搜索、应用程序某个页面的快捷入口(付款码、微信等)、即时信息及提醒(快递信息、支出信息、通勤路况、打车出行信息、日程信息等)及关注动态(足球看台、篮球看台、股票信息等)。4) Negative one screen, also known as "-1 screen", refers to the user interface that slides the screen to the right on the main screen of the electronic device until it reaches the leftmost split screen. The negative screen can be used to place some quick service functions and notification messages, such as global search, quick entry of a certain page of the app (payment code, WeChat, etc.), instant messages and reminders (express information, expenditure information, commuting traffic conditions, taxi Travel information, schedule information, etc.) and attention dynamics (football stands, basketball stands, stock information, etc.).
电子设备桌面上的APP图标下显示一条小横线,用户可上滑此类APP图标,APP的卡片则被调出显示在桌面。用户可通过执行操作将APP的卡片放置于桌面的任何位置。图1展示的示例中,天气的图标下方呈现有一条小横线,用户上滑天气的图标,天气的卡片11则显示在电子设备桌面上,用户点击天气卡片11右上角的“钉子”按钮,天气卡片11则可被固定呈现在桌面上。A small horizontal line is displayed under the APP icon on the desktop of the electronic device. The user can slide up such APP icon, and the APP card is called out and displayed on the desktop. Users can place the APP card anywhere on the desktop by performing operations. In the example shown in Figure 1, there is a small horizontal line below the weather icon, the user slides up the weather icon, and the weather card 11 is displayed on the desktop of the electronic device, and the user clicks the "nail" button in the upper right corner of the weather card 11, The weather card 11 can be fixed and presented on the desktop.
相对于APP图标,卡片更大的显示区域能够装载更多内容,用户在桌面就可以看到APP的常用信息,对于用户来说使用方便。比如,天气卡片可以显示当天的不同时刻的天气信息;备忘录卡片可以显示笔记或待办信息;运动健康卡片可以显示步数信息。Compared with the APP icon, the larger display area of the card can load more content, and the user can see the common information of the APP on the desktop, which is convenient for users to use. For example, weather cards can display weather information at different times of the day; memo cards can display notes or to-do information; sports and health cards can display step information.
但是,目前只有电子设备的原生应用程序才配置有卡片,用户可通过上述操作将卡片调出并固定显示在桌面上,若第三方应用程序需要配置卡片,需要第三方独立开发,如此制约了卡片的推广应用。However, at present, only the native applications of electronic devices are equipped with cards. Users can call out the cards through the above operations and display them on the desktop. If a third-party application needs to configure cards, it needs to be independently developed by a third party. promotional application.
基于上述问题,本申请实施例提出一种卡片的生成方法。本申请实施例提供的卡片的生成方法,可以适用于手机,平板电脑,桌面型、膝上型、笔记本电脑,超级移动个人计算机(Ultra-mobile Personal Computer,UMPC),手持计算机,上网本,个人数字助理(Personal Digital Assistant,PDA),可穿戴电子设备,智能手表等电子设备。Based on the above problems, the embodiment of the present application proposes a method for generating a card. The generation method of the card provided in the embodiment of the present application can be applicable to mobile phones, tablet computers, desktops, laptops, notebook computers, ultra-mobile personal computers (Ultra-mobile Personal Computer, UMPC), handheld computers, netbooks, personal digital Assistant (Personal Digital Assistant, PDA), wearable electronic devices, smart watches and other electronic devices.
图2a为本申请实施例提供的一种电子设备的组成示例。以手机为例,电子设备200可以包括处理器210,外部存储器接口220,内部存储器221,显示屏230,天线1,天线2,移动通信模块240,以及无线通信模块250等。Fig. 2a is a composition example of an electronic device provided in the embodiment of the present application. Taking a mobile phone as an example, the electronic device 200 may include a
可以理解的是,本实施例示意的结构并不构成对该电子设备的具体限定。在另一些实施例中,该电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
其中,控制器可以是电子设备200的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 200 . 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.
视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG2等。Video codecs are used to compress or decompress digital video. An electronic device may support one or more video codecs. In this way, the electronic device can play or record video in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG2, etc.
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。A memory may also be provided in the
在一些实施例中,处理器210可以包括一个或多个接口。In some embodiments,
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备200的结构限定。在本申请另一些实施例中,电子设备200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that, the interface connection relationship among the modules shown in this embodiment is only a schematic illustration, and does not constitute a structural limitation of the electronic device 200 . In other embodiments of the present application, the electronic device 200 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 220 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
内部存储器221可以用于存储计算机可执行程序代码,可执行程序代码包括指令。The internal memory 221 may be used to store computer-executable program codes including instructions.
电子设备通过GPU,显示屏230,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏230和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device realizes the display function through the GPU, the display screen 230 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 230 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
显示屏230用于显示图像,视频等。The display screen 230 is used to display images, videos and the like.
电子设备的显示屏230上可以显示一系列图形用户界面(graphical userinterface,GUI),这些GUI都是该电子设备的主屏幕。一般来说,电子设备的显示屏230的尺寸是固定的,只能在该电子设备的显示屏230中显示有限的控件。控件是一种GUI元素,它是一种软件组件,包含在应用程序中,控制着该应用程序处理的所有数据以及关于这些数据的交互操作,用户可以通过直接操作(direct manipulation)来与控件交互,从而对应用程序的有关信息进行读取或者编辑。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。例如,在本申请实施例中,显示屏230可以显示虚拟按键(一键编排、开始编排、场景编排)。A series of graphical user interfaces (graphical user interface, GUI) can be displayed on the display screen 230 of the electronic device, and these GUIs are the main screen of the electronic device. Generally, the size of the display screen 230 of the electronic device is fixed, and only limited controls can be displayed on the display screen 230 of the electronic device. A control is a GUI element, which is a software component contained in an application that controls all the data processed by the application and the interaction of these data. Users can interact with the control through direct manipulation. , so as to read or edit the relevant information of the application. Generally speaking, controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and Widgets. For example, in the embodiment of the present application, the display screen 230 may display virtual buttons (one-key arrangement, start arrangement, scene arrangement).
电子设备可以通过ISP,摄像头,视频编解码器,GPU,显示屏230以及应用处理器等实现拍摄功能。The electronic device can realize the shooting function through the ISP, the camera, the video codec, the GPU, the display screen 230 and the application processor.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块240,无线通信模块250,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device can be realized by the
另外,在上述部件之上,运行有操作系统。例如iOS操作系统,Android操作系统,Windows操作系统等。在操作系统上可以安装运行应用程序。In addition, an operating system runs on top of the above components. Such as iOS operating system, Android operating system, Windows operating system, etc. An application program can be installed and run on the operating system.
图2b是本申请实施例的电子设备的软件结构框图。Fig. 2b is a block diagram of the software structure of the electronic device according to the embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用层,系统框架层,Native层,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are application layer, system framework layer, Native layer, and kernel layer from top to bottom.
应用层可以包括一系列应用程序包。应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,以及蓝牙等应用程序。The application layer can include a series of application packages. Application packages can include applications such as Camera, Gallery, Calendar, Calls, Maps, Navigation, Wi-Fi, and Bluetooth.
一些实施例中,如图2b所示,应用层的应用程序包包括桌面应用;桌面应用包括自动生成卡片模组和卡片模块等,自动生成卡片模组至少包括数据收集单元和数据转换单元两个软件模块,卡片模块包括卡片服务、服务中心等软件模块。In some embodiments, as shown in Figure 2b, the application package of the application layer includes a desktop application; the desktop application includes an automatic card generation module and a card module, etc., and the automatic card generation module includes at least two data collection units and data conversion units. The software module, the card module includes software modules such as card service and service center.
自动生成卡片模组用于收集应用层的应用程序包的快捷方式的信息,并生成卡片信息发送到卡片模块的卡片服务;并且,在确定应用层的应用程序包更新,同步更新卡片模块的卡片服务中的卡片。The automatic card generation module is used to collect the shortcut information of the application package of the application layer, and generate card information and send it to the card service of the card module; and, when the update of the application package of the application layer is confirmed, the card of the card module is updated synchronously Cards in service.
卡片模块中的卡片服务属于管理卡片的机构,可以列表的形式存储电子设备的桌面展示的卡片信息,且可根据应用层的应用程序包的更新结果,同步更新列表。卡片服务还可以向服务中心提供存储的卡片信息。The card service in the card module belongs to the card management organization, which can store the card information displayed on the desktop of the electronic device in the form of a list, and can update the list synchronously according to the update result of the application package of the application layer. The card service may also provide stored card information to the service center.
卡片模块中的服务中心,用于控制展示卡片服务的列表包含的所有卡片信息所指示的卡片。The service center in the card module is used to control the cards indicated by all the card information included in the card service list.
其中,自动生成卡片模组、卡片服务和服务中心的具体工作过程,请参见下述实施例一、实施例二和实施例三的内容。Wherein, for the specific working process of automatically generating the card module, card service and service center, please refer to the content of the
系统框架层为应用层的应用程序提供应用编程接口(application programminginterface,API)和编程框架。系统框架层包括一些预先定义的函数。如图2b所示,应用程序框架层可以包括PMS,Audio框架,显示框架,通知中心,以及窗口框架等。The system framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The system framework layer includes some pre-defined functions. As shown in Figure 2b, the application framework layer may include PMS, Audio framework, display framework, notification center, and window framework.
Package Manager Service,简称PMS,用于负责各种APK包的安装、卸载、优化和查询。一些实施例中,数据收集单元与PMS交互,获取到应用程序的快捷方式的信息;同时接收应用程序安装或卸载广播通知,及时更新应用程序对应卡片。Package Manager Service, referred to as PMS, is responsible for the installation, uninstallation, optimization and query of various APK packages. In some embodiments, the data collection unit interacts with the PMS to obtain the information of the shortcut of the application; at the same time, it receives the broadcast notification of the installation or uninstallation of the application, and updates the card corresponding to the application in time.
Native层就是本地框架。Native层至少包括触控,Audio和显示等。The Native layer is the local framework. The Native layer includes at least touch, Audio and display.
内核层是硬件和软件之间的层。内核层至少包含指纹驱动,Audio驱动,显示驱动,蓝牙驱动和WiFi驱动等。The kernel layer is the layer between hardware and software. The kernel layer includes at least fingerprint driver, Audio driver, display driver, Bluetooth driver and WiFi driver, etc.
需要说明的是,本申请实施例虽然以Android系统为例进行说明,但是其基本原理同样适用于基于iOS、Windows等操作系统的电子设备。It should be noted that although the embodiment of the present application uses the Android system as an example for illustration, its basic principles are also applicable to electronic devices based on operating systems such as iOS and Windows.
实施例一Embodiment one
本申请实施例提供的卡片的生成方法,参见图3,包括步骤:The method for generating the card provided in the embodiment of the present application, see Figure 3, includes steps:
S301、数据收集单元获取应用程序的快捷方式(shortcut)信息。S301. The data collection unit acquires shortcut (shortcut) information of an application program.
其中,数据收集单元如前所述,属于电子设备的桌面应用中自动生成卡片模组的一个软件模块。数据收集单元可获取电子设备安装的应用程序的shortcut信息。因电子设备的原生应用程序一般会配置卡片,因此,一些实施例中,数据收集单元可获取电子设备安装的第三方应用程序的shortcut信息。当然,数据收集单元也可获取电子设备已安装的全部应用程序的shortcut信息。Wherein, the data collection unit, as mentioned above, belongs to a software module that automatically generates a card module in the desktop application of the electronic device. The data collection unit may acquire shortcut information of applications installed on the electronic device. Since the native application program of the electronic device generally configures the card, in some embodiments, the data collection unit can obtain the shortcut information of the third-party application program installed on the electronic device. Of course, the data collection unit may also acquire shortcut information of all installed applications on the electronic device.
数据收集单元获取电子设备安装的第三方应用程序的shortcut信息之前,需要先确定电子设备安装的第三方应用程序。并且,因Android系统提供了很多服务管理的类,如项目管理(ActivityManager)、电源管理(PowerManager)、音频管理(AudioManager)、以及包管理(PackageManager)等。其中,PackageManager的主要职责是管理应用程序包,通过PackageManager可获取应用程序信息。并且,PackageManager可以理解成与PMS为同一处理单元。Before the data collection unit acquires the shortcut information of the third-party application program installed on the electronic device, it needs to first determine the third-party application program installed on the electronic device. Moreover, because the Android system provides many service management classes, such as project management (ActivityManager), power management (PowerManager), audio management (AudioManager), and package management (PackageManager), etc. Among them, the main responsibility of the PackageManager is to manage the application package, and the application information can be obtained through the PackageManager. Moreover, PackageManager can be understood as the same processing unit as PMS.
基于此,数据收集单元确定电子设备安装的第三方应用程序的具体方式如下:Based on this, the specific method for the data collection unit to determine the third-party application installed on the electronic device is as follows:
数据收集单元通过与PackageManager交互,确定电子设备安装的所有的应用程序。The data collection unit determines all the application programs installed on the electronic device by interacting with the PackageManager.
数据收集单元获取白名单,并将确定的电子设备安装的所有的应用程序,在白名单中进行筛查,该白名单为电子设备预先保存,包括电子设备安装的所有的原生应用程序的标识,如应用包名。数据收集单元可根据筛查结果,确定电子设备安装的第三方应用程序。The data collection unit obtains the white list, and screens all the applications installed on the determined electronic device in the white list, the white list is pre-saved for the electronic device, including the identification of all native applications installed on the electronic device, Such as the application package name. The data collection unit can determine the third-party application program installed on the electronic device according to the screening result.
一些实施例中,电子设备开机启动之后,数据收集单元可执行步骤S301,获取电子设备安装的应用程序的shortcut信息。In some embodiments, after the electronic device is started, the data collection unit may execute step S301 to obtain shortcut information of applications installed on the electronic device.
电子设备更新系统,使其具备生成第三方应用程序的卡片的功能后,电子设备可开机重新启动,在电子设备开机启动完成之后,数据收集单元可执行步骤S301,获取电子设备安装的全部应用程序的shortcut信息或全部第三方应用程序的shortcut信息。After the electronic device updates the system so that it has the function of generating a third-party application card, the electronic device can be turned on and restarted. After the electronic device is started and started, the data collection unit can perform step S301 to obtain all the applications installed on the electronic device shortcut information or shortcut information of all third-party applications.
具体的,数据收集单元可监听开机广播,如Intent.ACTION_BOOT_COMPLETED,若监听到开机广播,则确定电子设备开机启动完成,可执行步骤S301。Specifically, the data collection unit may monitor the boot broadcast, such as Intent.ACTION_BOOT_COMPLETED, and if the boot broadcast is heard, it is determined that the electronic device is booted and started, and step S301 may be performed.
还需要说明的是,数据收集单元在电子设备开机启动,获取到应用程序的shortcut信息之后,会记录已获取shortcut信息的应用程序的标识,如应用包名。在电子设备再一次开机启动时,数据收集单元则不会获取被记录的应用程序的shortcut信息。It should also be noted that after the electronic device is turned on and the shortcut information of the application is obtained, the data collection unit will record the identifier of the application that has obtained the shortcut information, such as the name of the application package. When the electronic device is turned on again, the data collection unit will not obtain the recorded shortcut information of the application program.
另一些实施例中,电子设备安装新的应用程序之后,数据收集单元也可执行步骤,获取新安装的应用程序的shortcut信息。当然,电子设备也可收集电子设备安装的全部的应用程序的shortcut信息。In some other embodiments, after a new application program is installed on the electronic device, the data collection unit may also perform a step of obtaining shortcut information of the newly installed application program. Certainly, the electronic device may also collect shortcut information of all application programs installed on the electronic device.
具体的,数据收集单元也可监听应用程序安装广播来确定电子设备是否安装了新的应用程序,如数据收集单元监听Intent.ACTION_PACKAGE_ADDED,若监听到了该广播,则可确定电子设备安装了新的应用程序。当然,上述广播也可包括新安装的应用程序的标识,如应用程序的应用包名,通过该标识来获取新安装的应用程序的shortcut信息。Specifically, the data collection unit can also monitor the application installation broadcast to determine whether a new application is installed on the electronic device. For example, the data collection unit monitors Intent.ACTION_PACKAGE_ADDED. If the broadcast is monitored, it can be determined that the electronic device has a new application installed. program. Of course, the above broadcast may also include the identifier of the newly installed application program, such as the name of the application package of the application program, and the shortcut information of the newly installed application program is acquired through the identifier.
还需要说明的是,数据收集单元可采用下述方式获取应用程序的快捷方式(shortcut)信息:数据收集单元与PackageManager交互,获取到电子设备安装的应用程序的ActivityInfo信息,通过读取ActivityInfo中metaData属性,获取到应用程序的shortcut信息。It should also be noted that the data collection unit can obtain the shortcut information of the application program in the following manner: the data collection unit interacts with the PackageManager to obtain the ActivityInfo information of the application program installed on the electronic device, and read the metaData in the ActivityInfo Attribute, get the shortcut information of the application.
具体的,数据收集单元先获取PackageManager(以下简称PM)对象,通过PM对象获取到应用程序的各项信息类,应用程序的信息类包括:PackageInfo、ApplicationInfo、ActivityInfo/ServiceInfo/ProviderInfo等。数据收集单元通过PM对象获取ActivityInfo,从ActivityInfo中metaData属性,获取到应用程序的shortcut信息。Specifically, the data collection unit first obtains the PackageManager (hereinafter referred to as PM) object, and obtains various information classes of the application program through the PM object. The information classes of the application program include: PackageInfo, ApplicationInfo, ActivityInfo/ServiceInfo/ProviderInfo, etc. The data collection unit obtains the ActivityInfo through the PM object, and obtains the shortcut information of the application program from the metaData attribute in the ActivityInfo.
应用程序的Shortcut是指在电子设备的桌面长按应用程序的图标而出现的快捷方式,属于为应用程序的关键功能添加更快速的入口,不用先打开应用程序。The shortcut of the application refers to the shortcut that appears when you press and hold the icon of the application on the desktop of the electronic device. It belongs to adding a faster entry for the key functions of the application without opening the application first.
一些实施例中,应用程序的shortcut信息包含:应用包名、快捷启动图标、快捷启动标题、以及快捷启动Intent等。其中,快捷启动图标、快捷启动标题、以及快捷启动Intent可以理解成是应用程序的快捷方式的属性信息。In some embodiments, the shortcut information of the application program includes: application package name, shortcut launch icon, shortcut launch title, and shortcut launch Intent. Wherein, the quick start icon, the quick start title, and the quick start Intent can be understood as the attribute information of the shortcut of the application program.
还需要说明的是,若应用程序的Shortcut包括多个快捷方式,在图4展示的示例中,应用程序A包括四个快捷方式,分别为扫一扫、付款、收钱和转账。数据收集单元获取应用程序A的shortcut信息时,获取应用程序A的应用包名,每一个快捷方式的快捷启动图标、快捷启动标题、以及快捷启动Intent,快捷启动Intent用于确定快捷方式对应的页面。It should also be noted that if the Shortcut of the application program includes multiple shortcuts, in the example shown in FIG. 4 , application A includes four shortcuts, which are scan, payment, money collection and transfer. When the data collection unit obtains the shortcut information of the application program A, it obtains the application package name of the application program A, the shortcut start icon, the shortcut start title, and the shortcut start Intent of each shortcut, and the shortcut start Intent is used to determine the page corresponding to the shortcut .
还需要说明的是,数据收集单元可获取配置有快捷方式的应用程序的shortcut信息。因电子设备安装的应用程序,可能会配置快捷方式,也可能会没有配置快捷方式。在应用程序没有配置快捷方式时,应用程序的卡片不能被生成,因此数据收集单元可获取配置有快捷方式的应用程序的shortcut信息。It should also be noted that the data collection unit may acquire shortcut information of the application program configured with the shortcut. Depending on the application program installed on the electronic device, a shortcut may or may not be configured. When the application is not configured with a shortcut, the card of the application cannot be generated, so the data collection unit can obtain the shortcut information of the application configured with the shortcut.
一些实施例中,数据收集单元获取配置有快捷方式的应用程序的shortcut信息可包括下述方式:In some embodiments, the acquisition by the data collection unit of the shortcut information of the application configured with the shortcut may include the following methods:
数据收集单元采用前述内容提出的方式,获取电子设备的每一个应用程序,或每一个第三方应用程序的shortcut信息。The data collection unit obtains the shortcut information of each application program of the electronic device or each third-party application program in the manner proposed in the foregoing content.
若应用程序未配置快捷方式,数据收集单元则不能获取到该应用程序的shortcut信息,数据收集单元只能获取到的配置有快捷方式的应用程序的shortcut信息。If no shortcut is configured for the application, the data collection unit cannot obtain the shortcut information of the application, and the data collection unit can only obtain the shortcut information of the application configured with the shortcut.
还需要说明的是,若针对电子设备安装的第三方应用程序,电子设备已经采用本实施例提供的卡片的生成方法生成了卡片,在第三方应用程序更新导致第三方应用程序的快捷方式发生更新,如增加了新的快捷方式,删除了快捷方式,或修改了快捷方式的属性信息。数据收集单元也可执行步骤S301,获取快捷方式发生更新的第三方应用程序的快捷方式(shortcut)信息。It should also be noted that, for the third-party application installed on the electronic device, the electronic device has already generated a card by using the card generation method provided in this embodiment, and the shortcut of the third-party application is updated when the third-party application is updated. , such as adding a new shortcut, deleting a shortcut, or modifying the attribute information of a shortcut. The data collection unit may also execute step S301 to acquire shortcut (shortcut) information of a third-party application whose shortcut has been updated.
具体的,数据收集单元可监听应用程序更新广播来确定电子设备安装的应用程序是否被更新,如数据收集单元监听Intent.ACTION_PACKAGE_REPLACED,若监听到该广播,则可确定电子设备安装的某应用程序被更新,当然,该广播可包括被更新的应用程序的标识,如应用程序的应用包名,通过该标识,数据收集单元获取被更新的应用程序的shortcut信息。Specifically, the data collection unit can monitor the application program update broadcast to determine whether the application program installed on the electronic device has been updated. For example, the data collection unit monitors Intent.ACTION_PACKAGE_REPLACED. For updating, of course, the broadcast may include the identifier of the updated application program, such as the application package name of the application program, through which the data collection unit acquires the shortcut information of the updated application program.
S302、数据收集单元向数据转换单元发送应用程序的shortcut信息。S302. The data collection unit sends the shortcut information of the application program to the data conversion unit.
其中,数据转换单元如前所述,属于电子设备的桌面应用中自动生成卡片模组的一个软件模块。数据收集单元获取到应用程序的shortcut信息后,数据收集单元将应用程序的shortcut信息传输到数据转换单元。Wherein, the data conversion unit, as mentioned above, belongs to a software module for automatically generating the card module in the desktop application of the electronic device. After the data collection unit obtains the shortcut information of the application program, the data collection unit transmits the shortcut information of the application program to the data conversion unit.
S303、数据转换单元转换应用程序的shortcut信息为卡片信息。S303. The data conversion unit converts the shortcut information of the application program into card information.
卡片服务无法识别应用程序的shortcut信息,因此,数据转换单元需要将应用程序的shortcut信息转换为卡片服务识别的卡片信息。卡片服务如前所述,属于电子设备的桌面应用中卡片模块中的一个软件模块。The card service cannot recognize the shortcut information of the application program, therefore, the data conversion unit needs to convert the shortcut information of the application program into the card information recognized by the card service. As mentioned above, the card service belongs to a software module in the card module of the desktop application of the electronic device.
电子设备预先保存有卡片模板,数据转换单元转换应用程序的shortcut信息为卡片信息,可以理解成,数据转换单元将应用程序的shortcut信息填充到卡片模块的对应位置,从而形成卡片。The electronic device stores a card template in advance, and the data conversion unit converts the shortcut information of the application program into card information. It can be understood that the data conversion unit fills the shortcut information of the application program into the corresponding position of the card module, thereby forming a card.
卡片模板可以设置多种样式,本申请实施例不做限制。这里例举三种可能的样式:Card templates can be set in various styles, which are not limited in this embodiment of the application. Here are three possible styles:
(1)“标题区”+“内容区”,如图5(a)所示。(1) "Title area" + "Content area", as shown in Figure 5(a).
(2)“标题区”+“操作区”,如图5(b)所示。(2) "Title area" + "Operation area", as shown in Figure 5(b).
(3)“标题区”+“内容区”+“操作区”,如图5(c)所示。(3) "Title area" + "Content area" + "Operation area", as shown in Figure 5(c).
(4)“标题区”+“操作区”,如图5(d)所示。(4) "Title area" + "Operation area", as shown in Figure 5(d).
上述三种可能的样式中,“标题区”、“内容区”和“操作区”的设置位置不限于图5所示。一些实施例中,“标题区”、“内容区”和“操作区”可互换位置,也可调整为不同位置,并且,“标题区”、“内容区”和“操作区”所占卡片的空间占比也可进行调整。Among the above three possible styles, the setting positions of the "title area", "content area" and "operation area" are not limited to those shown in FIG. 5 . In some embodiments, the positions of the "title area", "content area" and "operation area" can be exchanged, and can also be adjusted to different positions, and the cards occupied by the "title area", "content area" and "operation area" The proportion of space can also be adjusted.
“标题区”可以用于放置卡片的名称。卡片的名称可以有多种实现方式,可以是应用程序的名称、卡片承载的应用程序的服务信息对应的服务名称、服务类型等,本申请实施例不做限制。例如,假设卡片承载的服务信息为图4展示的应用程序A的“扫一扫”服务,则标题可以为“扫一扫”。The "title area" can be used to place the name of the card. The name of the card can be realized in many ways, and it can be the name of the application program, the service name corresponding to the service information of the application program carried by the card, the service type, etc., which is not limited in the embodiment of the present application. For example, assuming that the service information carried by the card is the "Scan" service of application A shown in Figure 4, the title may be "Scan".
“内容区”可以用于放置需要展示的服务信息。一张卡片的“内容区”可以同时有多个服务信息项。The "content area" can be used to place service information that needs to be displayed. The "content area" of a card can have multiple service information items at the same time.
“操作区”用于提供与卡片承载的至少一个服务信息相关的功能操作,使得用户在“操作区”上输入预设操作可以实现预设功能,例如跳转至应用程序A的服务页面的功能操作、与服务信息交互的功能操作等功能。“操作区”上可以放置操作按钮来提供与服务信息相关的功能操作。其中,操作按钮的视觉样式可以是文字形式(文字形式的操作按钮称为文字操作按钮),也可以是图像形式(图像形式的操作按钮称为图像操作按钮),本申请实施例不做具体限制。操作按钮可以关联H5、Web和App页面跳转的统一资源定位符(uniformresource locator,URL),该URL可以链接到应用程序的某个服务页面。其中,不同的操作按钮内可以设置不同的URL,这样用户通过点击不同的操作按钮,就可实现应用对应的不同服务页面的跳转。The "operation area" is used to provide functional operations related to at least one service information carried on the card, so that the user can input preset operations on the "operation area" to realize preset functions, such as the function of jumping to the service page of application A Functions such as operations, functional operations that interact with service information, etc. Operation buttons can be placed on the "operation area" to provide functional operations related to service information. Wherein, the visual style of the operation button can be in the form of text (the operation button in the form of text is called a text operation button), and it can also be in the form of an image (the operation button in the form of an image is called an image operation button), which is not specifically limited in the embodiment of the present application . The action button may be associated with a uniform resource locator (uniform resource locator, URL) for H5, Web, and App page jumps, and the URL may be linked to a certain service page of the application. Wherein, different URLs can be set in different operation buttons, so that the user can jump to different service pages corresponding to the application by clicking different operation buttons.
基于前述提出的卡片模板,步骤S303的一种可能的实施方式,包括:Based on the card template proposed above, a possible implementation of step S303 includes:
确定应用程序的shortcut信息中属于每一个快捷方式的属性信息。The attribute information belonging to each shortcut in the shortcut information of the application is determined.
将每一个快捷方式的属性信息,填充到卡片模板对应位置,得到每一个快捷方式对应的卡片。Fill the attribute information of each shortcut into the corresponding position of the card template to obtain the corresponding card of each shortcut.
组合应用程序的每一个快捷方式对应的卡片的卡片信息,得到应用程序的卡片信息。The card information of the card corresponding to each shortcut of the application program is combined to obtain the card information of the application program.
针对图4展示的应用程序A的四个快捷方式,采用图5(d)展示的卡片模板,将其转换为卡片信息,得到的四个快捷方式对应的卡片,可如图6所示。当然,图6展示的应用程序A的四个快捷方式对应的卡片示例,并不构成对快捷方式对应的卡片的限定。For the four shortcuts of application A shown in FIG. 4 , the card template shown in FIG. 5( d ) is used to convert it into card information, and the obtained cards corresponding to the four shortcuts can be shown in FIG. 6 . Of course, the examples of cards corresponding to the four shortcuts of the application program A shown in FIG. 6 do not constitute a limitation on the cards corresponding to the shortcuts.
S304、数据转换单元向卡片服务发送应用程序的卡片信息。S304. The data converting unit sends the card information of the application program to the card service.
如步骤S303的内容,应用程序的shortcut信息包括多个快捷方式,数据转换单元转换应用程序的shortcut信息,得到每一个快捷方式的卡片信息。数据转换单元将每一个快捷方式的卡片信息,以及应用程序的应用包名进行打包处理,得到数据包格式的应用程序的卡片信息,数据转换单元向卡片服务发送数据包格式的应用程序的卡片信息。As in step S303, the shortcut information of the application program includes multiple shortcuts, and the data conversion unit converts the shortcut information of the application program to obtain the card information of each shortcut. The data conversion unit packs the card information of each shortcut and the application package name of the application program to obtain the card information of the application program in the data packet format, and the data conversion unit sends the card information of the application program in the data packet format to the card service .
S305、卡片服务接收到数据转换单元发送的应用程序的卡片信息,将其保存在卡片列表。S305. The card service receives the card information of the application sent by the data conversion unit, and stores it in the card list.
S306、卡片服务接收服务中心发送的卡片查询请求。S306. The card service receives the card inquiry request sent by the service center.
服务中心如前述内容,属于电子设备的桌面应用中自动生成卡片模组的一个软件模块。并且,服务中心也可以理解成是电子设备的一个应用程序,为此,服务中心可以以图标的形式,展示在电子设备的桌面,或者展示在电子设备的其他应用的展示界面。也可以通过特定手势等快捷操作方式调用出服务中心的界面。As mentioned above, the service center belongs to a software module that automatically generates a card module in the desktop application of the electronic device. Moreover, the service center can also be understood as an application program of the electronic device. For this reason, the service center can be displayed in the form of an icon on the desktop of the electronic device or on the display interface of other applications of the electronic device. The interface of the service center can also be invoked through shortcut operations such as specific gestures.
用户触发服务中心,如用户在电子设备的桌面执行触发操作,点击服务中心的图标,或者在电子设备的桌面输入特定手势,以启动服务中心。服务中心响应用户的触发操作,生成并向卡片服务发送卡片查询请求,该卡片查询请求用于请求卡片服务保存的卡片。The user triggers the service center, for example, the user performs a trigger operation on the desktop of the electronic device, clicks an icon of the service center, or inputs a specific gesture on the desktop of the electronic device to start the service center. In response to the user's trigger operation, the service center generates and sends a card query request to the card service, and the card query request is used to request the card stored by the card service.
S307、卡片服务向服务中心发送卡片列表,该卡片列表包括卡片服务保存的应用程序的卡片信息。S307. The card service sends a card list to the service center, where the card list includes the card information of the application saved by the card service.
卡片服务接收到服务中心发送的卡片查询请求后,获取卡片列表中每一个应用程序的的卡片信息,将每一个应用程序的卡片信息发送到服务中心。After receiving the card query request sent by the service center, the card service obtains the card information of each application in the card list, and sends the card information of each application to the service center.
S308、服务中心展示应用程序的卡片。S308. The service center displays the card of the application program.
服务中心接收到卡片服务发送的卡片列表的每一个应用程序的卡片信息,将应用程序的卡片信息所指示的卡片,展示在电子设备的桌面。The service center receives the card information of each application in the card list sent by the card service, and displays the card indicated by the card information of the application on the desktop of the electronic device.
一些实施例中,服务中心可在电子设备的服务中心的界面,展示卡片,如图7所示。图7展示的示例中,服务中心的界面展示有应用程序A的卡片,设备电量的卡片,日历的卡片。In some embodiments, the service center can display the card on the interface of the service center of the electronic device, as shown in FIG. 7 . In the example shown in FIG. 7 , the interface of the service center displays a card of application A, a card of device power, and a card of calendar.
一些实施例中,服务中心可在电子设备的负一屏展示卡片。In some embodiments, the service center can display the card on the negative screen of the electronic device.
还需要说明的是,服务中心展示的应用程序的卡片的样式,不限于图7所示的样式。并且,服务中心在展示多个应用程序的卡片时,多个应用程序的排版方式,也不限于图7展示的样式。It should also be noted that the style of the card of the application program displayed by the service center is not limited to the style shown in FIG. 7 . Moreover, when the service center displays cards of multiple application programs, the typesetting manner of the multiple application programs is not limited to the style shown in FIG. 7 .
本实施例中,数据收集单元获取电子设备的应用程序的shortcut信息,数据转换单元转换应用程序的shortcut信息为卡片信息,并提供于卡片服务。基于此,服务中心可从卡片服务获取电子设备的应用程序的卡片并进行展示。即便是第三方应用程序,通过数据收集单元和数据转换单元的操作,也可以在卡片服务处存储应用程序的卡片,无需第三方应用程序的开发者的二次开发,利于卡片的推广应用。In this embodiment, the data collection unit acquires the shortcut information of the application program of the electronic device, and the data conversion unit converts the shortcut information of the application program into card information, and provides the card service. Based on this, the service center can acquire the application card of the electronic device from the card service and display it. Even if it is a third-party application program, through the operation of the data collection unit and the data conversion unit, the card of the application program can also be stored in the card service, without secondary development by the developer of the third-party application program, which is conducive to the promotion and application of the card.
还需要说明的是,卡片除了可以在服务中心的界面或负一屏进行展示,还可以展示于电子设备桌面的其他位置。电子设备可通过与用户交互的方式,实现将服务中心的界面或负一屏展示的卡片,展示在电子设备桌面的其他位置。具体方式如下:It should also be noted that, in addition to displaying the card on the interface of the service center or on a negative screen, the card can also be displayed on other positions on the desktop of the electronic device. The electronic device can display the interface of the service center or the card displayed on the negative screen at other positions on the desktop of the electronic device by interacting with the user. The specific method is as follows:
用户触发展示在服务中心或负一屏的应用程序的卡片,桌面应用接收用户在电子设备的桌面输入的触发操作,并响应于用户的触发操作,在电子设备桌面展示应用程序的卡片。如图8所示的示例,用户点击服务中心的界面展示的应用程序A的卡片,应用程序A的卡片展示于电子设备桌面。The user triggers the card of the application displayed in the service center or one screen behind, and the desktop application receives the trigger operation input by the user on the desktop of the electronic device, and displays the card of the application on the desktop of the electronic device in response to the user's trigger operation. In the example shown in FIG. 8 , the user clicks the card of application A displayed on the interface of the service center, and the card of application A is displayed on the desktop of the electronic device.
用户触发展示在电子设备的桌面上的应用程序的卡片,桌面应用接收用户的触发操作,响应于该触发操作,添加用户的触发操作所指定的卡片到电子设备桌面的其他位置。其中,用户输入的触发操作用于指定显示在电子设备的桌面上的应用程序的一个卡片。同样如图8所示的示例,用户选中应用程序A的扫一扫对应的卡片,并点击“添加到桌面”按钮。应用程序A的扫一扫对应的卡片则显示在电子设备的第一屏。The user triggers the card of the application displayed on the desktop of the electronic device, and the desktop application receives the user's trigger operation, and in response to the trigger operation, adds the card specified by the user's trigger operation to other positions on the electronic device desktop. Wherein, the trigger operation input by the user is used to designate a card of the application program displayed on the desktop of the electronic device. Also in the example shown in FIG. 8 , the user selects the corresponding card of application A and clicks the "Add to Desktop" button. The card corresponding to the scan of application A is displayed on the first screen of the electronic device.
实施例二Embodiment two
展示在电子设备的应用程序的卡片,可以跟随应用程序从电子设备卸载操作而被删除。基于此,本实施例提供的卡片的删除方法,可实现应用程序卸载后,应用程序的卡片从电子设备的界面上删除,以及从卡片服务的列表中删除。The card of the application program displayed on the electronic device may be deleted following the operation of uninstalling the application program from the electronic device. Based on this, the card deletion method provided in this embodiment can realize that after the application program is uninstalled, the card of the application program can be deleted from the interface of the electronic device and deleted from the card service list.
本实施例提供的卡片删除的方法,参见图9a,包括步骤:The method for deleting a card provided in this embodiment, as shown in Figure 9a, includes steps:
S901、数据收集单元接收应用程序的卸载消息。S901. The data collection unit receives an uninstallation message of an application program.
其中,数据收集单元通过监听PackageManager接收到卸载应用程序的广播消息,进而确定被卸载的应用程序,卸载应用程序的广播消息中可包括被卸载应用程序的标识,如应用包名。Wherein, the data collection unit receives the broadcast message of the uninstalled application program by listening to the PackageManager, and then determines the uninstalled application program, and the broadcast message of the uninstalled application program may include the identifier of the uninstalled application program, such as the name of the application package.
电子设备的应用程序被卸载,PackageManager可主动获知被卸载的应用程序,并发送广播消息,如Intent.ACTION_PACKAGE_REMOVED,数据收集单元监听到该广播消息,则确定出被卸载的应用程序,当然,上述广播消息可携带被卸载应用程序的标识,如应用包名。When the application program of the electronic device is uninstalled, the PackageManager can actively learn about the uninstalled application program, and send a broadcast message, such as Intent. The message may carry the identifier of the uninstalled application, such as the name of the application package.
参见图9b所示的示例,用户长按电子设备桌面展示的应用程序A的图标,长按可以理解成保持对应用程序A的图标的点击操作达到一定时长,如3秒。电子设备响应用户操作,在电子设备桌面展示应用程序A的卸载按钮,如图9b中展示的“叉”按钮。当然,用户长按应用程序A的图标之后,电子设备桌面也可展示应用程序A的操作菜单,卸载按钮展示在操作菜单中。用户点击卸载按钮完成应用程序A的卸载。Referring to the example shown in FIG. 9b, the user presses and holds the icon of the application program A displayed on the desktop of the electronic device. The long press can be understood as keeping the icon of the application program A for a certain period of time, such as 3 seconds. In response to the user's operation, the electronic device displays an uninstall button of application A on the desktop of the electronic device, such as the "cross" button shown in FIG. 9b. Certainly, after the user presses and holds the icon of the application program A, the desktop of the electronic device may also display the operation menu of the application program A, and the uninstall button is displayed in the operation menu. The user clicks the uninstall button to complete the uninstallation of application A.
S902、数据收集单元向卡片服务发送卡片信息删除请求,该卡片信息删除请求用于请求卡片服务删除卡片列表中的被卸载应用程序的卡片信息。S902. The data collection unit sends a card information deletion request to the card service, where the card information deletion request is used to request the card service to delete the card information of the uninstalled application in the card list.
一些实施例中,该卡片信息删除请求可携带被卸载应用程序的标识,如应用包名。In some embodiments, the card information deletion request may carry the identifier of the application to be uninstalled, such as the name of the application package.
S903、卡片服务在卡片列表中删除被卸载应用程序的卡片信息。S903. The card service deletes the card information of the uninstalled application in the card list.
其中,卡片服务利用被卸载应用程序的标识,在卡片列表中筛查出被卸载应用程序的卡片信息。Wherein, the card service uses the identifier of the uninstalled application to screen out the card information of the uninstalled application in the card list.
S904、卡片服务向服务中心发送卡片删除请求,该卡片删除请求用于请求在电子设备的桌面删除被卸载应用程序的卡片。S904. The card service sends a card deletion request to the service center, where the card deletion request is used to request to delete the card of the uninstalled application on the desktop of the electronic device.
S905、服务中心删除展示的被卸载应用程序的卡片。S905. The service center deletes the displayed card of the uninstalled application program.
参见图9b展示的示例,在卡片服务执行步骤S903和步骤S904,服务中心执行步骤S905之后,展示在服务中心的应用程序A的卡片则被删除。Referring to the example shown in FIG. 9b, after the card service executes steps S903 and S904, and the service center executes step S905, the card of application A displayed in the service center is deleted.
实施例三Embodiment three
在应用程序未被卸载的应用场景中,用户也可以输入操作,删除服务中心的界面展示的卡片。具体的,本实施例提供的卡片删除的方法,如图10a所示,包括步骤:In the application scenario where the application program has not been uninstalled, the user can also input an operation to delete the card displayed on the interface of the service center. Specifically, the method for deleting a card provided in this embodiment, as shown in Figure 10a, includes steps:
S1001、服务中心响应于用户输入的卡片删除请求,删除用户指定的应用程序的卡片。S1001. The service center deletes the card of the application program specified by the user in response to the card deletion request input by the user.
其中,用户在服务中心的界面执行卡片删除操作,如图10b所示的示例,用户长按服务中心展示的应用程序A的卡片,长按可以理解成保持对应用程序A的卡片的点击操作达到一定时长,如3秒。服务中心的界面展示应用程序A的卡片的删除按钮,如图10b绘示的“叉”按钮,用户点击卡片删除按钮,完成输入卡片删除请求。Among them, the user performs a card deletion operation on the interface of the service center. As shown in Figure 10b, the user presses and holds the card of application A displayed in the service center. The long press can be understood as keeping the click operation on the card of application A to reach A certain duration, such as 3 seconds. The interface of the service center displays the card deletion button of the application program A, such as the "cross" button shown in Figure 10b. The user clicks the card deletion button to complete the input of the card deletion request.
应用程序A的卡片的删除按钮,也可以展示在操作菜单中,即用户长按服务中心展示的应用程序A的卡片,服务中心的界面展示操作菜单。The delete button of the card of application A can also be displayed in the operation menu, that is, the user presses and holds the card of application A displayed in the service center, and the interface of the service center displays the operation menu.
一些实施例中,卡片删除请求会携带被删除的应用程序的卡片的标识,如应用程序的应用包名。In some embodiments, the card deletion request will carry the card identifier of the deleted application program, such as the application package name of the application program.
S1002、服务中心向卡片服务发送卡片信息删除请求,该卡片删除请求用于请求在卡片列表中删除用户指定的应用程序的卡片信息。S1002. The service center sends a card information deletion request to the card service, and the card deletion request is used to request to delete the card information of the application program specified by the user in the card list.
S1003、卡片服务从卡片列表中删除用户指定的应用程序的卡片信息。S1003. The card service deletes the card information of the application program specified by the user from the card list.
服务中心可利用被删除的应用程序的卡片的标识,从卡片列表中确定出被删除的应用程序的卡片信息,并将其从卡片列表中删除。The service center can determine the card information of the deleted application from the card list by using the identification of the card of the deleted application, and delete it from the card list.
还需要说明的是,展示在电子设备桌面的其他位置的卡片,也可通过用户输入删除操作进行删除。具体的,桌面应用响应于用户输入的卡片删除请求,删除用户指定的应用程序的卡片。用户在电子设备桌面上展示的卡片输入卡片删除操作,参见图11所示的示例,用户长按电子设备桌面展示的应用程序A的扫一扫对应的卡片。电子设备桌面展示扫一扫对应的卡片的删除按钮,见图中的“叉”按钮,用户点击卡片删除按钮,完成输入卡片删除请求。It should also be noted that the cards displayed in other positions on the desktop of the electronic device may also be deleted by the user inputting a delete operation. Specifically, the desktop application deletes the card of the application specified by the user in response to the card deletion request input by the user. The user enters the card deletion operation on the card displayed on the desktop of the electronic device. Referring to the example shown in FIG. The desktop of the electronic device displays the delete button of the corresponding card by scanning, as shown in the "cross" button in the figure, and the user clicks the card delete button to complete the input card deletion request.
同样,卡片的删除按钮也可以展示于操作菜单中,在用户长按扫一扫对应的卡片,电子设备桌面展示操作菜单,该操作菜单可包括卡片删除按钮。用户点击卡片删除按钮,完成输入卡片删除请求。Similarly, the delete button of the card can also be displayed in the operation menu. After the user presses and scans the corresponding card, the desktop of the electronic device displays the operation menu, and the operation menu can include a card delete button. The user clicks the card delete button to complete the input card deletion request.
本申请另一实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。Another embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer or a processor, the computer or the processor executes any one of the above-mentioned methods. one or more steps.
本申请另一实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。Another embodiment of the present application also provides a computer program product including instructions. When the computer program product is run on the computer or the processor, the computer or the processor is made to perform one or more steps in any one of the above methods.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111266311.9ACN114138139B (en) | 2021-10-28 | 2021-10-28 | Application card management method, electronic device and medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111266311.9ACN114138139B (en) | 2021-10-28 | 2021-10-28 | Application card management method, electronic device and medium |
| Publication Number | Publication Date |
|---|---|
| CN114138139A CN114138139A (en) | 2022-03-04 |
| CN114138139Btrue CN114138139B (en) | 2022-11-01 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111266311.9AActiveCN114138139B (en) | 2021-10-28 | 2021-10-28 | Application card management method, electronic device and medium |
| Country | Link |
|---|---|
| CN (1) | CN114138139B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115421628A (en)* | 2022-07-07 | 2022-12-02 | 珠海格力电器股份有限公司 | A method and device for opening a check code |
| CN116027934B (en)* | 2022-08-11 | 2023-10-20 | 荣耀终端有限公司 | Methods and devices for displaying cards |
| CN116738940B (en)* | 2022-09-30 | 2024-06-11 | 荣耀终端有限公司 | Memo storage method and electronic device |
| CN116737405B (en)* | 2022-10-24 | 2024-03-05 | 荣耀终端有限公司 | A data communication method and related equipment for quick application cards |
| CN119248389A (en)* | 2024-02-29 | 2025-01-03 | 荣耀终端有限公司 | Card display method, electronic device and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102377876A (en)* | 2010-08-24 | 2012-03-14 | Lg电子株式会社 | Mobile terminal and method of setting an application indicator therein |
| CN102413229A (en)* | 2010-09-17 | 2012-04-11 | Lg电子株式会社 | Mobile terminal and control method thereof |
| CN111625309A (en)* | 2020-04-28 | 2020-09-04 | 深圳传音控股股份有限公司 | Card management method, terminal equipment and computer readable storage medium |
| CN112241867A (en)* | 2019-07-19 | 2021-01-19 | 北京小米移动软件有限公司 | Service card display method and device and storage medium |
| CN113508360A (en)* | 2020-02-11 | 2021-10-15 | 荣耀终端有限公司 | Card display method, electronic device and computer-readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101807138A (en)* | 2010-04-13 | 2010-08-18 | 华为终端有限公司 | Menu picture display device and method thereof |
| KR102052605B1 (en)* | 2012-11-13 | 2019-12-06 | 네이버 주식회사 | Method and system of installing shortcut through mobile application |
| US20200233878A1 (en)* | 2017-02-17 | 2020-07-23 | Microsoft Technology Licensing, Llc | Card-based information management method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102377876A (en)* | 2010-08-24 | 2012-03-14 | Lg电子株式会社 | Mobile terminal and method of setting an application indicator therein |
| CN102413229A (en)* | 2010-09-17 | 2012-04-11 | Lg电子株式会社 | Mobile terminal and control method thereof |
| CN112241867A (en)* | 2019-07-19 | 2021-01-19 | 北京小米移动软件有限公司 | Service card display method and device and storage medium |
| CN113508360A (en)* | 2020-02-11 | 2021-10-15 | 荣耀终端有限公司 | Card display method, electronic device and computer-readable storage medium |
| CN111625309A (en)* | 2020-04-28 | 2020-09-04 | 深圳传音控股股份有限公司 | Card management method, terminal equipment and computer readable storage medium |
| Publication number | Publication date |
|---|---|
| CN114138139A (en) | 2022-03-04 |
| Publication | Publication Date | Title |
|---|---|---|
| CN114138139B (en) | Application card management method, electronic device and medium | |
| WO2021121052A1 (en) | Multi-screen cooperation method and system, and electronic device | |
| CN114741213B (en) | Notification processing method, chip, electronic device and computer-readable storage medium | |
| CN111225108A (en) | Communication terminal and card display method of negative screen interface | |
| WO2023029985A1 (en) | Method for displaying dock bar in launcher and electronic device | |
| WO2023030276A1 (en) | Display method, apparatus, device, and storage medium | |
| CN111324398B (en) | Method, device, terminal and storage medium for processing latest content | |
| WO2023284625A1 (en) | Cross-platform display method for application, and readable medium and electronic device | |
| CN117130516A (en) | A display method and electronic device | |
| WO2023020339A1 (en) | Interface display method and electronic device | |
| WO2022267786A1 (en) | Shortcut icon display method and terminal device | |
| WO2022242503A1 (en) | Screen projection method and related apparatus | |
| CN116679872B (en) | Redundant installation package cleaning method | |
| CN117724825B (en) | Interface display method and electronic equipment | |
| WO2025107914A1 (en) | Display method and electronic device | |
| WO2023273936A1 (en) | Wallpaper setting method and apparatus, and storage medium and electronic device | |
| WO2023045774A1 (en) | Display method and electronic device | |
| CN120704773A (en) | Intelligent interaction method and electronic equipment | |
| CN119690551A (en) | A method for displaying multiple application windows and electronic device | |
| CN117806492A (en) | Card display method and electronic equipment | |
| WO2024217159A1 (en) | Response method for electronic device, and electronic device and storage medium | |
| CN119668473A (en) | Display method and electronic device | |
| WO2025044459A1 (en) | Window display method and electronic device | |
| WO2024055875A1 (en) | Method for adding service card, and electronic device and computer-readable storage medium | |
| CN117971335A (en) | Display method, electronic device and medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address | Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Honor Terminal Co.,Ltd. Country or region after:China Address before:3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before:Honor Device Co.,Ltd. Country or region before:China |