CN116301474A - Card opening method of application program and related equipment thereof - Google Patents
Card opening method of application program and related equipment thereof Download PDFInfo
- Publication number
- CN116301474A CN116301474A CN202310138744.9A CN202310138744A CN116301474A CN 116301474 A CN116301474 A CN 116301474A CN 202310138744 A CN202310138744 A CN 202310138744A CN 116301474 A CN116301474 A CN 116301474A
- Authority
- CN
- China
- Prior art keywords
- application
- interface
- window
- card
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及人机交互技术领域,尤其涉及一种应用程序的卡片打开方法及其相关设备。The embodiment of the present application relates to the technical field of human-computer interaction, and in particular to a method for opening a card of an application program and related equipment.
背景技术Background technique
随着技术的快速发展,越来越多的用户使用电脑、平板等具备大屏幕的电子设备来完成工作,从而提高生产力和创造力。在工作过程中,用户往往使用多个应用来相互配合,故用户需要频繁地在多个应用的窗口之间进行来回切换,从而完成在各个应用内的工作。With the rapid development of technology, more and more users use computers, tablets and other electronic devices with large screens to complete their work, thereby improving productivity and creativity. During the work process, the user often uses multiple applications to cooperate with each other, so the user needs to frequently switch back and forth between the windows of the multiple applications, so as to complete the work in each application.
为了方便用户从某个应用中切换至另一个应用,可将另一个应用的信息以原数据数据链接的方式嵌入到该应用中,变成一张具有图标、表体以及图片等元素的卡片。具体地,某个应用被用户打开后,可显示该应用的窗口,该应用的窗口不仅展示有该应用的信息,还展示有另一个应用的卡片。那么,用户可点击该卡片,则会生成另一个应用的窗口。如此一来,用户可在另一个应用的窗口中浏览并使用另一个应用的信息。In order to make it easier for users to switch from one application to another, the information of another application can be embedded into the application in the form of original data data links, and become a card with elements such as icons, table bodies, and pictures. Specifically, after an application is opened by the user, a window of the application may be displayed, and the window of the application not only displays the information of the application, but also displays a card of another application. Then, the user can click on the card and a window of another application will be generated. In this way, the user can browse and use the information of another application in the window of another application.
用户在工作的过程中,可通过卡片的方式完成两个应用之间的切换,但本质上依旧是在操作两个应用的窗口,并不能带来工作效率的提升。During the working process, the user can complete the switching between the two applications through the card, but in essence, they are still operating the windows of the two applications, which does not bring about an improvement in work efficiency.
发明内容Contents of the invention
本申请实施例提供了一种应用程序的卡片打开方法及其相关设备,用户可通过卡片的方式在同一个窗口中使用不同的应用,从而为用户带来工作效率上的提升。The embodiment of the present application provides a method for opening an application card and its related equipment. A user can use a card to use different applications in the same window, thereby improving the work efficiency of the user.
本申请实施例的第一方面提供了一种应用程序的卡片打开方法,该方法包括:The first aspect of the embodiment of the present application provides a method for opening an application card, the method including:
当用户需要使用第一应用时,用户可在电子设备所显示的系统桌面中,打开第一应用。接收到用户对第一应用的打开操作后,电子设备可响应用户对第一应用的打开操作,从而显示第一应用的窗口,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。When the user needs to use the first application, the user can open the first application on the system desktop displayed on the electronic device. After receiving the user's opening operation of the first application, the electronic device may respond to the user's opening operation of the first application, thereby displaying the window of the first application, the window of the first application displays the interface of the first application, and the window of the first application The interface includes a goal card of the second application, and the goal card of the second application is used to display the goal information of the second application.
电子设备为用户提供目标卡片后,用户可预览目标卡片所展示的第二应用的目标信息,若用户需要对目标卡片所展示的目标信息进行更新,可在电子设备所显示的第一应用的界面中,打开目标卡片。接收到用户对目标卡片的打开操作后,电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,第二应用的界面包含第二应用的目标信息,且第二应用的界面是一个可供用户进行信息更新的界面。After the electronic device provides the target card for the user, the user can preview the target information of the second application displayed on the target card. , open the Goals card. After receiving the user's opening operation on the target card, the electronic device may respond to the user's opening operation on the target card, thereby displaying the interface of the second application in the window of the first application, and the interface of the second application includes the target information of the second application , and the interface of the second application is an interface for the user to update information.
如此一来,第一应用的窗口中不仅显示有第一应用的界面(包含第二应用的目标卡片),还显示有第二应用的界面(来源于第二应用的目标卡片),两个界面拼接显示于第一应用的窗口中。In this way, the window of the first application not only displays the interface of the first application (including the target card of the second application), but also displays the interface of the second application (derived from the target card of the second application), the two interfaces The mosaic is displayed in the window of the first application.
从上述方法可以看出:在用户利用第一应用进行工作时,电子设备可为用户显示第一应用的窗口,其中,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。当用户需要仔细浏览第二应用的目标信息时,用户可在电子设备所显示的第一应用的窗口中,打开第二应用的目标卡片,故电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,故用户可浏览和使用第二应用的界面所包含的目标信息。前述过程中,用户可在工作的过程中,可通过第二应用的目标卡片,从第一应用得界面切换至第二应用的界面,由于电子设备可令第一应用的窗口同时显示有第一应用的界面以及第二应用的界面,故用户仅需操作第一应用的窗口,不需要操作多个应用的窗口,故可为用户带来工作效率上的提升。It can be seen from the above method that when the user is working with the first application, the electronic device can display the window of the first application for the user, wherein the window of the first application displays the interface of the first application, and the interface of the first application includes The goal card of the second application, the goal card of the second application is used to display the goal information of the second application. When the user needs to carefully browse the target information of the second application, the user can open the target card of the second application in the window of the first application displayed on the electronic device, so the electronic device can respond to the user's opening operation of the target card, thereby The interface of the second application is displayed in the window of the first application, so the user can browse and use the target information contained in the interface of the second application. In the aforementioned process, the user can switch from the interface of the first application to the interface of the second application through the target card of the second application during the working process, because the electronic device can make the window of the first application display the first application at the same time. The interface of the application and the interface of the second application, so the user only needs to operate the window of the first application, and does not need to operate the windows of multiple applications, so the work efficiency can be improved for the user.
在一种可能实现的方式中,该方法还包括:响应于在第二应用的界面中对目标信息的更新操作,对目标卡片所展示的目标信息进行更新,得到第二应用的更新后的目标卡片,更新后的目标卡片用于展示第二应用的更新后的目标信息。前述实现方式中,电子设备为用户提供第二应用的界面后,用户可在电子设备所显示的第二应用的界面中,对第二应用的目标信息进行更新,以使得第二应用的界面显示出第二应用的更新后的目标信息。接收到用户对目标信息的更新操作后,电子设备可响应用户对目标信息的更新操作,从而适应性地更新目标卡片所展示的目标信息,从而得到第二应用的更新后的目标卡片,更新后的目标卡片可用于展示第二应用的更新后的目标信息。至此,用户则成功对目标卡片所展示的内容进行了更新。In a possible implementation manner, the method further includes: updating the target information displayed on the target card in response to the update operation of the target information in the interface of the second application, and obtaining the updated target of the second application The card, the updated target card is used to display the updated target information of the second application. In the foregoing implementation manner, after the electronic device provides the user with the interface of the second application, the user can update the target information of the second application in the interface of the second application displayed on the electronic device, so that the interface of the second application displays The updated target information of the second application is displayed. After receiving the user's update operation on the target information, the electronic device can respond to the user's update operation on the target information, thereby adaptively updating the target information displayed on the target card, thereby obtaining the updated target card of the second application, after the update The goal card of can be used to display the updated goal information of the second application. So far, the user has successfully updated the content displayed on the target card.
在一种可能实现的方式中,在窗口中显示第二应用的界面包括:对窗口进行放大,得到第一应用的放大后的窗口;在放大后的窗口相较于窗口所新增的区域中,显示第二应用的界面。前述实现方式中,若第一应用的窗口为非全屏显示,电子设备可对第一应用的窗口进行放大,得到第一应用的放大后的窗口,需要说明的是,第一应用的放大后的窗口比第一应用(原先)的窗口新增了一部分区域。那么,第一应用的放大后的窗口可分为两部分,一部分为其原先具有的区域,一部分为新增的区域,电子设备可在原先具有的区域中依旧显示第一应用的界面,并同时在新增的区域中显示第二应用的界面。In a possible implementation manner, displaying the interface of the second application in the window includes: enlarging the window to obtain the enlarged window of the first application; to display the interface of the second application. In the foregoing implementation manner, if the window of the first application is displayed in a non-full screen, the electronic device may enlarge the window of the first application to obtain the enlarged window of the first application. It should be noted that the enlarged window of the first application The window has a part of area newly added to the window of the first application (original). Then, the enlarged window of the first application can be divided into two parts, one is the original area, and the other is the newly added area, the electronic device can still display the interface of the first application in the original area, and at the same time The interface of the second application is displayed in the newly added area.
在一种可能实现的方式中,在窗口中显示第二应用的界面包括:在窗口中,将第一应用的界面所占据的区域划分为第一区域以及第二区域;对第一应用的界面进行缩小,得到第一应用的缩小后的界面;在第一区域中显示缩小后的界面,并在第二区域中显示第二应用的界面。前述实现方式中,若第一应用的窗口为全屏显示,电子设备可在第一应用的窗口中,将第一应用的界面原先所占据的区域划分为两部分,其中一部分区域称为第一区域,另一部分区域称为第二区域。接着,电子设备可对第一应用的界面进行缩小,从而得到第一应用的缩小后的界面,第一应用的缩小后的界面的大小通常与第一区域的大小相适应。然后,电子设备可在第一区域中显示第一应用的缩小后的界面,并同时在第二区域中显示第二应用的界面。In a possible implementation manner, displaying the interface of the second application in the window includes: dividing the area occupied by the interface of the first application into a first area and a second area in the window; Zoom out to obtain the reduced interface of the first application; display the reduced interface in the first area, and display the interface of the second application in the second area. In the foregoing implementation manner, if the window of the first application is displayed in full screen, the electronic device may divide the area originally occupied by the interface of the first application into two parts in the window of the first application, and one part of the area is called the first area. , and another part of the area is called the second area. Next, the electronic device may shrink the interface of the first application to obtain the reduced interface of the first application, and the size of the reduced interface of the first application usually adapts to the size of the first area. Then, the electronic device may display the reduced interface of the first application in the first area, and simultaneously display the interface of the second application in the second area.
在一种可能实现的方式中,该方法还包括:响应于对第二应用的界面的关闭操作,对放大后的窗口进行缩小,得到窗口;在窗口中仅显示第一应用的界面。前述实现方式中,对第二应用的目标卡片进行更新后,用户可在第一应用的放大后的界面中,关闭第二应用的界面。接收到用户对第二应用的界面的关闭操作后,电子设备可响应用户对第二应用的界面的关闭操作,从而对第一应用的放大后的窗口进行缩小,得到第一应用(原先)的窗口。然后,电子设备可在第一应用的窗口中仅显示第一应用的界面,此时,第一应用的界面包含第二应用的更新后的目标卡片。In a possible implementation manner, the method further includes: in response to a closing operation on the interface of the second application, shrinking the enlarged window to obtain a window; and displaying only the interface of the first application in the window. In the aforementioned implementation manner, after updating the target card of the second application, the user can close the interface of the second application in the enlarged interface of the first application. After receiving the user's closing operation on the interface of the second application, the electronic device may respond to the user's closing operation on the interface of the second application, thereby reducing the enlarged window of the first application to obtain the (original) window of the first application. window. Then, the electronic device may display only the interface of the first application in the window of the first application, and at this time, the interface of the first application includes the updated target card of the second application.
在一种可能实现的方式中,该方法还包括:响应于对第二应用的界面的关闭操作,对缩小后的界面进行放大,得到第一应用的界面;在第一区域以及第二区域所组成的区域中仅显示第一应用的界面。前述实现方式中,对第二应用的目标卡片进行更新后,用户可在第一应用的窗口中,关闭第二应用的界面。接收到用户对第二应用的界面的关闭操作后,电子设备可响应用户对第二应用的界面的关闭操作,从而对第一应用的缩小后的界面进行放大,得到第一应用(原先)的界面。然后,电子设备可在第一应用的第一区域以及第一应用的第二区域所组成的区域,也就是第一应用的窗口中仅显示第一应用的界面,此时,第一应用的界面包含第二应用的更新后的目标卡片。In a possible implementation manner, the method further includes: in response to the closing operation on the interface of the second application, enlarging the reduced interface to obtain the interface of the first application; Only the interface of the first application is displayed in the formed area. In the foregoing implementation manner, after updating the target card of the second application, the user can close the interface of the second application in the window of the first application. After receiving the user's closing operation on the interface of the second application, the electronic device may respond to the user's closing operation on the interface of the second application, thereby zooming in on the reduced interface of the first application to obtain the (original) interface of the first application. interface. Then, the electronic device may only display the interface of the first application in the area formed by the first area of the first application and the second area of the first application, that is, the window of the first application. An updated goal card containing the second application.
在一种可能实现的方式中,窗口还显示有针对第一应用的界面的卡片插入控件,该方法还包括:响应于对卡片插入控件的打开操作,在窗口中显示多个应用,多个应用包含第二应用;响应于在多个应用中对第二应用的查询操作,在窗口中显示第二应用的多个卡片,多个卡片用于展示第二应用的多个信息,多个卡片包含目标卡片;响应于在多个卡片中对目标卡片的选择操作,在第一应用的界面中添加目标卡片。前述实现方式中,电子设备为用户提供第一应用的窗口后,由于第一应用的窗口集成有卡片插入控件、缩小至任务栏控件、全屏显示/窗口化控件以及关闭控件,当用户需要在第一应用的界面中插入卡片时,可在电子设备所显示的第一应用的窗口中,打开卡片插入控件。接收到用户对卡片插入控件的打开操作后,电子设备可响应用户对卡片插入控件的打开操作,从而在第一应用的窗口中显示可供用户选择的多个应用。电子设备为用户提供多个应用后,用户浏览这多个应用,并确定多个应用中的第二应用为其所需的应用后,可在电子设备所显示的多个应用中,查询第二应用所能提供的卡片。接收到用户对第二应用的查询操作后,电子设备可响应用户对第二应用的查询操作,从而在第一应用的窗口中显示可供用户选择的第二应用的多个卡片。电子设备为用户提供第二应用的多个卡片后,用户浏览这多个卡片,并确定多个卡片中的目标卡片为其所需的卡片后,可在电子设备所显示的第二应用的多个卡片中,选择第二应用的目标卡片。接收到用户对第二应用的目标卡片的选择操作后,电子设备可响应用户对第二应用的目标卡片的选择操作,从而在在第一应用的界面中添加目标卡片。至此,第一应用的界面不仅显示有第一应用自身的信息,还显示有目标卡片,由于目标卡片用于展示第二应用的目标信息,相当于第一应用的界面还显示有第二应用的目标信息。In a possible implementation manner, the window further displays a card insertion control for the interface of the first application, and the method further includes: in response to an operation of opening the card insertion control, displaying multiple applications in the window, the multiple applications Contains the second application; in response to the query operation of the second application in the multiple applications, displaying multiple cards of the second application in the window, the multiple cards are used to display multiple information of the second application, and the multiple cards contain A target card; in response to a selection operation of the target card among the plurality of cards, the target card is added in the interface of the first application. In the foregoing implementation manners, after the electronic device provides the user with the window of the first application, since the window of the first application is integrated with a card insertion control, a zoom-out to taskbar control, a full-screen display/window control, and a close control, when the user needs to When inserting a card in the interface of an application, the card insertion control can be opened in the window of the first application displayed on the electronic device. After receiving the user's opening operation of the card insertion control, the electronic device may respond to the user's opening operation of the card insertion control, thereby displaying multiple applications available for selection by the user in the window of the first application. After the electronic device provides the user with multiple applications, the user browses the multiple applications and determines that the second application among the multiple applications is the application he needs, and can query the second application among the multiple applications displayed on the electronic device. The cards available from the app. After receiving the user's query operation on the second application, the electronic device may respond to the user's query operation on the second application, thereby displaying multiple cards of the second application that can be selected by the user in the window of the first application. After the electronic device provides the user with a plurality of cards of the second application, the user browses the plurality of cards and determines that the target card among the plurality of cards is the desired card, and then the user can view the plurality of cards of the second application displayed on the electronic device. In Cards, select the target card for the second app. After receiving the user's selection operation of the target card of the second application, the electronic device may respond to the user's selection operation of the target card of the second application, thereby adding the target card in the interface of the first application. So far, the interface of the first application not only displays the information of the first application itself, but also displays the goal card. Since the goal card is used to display the goal information of the second application, it is equivalent to displaying the information of the second application on the interface of the first application. target information.
在一种可能实现的方式中,目标卡片的数量为多个。In a possible implementation manner, there are multiple target cards.
本申请实施例的第二方面提供了一种应用程序的卡片打开装置,该装置包括:第一显示模块,用于显示第一应用的窗口,窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,目标卡片用于展示第二应用的目标信息;第二显示模块,用于响应于在第一应用的界面中对目标卡片的打开操作,在窗口中显示第二应用的界面,第二应用的界面包含目标信息。The second aspect of the embodiment of the present application provides an application program card opening device, the device includes: a first display module, configured to display the window of the first application, the window displays the interface of the first application, and the window of the first application The interface includes the target card of the second application, and the target card is used to display the target information of the second application; the second display module is used to display the second target card in the window in response to the opening operation of the target card in the interface of the first application. The interface of the application, the interface of the second application includes target information.
从上述装置可以看出:在用户利用第一应用进行工作时,电子设备可为用户显示第一应用的窗口,其中,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。当用户需要仔细浏览第二应用的目标信息时,用户可在电子设备所显示的第一应用的窗口中,打开第二应用的目标卡片,故电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,故用户可浏览和使用第二应用的界面所包含的目标信息。前述过程中,用户可在工作的过程中,可通过第二应用的目标卡片,从第一应用得界面切换至第二应用的界面,由于电子设备可令第一应用的窗口同时显示有第一应用的界面以及第二应用的界面,故用户仅需操作第一应用的窗口,不需要操作多个应用的窗口,故可为用户带来工作效率上的提升。It can be seen from the above device that when the user is working with the first application, the electronic device can display the window of the first application for the user, wherein the window of the first application displays the interface of the first application, and the interface of the first application includes The goal card of the second application, the goal card of the second application is used to display the goal information of the second application. When the user needs to carefully browse the target information of the second application, the user can open the target card of the second application in the window of the first application displayed on the electronic device, so the electronic device can respond to the user's opening operation of the target card, thereby The interface of the second application is displayed in the window of the first application, so the user can browse and use the target information contained in the interface of the second application. In the aforementioned process, the user can switch from the interface of the first application to the interface of the second application through the target card of the second application during the working process, because the electronic device can make the window of the first application display the first application at the same time. The interface of the application and the interface of the second application, so the user only needs to operate the window of the first application, and does not need to operate the windows of multiple applications, so the work efficiency can be improved for the user.
在一种可能实现的方式中,该装置还包括:更新模块,用于响应于在第二应用的界面中对目标信息的更新操作,对目标卡片所展示的目标信息进行更新,得到第二应用的更新后的目标卡片,更新后的目标卡片用于展示第二应用的更新后的目标信息。In a possible implementation manner, the device further includes: an update module, configured to update the target information displayed on the target card in response to an update operation on the target information in the interface of the second application to obtain the second application The updated goal card is used to display the updated goal information of the second application.
在一种可能实现的方式中,第二显示模块,用于:对窗口进行放大,得到第一应用的放大后的窗口;在放大后的窗口相较于窗口所新增的区域中,显示第二应用的界面。In a possible implementation manner, the second display module is configured to: enlarge the window to obtain the enlarged window of the first application; 2. Application interface.
在一种可能实现的方式中,第二显示模块,用于:在窗口中,将第一应用的界面所占据的区域划分为第一区域以及第二区域;对第一应用的界面进行缩小,得到第一应用的缩小后的界面;在第一区域中显示缩小后的界面,并在第二区域中显示第二应用的界面。In a possible implementation manner, the second display module is configured to: in the window, divide the area occupied by the interface of the first application into a first area and a second area; shrink the interface of the first application, The reduced interface of the first application is obtained; the reduced interface is displayed in the first area, and the interface of the second application is displayed in the second area.
在一种可能实现的方式中,该装置还包括:缩小模块,用于响应于对第二应用的界面的关闭操作,对放大后的窗口进行缩小,得到窗口;第三显示模块,用于在窗口中仅显示第一应用的界面。In a possible implementation manner, the device further includes: a shrinking module, configured to shrink the enlarged window to obtain the window in response to the closing operation on the interface of the second application; a third display module, configured to Only the interface of the first application is displayed in the window.
在一种可能实现的方式中,该装置还包括:放大模块,用于响应于对第二应用的界面的关闭操作,对缩小后的界面进行放大,得到第一应用的界面;第三显示模块,用于在第一区域以及第二区域所组成的区域中仅显示第一应用的界面。In a possible implementation manner, the device further includes: an enlargement module, configured to, in response to a closing operation on the interface of the second application, enlarge the reduced interface to obtain the interface of the first application; a third display module , for displaying only the interface of the first application in the area formed by the first area and the second area.
在一种可能实现的方式中,窗口还显示有针对第一应用的界面的卡片插入控件,该装置还包括:第四显示模块,用于响应于对卡片插入控件的打开操作,在窗口中显示多个应用,多个应用包含第二应用;第五显示模块,用于响应于在多个应用中对第二应用的查询操作,在窗口中显示第二应用的多个卡片,多个卡片用于展示第二应用的多个信息,多个卡片包含目标卡片;添加模块,用于响应于在多个卡片中对目标卡片的选择操作,在第一应用的界面中添加目标卡片。In a possible implementation manner, the window further displays a card insertion control for the interface of the first application, and the device further includes: a fourth display module, configured to display in the window a A plurality of applications, the plurality of applications including the second application; a fifth display module, configured to display a plurality of cards of the second application in a window in response to a query operation of the second application among the plurality of applications, and the plurality of cards are used for For displaying multiple pieces of information of the second application, the multiple cards include the target card; the adding module is configured to add the target card in the interface of the first application in response to a selection operation of the target card among the multiple cards.
在一种可能实现的方式中,目标卡片的数量为多个。In a possible implementation manner, there are multiple target cards.
本申请实施例的第三方面提供了一种应用程序的卡片更新装置,该装置包括存储器和处理器;存储器存储有代码,处理器被配置为执行代码,当代码被执行时,该装置执行如第一方面或第一方面中任意一种可能实现的方式所述的方法。The third aspect of the embodiment of the present application provides an application program card update device, the device includes a memory and a processor; the memory stores codes, the processor is configured to execute the codes, when the codes are executed, the device executes as The method described in the first aspect or any possible implementation manner in the first aspect.
本申请实施例的第四方面提供了一种计算机存储介质,计算机存储介质存储有一个或多个指令,指令在由一个或多个计算机执行时使得一个或多个计算机实施如第一方面或第一方面中任意一种可能实现的方式所述的方法。A fourth aspect of the embodiments of the present application provides a computer storage medium, where one or more instructions are stored in the computer storage medium, and when executed by one or more computers, the instructions enable one or more computers to implement the method described in the first aspect or the first aspect. The method described in any possible implementation manner in one aspect.
本申请实施例的第五方面提供了一种计算机程序产品,计算机程序产品存储有指令,指令在由计算机执行时,使得计算机实施如第一方面或第一方面中任意一种可能实现的方式所述的方法。A fifth aspect of the embodiments of the present application provides a computer program product. The computer program product stores instructions. When the instructions are executed by a computer, the computer implements the computer program described in the first aspect or in any possible implementation manner in the first aspect. described method.
本申请实施例中,在用户利用第一应用进行工作时,电子设备可为用户显示第一应用的窗口,其中,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。当用户需要仔细浏览第二应用的目标信息时,用户可在电子设备所显示的第一应用的窗口中,打开第二应用的目标卡片,故电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,故用户可浏览和使用第二应用的界面所包含的目标信息。前述过程中,用户可在工作的过程中,可通过第二应用的目标卡片,从第一应用得界面切换至第二应用的界面,由于电子设备可令第一应用的窗口同时显示有第一应用的界面以及第二应用的界面,故用户仅需操作第一应用的窗口,不需要操作多个应用的窗口,故可为用户带来工作效率上的提升。In the embodiment of the present application, when the user uses the first application to work, the electronic device can display the window of the first application for the user, wherein the window of the first application displays the interface of the first application, and the interface of the first application includes the first application interface. The target card of the second application, the target card of the second application is used to display the target information of the second application. When the user needs to carefully browse the target information of the second application, the user can open the target card of the second application in the window of the first application displayed on the electronic device, so the electronic device can respond to the user's opening operation of the target card, thereby The interface of the second application is displayed in the window of the first application, so the user can browse and use the target information contained in the interface of the second application. In the aforementioned process, the user can switch from the interface of the first application to the interface of the second application through the target card of the second application during the working process, because the electronic device can make the window of the first application display the first application at the same time. The interface of the application and the interface of the second application, so the user only needs to operate the window of the first application, and does not need to operate the windows of multiple applications, so the work efficiency can be improved for the user.
附图说明Description of drawings
图1为本申请实施例提供的用户使用电子设备的一个示意图;FIG. 1 is a schematic diagram of a user using an electronic device provided by an embodiment of the present application;
图2为本申请实施例提供的电子设备的一个结构示意图;FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图3为本申请实施例提供的应用程序的卡片打开方法的一个流程示意图;FIG. 3 is a schematic flowchart of a method for opening a card of an application program provided by an embodiment of the present application;
图4为本申请实施例提供的第一应用的窗口的一个示意图;Fig. 4 is a schematic diagram of the window of the first application provided by the embodiment of the present application;
图5为本申请实施例提供的多个应用的一个示意图;Fig. 5 is a schematic diagram of multiple applications provided by the embodiment of the present application;
图6为本申请实施例提供的多个卡片的一个示意图;Fig. 6 is a schematic diagram of multiple cards provided by the embodiment of the present application;
图7为本申请实施例提供的第一应用的界面的一个示意图;FIG. 7 is a schematic diagram of the interface of the first application provided by the embodiment of the present application;
图8为本申请实施例提供的第一应用的窗口的另一示意图;FIG. 8 is another schematic diagram of the window of the first application provided by the embodiment of the present application;
图9为本申请实施例提供的第一应用的窗口的另一示意图;FIG. 9 is another schematic diagram of the window of the first application provided by the embodiment of the present application;
图10为本申请实施例提供的第一应用的窗口的另一示意图;FIG. 10 is another schematic diagram of the window of the first application provided by the embodiment of the present application;
图11为本申请实施例提供的应用程序的卡片打开装置的一个结构示意图。Fig. 11 is a schematic structural diagram of the card opening device of the application program provided by the embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种应用程序的卡片打开方法及其相关设备,用户可通过卡片的方式在同一个窗口中使用不同的应用,从而为用户带来工作效率上的提升。The embodiment of the present application provides a method for opening an application card and its related equipment. A user can use a card to use different applications in the same window, thereby improving the work efficiency of the user.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, and this is merely a description of the manner in which objects with the same attribute are described in the embodiments of the present application. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, product, or apparatus comprising a series of elements is not necessarily limited to those elements, but may include elements not expressly included. Other elements listed explicitly or inherent to the process, method, product, or apparatus.
随着技术的快速发展,越来越多的用户使用电脑、平板等具备大屏幕的电子设备来完成工作,从而提高生产力和创造力。在工作过程中,用户往往使用多个应用来相互配合,故用户需要频繁地在多个应用的窗口之间进行来回切换,从而完成在各个应用内的工作。例如,在制作PPT时,需要通过浏览器从网络上查找图片、文本等资料,并将这些资料引入到PPT中等等。With the rapid development of technology, more and more users use computers, tablets and other electronic devices with large screens to complete their work, thereby improving productivity and creativity. During the work process, the user often uses multiple applications to cooperate with each other, so the user needs to frequently switch back and forth between the windows of the multiple applications, so as to complete the work in each application. For example, when making a PPT, it is necessary to search for pictures, texts and other materials from the Internet through a browser, and import these materials into the PPT and so on.
为了方便用户从某个应用中切换至另一个应用,可将另一个应用的信息以原数据数据链接的方式嵌入到该应用中,变成一张具有图标、表体以及图片等元素的卡片。具体地,某个应用被用户打开后,可显示该应用的窗口,该应用的窗口展示有该应用的界面,该应用的界面中包含另一个应用的卡片。那么,用户可点击该卡片,则会生成另一个应用的窗口。如此一来,用户可浏览另一个应用的窗口所显示的另一个应用的界面,从而使用另一个应用的信息。In order to make it easier for users to switch from one application to another, the information of another application can be embedded into the application in the form of original data data links, and become a card with elements such as icons, table bodies, and pictures. Specifically, after an application is opened by the user, a window of the application may be displayed, the window of the application displays an interface of the application, and the interface of the application includes a card of another application. Then, the user can click on the card and a window of another application will be generated. In this way, the user can browse the interface of another application displayed in the window of another application, so as to use the information of another application.
用户在工作的过程中,可通过卡片的方式从该应用的窗口切换至另一个应用的窗口,但本质上依旧是在操作这两个应用的窗口,对于需要跳转至另一个应用的用户而言,并不能带来工作效率的提升。During the work process, the user can switch from the window of this application to the window of another application through the card, but essentially they are still operating the windows of these two applications. For users who need to jump to another application In other words, it does not bring about the improvement of work efficiency.
进一步地,当用户需要对该卡片的内容进行更新时,往往需要在另一个应用的窗口中对该卡片的内容进行编辑,在编辑过程中,用户可能会从另一个应用的窗口切换回该应用的窗口中,观察该卡片的内容是否适应性地更新。由此可见,对于正在更新卡片的用户而言,也无法带来工作效率的提升,尤其是需要在两个应用的窗口之间来回切换的时候。Furthermore, when the user needs to update the content of the card, it is often necessary to edit the content of the card in another application window. During the editing process, the user may switch back to the application from another application window In the window, observe whether the content of the card is adaptively updated. It can be seen that for the user who is updating the card, the work efficiency cannot be improved, especially when it is necessary to switch back and forth between the windows of the two applications.
更进一步地,不同应用之间的卡片调用形式依赖于应用之间的定制化的研发,无法重复利用,缺少可拓展且通用的应用协作渠道,增加了研发成本。Furthermore, the form of calling cards between different applications depends on the customized research and development between applications, which cannot be reused, and lacks an expandable and universal application collaboration channel, which increases the cost of research and development.
为了解决上述问题,本申请实施例提供了一种应用程序的卡片打开方法,该方法可通过电子设备实现,如图1所示(图1为本申请实施例提供的用户使用电子设备的一个示意图),该电子设备可以为用户所使用的个人电脑(personal computer,PC)、笔记本、智能手机以及平板等智能设备。In order to solve the above problems, the embodiment of the present application provides a method for opening a card of an application program, which can be implemented by an electronic device, as shown in Figure 1 (Figure 1 is a schematic diagram of a user using an electronic device provided in the embodiment of the present application ), the electronic device may be a smart device such as a personal computer (personal computer, PC), a notebook, a smart phone, and a tablet used by the user.
为了便于了解用户所使用的电子设备,下文结合图2对电子设备作进一步的介绍(图2为本申请实施例提供的电子设备的一个结构示意图)。如图2所示,电子设备200包括:应用处理器201、微控制器单元(microcontroller unit,MCU)203、存储器205、调制解调器(modem)207、射频(radio frequency,RF)模块209、无线保真(Wireless-Fidelity,简称Wi-Fi)模块211、蓝牙模块213、传感器214、定位模块250、输入/输出(input/output,I/O)设备225等部件。这些部件可通过一根或多根通信总线或信号线进行通信。本领域技术人员可以理解,图2中示出的硬件结构并不构成对电子设备的限定,电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。In order to facilitate the understanding of the electronic equipment used by the user, the electronic equipment will be further introduced below with reference to FIG. 2 (FIG. 2 is a schematic structural diagram of the electronic equipment provided by the embodiment of the present application). As shown in FIG. 2 , the electronic device 200 includes: an
下面结合图2对电子设备200的各个部件进行具体的介绍:Each component of the electronic device 200 is specifically introduced below in conjunction with FIG. 2 :
应用处理器201是电子设备200的控制中心,利用各种接口和总线连接电子设备200的各个部件。在一些实施例中,处理器201可包括一个或多个处理单元。The
存储器205中存储有计算机程序,诸如图2所示的操作系统261和应用程序263。应用处理器201被配置用于执行存储器205中的计算机程序,从而实现该计算机程序定义的功能,例如应用处理器201执行操作系统261从而在电子设备200上实现操作系统的各种功能。存储器205还存储有除计算机程序之外的其他数据,诸如操作系统261和应用程序263运行过程中产生的数据。存储器205为非易失性存储介质,一般包括内存和外存。内存包括但不限于随机存取存储器(Random Access Memory,RAM),只读存储器(Read-Only Memory,ROM),或高速缓存(cache)等。外存包括但不限于闪存(flash memory)、硬盘、光盘、通用串行总线(universal serial bus,USB)盘等。计算机程序通常被存储在外存上,处理器在执行计算机程序前会将该程序从外存加载到内存。Computer programs such as the operating system 261 and application programs 263 shown in FIG. 2 are stored in the
存储器205可以是独立的,通过总线与应用处理器201相连接;存储器205也可以和应用处理器201集成到一个芯片子系统。The
MCU 203是用于获取并处理来自传感器214的数据的协处理器,MCU203的处理能力和功耗小于应用处理器201,但具有“永久开启(always on)”的特点,可以在应用处理器201处于休眠模式时持续收集以及处理传感器数据,以极低的功耗保障传感器的正常运行。在一个实施例中,MCU203可以为sensor hub芯片。传感器214可以包括光传感器、运动传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示器251的亮度,接近传感器可在电子设备200移动到耳边时,关闭显示屏的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向;传感器214还可以包括陀螺仪、气压计、湿度计、温度计、红外线传感器等其它传感器,在此不再赘述。MCU203和传感器214可以集成到同一块芯片上,也可以是分离的元件,通过总线连接。The
Modem 207以及射频模块209构成了电子设备200通信子系统,用于实现3GPP、ETSI等无线通信标准协议的主要功能。其中,Modem 207用于编解码、信号的调制解调、均衡等。射频模块209用于无线信号的接收和发送,射频模块209包括但不限于天线、至少一个放大器、耦合器、双工器等。射频模块209配合Modem207实现无线通信功能。Modem207可以作为单独的芯片,也可以与其他芯片或电路在一起形成系统级芯片或集成电路。这些芯片或集成电路可应用于所有实现无线通信功能的电子设备,包括:手机、电脑、笔记本、平板、路由器、可穿戴设备、汽车、家电设备等。The
电子设备200还可以使用Wi-Fi模块211,蓝牙模块213等来进行无线通信。Wi-Fi模块211用于为电子设备200提供遵循Wi-Fi相关标准协议的网络接入,电子设备200可以通过Wi-Fi模块211接入到Wi-Fi接入点,进而访问互联网。在其他一些实施例中,Wi-Fi模块211也可以作为Wi-Fi无线接入点,可以为其他电子设备提供Wi-Fi网络接入。蓝牙模块213用于实现电子设备200与其他电子设备(例如手机、智能手表等)之间的短距离通信。本申请实施例中的Wi-Fi模块211可以是集成电路或Wi-Fi芯片等,蓝牙模块213可以是集成电路或者蓝牙芯片等。The electronic device 200 can also use the Wi-
定位模块250用于确定电子设备200的地理位置。可以理解的是,定位模块250具体可以是全球定位系统(global position system,GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。The
Wi-Fi模块211,蓝牙模块213和定位模块250分别可以是单独的芯片或集成电路,也可以集成到一起。例如,在一个实施例中,Wi-Fi模块211,蓝牙模块213和定位模块250可以集成到同一芯片上。在另一个实施例中,Wi-Fi模块211,蓝牙模块213、定位模块250以及MCU 203也可以集成到同一芯片中。The Wi-
输入/输出设备225包括但不限于:显示器251、触摸屏253,以及音频电路255等等。The input/
其中,触摸屏253可采集电子设备200的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触摸屏253上或在触控屏触摸屏253附近的操作),并将采集到的触摸事件发送给其他器件(例如应用处理器201)。其中,用户在触摸屏253附近的操作可以称之为悬浮触控;通过悬浮触控,用户可以在不直接接触触摸屏253的情况下选择、移动或拖动目标(例如图标等)。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触摸屏253。Wherein, the
显示器(也称为显示屏)251用于显示用户输入的信息或展示给用户的信息。可以采用液晶显示屏、有机发光二极管等形式来配置显示器。触摸屏253可以覆盖在显示器251之上,当触摸屏253检测到触摸事件后,传送给应用处理器201以确定触摸事件的类型,随后应用处理器201可以根据触摸事件的类型在显示器251上提供相应的视觉输出。虽然在图2中,触摸屏253与显示器251是作为两个独立的部件来实现电子设备200的输入和输出功能,但是在某些实施例中,可以将触摸屏253与显示器251集成而实现电子设备200的输入和输出功能。另外,触摸屏253和显示器251可以以全面板的形式配置在电子设备200的正面,以实现无边框的结构。The display (also referred to as a display screen) 251 is used to display information input by the user or information presented to the user. The display may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The
音频电路255、扬声器226、麦克风217可提供用户与电子设备200之间的音频接口。音频电路255可将接收到的音频数据转换后的电信号,传输到扬声器226,由扬声器226转换为声音信号输出;另一方面,麦克风217将收集的声音信号转换为电信号,由音频电路255接收后转换为音频数据,再通过Modem207和射频模块209将音频数据发送给比如另一电子设备,或者将音频数据输出至存储器205以便进一步处理。
另外,电子设备200还可以具有指纹识别功能。例如,可以在电子设备200的背面(例如后置摄像头的下方)配置指纹采集器件,或者在电子设备200的正面(例如触摸屏253的下方)配置指纹采集器件。又例如,可以在触摸屏253中配置指纹采集器件来实现指纹识别功能,即指纹采集器件可以与触摸屏253集成在一起来实现电子设备200的指纹识别功能。在这种情况下,该指纹采集器件配置在触摸屏253中,可以是触摸屏253的一部分,也可以以其他方式配置在触摸屏253中。本申请实施例中的指纹采集器件的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。In addition, the electronic device 200 may also have a fingerprint recognition function. For example, a fingerprint collection device may be configured on the back of the electronic device 200 (for example, under the rear camera), or a fingerprint collection device may be configured on the front of the electronic device 200 (for example, under the touch screen 253 ). For another example, a fingerprint collection device can be configured in the
进一步地,电子设备200搭载的操作系统261可以为或者其它操作系统,本申请实施例对此不作任何限制。Further, the operating system 261 carried by the electronic device 200 may be Or other operating systems, which are not limited in this embodiment of the present application.
以搭载操作系统的电子设备200为例,如图2所示,电子设备200从逻辑上可划分为硬件层、操作系统261,以及应用层。硬件层包括如上的硬件处理器201、微控制器单元205、Modem 207、Wi-Fi模块211、传感器214、定位模块250等硬件资源。应用层包括一个或多个应用程序,比如应用程序263,应用程序263可以为社交类应用、电子商务类应用、浏览器等任意类型的应用程序。操作系统261作为硬件层和应用层之间的软件中间件,是管理和控制硬件与软件资源的计算机程序。to carry An electronic device 200 with an operating system is taken as an example. As shown in FIG. 2 , the electronic device 200 can be logically divided into a hardware layer, an operating system 261 , and an application layer. The hardware layer includes the above hardware resources such as the
在一个实施例中,操作系统261包括内核,硬件抽象层(hardware abstractionlayer,HAL)、库和运行时(librariesand runtime)以及框架(framework)。其中,内核用于提供底层系统组件和服务,例如:电源管理、内存管理、线程管理、硬件驱动程序等;硬件驱动程序包括Wi-Fi驱动、传感器驱动、定位模块驱动等。硬件抽象层是对内核驱动程序的封装,向框架提供接口,屏蔽低层的实现细节。硬件抽象层25运行在用户空间,而内核驱动程序运行在内核空间。In one embodiment, the operating system 261 includes a kernel, a hardware abstraction layer (hardware abstraction layer, HAL), libraries and runtime (libraries and runtime), and a framework (framework). Among them, the kernel is used to provide underlying system components and services, such as: power management, memory management, thread management, hardware drivers, etc.; hardware drivers include Wi-Fi drivers, sensor drivers, positioning module drivers, etc. The hardware abstraction layer is the encapsulation of the kernel driver, provides an interface to the framework, and shields the implementation details of the low layer. The hardware abstraction layer 25 runs in user space, while the kernel driver runs in kernel space.
库和运行时也叫做运行时库,它为可执行程序在运行时提供所需要的库文件和执行环境。在一个实施例中,库与运行时包括安卓运行时(Android Runtime,ART),库,以及场景包运行时。ART是能够把应用程序的字节码转换为机器码的虚拟机或虚拟机实例。库是为可执行程序在运行时提供支持的程序库,包括浏览器引擎(比如webkit)、脚本执行引擎(比如JavaScript引擎)、图形处理引擎等。场景包运行时是场景包的运行环境,主要包括页面执行环境(page context)和脚本执行环境(script context),其中,页面执行环境通过调用相应的库解析html、css等格式的页面代码,脚本执行环境通过调用相应的功能库解析执行JavaScript等脚本语言实现的代码或可执行文件。Libraries and runtimes are also called runtime libraries, which provide the required library files and execution environment for executable programs at runtime. In one embodiment, the library and runtime include Android Runtime (Android Runtime, ART), library, and scene package runtime. ART is a virtual machine or virtual machine instance that converts an application's bytecode into machine code. A library is a program library that provides support for an executable program at runtime, including a browser engine (such as webkit), a script execution engine (such as a JavaScript engine), a graphics processing engine, and the like. The scene package runtime is the running environment of the scene package, mainly including the page execution environment (page context) and the script execution environment (script context). The execution environment parses and executes codes or executable files implemented by scripting languages such as JavaScript by calling corresponding function libraries.
框架用于为应用层中的各个应用程序提供各种基础的公共组件和服务,比如,窗口管理、位置管理等等。在一个实施例中,框架可包括地理围栏服务,策略服务,通知管理器等等。The framework is used to provide various basic public components and services for each application in the application layer, such as window management, location management, and so on. In one embodiment, the framework may include geofence services, policy services, notification managers, and the like.
以上描述的操作系统261的各个组件的功能均可以由应用处理器201执行存储器205中存储的程序来实现。The functions of each component of the operating system 261 described above can be implemented by the
为了了解上述电子设备执行本申请实施例提供的应用程序的卡片打开方法的具体过程,下文结合图3对该过程进行介绍。图3为本申请实施例提供的应用程序的卡片打开方法的一个流程示意图,如图3所示,该方法包括:In order to understand the specific process of the above-mentioned electronic device executing the card opening method of the application program provided by the embodiment of the present application, the process will be introduced below with reference to FIG. 3 . Fig. 3 is a schematic flow chart of the application card opening method provided by the embodiment of the present application. As shown in Fig. 3, the method includes:
301、显示第一应用的窗口,窗口显示有第一应用的界面。301. Display a window of a first application, where the window displays an interface of the first application.
本实施例中,当用户需要使用第一应用时,用户可在电子设备所显示的系统桌面中,打开第一应用。接收到用户对第一应用的打开操作后,电子设备可响应用户对第一应用的打开操作,从而显示第一应用的窗口,第一应用的窗口显示有第一应用的界面。In this embodiment, when the user needs to use the first application, the user can open the first application on the system desktop displayed on the electronic device. After receiving the user's opening operation of the first application, the electronic device may respond to the user's opening operation of the first application, thereby displaying a window of the first application, and the window of the first application displays an interface of the first application.
例如,如图4所示(图4为本申请实施例提供的第一应用的窗口的一个示意图),设用户在电脑上点击了邮箱这一应用,电脑将响应该操作,从而显示邮箱的窗口,且该窗口显示有邮箱的界面,该界面所展示的内容为用户准备撰写的一封邮件。For example, as shown in Figure 4 (Figure 4 is a schematic diagram of the window of the first application provided by the embodiment of the present application), if the user clicks the application of the mailbox on the computer, the computer will respond to the operation, thereby displaying the window of the mailbox , and the window displays an interface with a mailbox, and the content displayed on the interface is an email that the user is about to compose.
302、响应于对卡片插入控件的打开操作,在窗口中显示多个应用,多个应用包含第二应用。302. In response to an operation of opening the card insertion control, display multiple applications in a window, where the multiple applications include a second application.
电子设备为用户提供第一应用的窗口后,由于第一应用的窗口集成有卡片插入控件、缩小至任务栏控件、全屏显示/窗口化控件以及关闭控件,当用户需要在第一应用的界面中插入卡片时,可在电子设备所显示的第一应用的窗口中,打开卡片插入控件。接收到用户对卡片插入控件的打开操作后,电子设备可响应用户对卡片插入控件的打开操作,从而在第一应用的窗口中显示可供用户选择的多个应用。After the electronic device provides the user with the window of the first application, since the window of the first application is integrated with a card insertion control, a control for shrinking to the taskbar, a full-screen display/window control, and a close control, when the user needs to view the first application in the interface When inserting the card, the card insertion control can be opened in the window of the first application displayed on the electronic device. After receiving the user's opening operation of the card insertion control, the electronic device may respond to the user's opening operation of the card insertion control, thereby displaying multiple applications available for selection by the user in the window of the first application.
需要说明的是,这多个应用通常是能够为第一应用提供卡片支持的应用,且这多个应用是与第一应用在功能上相关联的应用。这多个应用通常由开发人员按照预置的规则和需求(例如,用户常见的工作流程、应用功能之间的配合关系等等)来选定,且这多个应用通常以应用列表的形式集成在第一应用的窗口中的卡片插入控件中,一旦用户打开卡片插入控件,电子设备则会按照应用列表的形式将这多个应用呈现在第一应用的窗口中(通常显示在卡片插入控件的附近处)。It should be noted that these multiple applications are generally applications capable of providing card support for the first application, and these multiple applications are functionally associated with the first application. These multiple applications are usually selected by developers according to preset rules and requirements (for example, common user workflows, cooperation between application functions, etc.), and these multiple applications are usually integrated in the form of an application list In the card insertion control in the window of the first application, once the user opens the card insertion control, the electronic device will present the multiple applications in the window of the first application in the form of an application list (usually displayed in the card insertion control nearby).
例如,如图5所示(图5为本申请实施例提供的多个应用的一个示意图),邮箱的窗口的右上角设置有卡片插入控件、缩小至任务栏控件、全屏显示/窗口化控件以及关闭控件,其中,卡片插入控件以关闭着的门的形状呈现在邮箱的窗口的右上角。用户将鼠标移动到卡片插入控件后,卡片插入控件被选中,电脑将响应该操作,将卡片插入控件以稍微打开着的门的形状进行呈现。接着,用户可点击卡片插入控件,电脑将响应该操作,将卡片插入控件以完全打开的门的形状进行呈现,并在卡片插入控件附近显示一个应用列表,该应用列表包含能够为邮箱提供卡片支持的各种应用,这些应用与邮箱通常在功能上是相关联的,例如,这些应用可以包含日历、相册、地图、即时通讯类软件、备忘录/笔记、短信、office类办公套件以及视频会议软件等等。For example, as shown in Figure 5 (Figure 5 is a schematic diagram of multiple applications provided by the embodiment of the present application), the upper right corner of the window of the mailbox is provided with a card insertion control, a zoom-out to taskbar control, a full-screen display/windowed control, and A close control, where the card insertion control appears in the upper right corner of the mailbox's window in the shape of a closed door. After the user moves the mouse to the card insertion control, the card insertion control is selected, and the computer responds to the operation by presenting the card insertion control in the shape of a slightly opened door. The user can then click on the card insertion control, and the computer responds by rendering the card insertion control in the shape of a fully open door and displaying a list of apps near the card insertion control that includes These applications are usually functionally related to mailboxes. For example, these applications can include calendars, photo albums, maps, instant messaging software, memos/notes, text messages, office suites, and video conferencing software, etc. wait.
303、响应于在多个应用中对第二应用的查询操作,在窗口中显示第二应用的多个卡片,多个卡片用于展示第二应用的多个信息,多个卡片包含目标卡片,目标卡片用于展示第二应用的目标信息。303. In response to the query operation of the second application among the multiple applications, display multiple cards of the second application in the window, the multiple cards are used to display multiple information of the second application, and the multiple cards include the target card, The goal card is used to display the goal information of the second application.
电子设备为用户提供多个应用后,用户浏览这多个应用,并确定多个应用中的第二应用为其所需的应用后,可在电子设备所显示的多个应用中,查询第二应用所能提供的卡片。接收到用户对第二应用的查询操作后,电子设备可响应用户对第二应用的查询操作,从而在第一应用的窗口中显示可供用户选择的第二应用的多个卡片。After the electronic device provides the user with multiple applications, the user browses the multiple applications and determines that the second application among the multiple applications is the application he needs, and can query the second application among the multiple applications displayed on the electronic device. The cards available from the app. After receiving the user's query operation on the second application, the electronic device may respond to the user's query operation on the second application, thereby displaying multiple cards of the second application that can be selected by the user in the window of the first application.
需要说明的是,在第二应用的多个卡片中,第二应用的一个卡片可用于展示第二应用的一个信息(也可以成为功能或服务)。第二应用为第一应用所能提供的多个卡片,通常是由开发人员按照预置的规则和需求(例如,用户常见的工作流程、应用功能之间的配合关系等等)所选定的,且这多个卡片通常以卡片列表集成在应用列表的第二应用中,一旦用户打开应用列表并选中第二应用,电子设备则会按照卡片列表的形式将第二应用的多个卡片呈现在第一应用的窗口中(通常显示在第二应用的附近处)。It should be noted that among the multiple cards of the second application, one card of the second application may be used to display one piece of information (also may be a function or service) of the second application. The second application is the multiple cards that the first application can provide, and is usually selected by the developer according to preset rules and requirements (for example, the user's common workflow, the cooperation relationship between application functions, etc.) , and the multiple cards are usually integrated in the second application in the application list as a card list. Once the user opens the application list and selects the second application, the electronic device will present multiple cards of the second application in the form of a card list. In the window of the first application (usually displayed near the second application).
例如,如图6所示(图6为本申请实施例提供的多个卡片的一个示意图),电脑显示一个应用列表后,用户可浏览该应用列表中的各个应用,在确定应用列表中的日历为自身所需的应用后,用户可将用鼠标选中列表中的日历,以查询日历所能提供的卡片,电脑将响应该操作,可在列表的日历附近处显示一个卡片列表,该卡片列表包含日历所能提供的各个卡片,例如,这些卡片可以包含下一待办事项卡片、本周日程安排卡片和当天日程安排卡片等等,其中,下一待办事项卡片用于展示用户的下一个待办事项(比如,该事项可以是用户在日历中所创建的与当前时间最接近的一个待办事项,在这种情况下,下一待办事项卡片所展示的就是这个待办事项,若用户未创建任何待办事项,该事项则不存在,在这种情况下,下一待办事项卡片所展示的就是空白信息),本周日程安排卡片用于展示用户本周的日程安排(比如,用户在日历中未创建本周的任何日程安排,在这种情况下,本周日程安排卡片所展示的就是空白信息),当天日程安排卡片用于展示用户当天的日程安排。For example, as shown in Figure 6 (Figure 6 is a schematic diagram of multiple cards provided by the embodiment of the present application), after the computer displays an application list, the user can browse each application in the application list, and determine the calendar in the application list After applying the desired application, the user can use the mouse to select the calendar in the list to inquire about the cards that the calendar can provide. The computer will respond to this operation and display a card list near the calendar in the list. The card list contains Each card that the calendar can provide, for example, these cards can include the next to-do card, this week's schedule card and today's schedule card, etc., where the next to-do card is used to display the user's next to-do To-do items (for example, the item can be a to-do item created by the user in the calendar that is closest to the current time. In this case, the next to-do item card will display this to-do item. If the user If no to-do item has been created, the item does not exist. In this case, the next to-do item card displays blank information), and this week's schedule card is used to display the user's schedule for this week (for example, The user has not created any schedule for this week in the calendar, in this case, the schedule card for this week shows blank information), and the schedule card for the current day is used to display the user's schedule for the day.
304、响应于在多个卡片中对目标卡片的选择操作,在第一应用的界面中添加目标卡片。304. In response to the selection operation of the target card among the multiple cards, add the target card in the interface of the first application.
电子设备为用户提供第二应用的多个卡片后,用户浏览这多个卡片,并确定多个卡片中的目标卡片为其所需的卡片后,可在电子设备所显示的第二应用的多个卡片中,选择第二应用的目标卡片。接收到用户对第二应用的目标卡片的选择操作后,电子设备可响应用户对第二应用的目标卡片的选择操作,从而在在第一应用的界面中添加目标卡片。至此,第一应用的界面不仅显示有第一应用自身的信息,还显示有目标卡片,由于目标卡片用于展示第二应用的目标信息,相当于第一应用的界面还显示有第二应用的目标信息。After the electronic device provides the user with a plurality of cards of the second application, the user browses the plurality of cards and determines that the target card among the plurality of cards is the desired card, and then the user can view the plurality of cards of the second application displayed on the electronic device. In Cards, select the target card for the second app. After receiving the user's selection operation of the target card of the second application, the electronic device may respond to the user's selection operation of the target card of the second application, thereby adding the target card in the interface of the first application. So far, the interface of the first application not only displays the information of the first application itself, but also displays the goal card. Since the goal card is used to display the goal information of the second application, it is equivalent to displaying the information of the second application on the interface of the first application. target information.
例如,如图7所示(图7为本申请实施例提供的第一应用的界面的一个示意图),电脑显示日历的卡片列表后,用户可浏览该卡片列表中的各个卡片,在确定卡片列表中的下一待办事项卡片为自身所需的卡片后,用户可将用鼠标点击列表中的下一待办事项卡片,电脑将响应该操作,可将下一待办事项卡片插入邮箱的界面中,如此一来,该界面所展示的内容不进包含用户在撰写的一封邮件,且包含下一待办事项卡片,设下一待办事项卡片所展示的是空白信息,故用户还需要更新(编辑)该卡片中的信息。For example, as shown in Figure 7 (Figure 7 is a schematic diagram of the interface of the first application provided by the embodiment of the present application), after the computer displays the card list of the calendar, the user can browse each card in the card list, and after confirming the card list After the next to-do item card in the list is the card you need, the user can click the next to-do item card in the list with the mouse, and the computer will respond to this operation, and the next to-do item card can be inserted into the interface of the mailbox In this way, the content displayed on this interface does not include an email that the user is writing, but also includes the next to-do item card. If the next to-do item card displays blank information, the user also needs to Update (edit) the information in this card.
305、响应于在第一应用的界面中对目标卡片的打开操作,在窗口中显示第二应用的界面,第二应用的界面包含目标信息。305. In response to the opening operation of the target card in the interface of the first application, display the interface of the second application in the window, where the interface of the second application includes the target information.
电子设备为用户提供目标卡片后,用户可预览目标卡片所展示的第二应用的目标信息,若用户需要对目标卡片所展示的目标信息进行更新(编辑),可在电子设备所显示的第一应用的界面中,打开目标卡片。接收到用户对目标卡片的打开操作后,电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面(也可以称为目标卡片的编辑界面),第二应用的界面包含第二应用的目标信息,且第二应用的界面是一个可供用户进行信息更新的界面。After the electronic device provides the target card for the user, the user can preview the target information of the second application displayed on the target card, and if the user needs to update (edit) the target information displayed on the target card, the first application displayed on the electronic device can In the app's interface, open the Goals card. After receiving the user's opening operation on the target card, the electronic device may respond to the user's opening operation on the target card, thereby displaying the interface of the second application (also called the editing interface of the target card) in the window of the first application. The interface of the second application includes the target information of the second application, and the interface of the second application is an interface for the user to update information.
需要说明的是,此时第一应用的窗口中不仅显示有第一应用的界面(包含第二应用的目标卡片),还显示有第二应用的界面(来源于第二应用的目标卡片),两个界面拼接显示于第一应用的窗口中(两个界面既可以在同一图层上显示,也可以在不同图层上显示,此处不做限制),各自占据该窗口中一定的区域,且两个界面之间相隔一定的距离。It should be noted that at this time, the window of the first application not only displays the interface of the first application (including the target card of the second application), but also displays the interface of the second application (derived from the target card of the second application), The two interfaces are spliced and displayed in the window of the first application (the two interfaces can be displayed on the same layer or on different layers, there is no limitation here), each occupying a certain area in the window, And there is a certain distance between the two interfaces.
具体地,电子设备可通过多种方式在第一应用的窗口中显示第二应用的界面:Specifically, the electronic device may display the interface of the second application in the window of the first application in various ways:
(1)若第一应用的窗口为非全屏显示,电子设备可对第一应用的窗口进行放大,得到第一应用的放大后的窗口,需要说明的是,第一应用的放大后的窗口比第一应用(原先)的窗口新增了一部分区域(新增的区域的大小可根据实际需求进行设置,此处不做限制)。那么,第一应用的放大后的窗口可分为两部分,一部分为其原先具有的区域,一部分为新增的区域,电子设备可在原先具有的区域中依旧显示第一应用的界面(保持原先的大小不变),并同时在新增的区域中显示第二应用的界面。(1) If the window of the first application is displayed in a non-full screen, the electronic device may enlarge the window of the first application to obtain the enlarged window of the first application. It should be noted that the enlarged window of the first application is larger than A part of the area is newly added to the window of the first application (originally) (the size of the newly added area can be set according to actual needs, and there is no limitation here). Then, the enlarged window of the first application can be divided into two parts, one part is the original area, and the other is the newly added area, and the electronic device can still display the interface of the first application in the original area (keep the original size remains unchanged), and at the same time display the interface of the second application in the newly added area.
例如,如图8所示(图8为本申请实施例提供的第一应用的窗口的另一示意图),当用户需要对下一待办事项卡片所展示的信息进行更新时,可在邮箱的界面中点击下一待办事项卡片,电脑将响应该操作,先判断邮箱的窗口是否为全屏显示,若邮箱的窗口为非全屏显示,说明电脑的屏幕还有多余的区域来显示下一待办事项卡片的编辑界面,故电脑可将邮箱的窗口向右延伸(当然,也可以是向左、向上或向下等方向进行延伸,既可以改变窗口的长度,也可以改变窗口的宽度,还可以二者均改变),从而放大窗口的面积,得到邮箱的放大后的窗口,需要说明的是,在放大的过程中,原先窗口中的顶部状态栏和底部状态栏随着窗口的放大而同步放大,顶部状态栏中关闭控件、卡片插入控件等控件的位置也随着顶部状态栏的放大而发生位置变化,始终位于顶部状态栏的右侧边缘。那么,在放大后的窗口中,电脑可原先的区域中依旧显示邮箱的界面,在新增的区域中显示下一待办事项卡片的编辑界面。For example, as shown in FIG. 8 (FIG. 8 is another schematic diagram of the window of the first application provided by the embodiment of the present application), when the user needs to update the information displayed on the next to-do card, he can click on the Click the next to-do item card in the interface, and the computer will respond to the operation. First, judge whether the mailbox window is displayed in full screen. If the mailbox window is not displayed in full screen, it means that there is still extra area on the computer screen to display the next to-do item. Item card editing interface, so the computer can extend the window of the mailbox to the right (of course, it can also be extended to the left, up or down, etc., you can change the length of the window, you can also change the width of the window, you can also Both are changed), so as to enlarge the area of the window and obtain the enlarged window of the mailbox. It should be noted that during the enlargement process, the top status bar and the bottom status bar in the original window are enlarged synchronously with the enlargement of the window , the position of the close control, card insertion control and other controls in the top status bar also changes with the enlargement of the top status bar, and is always located at the right edge of the top status bar. Then, in the enlarged window, the computer can still display the mailbox interface in the original area, and display the editing interface of the next to-do item card in the newly added area.
(2)若第一应用的窗口为全屏显示,电子设备可在第一应用的窗口中,将第一应用的界面原先所占据的区域划分为两部分,其中一部分区域称为第一区域,另一部分区域称为第二区域。接着,电子设备可对第一应用的界面进行缩小,从而得到第一应用的缩小后的界面,第一应用的缩小后的界面的大小通常与第一区域的大小相适应(对于第一应用(原先)的界面中的文字、图片等所有信息,电子设备通常需要对这些信息重新进行排版,以呈现在第一应用的缩小后的界面中)。然后,电子设备可在第一区域中显示第一应用的缩小后的界面,并同时在第二区域中显示第二应用的界面。(2) If the window of the first application is displayed in full screen, the electronic device may divide the area originally occupied by the interface of the first application into two parts in the window of the first application, one of which is called the first area, and the other A part of the area is called the second area. Next, the electronic device can shrink the interface of the first application to obtain the reduced interface of the first application, and the size of the reduced interface of the first application usually adapts to the size of the first area (for the first application ( All information such as text and pictures in the original interface, the electronic device usually needs to re-typeset the information to present it in the reduced interface of the first application). Then, the electronic device may display the reduced interface of the first application in the first area, and simultaneously display the interface of the second application in the second area.
例如,如图9所示(图9为本申请实施例提供的第一应用的窗口的另一示意图),当用户需要对下一待办事项卡片所展示的信息进行更新时,可在邮箱的界面中点击下一待办事项卡片,电脑将响应该操作,先判断邮箱的窗口是否为全屏显示,若邮箱的窗口为全屏显示,说明电脑的屏幕没有多余的区域来显示下一待办事项卡片的编辑界面,故电脑可邮箱的界面向左缩小(当然,也可以向右、向上或向下等等方向进行缩小,既可以缩小界面的长度,也可以缩小界面的宽度,也可以两者均缩小),从而得到邮箱的缩小后的界面(由于界面的面积变小,界面中的内容需重新进行排布),缩小后的界面在邮箱的窗口中所占据的区域(即前述的第一区域)变小了,故邮箱的窗口将腾出一部分空余的区域(即前述的第二区域),那么,电脑可以在腾出的区域中显示下一待办事项卡片的编辑界面。For example, as shown in FIG. 9 (FIG. 9 is another schematic diagram of the window of the first application provided by the embodiment of the present application), when the user needs to update the information displayed on the next to-do card, he can click on the Click the next to-do item card in the interface, and the computer will respond to the operation. First, judge whether the mailbox window is displayed in full screen. If the mailbox window is displayed in full screen, it means that there is no extra area on the computer screen to display the next to-do item card. Therefore, the computer can reduce the mailbox interface to the left (of course, it can also be reduced to the right, upward or downward, etc., which can reduce the length of the interface, reduce the width of the interface, or both shrink), so as to obtain the reduced interface of the mailbox (because the area of the interface becomes smaller, the content in the interface needs to be rearranged), the area occupied by the reduced interface in the window of the mailbox (that is, the aforementioned first area ) becomes smaller, so the window of the mailbox will vacate a part of vacant area (ie the aforementioned second area), then, the computer can display the editing interface of the next to-do item card in the vacated area.
306、响应于在第二应用的界面中对目标信息的更新操作,对目标卡片所展示的目标信息进行更新,得到第二应用的更新后的目标卡片,更新后的目标卡片用于展示第二应用的更新后的目标信息。306. In response to the update operation of the target information in the interface of the second application, update the target information displayed on the target card to obtain an updated target card of the second application, and the updated target card is used to display the second target card. The updated target information for the app.
电子设备为用户提供第二应用的界面后,用户可在电子设备所显示的第二应用的界面中,对第二应用的目标信息进行更新,以使得第二应用的界面显示出第二应用的更新后的目标信息。接收到用户对目标信息的更新操作后,电子设备可响应用户对目标信息的更新操作,从而在第一应用的界面中(或在第一应用的缩小后的界面中)适应性地更新目标卡片所展示的目标信息,从而得到第二应用的更新后的目标卡片。那么,在第一应用的界面中(或在第一应用的缩小后的界面中),更新后的目标卡片可用于展示第二应用的更新后的目标信息。至此,用户则成功对目标卡片所展示的内容进行了更新。After the electronic device provides the user with the interface of the second application, the user can update the target information of the second application in the interface of the second application displayed on the electronic device, so that the interface of the second application displays the target information of the second application. Updated target information. After receiving the user's update operation on the target information, the electronic device can respond to the user's update operation on the target information, thereby adaptively updating the target card in the interface of the first application (or in the reduced interface of the first application) The displayed target information is used to obtain the updated target card of the second application. Then, in the interface of the first application (or in the reduced interface of the first application), the updated target card can be used to display the updated target information of the second application. So far, the user has successfully updated the content displayed on the target card.
例如,依旧如图8所示的例子,用户在下一待办事项卡片的编辑界面中,由于原先该界面为空白信息,即用户不存在待办事项,那么,用户可在该界面输入自身的某个待办事项,那么,电脑可将该待办事项同步更新到邮箱界面的下一待办事项卡片中。那么,在邮箱的界面中,更新后的下一待办事项卡片则显示有用户的该该待办事项。需要说明的是,该待办事项的输入与该待办事项在下一待办事项卡片中的更新是实时同步,那么,在用户的视觉上,可呈现出一种边输入边更新卡片的效果。当然,也可以在用户完成该待办事项的输入后,电脑再一次性将该待办事项更新到卡片中。For example, as in the example shown in Figure 8, when the user is in the editing interface of the next to-do item card, since the original interface is blank information, that is, the user does not have a to-do item, then the user can input some of his own information in this interface. If there is a to-do item, then the computer can synchronously update the to-do item to the next to-do item card on the mailbox interface. Then, in the mailbox interface, the updated next to-do item card displays the user's to-do item. It should be noted that the input of the to-do item and the update of the to-do item in the next to-do item card are synchronized in real time, so, in the user's vision, an effect of updating the card while inputting can be presented. Certainly, after the user finishes inputting the to-do item, the computer may update the to-do item to the card once again.
307、响应于对第二应用的界面的关闭操作,在第一应用的窗口中仅显示第一应用的界面。307. In response to the closing operation on the interface of the second application, display only the interface of the first application in the window of the first application.
对第二应用的目标卡片进行更新后,用户可在第一应用的窗口中(或在第一应用的放大后的界面中),关闭第二应用的界面。接收到用户对第二应用的界面的关闭操作后,电子设备可响应用户对第二应用的界面的关闭操作,从而在实现以下两种情况中的任意一种:(1)电子设备对第一应用的放大后的窗口进行缩小,得到第一应用(原先)的窗口,其中,窗口缩小的过程与前述窗口放大的过程为互逆的过程,此处不再赘述。然后,电子设备可在第一应用的窗口中仅显示第一应用的界面,此时,第一应用的界面包含第二应用的更新后的目标卡片。(2)电子设备可对第一应用的缩小后的界面进行放大,得到第一应用(原先)的界面,其中,界面放大的过程与前述界面缩小的过程为互逆的过程,此处不再赘述。然后,电子设备可在第一应用的第一区域以及第一应用的第二区域所组成的区域,也就是第一应用的窗口中仅显示第一应用的界面,此时,第一应用的界面包含第二应用的更新后的目标卡片。After updating the target card of the second application, the user can close the interface of the second application in the window of the first application (or in the enlarged interface of the first application). After receiving the user's closing operation on the interface of the second application, the electronic device may respond to the user's closing operation on the interface of the second application, so as to realize any of the following two situations: (1) the electronic device closes the first application The enlarged window of the application is reduced to obtain the window of the first application (original), wherein the process of reducing the window and the process of enlarging the window are reciprocal processes, which will not be repeated here. Then, the electronic device may display only the interface of the first application in the window of the first application, and at this time, the interface of the first application includes the updated target card of the second application. (2) The electronic device can enlarge the reduced interface of the first application to obtain the (original) interface of the first application, wherein the process of enlarging the interface and the process of shrinking the aforementioned interface are reciprocal processes, which will not be repeated here repeat. Then, the electronic device may only display the interface of the first application in the area formed by the first area of the first application and the second area of the first application, that is, the window of the first application. An updated goal card containing the second application.
应理解,本实施例中仅以一个第二应用的目标卡片为例进行示意性介绍,并不对第二应用的目标卡片的数量构成限制,在实际应用中,第二应用的目标卡片也可以有多个,在这种情况下,电子设备需要再第一应用的界面中,同时显示多个第二应用的界面(也就是多个目标卡片的编辑界面)。It should be understood that this embodiment only uses a target card of the second application as an example for a schematic introduction, and does not limit the number of target cards of the second application. In actual applications, the target cards of the second application may also have In this case, the electronic device needs to simultaneously display multiple interfaces of the second application (that is, editing interfaces of multiple target cards) in the interface of the first application.
还应理解,前述的步骤306和步骤307是可选的,也就是说,在某个实施例中,用户并不需要更新目标卡片的内容,仅需查看目标卡片的内容,则该实施例仅包含步骤301至步骤305。例如,如图10所示(图10为本申请实施例提供的第一应用的窗口的另一示意图),设第一应用为邮箱,第二应用为浏览器,浏览器的多个卡片用于展示浏览器的多个页面,用户在邮箱的界面(即自身正在撰写的邮件)中插入了浏览器的目标卡片,目标卡片用于显示浏览器的目标页面。当用户在邮箱的界面中点击浏览器的目标卡片时,邮箱的窗口不仅显示有用户正在撰写的邮件(即邮箱的界面,该界面为可编辑的界面),还显示有浏览器的目标页面(即浏览器的界面,该界面为不可编辑的界面),那么,用户可以边看目标页面的内容,边撰写邮件。It should also be understood that the
本申请实施例中,在用户利用第一应用进行工作时,电子设备可为用户显示第一应用的窗口,其中,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。当用户需要仔细浏览第二应用的目标信息时,用户可在电子设备所显示的第一应用的窗口中,打开第二应用的目标卡片,故电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,故用户可浏览和使用第二应用的界面所包含的目标信息。前述过程中,用户可在工作的过程中,可通过第二应用的目标卡片,从第一应用得界面切换至第二应用的界面,由于电子设备可令第一应用的窗口同时显示有第一应用的界面以及第二应用的界面,故用户仅需操作第一应用的窗口,不需要操作多个应用的窗口,故可为用户带来工作效率上的提升。In the embodiment of the present application, when the user uses the first application to work, the electronic device can display the window of the first application for the user, wherein the window of the first application displays the interface of the first application, and the interface of the first application includes the first application interface. The target card of the second application, the target card of the second application is used to display the target information of the second application. When the user needs to carefully browse the target information of the second application, the user can open the target card of the second application in the window of the first application displayed on the electronic device, so the electronic device can respond to the user's opening operation of the target card, thereby The interface of the second application is displayed in the window of the first application, so the user can browse and use the target information contained in the interface of the second application. In the aforementioned process, the user can switch from the interface of the first application to the interface of the second application through the target card of the second application during the working process, because the electronic device can make the window of the first application display the first application at the same time. The interface of the application and the interface of the second application, so the user only needs to operate the window of the first application, and does not need to operate the windows of multiple applications, so the work efficiency can be improved for the user.
进一步地,本申请实施例中,当用户需要对第二应用的目标卡片所展示的目标信息进行更新时,由于第一应用的窗口显示有第二应用的界面,故用户可直接在第一应用的窗口所显示的第二应用的界面中,对第二应用的目标信息进行更新。由于第一应用的窗口还显示有第一应用的界面,故在更新过程中,用户可以在第一应用的窗口所显示的第一应用的界面中,观察目标卡片所展示的目标信息是否适应性地更新。由此可见,对于正在更新目标卡片的用户而言,不需要在不同窗口之间来回切换,可进一步为用户带来工作效率的提升。Further, in this embodiment of the application, when the user needs to update the target information displayed on the target card of the second application, since the window of the first application displays the interface of the second application, the user can directly In the interface of the second application displayed in the window of , the target information of the second application is updated. Since the window of the first application also displays the interface of the first application, during the update process, the user can observe whether the target information displayed on the target card is adaptive in the interface of the first application displayed in the window of the first application. updated. It can be seen that, for the user who is updating the target card, there is no need to switch back and forth between different windows, which can further improve the work efficiency of the user.
更进一步地,本申请实施例从系统层面提供卡片预览能力,只要某个应用能够提供卡片功能,其他应用就可以调用该应用的卡片,如此一来,不需要对各个应用单独进行应用之间的适配开发,可有效减少开发成本。Furthermore, the embodiment of the present application provides the card preview capability from the system level. As long as an application can provide the card function, other applications can call the card of the application. Adaptive development can effectively reduce development costs.
以上是对本申请实施例提供的应用程序的卡片打开方法所进行的详细说明,以下将对本申请实施例提供的应用程序的卡片打开装置进行介绍。图11为本申请实施例提供的应用程序的卡片打开装置的一个结构示意图,如图11所示,该装置可以部署在电子设备中,该装置包括:The above is the detailed description of the application card opening method provided by the embodiment of the present application, and the following will introduce the application card opening device provided by the embodiment of the present application. Fig. 11 is a schematic structural diagram of the card opening device of the application program provided by the embodiment of the present application. As shown in Fig. 11, the device can be deployed in electronic equipment, and the device includes:
第一显示模块1101,用于显示第一应用的窗口,窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,目标卡片用于展示第二应用的目标信息;The
第二显示模块1102,用于响应于在第一应用的界面中对目标卡片的打开操作,在窗口中显示第二应用的界面,第二应用的界面包含目标信息。The
本申请实施例中,在用户利用第一应用进行工作时,电子设备可为用户显示第一应用的窗口,其中,第一应用的窗口显示有第一应用的界面,第一应用的界面包含第二应用的目标卡片,第二应用的目标卡片用于展示第二应用的目标信息。当用户需要仔细浏览第二应用的目标信息时,用户可在电子设备所显示的第一应用的窗口中,打开第二应用的目标卡片,故电子设备可响应用户对目标卡片的打开操作,从而在第一应用的窗口中显示第二应用的界面,故用户可浏览和使用第二应用的界面所包含的目标信息。前述过程中,用户可在工作的过程中,可通过第二应用的目标卡片,从第一应用得界面切换至第二应用的界面,由于电子设备可令第一应用的窗口同时显示有第一应用的界面以及第二应用的界面,故用户仅需操作第一应用的窗口,不需要操作多个应用的窗口,故可为用户带来工作效率上的提升。In the embodiment of the present application, when the user uses the first application to work, the electronic device can display the window of the first application for the user, wherein the window of the first application displays the interface of the first application, and the interface of the first application includes the first application interface. The target card of the second application, the target card of the second application is used to display the target information of the second application. When the user needs to carefully browse the target information of the second application, the user can open the target card of the second application in the window of the first application displayed on the electronic device, so the electronic device can respond to the user's opening operation of the target card, thereby The interface of the second application is displayed in the window of the first application, so the user can browse and use the target information contained in the interface of the second application. In the aforementioned process, the user can switch from the interface of the first application to the interface of the second application through the target card of the second application during the working process, because the electronic device can make the window of the first application display the first application at the same time. The interface of the application and the interface of the second application, so the user only needs to operate the window of the first application, and does not need to operate the windows of multiple applications, so the work efficiency can be improved for the user.
在一种可能实现的方式中,该装置还包括:更新模块,用于响应于在第二应用的界面中对目标信息的更新操作,对目标卡片所展示的目标信息进行更新,得到第二应用的更新后的目标卡片,更新后的目标卡片用于展示第二应用的更新后的目标信息。In a possible implementation manner, the device further includes: an update module, configured to update the target information displayed on the target card in response to an update operation on the target information in the interface of the second application to obtain the second application The updated goal card is used to display the updated goal information of the second application.
在一种可能实现的方式中,第二显示模块,用于:对窗口进行放大,得到第一应用的放大后的窗口;在放大后的窗口相较于窗口所新增的区域中,显示第二应用的界面。In a possible implementation manner, the second display module is configured to: enlarge the window to obtain the enlarged window of the first application; 2. Application interface.
在一种可能实现的方式中,第二显示模块,用于:在窗口中,将第一应用的界面所占据的区域划分为第一区域以及第二区域;对第一应用的界面进行缩小,得到第一应用的缩小后的界面;在第一区域中显示缩小后的界面,并在第二区域中显示第二应用的界面。In a possible implementation manner, the second display module is configured to: in the window, divide the area occupied by the interface of the first application into a first area and a second area; shrink the interface of the first application, The reduced interface of the first application is obtained; the reduced interface is displayed in the first area, and the interface of the second application is displayed in the second area.
在一种可能实现的方式中,该装置还包括:缩小模块,用于响应于对第二应用的界面的关闭操作,对放大后的窗口进行缩小,得到窗口;第三显示模块,用于在窗口中仅显示第一应用的界面。In a possible implementation manner, the device further includes: a shrinking module, configured to shrink the enlarged window to obtain the window in response to the closing operation on the interface of the second application; a third display module, configured to Only the interface of the first application is displayed in the window.
在一种可能实现的方式中,该装置还包括:放大模块,用于响应于对第二应用的界面的关闭操作,对缩小后的界面进行放大,得到第一应用的界面;第三显示模块,用于在第一区域以及第二区域所组成的区域中仅显示第一应用的界面。In a possible implementation manner, the device further includes: an enlargement module, configured to, in response to a closing operation on the interface of the second application, enlarge the reduced interface to obtain the interface of the first application; a third display module , for displaying only the interface of the first application in the area formed by the first area and the second area.
在一种可能实现的方式中,窗口还显示有针对第一应用的界面的卡片插入控件,该装置还包括:第四显示模块,用于响应于对卡片插入控件的打开操作,在窗口中显示多个应用,多个应用包含第二应用;第五显示模块,用于响应于在多个应用中对第二应用的查询操作,在窗口中显示第二应用的多个卡片,多个卡片用于展示第二应用的多个信息,多个卡片包含目标卡片;添加模块,用于响应于在多个卡片中对目标卡片的选择操作,在第一应用的界面中添加目标卡片。In a possible implementation manner, the window further displays a card insertion control for the interface of the first application, and the device further includes: a fourth display module, configured to display in the window a A plurality of applications, the plurality of applications including the second application; a fifth display module, configured to display a plurality of cards of the second application in a window in response to a query operation of the second application among the plurality of applications, and the plurality of cards are used for For displaying multiple pieces of information of the second application, the multiple cards include the target card; the adding module is configured to add the target card in the interface of the first application in response to a selection operation of the target card among the multiple cards.
在一种可能实现的方式中,目标卡片的数量为多个。In a possible implementation manner, there are multiple target cards.
需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其带来的技术效果与本申请方法实施例相同,具体内容可参考本申请实施例前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction and execution process between the modules/units of the above-mentioned device are based on the same concept as the method embodiment of the present application, and the technical effect it brings is the same as that of the method embodiment of the present application. The specific content can be Reference is made to the descriptions in the foregoing method embodiments shown in the embodiments of the present application, and details are not repeated here.
本申请实施例还涉及一种计算机存储介质,该计算机可读存储介质中存储有用于进行信号处理的程序,当其在计算机上运行时,使得计算机执行如图3所示实施例中的步骤。The embodiment of the present application also relates to a computer storage medium, the computer-readable storage medium stores a program for signal processing, and when the program is run on a computer, the computer executes the steps in the embodiment shown in FIG. 3 .
本申请实施例还涉及一种计算机程序产品,该计算机程序产品存储有指令,该指令在由计算机执行时使得计算机执行如图3所示实施例中的步骤。The embodiment of the present application also relates to a computer program product, the computer program product stores instructions, and the instructions cause the computer to execute the steps in the embodiment shown in FIG. 3 when executed by a computer.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, 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.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. 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.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括: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 computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .
Claims (19)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310138744.9A CN116301474A (en) | 2023-02-14 | 2023-02-14 | Card opening method of application program and related equipment thereof |
PCT/CN2024/076054 WO2024169740A1 (en) | 2023-02-14 | 2024-02-05 | Card opening method for application program and related device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310138744.9A CN116301474A (en) | 2023-02-14 | 2023-02-14 | Card opening method of application program and related equipment thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116301474A true CN116301474A (en) | 2023-06-23 |
Family
ID=86795261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310138744.9A Pending CN116301474A (en) | 2023-02-14 | 2023-02-14 | Card opening method of application program and related equipment thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116301474A (en) |
WO (1) | WO2024169740A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024169740A1 (en) * | 2023-02-14 | 2024-08-22 | 华为技术有限公司 | Card opening method for application program and related device thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857897A (en) * | 2019-04-25 | 2020-10-30 | 北京小米移动软件有限公司 | Information display method, device and storage medium |
CN112130715B (en) * | 2019-06-25 | 2022-09-09 | 华为技术有限公司 | A display method and electronic device |
CN116723266A (en) * | 2019-07-31 | 2023-09-08 | 华为技术有限公司 | A management method and related devices for floating windows |
CN116301474A (en) * | 2023-02-14 | 2023-06-23 | 华为技术有限公司 | Card opening method of application program and related equipment thereof |
-
2023
- 2023-02-14 CN CN202310138744.9A patent/CN116301474A/en active Pending
-
2024
- 2024-02-05 WO PCT/CN2024/076054 patent/WO2024169740A1/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024169740A1 (en) * | 2023-02-14 | 2024-08-22 | 华为技术有限公司 | Card opening method for application program and related device thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2024169740A1 (en) | 2024-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095449B (en) | Method and apparatus for providing user interface of portable device | |
TWI463368B (en) | Method for providing the background of locked screen, electronic device and computer program product using the same | |
EP2360569B1 (en) | Method and apparatus for providing informations of multiple applications | |
US9448694B2 (en) | Graphical user interface for navigating applications | |
EP2444893A1 (en) | Managing workspaces in a user interface | |
CN114237778B (en) | Interface display method and electronic device | |
KR101512010B1 (en) | Combining interfaces of shell applications and sub-applications | |
JP2015520900A (en) | Using the ribbon to access the application user interface | |
CN103119589A (en) | Method and apparatus for binding mobile device functionality to an application definition | |
WO2018223558A1 (en) | Data processing method and electronic device | |
US11079926B2 (en) | Method and apparatus for providing user interface of portable device | |
CN108476257A (en) | Electronic equipment and the method for managing its application program | |
WO2020006669A1 (en) | Icon switching method, method for displaying gui, and electronic device | |
CN110032324A (en) | A kind of text chooses method and terminal | |
US20150180998A1 (en) | User terminal apparatus and control method thereof | |
US11455075B2 (en) | Display method when application is exited and terminal | |
KR20160073714A (en) | Electronic Device and Method of Displaying Web Page Using the same | |
CN107613097A (en) | Display method, device, storage medium and electronic equipment of shortcut icons | |
CN108780400B (en) | Data processing method and electronic equipment | |
WO2024169740A1 (en) | Card opening method for application program and related device thereof | |
WO2019136964A1 (en) | Text selecting method and terminal | |
CN116048317B (en) | Display method and device | |
US9299090B1 (en) | Method for rendering advertisements on mobile devices | |
RU2617544C2 (en) | Method and system of displaying advertising on devices with touch display | |
WO2025156631A1 (en) | Service recommendation method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |