CN116360648A - Display method and electronic equipment - Google Patents
Display method and electronic equipment Download PDFInfo
- Publication number
- CN116360648A CN116360648A CN202111609596.1A CN202111609596A CN116360648A CN 116360648 A CN116360648 A CN 116360648A CN 202111609596 A CN202111609596 A CN 202111609596A CN 116360648 A CN116360648 A CN 116360648A
- Authority
- CN
- China
- Prior art keywords
- interface
- space
- user
- display
- application
- 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
- 238000000034 method Methods 0.000 title claims abstract description 77
- 230000004044 response Effects 0.000 claims description 92
- 238000004590 computer program Methods 0.000 claims description 28
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 description 65
- 238000010586 diagram Methods 0.000 description 52
- 230000005012 migration Effects 0.000 description 42
- 238000013508 migration Methods 0.000 description 42
- 230000006870 function Effects 0.000 description 31
- 238000007726 management method Methods 0.000 description 29
- 238000012545 processing Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 12
- 238000009434 installation Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 238000012795 verification Methods 0.000 description 9
- 238000003825 pressing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000005282 brightening Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000010076 replication Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010367 cloning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- 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/04817—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 using icons
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请涉及智能终端技术领域,尤其涉及一种显示方法及电子设备。The present application relates to the technical field of smart terminals, and in particular to a display method and electronic equipment.
背景技术Background technique
随着终端设备(如手机)的智能化程度越来越高,隐私空间功能应运而生。其中,隐私空间与主空间(也可以称之为普通空间或外部空间等)内的数据是互相隔离的,也即用户在主空间中无法访问隐私空间内的数据。进而,用户可以将不想被其他人看到的数据存储在隐私空间中,也可以基于隐私空间功能将工作数据和生活数据分开管理。As terminal devices (such as mobile phones) become more and more intelligent, the privacy space function emerges as the times require. Wherein, the data in the private space and the main space (also called common space or external space, etc.) are isolated from each other, that is, the user cannot access the data in the private space in the main space. Furthermore, users can store data that they do not want to be seen by others in the private space, and can also manage work data and life data separately based on the private space function.
其中,隔离主空间与隐私空间中的数据,可以基于多用户架构隔离不同的用户数据和应用操作来实现。主空间与隐私空间属于不同的用户空间,进而用户可以通过不同的锁屏密码进入主空间或隐私空间。然而,此种方式只能实现用户空间的切换,无法满足用户在两个用户空间中同时进行操作的需求。Among them, isolating the data in the main space and the private space can be realized by isolating different user data and application operations based on the multi-user architecture. The main space and the private space belong to different user spaces, and the user can enter the main space or the private space through different lock screen passwords. However, this method can only realize the switching of the user space, and cannot meet the requirement of the user to operate in two user spaces at the same time.
发明内容Contents of the invention
为了解决上述技术问题,本申请实施例提供一种显示方法及电子设备。在该方法中,不同的用户空间可以同时显示在电子设备上,例如在电子设备上同时显示主空间与隐私空间,进而用户可以在两个用户空间中同时进行操作,简单便捷,无需切换当前用户空间后再进行相应的操作,以此提升了用户使用体验。In order to solve the above technical problems, embodiments of the present application provide a display method and an electronic device. In this method, different user spaces can be displayed on the electronic device at the same time, for example, the main space and the private space are displayed on the electronic device at the same time, and then the user can operate in the two user spaces at the same time, which is simple and convenient without switching the current user The corresponding operation is performed after the space, thereby improving the user experience.
第一方面,本申请实施例提供一种显示方法。该显示方法应用于电子设备中,电子设备包括第一显示单元和第二显示单元,第一显示单元和第二显示单元为电子设备上同一显示屏的两部分。其中,该显示方法包括:电子设备在显示屏上显示第一用户空间的第一界面;电子设备响应于接收到的第一操作,在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面。这样,在电子设备上同时显示主空间与隐私空间,进而用户可以在两个用户空间中同时进行操作,简单便捷,无需切换当前用户空间后再进行相应的操作,以此提升了用户使用体验。In a first aspect, the embodiment of the present application provides a display method. The display method is applied to an electronic device, and the electronic device includes a first display unit and a second display unit, and the first display unit and the second display unit are two parts of the same display screen on the electronic device. Wherein, the display method includes: the electronic device displays the first interface of the first user space on the display screen; the electronic device displays the second interface of the first user space on the first display unit in response to the first operation received, The third interface of the second user space is displayed on the second display unit. In this way, the main space and the private space are displayed on the electronic device at the same time, and the user can operate in the two user spaces at the same time, which is simple and convenient, and does not need to switch the current user space before performing corresponding operations, thereby improving the user experience.
其中,第一显示单元和第二显示单元的尺寸可以是相同的,也可以不同的。示例性的,第一显示单元和第二显示单元尺寸可以均为显示屏的一半。Wherein, the sizes of the first display unit and the second display unit may be the same or different. Exemplarily, the size of the first display unit and the second display unit may both be half of the display screen.
其中,第一用户空间和第二用户空间可以是基于多用户架构创建的不同的用户空间。示例性的,第一用户空间可以是电子设备的主空间,第二用户空间可以是电子设备的隐私空间。Wherein, the first user space and the second user space may be different user spaces created based on a multi-user architecture. Exemplarily, the first user space may be a main space of the electronic device, and the second user space may be a private space of the electronic device.
其中,第一用户空间的第一界面可以是第一用户空间的任意界面(包括主界面和任意应用的显示界面);第一用户空间的第二界面也可以是第一用户空间的任意界面。同样的,第二用户空间的第三界面可以是第二用户空间的。Wherein, the first interface of the first user space may be any interface of the first user space (including the main interface and the display interface of any application); the second interface of the first user space may also be any interface of the first user space. Likewise, the third interface of the second user space may be of the second user space.
示例性的,当第一操作为指示将第一用户空间和第二用户空间同时显示的操作时,例如第一操作为双指在显示界面右侧边缘或左侧边缘滑动到中间的操作,上述提及的第一用户空间的第二界面与第一用户空间的第一界面指示同一个显示界面。Exemplarily, when the first operation is an operation indicating to simultaneously display the first user space and the second user space, for example, the first operation is an operation of sliding two fingers on the right or left edge of the display interface to the middle, the above The mentioned second interface of the first user space and the first interface of the first user space indicate the same display interface.
根据第一方面,电子设备在第二显示单元中显示第二用户空间二第三界面,包括:电子设备在第二显示单元中显示第二用户空间的锁屏界面;电子设备响应于对第二用户空间的锁屏界面的解锁操作,在第二显示单元中显示第二用户空间的第三界面。这样,当电子设备只显示第一用户空间的界面时,若用户指示同时显示第一用户空间的界面和第二用户空间的界面,电子设备会首先显示第二用户空间的锁屏界面,以对用户身份进行验证,由此提高了第二用户空间的私密性。According to the first aspect, the electronic device displays the second user space and the third interface on the second display unit, including: the electronic device displays the lock screen interface of the second user space on the second display unit; the electronic device responds to the second user space The unlocking operation of the lock screen interface of the user space displays the third interface of the second user space on the second display unit. In this way, when the electronic device only displays the interface of the first user space, if the user indicates to display the interface of the first user space and the interface of the second user space at the same time, the electronic device will first display the lock screen interface of the second user space, so as to The identity of the user is verified, thereby improving the privacy of the second user space.
根据第一方面,或者以上第一方面的任意一种实现方式,该显示方法还包括:电子设备接收到对第二界面中的目标文件的第二操作;电子设备响应于第二操作,将目标文件由第一用户空间复制或迁移到第二用户空间;其中,目标文件的文件类型至少包括图片、文档、视频。这样,当电子设备同时显示两个用户空间的界面时,用户通过手势操作可以将其中一个用户空间的文件复制或迁移到另外一个用户空间中,操作简单方便,以此提升了用户使用体验。According to the first aspect, or any implementation of the above first aspect, the display method further includes: the electronic device receives a second operation on the target file in the second interface; The file is copied or migrated from the first user space to the second user space; wherein, the file types of the target file include at least pictures, documents, and videos. In this way, when the electronic device displays interfaces of two user spaces at the same time, the user can copy or migrate files in one of the user spaces to the other user space through gesture operations. The operation is simple and convenient, thereby improving the user experience.
示例性的,第二操作可以是手势操作,例如可以是长按拖动操作。Exemplarily, the second operation may be a gesture operation, such as a long press and drag operation.
示例性的,当第一用户空间为主空间时,电子设备响应于第二操作,可以将目标文件由第一用户空间迁移到第二用户空间。Exemplarily, when the first user space is the main space, the electronic device may migrate the target file from the first user space to the second user space in response to the second operation.
又示例性的,当第一用户空间为隐私空间时,电子设备响应于第二操作,可以将目标文件由第一用户空间复制到第二用户空间。As another example, when the first user space is a private space, the electronic device may copy the target file from the first user space to the second user space in response to the second operation.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间中第一应用的第一显示界面,且第二操作在该第一显示界面上取消时,电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间,可以包括:电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间的第一应用;电子设备在第一显示单元中显示第一用户空间的第四界面,在第二显示单元中显示第一应用的第二显示界面;其中,第一用户空间的第四界面中不包括目标文件,第一应用的第二显示界面中包括目标文件。According to the first aspect, or any implementation manner of the above first aspect, when the third interface is the first display interface of the first application in the second user space, and the second operation is canceled on the first display interface, The electronic device migrating the target file from the first user space to the second user space in response to the second operation may include: the electronic device migrating the target file from the first user space to the second user space in the second user space in response to the second operation. An application; the electronic device displays the fourth interface of the first user space on the first display unit, and displays the second display interface of the first application on the second display unit; wherein, the fourth interface of the first user space does not include The target file includes the target file in the second display interface of the first application.
示例性的,第一应用可以为存储类应用,例如图库应用、文件管理应用等。Exemplarily, the first application may be a storage application, such as a gallery application, a file management application, and the like.
其中,第二操作在存储类应用的显示界面上取消,可以理解为用户通过手指执行第二操作停止在存储类应用的显示界面上,并手指松开不再与显示屏接触。Where the second operation is canceled on the display interface of the storage application, it can be understood that the user performs the second operation with a finger to stop on the display interface of the storage application, and releases the finger to no longer touch the display screen.
其中,第一用户空间的第四界面中不包括目标文件,可以理解为第一用户空间中的目标文件被删除。此时,目标文件已经被移动至第二用户空间中。Wherein, the fourth interface of the first user space does not include the target file, it can be understood that the target file in the first user space is deleted. At this point, the target file has been moved to the second user space.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第二操作在第二用户空间的主界面空白处取消时,电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间,可以包括:电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间中;电子设备在第一显示单元中显示第一用户空间的第四界面;其中,第一用户空间的第四界面中不包括目标文件。According to the first aspect, or any implementation of the above first aspect, when the third interface is the main interface of the second user space, and the second operation is canceled in the blank space of the main interface of the second user space, the electronic device responds In the second operation, migrating the target file from the first user space to the second user space may include: the electronic device responds to the second operation, migrating the target file from the first user space to the second user space; The first display unit displays the fourth interface of the first user space; wherein, the fourth interface of the first user space does not include the target file.
其中,第一用户空间的第四界面中不包括目标文件,可以理解为第一用户空间中的目标文件被删除。此时,目标文件已经被移动至第二用户空间中。Wherein, the fourth interface of the first user space does not include the target file, it can be understood that the target file in the first user space is deleted. At this point, the target file has been moved to the second user space.
若第二操作在第二用户空间主界面空白处取消,则目标文件可以存储于第二用户空间的与该目标文件类型匹配的应用中。此时,若用户点击用于存储目标文件的应用时,该应用的显示界面中包括该目标文件。例如,目标文件为图片,则当第二操作在第二用户空间主界面空白处取消时,目标文件可以被存储于第二用户空间的图库应用中。If the second operation is canceled in the blank area of the main interface of the second user space, the target file may be stored in an application matching the type of the target file in the second user space. At this time, if the user clicks on the application for storing the target file, the display interface of the application includes the target file. For example, if the target file is a picture, when the second operation is canceled in the blank area of the main interface of the second user space, the target file may be stored in the gallery application of the second user space.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第二操作在第二用户空间的主界面的第一应用的图标上取消时,电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间,可以包括:电子设备响应于第二操作,在第一显示单元中显示第一用户空间的第四界面;其中,第一用户空间的第四界面中不包括目标文件;电子设备响应于对第二用户空间的第一应用的图标的操作,在第二显示单元中显示第一应用的显示界面,该显示界面中包括目标文件。According to the first aspect, or any implementation of the above first aspect, when the third interface is the main interface of the second user space, and the second operation is canceled on the icon of the first application on the main interface of the second user space When the electronic device responds to the second operation, migrating the target file from the first user space to the second user space may include: the electronic device displays the fourth file in the first user space on the first display unit in response to the second operation. interface; wherein, the target file is not included in the fourth interface of the first user space; the electronic device displays the display interface of the first application on the second display unit in response to the operation of the icon of the first application in the second user space, The display interface includes the target file.
示例性的,第一应用可以为存储类应用,如与目标文件类型相匹配的存储类应用,例如图库应用、文件管理应用等。Exemplarily, the first application may be a storage-type application, such as a storage-type application matching the target file type, such as a gallery application, a file management application, and the like.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第二操作在第二用户空间的主界面的第二应用的图标上取消时,电子设备响应于第二操作,将目标文件由第一用户空间复制到第二用户空间,可以包括:电子设备响应于第二操作,电子设备在第二显示单元中显示第二应用的第三显示界面;其中,该第三显示界面包括以下选项中的一项或多项:其他电子设备的图标、第三应用的图标、用户标识;电子设备响应于在第三显示界面中选项上的选择操作或输入操作,在第二显示单元中显示第二应用的第四显示界面;其中,第四显示界面中包括目标文件;电子设备响应于在第四显示界面上的确认操作,将目标文件发送至选择操作或输入操作对应的选项。这样,当电子设备同时显示两个用户空间的界面时,用户通过手势操作可以将其中一个用户空间的文件复制另外一个用户空间中进行分享,操作简单方便,以此提升了用户使用体验。According to the first aspect, or any implementation of the above first aspect, when the third interface is the main interface of the second user space, and the second operation is canceled on the icon of the second application on the main interface of the second user space When the electronic device responds to the second operation, copying the target file from the first user space to the second user space may include: the electronic device responds to the second operation, and the electronic device displays the first file of the second application on the second display unit. Three display interfaces; wherein, the third display interface includes one or more of the following options: icons of other electronic devices, icons of third applications, and user identification; the electronic device responds to the option on the third display interface A selection operation or an input operation displays a fourth display interface of the second application on the second display unit; wherein, the fourth display interface includes the target file; the electronic device responds to the confirmation operation on the fourth display interface, and the target file Send to the option corresponding to the select action or input action. In this way, when the electronic device displays interfaces of two user spaces at the same time, the user can copy a file in one of the user spaces to the other user space for sharing through gesture operations, which is simple and convenient to operate, thus improving the user experience.
示例性的,第二应用可以是分享类应用,例如为微信、邮箱等。Exemplarily, the second application may be a sharing application, such as WeChat, email, and the like.
其中,第二应用的第四显示界面可以理解为第二应用的待分享界面,该界面中包括目标文件,可以理解为应用的待发送信息中包括目标文件。Wherein, the fourth display interface of the second application can be understood as an interface to be shared by the second application, and the interface includes the target file, and it can be understood that the information to be sent by the application includes the target file.
示例性的,以第二应用为微信为例,第二应用的第三显示界面可以是用于指示用户选择或输入微信好友的界面,可以参照图20c中第二显示单元中显示的界面。以第二应用为微信为例,第二应用的第四显示界面可以是包括待发送人和待发送信息的界面,可以参照图20d中第二显示单元中显示的界面。Exemplarily, taking the second application as WeChat as an example, the third display interface of the second application may be an interface for instructing the user to select or input WeChat friends, and reference may be made to the interface displayed on the second display unit in FIG. 20c. Taking the second application as WeChat as an example, the fourth display interface of the second application may be an interface including the person to be sent and the information to be sent, and may refer to the interface displayed on the second display unit in FIG. 20d.
示例性的,以第二应用为邮箱为例,第二应用的第三显示界面可以是用于指示用户选择或输入收件地址的界面,第二应用的第四显示界面可以是已添加收地地址和附件的界面,该附件中包括目标文件。Exemplarily, taking the second application as a mailbox as an example, the third display interface of the second application may be an interface for instructing the user to select or input a recipient address, and the fourth display interface of the second application may be An interface for addresses and attachments that include the target file.
其中,第二应用的第三显示界面包括的选项用于指示发送目标文件的目的信息,其中,该目的信息可以是电子设备的标识、应用的标识、用户标识等等。Wherein, the option included in the third display interface of the second application is used to indicate the purpose information of sending the target file, wherein the purpose information may be an identification of an electronic device, an identification of an application, a user identification, and the like.
根据第一方面,或者以上第一方面的任意一种实现方式,该显示方法还包括:电子设备接收到对第二界面中的目标信息的第三操作;其中,该目标信息为文本信息;电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间。这样,当电子设备同时显示两个用户空间的界面时,用户通过手势操作可以将其中一个用户空间界面中显示的信息复制另外一个用户空间中,操作简单方便,以此提升了用户使用体验。According to the first aspect, or any implementation manner of the above first aspect, the display method further includes: the electronic device receives a third operation on the target information in the second interface; wherein, the target information is text information; electronically In response to the third operation, the device copies the target information from the first user space to the second user space. In this way, when the electronic device displays two user space interfaces at the same time, the user can copy the information displayed in one of the user space interfaces to the other user space through gesture operations, which is simple and convenient to operate, thus improving the user experience.
示例性的,目标信息的类型可以是文字、字符等。Exemplarily, the type of the target information may be words, characters and so on.
示例性的,第三操作为手势操作。其中,第三操作可以与第二操作相同,也可以与第二操作不同。Exemplarily, the third operation is a gesture operation. Wherein, the third operation may be the same as or different from the second operation.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的第四应用的第五显示界面,且第三操作在该第五显示界面上取消时,电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间,可以包括:电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间的第四应用;电子设备在第二显示单元中显示第二用户空间的第四应用的第六显示界面;其中,该第六显示界面中包括目标信息。According to the first aspect, or any implementation manner of the above first aspect, when the third interface is the fifth display interface of the fourth application in the second user space, and the third operation is canceled on the fifth display interface, Copying the target information from the first user space to the second user space by the electronic device in response to the third operation may include: copying the target information from the first user space to the second user space in the second user space by the electronic device in response to the third operation. Four applications: the electronic device displays a sixth display interface of the fourth application in the second user space on the second display unit; wherein, the sixth display interface includes target information.
其中,第二用户空间的第四应用可以是任意可以录入信息的应用,例如为备忘录、微信等。第四应用的第五显示界面为支持信息录入的显示界面。Wherein, the fourth application in the second user space may be any application capable of entering information, such as a memo, WeChat, and the like. The fifth display interface of the fourth application is a display interface supporting information entry.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第三操作在第二用户空间的第五应用的图标上取消时,电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间,可以包括:电子设备响应于第三操作,电子设备在第二显示单元中显示第二用户空间的第五应用的第七显示界面;其中,该第七显示界面包括以下选项中的一项或多项:其他电子设备的图标、第六应用的图标、用户标识;电子设备响应于在第七显示界面中选项上的选择操作或输入操作,在第二显示单元中显示第二用户空间的第五应用的第八显示界面;其中,第五应用的第八显示界面中包括目标信息;电子设备响应于在第八显示界面的确认操作,将目标信息发送至选择操作或输入操作对应的选项。这样,当电子设备同时显示两个用户空间的界面时,用户通过手势操作可以将其中一个用户空间的信息复制另外一个用户空间中进行分享,操作简单方便,以此提升了用户使用体验。According to the first aspect, or any implementation of the above first aspect, when the third interface is the main interface of the second user space, and the third operation is canceled on the icon of the fifth application in the second user space, the electronic Copying the target information from the first user space to the second user space by the device in response to the third operation may include: the electronic device displays the fifth application in the second user space on the second display unit in response to the third operation The seventh display interface; wherein, the seventh display interface includes one or more of the following options: icons of other electronic devices, icons of the sixth application, and user identification; the electronic device responds to the options in the seventh display interface A selection operation or an input operation on , displays the eighth display interface of the fifth application in the second user space on the second display unit; wherein, the eighth display interface of the fifth application includes target information; the electronic device responds to the Eighth, the confirmation operation on the display interface, sending the target information to the option corresponding to the selection operation or input operation. In this way, when the electronic device displays interfaces of two user spaces at the same time, the user can copy the information of one of the user spaces to the other user space for sharing through gesture operations, which is simple and convenient to operate, thus improving the user experience.
示例性的,第五应用可以是分享类应用,例如为微信、邮箱等。Exemplarily, the fifth application may be a sharing application, such as WeChat, email, and the like.
其中,第五应用的第七显示界面可以理解为第五应用的待分享界面,该界面中包括目标文件,可以理解为应用的待发送信息中包括目标文件。Wherein, the seventh display interface of the fifth application can be understood as the interface to be shared by the fifth application, and the interface includes the target file, and it can be understood that the information to be sent by the application includes the target file.
示例性的,以第五应用为微信为例,第五应用的第七显示界面可以是用于指示用户选择或输入微信好友的界面,可以参照图23c中第二显示单元中显示的界面。以第五应用为微信为例,第五应用的第八显示界面可以是包括待发送人和待发送信息的界面,可以参照图23d中第二显示单元中显示的界面。Exemplarily, taking the fifth application as WeChat as an example, the seventh display interface of the fifth application may be an interface for instructing the user to select or input WeChat friends, and reference may be made to the interface displayed on the second display unit in FIG. 23c. Taking the fifth application as WeChat as an example, the eighth display interface of the fifth application may be an interface including the person to be sent and the information to be sent, and may refer to the interface displayed on the second display unit in FIG. 23d.
示例性的,以第五应用为邮箱为例,第五应用的第七显示界面可以是用于指示用户选择或输入收件地址的界面,第五应用的第八显示界面例如可以是已添加收地地址和正文的界面,该正文中包括目标信息。Exemplarily, taking the fifth application as a mailbox as an example, the seventh display interface of the fifth application may be an interface for instructing the user to select or input a recipient address, and the eighth display interface of the fifth application may be, for example, the An interface between a destination address and a text containing target information.
其中,第五应用的第七显示界面包括的选项用于指示发送目标文件的目的信息,其中,该目的信息可以是电子设备的标识、应用的标识、用户标识等等。Wherein, the option included in the seventh display interface of the fifth application is used to indicate the purpose information of sending the target file, wherein the purpose information may be an identification of an electronic device, an identification of an application, a user identification, and the like.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第二操作在第二用户空间的第七应用的图标上取消时,该显示方法,还包括:电子设备接收到对第二界面中的目标文件的第二操作;电子设备响应于第二操作,在第二显示单元中显示第二用户空间的第五界面;其中,第五界面中包括第一提示信息,第一提示信息用于指示此处无法拖拽文件。这样,当用户操作执行不当时,电子设备会进行提示,以提升用户使用体验。According to the first aspect, or any implementation of the above first aspect, when the third interface is the main interface of the second user space, and the second operation is canceled on the icon of the seventh application in the second user space, the The display method further includes: the electronic device receives a second operation on the target file in the second interface; the electronic device displays the fifth interface of the second user space on the second display unit in response to the second operation; wherein, the second The fifth interface includes first prompt information, and the first prompt information is used to indicate that the file cannot be dragged and dropped here. In this way, when the user operation is performed incorrectly, the electronic device will prompt, so as to improve the user experience.
根据第一方面,或者以上第一方面的任意一种实现方式,当第三界面为第二用户空间的主界面,且第三操作在第二用户空间的第七应用的图标上取消时,该显示方法,还包括:电子设备接收到对第二界面中的目标信息的第三操作;电子设备响应于第三操作,在第二显示单元中显示第二用户空间的第六界面;其中,第三操作在第二用户空间的非存储类且非分享类应用的图标上取消;第六界面中包括第二提示信息,第二提示信息用于指示此处无法拖拽信息。这样,当用户操作执行不当时,电子设备会进行提示,以提升用户使用体验。According to the first aspect, or any implementation manner of the above first aspect, when the third interface is the main interface of the second user space, and the third operation is canceled on the icon of the seventh application in the second user space, the The display method further includes: the electronic device receives a third operation on the target information in the second interface; the electronic device displays the sixth interface of the second user space on the second display unit in response to the third operation; wherein, the first The third operation is canceled on the icon of the non-storage and non-sharing application in the second user space; the sixth interface includes a second prompt message, and the second prompt message is used to indicate that the information cannot be dragged here. In this way, when the user operation is performed incorrectly, the electronic device will prompt, so as to improve the user experience.
示例性的,第七应用为非存储类且非分享类应用,也即不属于存储类应用也不属于分享类应用,例如可以是浏览器应用。Exemplarily, the seventh application is a non-storage and non-sharing application, that is, neither a storage application nor a sharing application, for example, it may be a browser application.
根据第一方面,或者以上第一方面的任意一种实现方式,当第二界面为第一用户空间的主界面,第三界面为第二用户空间的第一主界面时,其中,第一用户空间中已安装第八应用,第二用户空间中未安装第八应用,该显示方法还包括:电子设备接收到对第一用户空间的主界面中第八应用的图标的第四操作;电子设备响应于第四操作,在第二用户空间中安装第八应用;当在第二用户空间中安装完成第八应用时,电子设备在第二显示单元中显示第二用户空间的第二主界面;其中,第二用户空间的第二主界面中包括第八应用的图标。这样,当电子设备同时显示两个用户空间的界面时,用户通过手势操作可以将其中一个用户空间的应用复制到另外一个用户空间中进行安装,操作简单方便,以此提升了用户使用体验。According to the first aspect, or any implementation of the above first aspect, when the second interface is the main interface of the first user space and the third interface is the first main interface of the second user space, wherein the first user The eighth application has been installed in the space, and the eighth application is not installed in the second user space. The display method further includes: the electronic device receives a fourth operation on the icon of the eighth application in the main interface of the first user space; the electronic device In response to the fourth operation, an eighth application is installed in the second user space; when the eighth application is installed in the second user space, the electronic device displays a second main interface of the second user space on the second display unit; Wherein, the second main interface of the second user space includes an icon of the eighth application. In this way, when the electronic device displays the interfaces of two user spaces at the same time, the user can copy the application in one of the user spaces to the other user space for installation through gesture operation, which is easy and convenient to operate, thus improving the user experience.
其中,当在第二用户空间中安装第八应用时,电子设备在第二显示单元中显示第二用户空间的第三主界面,该第三主界面中包括第八应用的安装图标,该安装图标标识第八应用正在安装中。Wherein, when the eighth application is installed in the second user space, the electronic device displays the third main interface of the second user space on the second display unit, the third main interface includes an installation icon of the eighth application, and the installation The icon indicates that the eighth application is being installed.
其中,第八应用可以是任意应用程序。Wherein, the eighth application may be any application program.
示例性的,第四操作为手势操作。其中,第四操作可以与第二操作相同,也可以与第二操作不同。Exemplarily, the fourth operation is a gesture operation. Wherein, the fourth operation may be the same as or different from the second operation.
根据第一方面,或者以上第一方面的任意一种实现方式,当第二界面为第一用户空间的主界面,第三界面为第二用户空间的第九应用的第九显示界面时,其中,第一用户空间中已安装第八应用,第二用户空间中未安装第八应用,该显示方法还包括:电子设备接收到对第一用户空间的主界面中第八应用的图标的第四操作;其中,第四操作在第九应用的第九显示界面上取消;电子设备响应于第四操作,在第二显示单元中显示第二用户空间的第九应用的第十显示界面;第九应用的第十显示界面包括第三提示信息,第三提示信息用于指示此处无法拖拽安装应用程序。这样,当用户操作执行不当时,电子设备会进行提示,以提升用户使用体验。According to the first aspect, or any implementation manner of the above first aspect, when the second interface is the main interface of the first user space, and the third interface is the ninth display interface of the ninth application of the second user space, wherein , the eighth application has been installed in the first user space, and the eighth application is not installed in the second user space. Operation; wherein, the fourth operation is canceled on the ninth display interface of the ninth application; the electronic device displays the tenth display interface of the ninth application of the second user space on the second display unit in response to the fourth operation; ninth The tenth display interface of the application includes third prompt information, and the third prompt information is used to indicate that the application program cannot be dragged and installed here. In this way, when the user operation is performed incorrectly, the electronic device will prompt, so as to improve the user experience.
其中,第九应用可以是任意应用程序。Wherein, the ninth application may be any application program.
根据第一方面,或者以上第一方面的任意一种实现方式,第二界面为第一用户空间的第十应用的显示界面,第三界面为第二用户空间的第十一应用的显示界面。这样,当电子设备同时显示两个用户空间的界面时,两个用户空间中可以显示不同应用的界面。According to the first aspect, or any implementation manner of the above first aspect, the second interface is the display interface of the tenth application in the first user space, and the third interface is the display interface of the eleventh application in the second user space. In this way, when the electronic device simultaneously displays interfaces of two user spaces, interfaces of different applications can be displayed in the two user spaces.
根据第一方面,或者以上第一方面的任意一种实现方式,第二界面为第一用户空间的第十应用的显示界面,第三界面为第二用户空间的第十应用的显示界面。这样,当电子设备同时显示两个用户空间的界面时,两个用户空间中可以显示同一种应用的界面。其中,当两个用户空间中显示同一种应用的界面时,若该种用户需要用户登录,用户需要使用不同的账号进行应用登录。According to the first aspect, or any implementation manner of the above first aspect, the second interface is the display interface of the tenth application in the first user space, and the third interface is the display interface of the tenth application in the second user space. In this way, when the electronic device simultaneously displays the interfaces of two user spaces, the interfaces of the same application can be displayed in the two user spaces. Wherein, when the interface of the same application is displayed in two user spaces, if the user of this type needs to log in, the user needs to use different accounts to log in to the application.
根据第一方面,或者以上第一方面的任意一种实现方式,当在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面时,该显示方法还包括:电子设备响应于接收到的第五操作,在显示屏上全屏显示第三界面;或者,电子设备响应于接收到的第六操作,在显示屏上全屏显示第二界面。这样,当电子设备同时显示两个用户空间的界面时,用户可以通过相关操作调整用户空间界面的显示大小。According to the first aspect, or any implementation of the above first aspect, when the second interface of the first user space is displayed on the first display unit, and the third interface of the second user space is displayed on the second display unit , the display method further includes: in response to the received fifth operation, the electronic device displays the third interface in full screen on the display screen; or, in response to the received sixth operation, the electronic device displays the second interface in full screen on the display screen . In this way, when the electronic device simultaneously displays two user space interfaces, the user can adjust the display size of the user space interfaces through related operations.
示例性的,第五操作与第六操作的操作方向相反。Exemplarily, the operation directions of the fifth operation and the sixth operation are opposite.
例如,第五操作为向左拖拽屏幕中间控件(bar),则第六操作可以为向右拖拽屏幕中间控件。相应的,若第五操作为向右拖拽屏幕中间控件,则第六操作可以为向左拖拽屏幕中间控件。For example, if the fifth operation is to drag the middle screen control (bar) to the left, then the sixth operation may be to drag the middle screen control to the right. Correspondingly, if the fifth operation is to drag the middle control on the screen to the right, the sixth operation may be to drag the middle control on the screen to the left.
根据第一方面,或者以上第一方面的任意一种实现方式,在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面时,该显示方法还包括:电子设备响应于接收到的息屏操作,或者,在电子设备满足自动息屏条件时,电子设备息屏;电子设备响应于接收到的亮屏操作,在显示屏上全屏显示第一用户空间的锁屏界面;电子设备响应于对第一用户空间的锁屏界面的解锁操作,在显示屏上全屏显示第二界面。According to the first aspect, or any implementation manner of the above first aspect, when the second interface of the first user space is displayed on the first display unit, and the third interface of the second user space is displayed on the second display unit, The display method further includes: the electronic device responds to the received screen off operation, or, when the electronic device meets the automatic screen off condition, the electronic device turns off the screen; the electronic device responds to the received screen on operation, full screen Displaying the lock screen interface of the first user space; in response to an unlocking operation on the lock screen interface of the first user space, the electronic device displays the second interface in full screen on the display screen.
根据第一方面,或者以上第一方面的任意一种实现方式,在显示屏上全屏显示第三界面时,该显示方法还包括:电子设备响应于接收到的息屏操作,或者,在电子设备满足自动息屏条件时,电子设备息屏;电子设备响应于接收到的亮屏操作,在显示屏上全屏显示第一用户空间的锁屏界面;电子设备响应于对第一用户空间的锁屏界面的解锁操作,在显示屏上全屏显示第一用户空间的主界面。According to the first aspect, or any implementation manner of the above first aspect, when displaying the third interface in full screen on the display screen, the display method further includes: the electronic device responds to the received off-screen operation, or, on the electronic device When the automatic screen off condition is met, the screen of the electronic device is off; the electronic device displays the lock screen interface of the first user space in full screen on the display screen in response to the received screen brightening operation; the electronic device responds to the lock screen interface of the first user space The unlocking operation of the interface displays the main interface of the first user space in full screen on the display screen.
以第一用户空间为主空间、第二用户空间为隐私空间为例,无论电子设备同时显示两个用户空间的界面,还是全屏显示第二用户的界面,一旦电子设备息屏,则电子设备再次亮屏后显示的都是第一用户空间的界面,以此进一步提高了第二用户空间的隐私性。Taking the first user space as the main space and the second user space as the private space as an example, no matter whether the electronic device displays the interfaces of the two user spaces at the same time or displays the interface of the second user in full screen, once the screen of the electronic device is turned off, the electronic device will be displayed again. After the screen is turned on, all the interfaces of the first user space are displayed, thereby further improving the privacy of the second user space.
示例性的,亮屏操作可以是触摸显示屏的操作,也可以是按压电源键的操作等。Exemplarily, the screen brightening operation may be an operation of touching the display screen, or an operation of pressing a power button, and the like.
根据第一方面,或者以上第一方面的任意一种实现方式,该显示方法还包括:电子设备响应于对第二界面的第七操作,在第一显示单元中显示第一用户空间的第七界面;电子设备响应于对第三界面的第八操作,在第二显示单元中显示第二用户空间的第八界面。这样,电子设备同时显示两个用户空间的界面时,针对用户对每个用户空间的操作,电子设备都可以进行相应的响应,便于用户同时段对两个用户空间进行操作,提升了用户使用体验。According to the first aspect, or any implementation manner of the above first aspect, the display method further includes: the electronic device responds to the seventh operation on the second interface, and displays the seventh information in the first user space on the first display unit. Interface; the electronic device displays an eighth interface of the second user space on the second display unit in response to an eighth operation on the third interface. In this way, when the electronic device displays the interfaces of two user spaces at the same time, the electronic device can respond accordingly to the user's operation on each user space, which is convenient for the user to operate the two user spaces at the same time, and improves the user experience. .
其中,第七操作和第八操作,可以是任意操作,如任意点击操作。Wherein, the seventh operation and the eighth operation may be any operation, such as any click operation.
根据第一方面,或者以上第一方面的任意一种实现方式,该显示方法还包括:电子设备确定第八操作涉及的硬件资源;如果电子设备显示第七界面已占用硬件资源,则电子设备显示的第八界面中包括第三提示信息,第三提示信息用于指示硬件资源被占用。这样,当电子设备同时显示两个用户空间的界面时,若用户操作涉及硬件冲突问题,电子设备优先将硬件资源提供给在先使用的用户空间,并对用户进行信息提示,以提升用户使用体验。According to the first aspect, or any implementation of the above first aspect, the display method further includes: the electronic device determines the hardware resource involved in the eighth operation; if the electronic device displays that the seventh interface has occupied the hardware resource, the electronic device displays The eighth interface includes third prompt information, and the third prompt information is used to indicate that hardware resources are occupied. In this way, when the electronic device displays the interfaces of two user spaces at the same time, if the user operation involves hardware conflicts, the electronic device will give priority to providing hardware resources to the user space that was used earlier, and provide information prompts to the user, so as to improve the user experience. .
根据第一方面,或者以上第一方面的任意一种实现方式,电子设备为折叠屏手机。这样,折叠屏手机可以在其折叠内屏上同时显示两个用户空间的界面,以供用户在同时段对两个用户空间进行操作。According to the first aspect, or any implementation manner of the above first aspect, the electronic device is a folding screen mobile phone. In this way, the folding screen mobile phone can simultaneously display the interfaces of the two user spaces on its foldable inner screen, so that the user can operate the two user spaces at the same time.
第二方面,本申请实施例提供一种电子设备。该电子设备包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序存储在存储器上,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备在显示屏上显示第一用户空间的第一界面;电子设备响应于接收到的第一操作,在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面。其中,电子设备包括第一显示单元和第二显示单元,第一显示单元和第二显示单元为电子设备上同一显示屏的两部分。In a second aspect, the embodiment of the present application provides an electronic device. The electronic device includes: one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when executed by the one or more processors, the electronic device The following steps are performed: the electronic device displays the first interface of the first user space on the display screen; the electronic device displays the second interface of the first user space on the first display unit in response to the received first operation, and the second interface of the first user space is displayed on the second The third interface of the second user space is displayed on the display unit. Wherein, the electronic device includes a first display unit and a second display unit, and the first display unit and the second display unit are two parts of the same display screen on the electronic device.
根据第二方面,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备在第二显示单元中显示第二用户空间的锁屏界面;电子设备响应于对第二用户空间的锁屏界面的解锁操作,在第二显示单元中显示第二用户空间的第三界面。According to the second aspect, when the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: the electronic device displays the lock screen interface of the second user space on the second display unit; the electronic device responds to the second The unlocking operation of the lock screen interface of the user space displays the third interface of the second user space on the second display unit.
根据第二方面,或者以上第二方面的任意一种实现方式,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第二界面中的目标文件的第二操作;电子设备响应于第二操作,将目标文件由第一用户空间复制或迁移到第二用户空间;其中,目标文件的文件类型至少包括图片、文档、视频。According to the second aspect, or any implementation of the above second aspect, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives the target file in the second interface The second operation; the electronic device copies or migrates the target file from the first user space to the second user space in response to the second operation; wherein, the file types of the target file include at least pictures, documents, and videos.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间中第一应用的第一显示界面,且第二操作在该第一显示界面上取消时,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间的第一应用;电子设备在第一显示单元中显示第一用户空间的第四界面,在第二显示单元中显示第一应用的第二显示界面;其中,第一用户空间的第四界面中不包括目标文件,第一应用的第二显示界面中包括目标文件。According to the second aspect, or any implementation of the above second aspect, when the third interface is the first display interface of the first application in the second user space, and the second operation is canceled on the first display interface, When the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: the electronic device migrates the target file from the first user space to the first application in the second user space in response to the second operation; The fourth interface of the first user space is displayed on the first display unit, and the second display interface of the first application is displayed on the second display unit; wherein, the fourth interface of the first user space does not include the target file, and the first application The target file is included in the second display interface of .
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间主界面,且第二操作在第二用户空间的主界面空白处取消时,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备响应于第二操作,将目标文件由第一用户空间迁移到第二用户空间中;电子设备在第一显示单元中显示第一用户空间的第四界面;其中,第一用户空间的第四界面中不包括目标文件。According to the second aspect, or any implementation of the above second aspect, when the third interface is the main interface of the second user space, and the second operation is canceled in the blank space of the main interface of the second user space, when the computer program is executed When one or more processors execute, the electronic device performs the following steps: the electronic device migrates the target file from the first user space to the second user space in response to the second operation; the electronic device displays the first user space on the first display unit A fourth interface of the user space; wherein, the fourth interface of the first user space does not include the target file.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间的主界面,且第二操作在第二用户空间的主界面的第一应用的图标上取消时,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备响应于第二操作,在第一显示单元中显示第一用户空间的第四界面;其中,第一用户空间的第四界面中不包括目标文件;电子设备响应于对第二用户空间的第一应用的图标的操作,在第二显示单元中显示第一应用的显示界面,该显示界面中包括目标文件。According to the second aspect, or any implementation of the above second aspect, the third interface is the main interface of the second user space, and the second operation is canceled on the icon of the first application on the main interface of the second user space When the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: the electronic device displays a fourth interface of the first user space on the first display unit in response to the second operation; wherein, the first The fourth interface of the user space does not include the target file; the electronic device displays the display interface of the first application on the second display unit in response to the operation of the icon of the first application in the second user space, and the display interface includes the target file. document.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间的主界面,且第二操作在第二用户空间的主界面的第二应用的图标上取消时,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, the third interface is the main interface of the second user space, and the second operation is canceled on the icon of the second application on the main interface of the second user space , when the computer program is executed by one or more processors, it causes the electronic device to perform the following steps:
电子设备响应于第二操作,电子设备在第二显示单元中显示第二应用的第三显示界面;其中,该第三显示界面包括以下选项中的一项或多项:其他电子设备的图标、第三应用的图标、用户标识;电子设备响应于在第三显示界面中选项上的选择操作或输入操作,在第二显示单元中显示第二应用的第四显示界面;其中,第四显示界面中包括目标文件。In response to the second operation, the electronic device displays a third display interface of the second application on the second display unit; wherein the third display interface includes one or more of the following options: icons of other electronic devices, The icon of the third application, the user identification; the electronic device responds to the selection operation or input operation on the option in the third display interface, and displays the fourth display interface of the second application on the second display unit; wherein, the fourth display interface Include object files.
根据第二方面,或者以上第二方面的任意一种实现方式,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第二界面中的目标信息的第三操作;其中,该目标信息为文本信息;电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间。According to the second aspect, or any implementation of the above second aspect, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives the target information in the second interface The third operation; wherein, the target information is text information; in response to the third operation, the electronic device copies the target information from the first user space to the second user space.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间的第四应用的第五显示界面,且第三操作在该第五显示界面上取消时,计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备响应于第三操作,将目标信息由第一用户空间复制到第二用户空间的第四应用;电子设备在第二显示单元中显示第二用户空间的第四应用的第六显示界面;其中,该第六显示界面中包括目标信息。According to the second aspect, or any implementation of the above second aspect, when the third interface is the fifth display interface of the fourth application in the second user space, and the third operation is canceled on the fifth display interface, When the computer program is executed by one or more processors, the electronic device executes the following steps: the electronic device copies the target information from the first user space to the fourth application in the second user space in response to the third operation; The second display unit displays a sixth display interface of the fourth application in the second user space; wherein, the sixth display interface includes target information.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间的主界面,且第三操作在第二用户空间的第五应用的图标上取消时,计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:电子设备响应于第三操作,电子设备在第二显示单元中显示第二用户空间的第五应用的第七显示界面;其中,该第七显示界面包括以下选项中的一项或多项:其他电子设备的图标、第六应用的图标、用户标识;电子设备响应于在第七显示界面中选项的选择操作或输入操作,在第二显示单元中显示第二用户空间的第五应用的第八显示界面;其中,第五应用的第八显示界面中包括目标信息。According to the second aspect, or any implementation of the above second aspect, when the third interface is the main interface of the second user space, and the third operation is canceled on the icon of the fifth application in the second user space, the computer When the program is executed by one or more processors, the electronic device performs the following steps: the electronic device responds to the third operation, and the electronic device displays the seventh display interface of the fifth application in the second user space on the second display unit; wherein , the seventh display interface includes one or more of the following options: icons of other electronic devices, icons of the sixth application, and user identification; the electronic device responds to selection operations or input operations of options in the seventh display interface, The eighth display interface of the fifth application in the second user space is displayed on the second display unit; wherein, the eighth display interface of the fifth application includes target information.
根据第二方面,或者以上第二方面的任意一种实现方式,第三界面为第二用户空间的主界面,且第二操作在第二用户空间的第七应用的图标上取消时,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第二界面中的目标文件的第二操作;电子设备响应于第二操作,在第二显示单元中显示第二用户空间的第五界面;其中,第五界面中包括第一提示信息,第一提示信息用于指示此处无法拖拽文件。According to the second aspect, or any implementation of the above second aspect, the third interface is the main interface of the second user space, and when the second operation is canceled on the icon of the seventh application in the second user space, when the computer When the program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives a second operation on the target file in the second interface; A fifth interface of the second user space is displayed; wherein, the fifth interface includes first prompt information, and the first prompt information is used to indicate that the file cannot be dragged and dropped here.
根据第二方面,或者以上第二方面的任意一种实现方式,在第三界面为第二用户空间的主界面,且第三操作在第二用户空间的第七应用的图标上取消时,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第二界面中的目标信息的第三操作;电子设备响应于第三操作,在第二显示单元中显示第二用户空间的第六界面;其中,第三操作在第二用户空间的非存储类且非分享类应用的图标上取消;第六界面中包括第二提示信息,第二提示信息用于指示此处无法拖拽信息。According to the second aspect, or any implementation of the above second aspect, when the third interface is the main interface of the second user space, and the third operation is canceled on the icon of the seventh application in the second user space, when When the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives a third operation on the target information in the second interface; The sixth interface of the second user space is displayed in the second user space; wherein, the third operation is canceled on the icon of the non-storage and non-sharing application in the second user space; the sixth interface includes the second prompt information, and the second prompt information uses It is not possible to drag and drop information here.
根据第二方面,或者以上第二方面的任意一种实现方式,在第二界面为第一用户空间的主界面,第三界面为第二用户空间的第一主界面时,其中,第一用户空间中已安装第八应用,第二用户空间中未安装第八应用,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第一用户空间的主界面中第八应用的图标的第四操作;电子设备响应于第四操作,在第二用户空间中安装第八应用;当在第二用户空间中安装完成第八应用时,电子设备在第二显示单元中显示第二用户空间的第二主界面;其中,第二用户空间的第二主界面中包括第八应用的图标。According to the second aspect, or any implementation of the above second aspect, when the second interface is the main interface of the first user space, and the third interface is the first main interface of the second user space, wherein the first user The eighth application has been installed in the second user space, and the eighth application is not installed in the second user space. When the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives the request for the first user space The fourth operation of the icon of the eighth application in the main interface; the electronic device installs the eighth application in the second user space in response to the fourth operation; when the eighth application is installed in the second user space, the electronic device installs the eighth application in the second user space The second display unit displays a second main interface of the second user space; wherein, the second main interface of the second user space includes an icon of the eighth application.
根据第二方面,或者以上第二方面的任意一种实现方式,在第二界面为第一用户空间的主界面,第三界面为第二用户空间的第九应用的第九显示界面时,其中,第一用户空间中已安装第八应用,第二用户空间中未安装第八应用,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备接收到对第一用户空间的主界面中第八应用的图标的第四操作;其中,第四操作在第九应用的第九显示界面上取消;电子设备响应于第四操作,在第二显示单元中显示第二用户空间的第九应用的第十显示界面;第九应用的第十显示界面包括第三提示信息,第三提示信息用于指示此处无法拖拽安装应用程序。According to the second aspect, or any implementation of the above second aspect, when the second interface is the main interface of the first user space, and the third interface is the ninth display interface of the ninth application of the second user space, wherein , the eighth application has been installed in the first user space, and the eighth application is not installed in the second user space, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device receives the request for the first A fourth operation of the icon of the eighth application in the main interface of the user space; wherein, the fourth operation is canceled on the ninth display interface of the ninth application; in response to the fourth operation, the electronic device displays the icon of the eighth application on the second display unit 2. The tenth display interface of the ninth application in the user space; the tenth display interface of the ninth application includes third prompt information, and the third prompt information is used to indicate that the application program cannot be dragged and installed here.
根据第二方面,或者以上第二方面的任意一种实现方式,第二界面为第一用户空间的第十应用的显示界面,第三界面为第二用户空间的第十一应用的显示界面。According to the second aspect, or any implementation manner of the above second aspect, the second interface is the display interface of the tenth application in the first user space, and the third interface is the display interface of the eleventh application in the second user space.
根据第二方面,或者以上第二方面的任意一种实现方式,第二界面为第一用户空间的第十应用的显示界面,第三界面为第二用户空间的第十应用的显示界面。According to the second aspect, or any implementation manner of the above second aspect, the second interface is the display interface of the tenth application in the first user space, and the third interface is the display interface of the tenth application in the second user space.
根据第二方面,或者以上第二方面的任意一种实现方式,在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面时,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备响应于接收到的第五操作,在显示屏上全屏显示第三界面;或者,电子设备响应于接收到的第六操作,在显示屏上全屏显示第二界面。According to the second aspect, or any implementation manner of the above second aspect, when the second interface of the first user space is displayed on the first display unit, and the third interface of the second user space is displayed on the second display unit, When the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device displays the third interface in full screen on the display screen in response to the received fifth operation; or, the electronic device responds to the received fifth operation The sixth operation is to display the second interface in full screen on the display screen.
根据第二方面,或者以上第二方面的任意一种实现方式,在第一显示单元中显示第一用户空间的第二界面,在第二显示单元中显示第二用户空间的第三界面时,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备响应于接收到的息屏操作,或者,在电子设备满足自动息屏条件时,电子设备息屏;电子设备响应于接收到的亮屏操作,在显示屏上全屏显示第一用户空间的锁屏界面;电子设备响应于对第一用户空间的锁屏界面的解锁操作,在显示屏上全屏显示第二界面。According to the second aspect, or any implementation manner of the above second aspect, when the second interface of the first user space is displayed on the first display unit, and the third interface of the second user space is displayed on the second display unit, When the computer program is executed by one or more processors, the electronic device also performs the following steps: the electronic device responds to the received off-screen operation, or, when the electronic device meets the automatic off-screen condition, the electronic device turns off the screen; In response to the received screen brightening operation, the device displays the lock screen interface of the first user space in full screen on the display screen; in response to the unlocking operation of the lock screen interface of the first user space, the electronic device displays the second user space lock screen interface in full screen on the display screen. interface.
根据第二方面,或者以上第二方面的任意一种实现方式,在显示屏上全屏显示第三界面时,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备响应于接收到的息屏操作,或者,在电子设备满足自动息屏条件时,电子设备息屏;电子设备响应于接收到的亮屏操作,在显示屏上全屏显示第一用户空间的锁屏界面;电子设备响应于对第一用户空间的锁屏界面的解锁操作,在显示屏上全屏显示第一用户空间的主界面。According to the second aspect, or any implementation manner of the above second aspect, when the third interface is displayed in full screen on the display screen, when the computer program is executed by one or more processors, the electronic device further performs the following steps: The device responds to the received screen-off operation, or, when the electronic device meets the automatic screen-off condition, the electronic device turns off the screen; the electronic device responds to the received screen-on operation, and displays the lock in the first user space on the display screen in full screen. screen interface: the electronic device displays the main interface of the first user space on the display screen in full screen in response to an unlocking operation on the lock screen interface of the first user space.
根据第二方面,或者以上第二方面的任意一种实现方式,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备响应于对第二界面的第七操作,在第一显示单元中显示第一用户空间的第七界面;电子设备响应于对第三界面的第八操作,在第二显示单元中显示第二用户空间的第八界面。According to the second aspect, or any implementation manner of the above second aspect, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device responds to the seventh operation on the second interface , displaying the seventh interface of the first user space on the first display unit; in response to the eighth operation on the third interface, the electronic device displays the eighth interface of the second user space on the second display unit.
根据第二方面,或者以上第二方面的任意一种实现方式,当计算机程序被一个或多个处理器执行时,使得电子设备还执行以下步骤:电子设备确定第八操作涉及的硬件资源;如果电子设备显示第七界面已占用硬件资源,则电子设备显示的第八界面中包括第三提示信息,第三提示信息用于指示硬件资源被占用。According to the second aspect, or any implementation manner of the above second aspect, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device determines the hardware resource involved in the eighth operation; if When the electronic device displays that the seventh interface has occupied hardware resources, the eighth interface displayed by the electronic device includes third prompt information, where the third prompt information is used to indicate that the hardware resources are occupied.
根据第二方面,或者以上第二方面的任意一种实现方式,电子设备为折叠屏手机。According to the second aspect, or any implementation manner of the above second aspect, the electronic device is a folding screen mobile phone.
第二方面以及第二方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第二方面以及第二方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The second aspect and any implementation manner of the second aspect correspond to the first aspect and any implementation manner of the first aspect respectively. For technical effects corresponding to the second aspect and any implementation manner of the second aspect, reference may be made to the technical effects corresponding to the above-mentioned first aspect and any implementation manner of the first aspect, and details are not repeated here.
第三方面,本申请实施例提供一种电子设备。该电子设备包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序存储在存储器上,当计算机程序被一个或多个处理器执行时,使得电子设备执行第一方面以及第一方面中任意一项的显示方法。In a third aspect, the embodiment of the present application provides an electronic device. The electronic device includes: one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when executed by the one or more processors, the electronic device Execute the first aspect and the display method of any one of the first aspect.
第三方面以及第三方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第三方面以及第三方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The third aspect and any implementation manner of the third aspect correspond to the first aspect and any implementation manner of the first aspect respectively. For the technical effects corresponding to the third aspect and any one of the implementation manners of the third aspect, refer to the above-mentioned first aspect and the technical effects corresponding to any one of the implementation manners of the first aspect, which will not be repeated here.
第四方面,本申请实施例提供一种计算机可读存储介质。该计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得电子设备执行第一方面以及第一方面中任意一项的显示方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, and when the computer program is run on the electronic device, the electronic device is made to execute the display method of any one of the first aspect and the first aspect.
第四方面以及第四方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第四方面以及第四方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The fourth aspect and any implementation manner of the fourth aspect correspond to the first aspect and any implementation manner of the first aspect respectively. For the technical effects corresponding to the fourth aspect and any one of the implementation manners of the fourth aspect, refer to the above-mentioned first aspect and the technical effects corresponding to any one of the implementation manners of the first aspect, and details are not repeated here.
附图说明Description of drawings
图1为示例性示出的应用场景示意图之一;FIG. 1 is one of schematic diagrams of exemplary application scenarios;
图2为示例性示出的应用场景示意图之一;Fig. 2 is one of schematic diagrams of exemplary application scenarios shown;
图3为示例性示出的电子设备的硬件结构示意图;FIG. 3 is a schematic diagram of a hardware structure of an exemplary electronic device;
图4为示例性示出的折叠屏手机在内屏展开状态下的外侧示意图;Fig. 4 is a schematic diagram of an outer side of a folding screen mobile phone in a state where the inner screen is unfolded;
图5为示例性示出的折叠屏手机在内屏展开状态下的内侧示意图;Fig. 5 is a schematic view of the inner side of a folding screen mobile phone in a state where the inner screen is unfolded;
图6为示例性示出的电子设备的软件结构示意图;FIG. 6 is a schematic diagram of a software structure of an exemplary electronic device;
图7为本申请实施例提供的模块交互示意图;FIG. 7 is a schematic diagram of module interaction provided by the embodiment of the present application;
图8a-图8c为示例性示出的应用场景示意图之一;FIG. 8a-FIG. 8c are one of schematic diagrams of exemplary application scenarios shown;
图9a-图9b为示例性示出的应用场景示意图之一;Fig. 9a-Fig. 9b are one of schematic diagrams of exemplary application scenarios shown;
图10为示例性示出的应用场景示意图之一;Fig. 10 is one of schematic diagrams of exemplary application scenarios;
图11为示例性示出的应用场景示意图之一;Fig. 11 is one of schematic diagrams of exemplary application scenarios;
图12为本申请实施例提供的模块交互示意图;Fig. 12 is a schematic diagram of module interaction provided by the embodiment of the present application;
图13a-图13c为示例性示出的应用场景示意图之一;Fig. 13a-Fig. 13c are one of schematic diagrams of exemplary application scenarios shown;
图14为示例性示出的应用场景示意图之一;Fig. 14 is one of schematic diagrams of exemplary application scenarios;
图15a-图15b为示例性示出的应用场景示意图之一;Fig. 15a-Fig. 15b are one of schematic diagrams of exemplary application scenarios shown;
图16为本申请实施例提供的模块交互示意图;Fig. 16 is a schematic diagram of module interaction provided by the embodiment of the present application;
图17a-图17c为示例性示出的应用场景示意图之一;FIG. 17a-FIG. 17c are one of schematic diagrams of exemplary application scenarios shown;
图18a-图18b为示例性示出的应用场景示意图之一;Fig. 18a-Fig. 18b are one of schematic diagrams of exemplary application scenarios shown;
图19为示例性示出的应用场景示意图之一;Fig. 19 is one of schematic diagrams of exemplary application scenarios;
图20a-图20e为示例性示出的应用场景示意图之一;Fig. 20a-Fig. 20e are one of schematic diagrams of exemplary application scenarios shown;
图21a-图21b为示例性示出的应用场景示意图之一;Figure 21a-Figure 21b is one of the schematic diagrams of exemplary application scenarios shown;
图22a-图22c为示例性示出的应用场景示意图之一;Fig. 22a-Fig. 22c are one of schematic diagrams of exemplary application scenarios shown;
图23a-图23e为示例性示出的应用场景示意图之一;Fig. 23a-Fig. 23e are one of schematic diagrams of exemplary application scenarios shown;
图24为本申请实施例提供的模块交互示意图;Figure 24 is a schematic diagram of module interaction provided by the embodiment of the present application;
图25a-图25c为示例性示出的应用场景示意图之一;Fig. 25a-Fig. 25c are one of schematic diagrams of exemplary application scenarios shown;
图26a-图26c为示例性示出的应用场景示意图之一。Fig. 26a-Fig. 26c are one of schematic diagrams of exemplary application scenarios.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object, the second target object, etc. are used to distinguish different target objects, rather than describing a specific order of the target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
在本申请实施例中,“具有折叠屏的设备”,也可以简称为“可折叠电子设备”、“折叠屏设备”或“电子设备”等,具体指的是显示屏可以折叠的电子设备。In this embodiment of the application, "device with a foldable screen" may also be referred to simply as "foldable electronic device", "foldable screen device" or "electronic device", and specifically refers to an electronic device whose display screen can be folded.
在一种应用场景中,用户在电子设备(如折叠屏设备)中开启隐私空间功能后,该电子设备中存在两个不同的用户空间,如主空间和隐私空间,本申请实施例中,用户空间可以是指系统用户空间。此时,用户可以使用不同的锁屏密码进入主空间或隐私空间。以电子设备为折叠屏手机、锁屏密码为解锁图案为例,图1~图2示例性地示出了一种应用场景示意图。参照图1,当用户在折叠屏手机解锁界面中绘制如显示界面101中所示的解锁图案时,手机显示主空间显示界面,例如显示界面102所示。此时,用户可以在主空间中执行相关操作。如果用户需要将手机当前显示的用户空间由主空间切换至隐私空间,则用户对折叠屏手机执行锁屏操作,并使用与隐私空间对应的密码对折叠屏手机进行解锁操作。参照图2,当用户在折叠屏手机解锁界面中绘制与隐私空间对应的解锁图案时,例如用户在折叠屏手机解锁界面中绘制显示界面201中所示的解锁图案时,手机显示隐私空间显示界面,例如显示界面202所示。此时,用户可以在隐私空间中执行相关操作。类似的,如果用户需要将手机当前显示的用户空间再由隐私空间切换回主空间,则用户还需对折叠屏手机执行锁屏操作,并使用与主空间对应的密码对折叠屏手机进行解锁操作。In one application scenario, after the user enables the private space function in an electronic device (such as a folding screen device), there are two different user spaces in the electronic device, such as the main space and the private space. In this embodiment of the application, the user Space may refer to system user space. At this point, the user can use different lock screen passwords to enter the main space or private space. Taking the electronic device as a folding screen mobile phone and the lock screen password as an unlocking pattern as an example, FIGS. 1 to 2 exemplarily show a schematic diagram of an application scenario. Referring to FIG. 1 , when the user draws an unlocking pattern as shown in the
在本应用场景中,主空间显示界面和隐私空间显示界面无法同时显示在手机界面上,无法满足用户在两个用户空间中同时进行操作的需求。当手机显示主空间显示界面时,若用户想要对隐私空间内的应用或数据进行相关操作,则需要将手机当前显示的用户空间由主空间切换至隐私空间,反之亦然。用户操作相当繁琐,导致用户使用体验较差。In this application scenario, the display interface of the main space and the display interface of the private space cannot be displayed on the mobile phone interface at the same time, which cannot meet the user's demand for simultaneous operations in the two user spaces. When the mobile phone displays the main space display interface, if the user wants to perform related operations on applications or data in the private space, the user space currently displayed on the mobile phone needs to be switched from the main space to the private space, and vice versa. User operations are quite cumbersome, resulting in poor user experience.
如图3所示为电子设备100的结构示意图。可选地,电子设备100可以为终端,也可以称为终端设备,终端可以为蜂窝电话(cellular phone)或平板电脑(pad)等设备,本申请不做限定。需要说明的是,电子设备100的结构示意图可以适用于上述提及的折叠屏设备。应该理解的是,图3所示电子设备100仅是电子设备的一个范例,并且电子设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图3中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。FIG. 3 is a schematic structural diagram of the electronic device 100 . Optionally, the electronic device 100 may be a terminal, and may also be called a terminal device. The terminal may be a device such as a cellular phone (cellular phone) or a tablet computer (pad), which is not limited in this application. It should be noted that the schematic structural diagram of the electronic device 100 may be applicable to the aforementioned folding screen device. It should be understood that the electronic device 100 shown in FIG. 3 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, and two or more components may be combined , or can have different component configurations. The various components shown in Figure 3 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,第一显示屏194,第二显示屏195,以及用户标识模块(subscriber identificationmodule,SIM)卡接口196等。The electronic device 100 may include: a
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。A memory may also be provided in the
充电管理模块140用于从充电器接收充电输入。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,第一显示屏194,第二显示屏195,摄像头193,和无线通信模块160等供电。The
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。In some embodiments, the
电子设备100通过GPU,第一显示屏194,第二显示屏195,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接第一显示屏194,第二显示屏195和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the first display screen 194 , the second display screen 195 , and the application processor. The GPU is a microprocessor for image processing, connected to the first display screen 194, the second display screen 195 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
第一显示屏194作为电子设备100的内屏用于显示界面,图像,视频等。第一显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Mini-LED,Micr-OLED,Micro-OLED,量子点发光二极管(quantum dot light emitting diodes,QLED)等。第二显示屏195作为电子设备的外屏,用于显示图像、视频或者文字等用户预设的显示样式。The first display screen 194 is used as an inner screen of the electronic device 100 for displaying interfaces, images, videos and the like. The first display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micr-OLED, Micro-OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. The second display screen 195 is used as an external screen of the electronic device, and is used to display user-preset display styles such as images, videos, or texts.
当电子设备100为折叠屏设备时,电子设备100的内屏可以设置为能够折叠的显示屏,简称折叠屏。其中,折叠屏可以采用一个一体成型的柔性显示屏,也可以采用多个柔性显示屏以及位于每两个柔性显示屏之间的铰链组成的拼接显示屏,也可以采用多个刚性屏以及位于每两个刚性屏之间的铰链组成的拼接显示屏。本申请实施例对此不做限定。When the electronic device 100 is a folding screen device, the inner screen of the electronic device 100 may be configured as a foldable display screen, referred to as a folding screen for short. Among them, the folding screen can adopt an integrally formed flexible display, or a splicing display composed of multiple flexible displays and hinges between every two flexible displays, or multiple rigid screens and hinges between each two flexible displays. A spliced display composed of hinges between two rigid screens. This embodiment of the present application does not limit it.
示例性的,电子设备100可以为折叠屏手机。图4和图5示例性的示出了一种折叠屏手机的结构示意图。参照图4和图5,折叠屏手机的显示屏包括内屏和外屏,内屏为折叠屏,且内屏尺寸大于外屏尺寸。图4为折叠屏手机内屏展开状态下的外侧示意图。参照图4,折叠屏手机外侧的第一部分401可以设置为折叠屏手机的外屏,第二部分402可以设置为手机外壳。其中,折叠屏手机外侧的第一部分401和第二部分402均可以设置有摄像头。在其它折叠屏手机示例中,折叠屏手机外侧的第一部分401和第二部分402可以均设置为折叠屏手机的外屏,折叠屏手机外侧的第一部分401和第二部分402也可以均设置为折叠屏手机外壳。图5为折叠屏手机内屏展开状态下的内侧示意图。参照图5,折叠屏手机的内屏(也即折叠屏)包括第一显示单元501和第二显示单元502。第一显示单元501和第二显示单元502可以分别显示不同的显示界面,也可以共同显示一个显示界面。Exemplarily, the electronic device 100 may be a folding screen mobile phone. FIG. 4 and FIG. 5 exemplarily show a structural schematic diagram of a folding screen mobile phone. Referring to Fig. 4 and Fig. 5, the display screen of the folding screen mobile phone includes an inner screen and an outer screen, the inner screen is a folding screen, and the size of the inner screen is larger than that of the outer screen. FIG. 4 is a schematic diagram of the outer side of the folding screen mobile phone when the inner screen is unfolded. Referring to FIG. 4 , the
在本实施例中,第一显示单元501和第二显示单元502可以共同显示一个用户空间的一个显示界面,也可以分别显示同一个用户空间的不同显示界面,也可以分别显示不同用户空间的显示界面。例如,第一显示单元501和第二显示单元502可以共同显示一个主空间显示界面或隐私空间显示界面,第一显示单元501和第二显示单元502也可以分别显示主空间不同显示界面,第一显示单元501和第二显示单元502也可以分别显示隐私空间的不同显示界面,第一显示单元501和第二显示单元502还可以分别显示主空间显示界面和隐私空间显示界面。In this embodiment, the
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,第一显示屏194或第二显示屏195,以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through an ISP, a camera 193 , a video codec, a GPU, a first display 194 or a second display 195 , and an application processor.
摄像头193用于捕获静态图像或视频。数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。视频编解码器用于对数字视频压缩或解压缩。Camera 193 is used to capture still images or video. Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. Video codecs are used to compress or decompress digital video.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理,使得电子设备100实现本申请实施中的具有折叠屏的设备的显示方法。内部存储器121可以包括存储程序区和存储数据区。在本申请实施例中,内部存储器121可以用于存储配置文件、视频资源等。The internal memory 121 may be used to store computer-executable program codes including instructions. The
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于第一显示屏194和第二显示屏195。电子设备100也可以根据压力传感器的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。The pressure sensor is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensors may be provided on the first display screen 194 and the second display screen 195 . The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.
触摸传感器,也称“触控面板”。触摸传感器可以设置于第一显示屏194和第二显示屏195,由触摸传感器与第一显示屏194或第二显示屏195组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过第一显示屏194或第二显示屏195提供与触摸操作相关的视觉输出。Touch sensor, also known as "touch panel". The touch sensor can be arranged on the first display screen 194 and the second display screen 195, and the touch sensor and the first display screen 194 or the second display screen 195 form a touch screen, also called "touch screen". The touch sensor is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the first display screen 194 or the second display screen 195 .
按键190包括开机键(或称电源键),音量键等。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The buttons 190 include a power button (or called a power button), a volume button, and the like. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
图6是本申请实施例的电子设备100的软件结构框图。FIG. 6 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
电子设备100的分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture of the electronic device 100 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, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.
如图6所示,应用程序包可以包括相机,图库,日历,通话,微信,浏览器,音乐,视频,短消息等应用程序。As shown in Figure 6, the application package may include applications such as camera, gallery, calendar, call, WeChat, browser, music, video, and short message.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图6所示,应用程序框架层可以包括用户控制器,窗口管理器,显示管理器,文件迁移服务,应用管理服务,视图系统,通知管理器等。As shown in Figure 6, the application framework layer may include user controllers, window managers, display managers, file migration services, application management services, view systems, notification managers, and so on.
用户控制器用于对用户空间进行相关控制,例如控制第一用户空间和第二用户空间的显示界面同时显示,又例如控制数据和应用在不同用户空间之间共享等。The user controller is used to control the user space, for example, to control the simultaneous display of the display interfaces of the first user space and the second user space, and for example to control the sharing of data and applications among different user spaces.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
显示管理器用于管理显示的生命周期,控制其逻辑显示等,例如可以调用视图系统实现界面显示。The display manager is used to manage the life cycle of the display, control its logical display, etc., for example, it can call the view system to realize the interface display.
文件迁移服务用于在不同用户空间之间进行数据迁移或复制,例如将文件、图片等从主空间迁移或复制至隐私空间,或者将文件、图片等从隐私空间迁移或复制至主空间。The file migration service is used to migrate or copy data between different user spaces, such as migrating or copying files, pictures, etc. from the main space to the private space, or migrating or copying files, pictures, etc. from the private space to the main space.
应用管理服务用于实现对应用程序的管理,如根据应用程序的APK(Androidapplication package,Android应用程序包)完成对应用程序的安装。The application management service is used to realize the management of the application program, such as completing the installation of the application program according to the APK (Android application package, Android application program package) of the application program.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
应用程序框架层还可以包括资源管理器,其中,资源管理器可以为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The application framework layer can also include a resource manager, wherein the resource manager can provide various resources for the application, such as localized strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
系统库与运行时层包括系统库和安卓运行时(Android Runtime)。AndroidRuntime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。The system library and runtime layer includes the system library and the Android Runtime (Android Runtime). AndroidRuntime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
可以理解的是,图6示出的软件结构中的层以及各层中包含的部件,并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的层,以及每个层中可以包括更多或更少的部件,本申请不做限定。It can be understood that the layers in the software structure shown in FIG. 6 and the components contained in each layer do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in the present application.
可以理解的是,电子设备为了实现本申请中的显示方法,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the display method in the present application, the electronic device includes corresponding hardware and/or software modules for performing various functions. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例提供一种显示方法。具体的,以电子设备为折叠屏设备为例,折叠屏设备不同用户空间的显示界面可以同时显示在该折叠屏设备上。pad类显示屏较大的触摸屏设备亦是如此,在此不再赘述。进而,用户可以同时在电子设备不同的用户空间中进行操作,无需切换当前用户空间后再进行相应的操作。示例性的,电子设备第一用户空间的显示界面和第二用户空间的显示界面同时显示在该电子设备的显示屏上。其中,第一用户空间可以为主空间,第二用户空间可以为隐私空间。下述以电子设备为折叠屏手机为例,对本申请提供的显示方法进行详细解释说明。An embodiment of the present application provides a display method. Specifically, taking the electronic device as an example of a folding screen device, display interfaces of different user spaces of the folding screen device may be simultaneously displayed on the folding screen device. The same is true for touch screen devices with larger display screens such as pads, which will not be repeated here. Furthermore, the user can perform operations in different user spaces of the electronic device at the same time, without switching the current user space to perform corresponding operations. Exemplarily, the display interface of the first user space and the display interface of the second user space of the electronic device are simultaneously displayed on the display screen of the electronic device. Wherein, the first user space may be a main space, and the second user space may be a private space. The display method provided by the present application will be explained in detail below by taking the electronic device as an example of a folding screen mobile phone.
场景一scene one
在本场景中,折叠屏手机的折叠内屏上可以同时显示主空间显示界面和隐私空间显示界面。例如,在折叠内屏的第一显示单元上显示主空间界面,在折叠内屏的第二显示单元上显示隐私空间显示界面。由此,用户可以在主空间和隐私空间同时运行不同的应用,达到应用双开的效果。In this scenario, the main space display interface and the privacy space display interface can be simultaneously displayed on the foldable inner screen of the folding screen mobile phone. For example, the main space interface is displayed on the first display unit of the foldable inner screen, and the private space display interface is displayed on the second display unit of the foldable inner screen. Thus, the user can run different applications in the main space and the private space at the same time, achieving the effect of double-opening applications.
如图7所示为折叠屏手机各模块的交互示意图。参照图7,本实施例提供的显示方法的流程,具体包括:Figure 7 is a schematic diagram of the interaction of each module of the folding screen mobile phone. Referring to FIG. 7, the flow of the display method provided in this embodiment specifically includes:
S701,用户管理器响应于接收到的针对用户空间显示的调整操作,设置与调整操作匹配的用户空间view布局,并将设置结果发送给窗口管理器。S701. In response to the received adjustment operation for user space display, the user manager sets a user space view layout that matches the adjustment operation, and sends the setting result to the window manager.
其中,调整操作可以用于在折叠屏手机仅显示主空间显示界面或隐私空间显示界面时,指示将主空间和隐私空间同时显示;调整操作也可以用于在折叠屏手机同时显示主空间显示界面和隐私空间显示界面时,指示仅显示主空间显示界面或隐私空间显示界面。示例性的,调整操作为双指在显示界面右侧边缘或左侧边缘滑动到中间的操作时,指示将主空间和隐私空间同时显示。又示例性的,调整操作为向左或右拖拽屏幕中间控件(bar)时,指示仅显示主空间显示界面或隐私空间显示界面。Among them, the adjustment operation can be used to instruct to display the main space and the private space at the same time when the folding screen mobile phone only displays the main space display interface or the private space display interface; the adjustment operation can also be used to simultaneously display the main space display interface on the folding screen mobile phone and PrivateSpace display interface, indicates that only the MainSpace display interface or the PrivateSpace display interface is displayed. Exemplarily, the adjustment operation is an operation in which two fingers slide the right edge or the left edge of the display interface to the middle, indicating that the main space and the private space are displayed at the same time. In another example, when the adjustment operation is dragging the middle control (bar) of the screen to the left or right, it indicates that only the display interface of the main space or the display interface of the private space is displayed.
在调整操作指示将主空间和隐私空间同时显示时,用户管理器将主空间的view布局和隐私空间的view布局大小均设置为折叠内屏的一半或者折叠内屏的部分区域;在调整操作指示仅显示主空间显示界面或隐私空间显示界面时,用户管理器将主空间的view布局或隐私空间的view布局设置为整个折叠内屏。When the adjustment operation instructs to display the main space and the private space at the same time, the user manager sets the view layout of the main space and the view layout of the private space to be half of the folded inner screen or a part of the folded inner screen; When only displaying the display interface of the main space or the display interface of the private space, the user manager sets the view layout of the main space or the view layout of the private space as the entire folded inner screen.
S702,窗口管理器根据当前的用户空间view布局,创建相应的用户空间窗口。S702. The window manager creates a corresponding user space window according to the current user space view layout.
当主空间的view布局和隐私空间的view布局大小均设置为折叠内屏的一半时,窗口管理器根据主空间的view布局创建与主空间对应的窗口,并根据隐私空间的view布局创建与隐私空间对应的窗口。其中,主空间和隐私空间的窗口可以分别设置于折叠内屏的第一显示单元和第二显示单元。示例性的,主空间口设置于折叠内屏的第一显示单元,隐私空间的窗口设置于折叠内屏的第二显示单元。可选的,第一显示单元和第二显示单元在折叠内屏上左右布局,且二者的区域大小是相同的。When the size of the view layout of the main space and the view layout of the private space are both set to half of the folded inner screen, the window manager creates a window corresponding to the main space according to the view layout of the main space, and creates a window corresponding to the private space according to the view layout of the private space corresponding window. Wherein, the windows of the main space and the private space can be respectively set on the first display unit and the second display unit of the folding inner screen. Exemplarily, the main space opening is set on the first display unit of the foldable inner screen, and the window of the private space is set on the second display unit of the foldable inner screen. Optionally, the first display unit and the second display unit are arranged left and right on the folding inner screen, and the area sizes of the two are the same.
当主空间的view布局或隐私空间的view布局设置为整个折叠内屏时,窗口管理器仅根据主空间的view布局创建与主空间对应的窗口,或者仅根据隐私空间的view布局创建与隐私空间对应的窗口。When the view layout of the main space or the view layout of the private space is set to the entire folded inner screen, the window manager only creates windows corresponding to the main space according to the view layout of the main space, or creates windows corresponding to the private space only according to the view layout of the private space window.
S703,显示管理器在折叠内屏上显示相应的用户空间界面。S703. The display manager displays a corresponding user space interface on the folding inner screen.
显示管理器针对窗口管理器创建的窗口在折叠内屏上进行界面显示。The display manager performs interface display on the folded inner screen for the window created by the window manager.
示例性的,当窗口管理器仅根据主空间的view布局创建与主空间对应的窗口时,或者仅根据隐私空间的view布局创建与隐私空间对应的窗口时,则显示管理器在折叠内屏上对应显示与主空间窗口对应的主空间显示界面,或者显示与隐私空间窗口对应的隐私空间显示界面。Exemplarily, when the window manager creates a window corresponding to the main space only according to the view layout of the main space, or only creates a window corresponding to the private space according to the view layout of the private space, the display manager is displayed on the folded inner screen Correspondingly displaying the main space display interface corresponding to the main space window, or displaying the private space display interface corresponding to the private space window.
又示例性的,当窗口管理器既根据主空间的view布局创建与主空间对应的窗口,又根据隐私空间的view布局创建与隐私空间对应的窗口时,则显示管理器在折叠内屏上同时显示与主空间窗口对应的主空间显示界面,以及与隐私空间窗口对应的隐私空间显示界面。当主空间的view布局和隐私空间的view布局大小均设置为折叠内屏的一半时,则在折叠内屏上同时显示的主空间显示界面和隐私空间显示界面,大小一致且均为折叠内屏的一半。As another example, when the window manager not only creates a window corresponding to the main space according to the view layout of the main space, but also creates a window corresponding to the private space according to the view layout of the private space, the display manager simultaneously A main space display interface corresponding to the main space window and a private space display interface corresponding to the private space window are displayed. When the size of the view layout of the main space and the view layout of the private space are both set to half of the folded inner screen, the main space display interface and the private space display interface displayed on the folded inner screen at the same time have the same size and are both of the folded inner screen half.
这样,折叠屏手机既可以在其折叠内屏上全屏显示主空间显示界面或隐私空间显示界面,又可以在其折叠内屏上同时显示主空间显示界面和隐私空间显示界面。In this way, the folding screen mobile phone can not only display the main space display interface or the private space display interface in full screen on the folding inner screen, but also display the main space display interface and the private space display interface on the folding inner screen at the same time.
如图8a-图8c所示为示例性示出的一种应用场景示意图。参照图8a,折叠屏手机在折叠内屏上显示主空间显示界面。其中,主空间显示界面可以是主空间的任意界面,例如可以是主界面,也可以是任意应用的显示界面。此时,用户执行双指在显示界面右侧边缘滑动到中间的操作。折叠屏手机响应于接收到的用户操作,在折叠内屏的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间锁屏界面,如图8b所示。当用户完成解锁操作时,折叠屏手机在折叠内屏上的显示界面可以参照图8c所示,此时在折叠内屏的第二显示单元802上显示隐私空间的主界面。FIG. 8a-FIG. 8c are schematic diagrams of an exemplary application scenario. Referring to FIG. 8a , the foldable screen mobile phone displays a main space display interface on the foldable inner screen. Wherein, the main space display interface may be any interface of the main space, for example, it may be a main interface, or it may be a display interface of any application. At this time, the user performs an operation of sliding two fingers from the right edge of the display interface to the middle. In response to the received user operation, the folding screen mobile phone displays the main space display interface on the
如图9a-图9b所示为示例性示出的一种应用场景示意图。参照图9a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间显示界面。此时,用户执行向左拖拽中间控件803的操作。折叠屏手机响应于接收到的用户操作,在折叠内屏全屏显示隐私空间显示界面,如图9b所示。此时,用户执行双指在显示界面左侧边缘滑动到中间的操作。折叠屏手机响应于接收到的用户操作,在折叠内屏上的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间显示界面,可以参照图9a。Fig. 9a- Fig. 9b are schematic diagrams of an exemplary application scenario. Referring to FIG. 9a , the folding screen mobile phone displays the main space display interface on the
如图10、图8a-图8b所示为示例性示出的一种应用场景示意图。参照图10,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间显示界面。此时,用户执行向右拖拽中间控件803的操作。折叠屏手机响应于接收到的用户操作,在折叠内屏全屏显示主空间显示界面,如图8a所示。如果用户再次执行双指在显示界面右侧边缘滑动到中间的操作,则折叠屏手机响应于接收到的用户操作,在折叠内屏的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间锁屏界面,依旧如图8b所示。此时,隐私空间显示的依旧是解锁界面。也即,每次显示隐私空间界面时,都需要用户重新进行解锁操作。Fig. 10 and Fig. 8a- Fig. 8b are exemplary schematic diagrams of an application scenario. Referring to FIG. 10 , the folding screen mobile phone displays the main space display interface on the
其中,隐私空间的解锁密码与主空间的解锁密码可以是相同的,也可以是不同的。示例性的,隐私空间的解锁方式可以是密码解锁、指纹解锁、人脸解锁等。可选的,当隐私空间密码重置时,可以采用双重验证模式,例如手机账号密码验证加其它一种验证方式的双重验证模式。示例性的,当隐私空间密码重置时,可以采用手机账号密码验证加主空间密码验证的双重验证模式,也可以采用手机账号密码加密保问题验证的双重验证模式等。Wherein, the unlocking password of the private space and the unlocking password of the main space may be the same or different. Exemplarily, the way to unlock the private space may be password unlocking, fingerprint unlocking, face unlocking, and the like. Optionally, when the private space password is reset, a double verification mode can be adopted, such as a double verification mode of mobile phone account password verification plus another verification method. Exemplarily, when the private space password is reset, a double verification mode of mobile phone account password verification plus main space password verification may be adopted, or a double verification mode of mobile phone account password encryption and question verification may be adopted.
如图8c、图11和图8a所示为示例性示出的一种应用场景示意图。参照图8c,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间显示界面。此时,若用户执行息屏操作,或者折叠屏手机满足自动息屏条件时,折叠屏手机则会息屏。如果用户对折叠屏手机执行亮屏操作,折叠屏手机显示主空间的锁屏界面,其中,锁屏界面可以如图11所示。当折叠屏手机被解锁后,折叠屏手机全屏显示息屏前的主空间显示界面,此时其显示界面如图8a所示。Fig. 8c, Fig. 11 and Fig. 8a are schematic diagrams of an exemplary application scenario. Referring to FIG. 8c, the folding screen mobile phone displays the main space display interface on the
如图9b、图11和图8a所示为示例性示出的一种应用场景示意图。参照图9b,折叠屏手机在折叠内屏全屏显示隐私空间显示界面。此时,若用户执行息屏操作,或者折叠屏手机满足自动息屏条件时,折叠屏手机则会息屏。如果用户对折叠屏手机执行亮屏操作,折叠屏手机显示主空间的锁屏界面,其中,锁屏界面可以如图11所示。当折叠屏手机被解锁后,折叠屏手机可以全屏显示主空间主界面(桌面),此时其显示界面如图8a所示。Fig. 9b, Fig. 11 and Fig. 8a are schematic diagrams of an exemplary application scenario. Referring to FIG. 9b , the folding screen mobile phone displays a private space display interface in full screen on the folded inner screen. At this time, if the user performs the off-screen operation, or the folding screen mobile phone meets the automatic screen off condition, the folding screen mobile phone will turn off the screen. If the user performs a screen brightening operation on the folding screen mobile phone, the folding screen mobile phone displays a lock screen interface of the main space, wherein the lock screen interface may be as shown in FIG. 11 . When the folding screen mobile phone is unlocked, the folding screen mobile phone can display the main interface (desktop) of the main space in full screen, and its display interface is shown in FIG. 8a at this time.
也即,在折叠屏手机锁屏之前,无论其是同时显示主空间显示界面和隐私空间显示界面,还是仅显示隐私空间显示界面,当折叠屏手机息屏锁屏并被再次解锁后,其仅会显示主空间显示界面。若用户需要折叠屏手机显示隐私空间显示界面,则需要从显示界面边缘处再次重新划出,并进行二次认证,参见图8a-图8c。That is, before the folding screen mobile phone locks the screen, whether it displays the main space display interface and the private space display interface at the same time, or only displays the private space display interface, when the folding screen mobile phone locks the screen and is unlocked again, it only The main space display interface will be displayed. If the user needs to display the private space display interface on the folding screen mobile phone, it needs to redraw from the edge of the display interface again and perform secondary authentication, see Figure 8a-8c.
需要指的是,根据上述显示方法的具体流程,电子设备在其尺寸较大的非可折叠显示屏上也可以同时显示不同用户空间的显示界面。本实施例在此不再赘述。It should be pointed out that, according to the specific flow of the above display method, the electronic device can simultaneously display display interfaces of different user spaces on its larger non-foldable display screen. This embodiment will not be described in detail here.
在本场景中,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户可以根据实际需求同时在主空间和隐私空间进行相应的操作。其中,主空间显示界面也可以是主界面、任意应用的任意界面,隐私空间显示界面也可以是主界面、任意应用的任意界面。此时,用户可以同时在主空间显示界面和隐私空间显示界面进行任何操作,例如,用户可以在主空间中使用聊天应用,在隐私空间中使用图库应用。由此,用户无需在不同的用户空间之间进行切换后再进行相关操作,提升了使用体验。In this scenario, when the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, the user can perform corresponding operations in the main space and the private space at the same time according to actual needs. Wherein, the display interface of the main space may also be the main interface or any interface of any application, and the display interface of the private space may also be the main interface or any interface of any application. At this time, the user can perform any operation on the display interface of the main space and the display interface of the private space at the same time, for example, the user can use the chat application in the main space and the gallery application in the private space. Therefore, the user does not need to switch between different user spaces before performing related operations, which improves the user experience.
如图12所示为折叠屏手机各模块的交互示意图。参照图12,本实施例提供的显示方法的流程,具体包括:Figure 12 is a schematic diagram of the interaction of each module of the folding screen mobile phone. Referring to Figure 12, the flow of the display method provided in this embodiment specifically includes:
S1201,用户管理器响应于接收到的用户操作,确定与该用户操作匹配的用户空间。S1201. The user manager determines a user space matching the user operation in response to the received user operation.
用户操作,可以是在任意操作,例如可以是打开应用的操作,或者是在应用界面中执行的任意操作等。其中,该用户操作可以是在主空间显示界面中执行的,也可以是在隐私空间显示界面中执行。The user operation may be any operation, for example, it may be an operation of opening an application, or any operation performed in an application interface. Wherein, the user operation may be performed in the display interface of the main space, or may be performed in the display interface of the private space.
在接收到用户操作之后,用户管理器判断与该用户操作匹配的用户空间,也即判断该用户操作所针对的用户空间,并将判断结果发送给窗口管理器。示例性的,用户管理器可以根据该用户操作的指针坐标判断与该用户操作匹配的用户空间。若该用户操作的指针坐标落入主空间显示界面的区域范围内,则用户管理器判断与该用户操作匹配的用户空间为主空间。若该用户操作的指针坐标落入隐私空间显示界面的区域范围内,则用户管理器判断与该用户操作匹配的用户空间为隐私空间。After receiving the user operation, the user manager judges the user space matching the user operation, that is, judges the user space targeted by the user operation, and sends the judgment result to the window manager. Exemplarily, the user manager may determine the user space matching the user operation according to the pointer coordinates of the user operation. If the coordinates of the pointer operated by the user fall within the range of the display interface of the main space, the user manager determines that the user space matching the user operation is the main space. If the coordinates of the pointer operated by the user fall within the range of the display interface of the private space, the user manager determines that the user space matching the user operation is the private space.
S1202,窗口管理器根据该用户空间的view布局,创建与该用户空间对应的窗口。S1202. The window manager creates a window corresponding to the user space according to the view layout of the user space.
窗口管理器接收用户管理器的判断结果,获知用户操作所针对的用户空间是主空间还是隐私空间。进而,窗口管理器可以根据与该用户空间的view布局,创建与该用户空间对应的窗口。The window manager receives the judgment result of the user manager, and knows whether the user space targeted by the user operation is the main space or the private space. Furthermore, the window manager can create a window corresponding to the user space according to the view layout of the user space.
示例性的,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面,且主空间的view布局和隐私空间的view布局大小均为折叠内屏的一半时,若用户操作所针对的用户空间是隐私空间,则窗口管理器创建与隐私空间对应的窗口,且该窗口的大小为折叠内屏的一半,并在该窗口中绘制与用户操作匹配的界面。Exemplarily, when the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, and the view layout of the main space and the view layout of the private space are both half the size of the folding inner screen, if the user operates If the targeted user space is the privacy space, the window manager creates a window corresponding to the privacy space, and the size of the window is half of the folded inner screen, and draws an interface matching the user operation in the window.
作为一种可选的实施方式,在用户空间的的view布局未被调整的情况下,窗口管理器也直接对该用户空间的窗口进行更新,在窗口中绘制与用户操作匹配的界面。As an optional implementation manner, when the view layout of the user space is not adjusted, the window manager directly updates the window of the user space, and draws an interface matching the user operation in the window.
此时,S1202可以适应性地调整为:在该用户空间的view布局未被调整时,窗口管理器更新与该用户空间对应的窗口。At this point, S1202 may be adaptively adjusted to: when the view layout of the user space is not adjusted, the window manager updates the window corresponding to the user space.
S1203,显示管理器在折叠内屏上更新显示该用户空间的显示界面。S1203. The display manager updates and displays the display interface of the user space on the folding inner screen.
接续前例,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面,且主空间的view布局和隐私空间的view布局大小均为折叠内屏的一半时,若窗口管理器创建了与隐私空间对应的窗口,则显示管理器在折叠内屏上更新显示隐私空间显示界面。Continuing from the previous example, when the main space display interface and the private space display interface are displayed on the folding inner screen of the folding screen mobile phone at the same time, and the view layout of the main space and the view layout of the private space are both half the size of the folding inner screen, if the window manager After creating a window corresponding to the private space, the display manager updates and displays the private space display interface on the folding inner screen.
若用户操作所针对的用户空间是主空间,处理流程亦是如此,本实施例对此不再赘述。这样,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户可以根据实际需求同时在主空间和隐私空间进行相应的操作,无需在不同用户空间之间切换后再执行相关操作。If the user space targeted by the user operation is the main space, the same is true for the processing flow, which will not be repeated in this embodiment. In this way, when the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, the user can perform corresponding operations in the main space and the private space at the same time according to actual needs, without switching between different user spaces. Then perform related operations.
需要注意的是,折叠屏手机公共存储区中数据在不同用户空间中是相互隔离的,相同应用的数据在不同用户空间也是相互隔离的。例如,主空间中微信应用中存储的数据与隐私空间中微信应用中存储的数据是相互隔离的。示例性的,隐私空间中的联系人应用的数据与主空间联系人应用中的数据是相互隔离的。若隐私空间中联系人显示功能关闭,则在主空间通话记录中不会显示隐私空间中的联系人姓名;若隐私空间中联系人显示功能开启,则在主空间通话记录中会显示隐私空间中的联系人姓名。其中,隐私空间中联系人显示功能是否开启,用户可以手机设置功能中按需进行选择。It should be noted that the data in the public storage area of the folding screen mobile phone is isolated from each other in different user spaces, and the data of the same application is also isolated from each other in different user spaces. For example, the data stored in the WeChat application in the main space and the data stored in the WeChat application in the private space are isolated from each other. Exemplarily, the data of the contact application in the private space is isolated from the data of the main space contact application. If the function of displaying contacts in the private space is turned off, the name of the contact in the private space will not be displayed in the call history of the main space; if the function of displaying the contacts of the private space is turned on, the call history of the main space will display Contact name for . Among them, whether the function of displaying contacts in the private space is enabled or not, the user can select according to needs in the mobile phone setting function.
还需要指出的是,在隐私空间运行应用产生的数据,会直接保存在隐私空间中。例如,用户在隐私空间中相机应用中进行拍照,拍摄所得的数据直接存储在隐私空间中。再例如,用户在隐私空间中通话应用中拨打电话,通话记录也会直接存储在隐私空间中。It should also be pointed out that the data generated by running the application in the private space will be directly saved in the private space. For example, a user takes a photo in the camera application in the private space, and the data obtained from the shooting is directly stored in the private space. For another example, if the user makes a call in the calling application in the private space, the call record will also be directly stored in the private space.
如图13a-图13c所示为示例性示出的一种应用场景示意图。参照图13a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如微信应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如备忘录应用显示界面。当用户在隐私空间的备忘录应用显示界面中键入字符“日记:”后,折叠屏手机折叠内屏上显示界面的变化,可以参见图13b。对比图13a和图13b,第一显示单元801上显示的主空间显示界面未发生变化,而第二显示单元802上显示的隐私空间显示界面根据用户操作进行了更新。FIG. 13a-FIG. 13c are schematic diagrams of an exemplary application scenario. Referring to Figure 13a, the folding screen mobile phone displays the main space display interface on the
如图13b所示,若用户在主空间的微信应用显示界面中点击“直播”选项,则第一显示单元801上显示的主空间显示界面会进行相应的更新,折叠屏手机折叠内屏上显示界面的变化,可以参见图13c。对比图13b和图13c,第一显示单元801上显示的主空间显示界面根据用户操作进行了更新,而第二显示单元802上显示的隐私空间显示界面未发生变化。由此,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户可以根据实际需求同时在主空间和隐私空间进行相应的操作。As shown in Figure 13b, if the user clicks the "live broadcast" option in the WeChat application display interface of the main space, the main space display interface displayed on the
当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,主空间显示界面和隐私空间显示界面上可以是不同应用的显示界面,还可以是同一种应用的显示界面。如图14所示为示例性示出的一种应用场景示意图。参照图14,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,在折叠内屏的第二显示单元802上显示隐私空间显示界面。其中,主空间显示界面和隐私空间显示界面均为微信应用的显示界面。需要指出的是,若主空间显示界面和隐私空间显示界面为同一种应用的显示界面时,若该种应用需要账号登录,则用户需要使用不同的账号分别在主空间和隐私空间中进行应用登录。例如,用户需要使用不同的账号分别在主空间中的微信应用和隐私空间中的微信应用进行登录。When the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, the main space display interface and the private space display interface may be display interfaces of different applications, or may be display interfaces of the same application. FIG. 14 is a schematic diagram of an exemplary application scenario. Referring to FIG. 14 , the folding screen mobile phone displays the main space display interface on the
需要注意的是,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,若用户在主空间或隐私空间中的操作会导致硬件资源冲突,则主空间或隐私空间中的应用无法进行正常响应。也即,如果主空间和隐私空间中运行硬件资源抢占的应用,以相机被抢占为例,则先开启相机功能的应用可以正常运行,后开启相机功能的应用无法正常运行。It should be noted that when the main space display interface and the private space display interface are displayed on the folding inner screen of the folding screen mobile phone at the same time, if the user's operation in the main space or private space will cause hardware resource conflict, the main space or private space The application in is not responding normally. That is, if applications that preempt hardware resources are running in the main space and the private space, for example, if the camera is preempted, the application that enables the camera function first can run normally, and the application that turns on the camera function later cannot run normally.
如图15a-图15b所示为示例性示出的一种应用场景示意图。参照图15a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如相机应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如备忘录应用显示界面。如图15a所示,若用户在隐私空间中的备忘录应用显示界面中点击相机选项804,折叠手机折叠内屏上的显示界面的变化可以参见图15b。如15b所示,用户在主空间中使用的是相机应用(此时摄像头被占用),则用户在隐私空间中使用备忘录应用中的拍摄功能时,由于资源抢占问题,隐私空间中备忘录应用无法正常响应用户操作。示例性的,隐私空间中备忘录应用显示界面中可以显示提示信息“相机正在运行,无法打开”,可以参照图15b,以对用户进行提示。Fig. 15a- Fig. 15b is a schematic diagram of an exemplary application scenario. Referring to Figure 15a, the folding screen mobile phone displays the main space display interface on the
场景二scene two
在本场景中,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户可以通过拖拽操作在主空间和隐私空间之间共享数据和/或应用,操作简单便捷,提升了用户使用体验。例如,用户可以拖拽某个用户空间中的图片、视频、文档、文字等至另外一个用户空间,可以是复制至另外一个用户空间,也可以迁移至另外一个用户空间。In this scenario, when the main space display interface and the private space display interface are displayed on the folding inner screen of the folding screen mobile phone at the same time, the user can share data and/or applications between the main space and the private space by dragging and dropping, which is easy to operate Convenience improves the user experience. For example, a user can drag pictures, videos, documents, text, etc. from a certain user space to another user space, copy them to another user space, or migrate to another user space.
可选的,当用户从主空间中拖拽数据到隐私空间中保存时,折叠屏手机主空间中的数据可以被删除,折叠屏手机仅保留隐私空间中的数据。Optionally, when the user drags and drops data from the main space to the private space to save, the data in the main space of the folding screen mobile phone can be deleted, and the folding screen mobile phone only retains the data in the private space.
可选的,当用户从主空间中拖拽数据到隐私空间中应用上分享时,折叠屏手机主空间中的数据不会被删除。Optionally, when the user drags and drops data from the main space to the application in the private space to share, the data in the main space of the folding screen phone will not be deleted.
可选的,当用户从隐私空间中拖拽数据到主空间中保存时,折叠屏手机隐私空间中的数据不会被删除,而是被复制后存储在主空间中。Optionally, when the user drags and drops data from the private space to the main space to save, the data in the private space of the folding screen mobile phone will not be deleted, but copied and stored in the main space.
如图16所示为折叠屏手机各模块的交互示意图。参照图16,以用户从主空间中拖拽图片至隐私空间为例,本实施例提供的数据迁移方法的流程,具体包括:Figure 16 is a schematic diagram of the interaction of each module of the folding screen mobile phone. Referring to Figure 16, taking the user dragging a picture from the main space to the private space as an example, the flow of the data migration method provided by this embodiment includes:
S1601,用户管理器响应于在主空间图库应用上接收到的长按拖动操作,创建图片拖拽动画效果,并监测长按拖动操作的位置。S1601. In response to the long-press and drag operation received on the main space gallery application, the user manager creates a picture drag animation effect, and monitors the position of the long-press and drag operation.
当用户需要将主空间中存储的图片迁移或复制到隐私空间中时,在主空间的图库应用上选择相应的图片后执行长按拖动操作。其中,用户迁移或复制的图片数量可以是一个或多个。需要注意的是,长按拖动操作仅仅是举例性说明,本实施例对操作的具体实现形式不做限定。When the user needs to migrate or copy a picture stored in the main space to the private space, select the corresponding picture on the gallery application of the main space and perform a long-press and drag operation. Wherein, the number of pictures migrated or copied by the user may be one or more. It should be noted that the long press and drag operation is only an example, and this embodiment does not limit the specific implementation form of the operation.
响应于用户的长按拖动操作,用户管理器创建与用户操作对应的图片拖拽动画特效。其中,图片拖拽动画特效用于演示图片被拖拽移动的动画效果。In response to the user's long press and drag operation, the user manager creates an image drag animation special effect corresponding to the user operation. Wherein, the picture dragging animation special effect is used to demonstrate the animation effect of the picture being dragged and moved.
同时,用户管理器还会监测长按拖动操作在显示界面中的位置,也即监测用户手指在折叠屏手机显示屏上的滑动触摸位置。在折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户管理器会监测长按拖动操作是处于主空间的显示界面还是隐私空间的显示界面。At the same time, the user manager will also monitor the position of the long press and drag operation in the display interface, that is, monitor the sliding touch position of the user's finger on the display screen of the folding screen mobile phone. When the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, the user manager will monitor whether the long press and drag operation is on the display interface of the main space or the display interface of the private space.
进而,用户管理器会根据长按拖动操作的位置不同,执行不同的操作。例如,当用户管理器监测到长按拖动操作的位置始终处于主空间显示界面时,用户管理器可以不进行处理;当用户管理器监测到长按拖动操作的位置由处于主空间显示界面变成处于隐私空间显示界面时,用户管理器会指示进行图片迁移、图片分享等。Furthermore, the user manager will perform different operations according to the position of the long-press and drag operation. For example, when the user manager detects that the position of the long press and drag operation is always in the main space display interface, the user manager may not process it; When it changes to the display interface of the private space, the user manager will instruct to perform image migration, image sharing, etc.
S1602,用户管理器根据长按拖动操作的位置,指示在对应的用户空间显示界面上显示图片拖拽动画效果。S1602, the user manager instructs to display the picture drag animation effect on the corresponding user space display interface according to the position of the long press and drag operation.
用户管理器监测长按拖动操作在显示界面中的位置,并根据长按拖动操作的位置,指示在主空间显示界面和/或隐私空间显示界面中显示图片拖拽动画效果。例如,当用户管理器监测到长按拖动操作处于主空间显示界面时,则向窗口管理器指示在主空间显示界面上显示图片拖拽动画效果;当用户管理器监测到长按拖动操作处于隐私空间显示界面时,则向窗口管理器指示在隐私空间显示界面上显示图片拖拽动画效果。当用户管理器监测到长按拖动操作处于主空间显示界面和隐私空间显示界面的交界处时,则向窗口管理器指示在主空间显示界面和隐私空间显示界面上共同显示完整的图片拖拽动画效果。The user manager monitors the position of the long press and drag operation in the display interface, and instructs to display the picture drag animation effect on the main space display interface and/or private space display interface according to the position of the long press and drag operation. For example, when the user manager detects that the long press and drag operation is in the main space display interface, it indicates to the window manager to display the picture drag animation effect on the main space display interface; when the user manager detects that the long press and drag operation When in the private space display interface, instruct the window manager to display the picture dragging animation effect on the private space display interface. When the user manager detects that the long press and drag operation is at the junction of the main space display interface and the private space display interface, it instructs the window manager to display a complete image drag and drop on the main space display interface and the private space display interface Animation effect.
S1603,窗口管理器根据该用户空间的view布局,创建与该用户空间对应的窗口。S1603. The window manager creates a window corresponding to the user space according to the view layout of the user space.
窗口管理器根据用户管理器的指示,以及主空间和/或隐私空间的view布局,创建与主空间和/或隐私空间对应的窗口。其中,窗口的创建用于指示对用户空间显示界面的更新,相关操作可以参考已有技术,在此不再赘述。The window manager creates windows corresponding to the main space and/or the private space according to the instruction of the user manager and the view layout of the main space and/or the private space. Wherein, the creation of the window is used to indicate the updating of the display interface in the user space, and related operations may refer to the prior art, which will not be repeated here.
S1604,显示管理器在该用户空间显示界面上显示图片拖拽动画效果。S1604. The display manager displays an animation effect of picture dragging on the user space display interface.
显示管理器根据窗口管理器创建的窗口进行主空间显示界面和隐私空间显示界面的更新。其中,当长按拖动操作处于主空间显示界面时,则显示管理器在主空间显示界面上显示图片拖拽动画效果;当长按拖动操作处于隐私空间显示界面时,则显示管理器在隐私空间显示界面上显示图片拖拽动画效果;当长按拖动操作处于主空间显示界面和隐私空间显示界面的交界处时,则显示管理器在主空间显示界面和隐私空间显示界面上共同显示完整的图片拖拽动画效果。The display manager updates the display interface of the main space and the display interface of the private space according to the windows created by the window manager. Among them, when the long-press and drag operation is in the display interface of the main space, the display manager displays the picture drag animation effect on the display interface of the main space; when the long-press and drag operation is in the display interface of the private space, the display manager is in The animation effect of picture dragging is displayed on the private space display interface; when the long press and drag operation is at the junction of the main space display interface and the private space display interface, the display manager is displayed on the main space display interface and the private space display interface Complete picture drag and drop animation effect.
S1605,用户管理器监测到长按拖动操作在隐私空间显示界面上取消。S1605. The user manager detects that the long press and drag operation is canceled on the private space display interface.
当用户管理器监测到长按拖动操作的位置由处于主空间显示界面变成处于隐私空间显示界面时,会继续监测到长按拖动操作的位置,以及监测长按拖动操作在隐私空间显示界面中取消的位置。其中,长按拖动操作取消,可以理解为长按拖动操作停止且用户手指松开,此时用户手指不再与显示屏接触。When the user manager detects that the position of the long press and drag operation changes from the display interface of the main space to the display interface of the private space, it will continue to monitor the position of the long press and drag operation, and monitor the position of the long press and drag operation in the private space Shows the location of the cancel in the interface. Wherein, the cancellation of the long-press and drag operation may be understood as the stop of the long-press and drag operation and the user's finger is released, and at this time, the user's finger is no longer in contact with the display screen.
进而,用户管理器可以根据长按拖动操作在隐私空间显示界面中取消的位置不同,执行不同的操作。其中,长按拖动操作在隐私空间显示界面中取消的位置不同,表示用户执行长按拖动操作的意图不同。例如,当用户执行长按拖动操作,并在隐私空间分享类应用(如微信应用、邮箱应用等)上取消操作时,表明用户需要分享图片。其中,分享类应用也可以称之为社交类应用,可以用于用户在公共平台上发表信息或向他人发送信息。再例如,当用户执行长按拖动操作,并在隐私空间存储类应用(如图库应用、文件管理应用等)上取消操作时,表明用户需要迁移图片至隐私空间。Furthermore, the user manager may perform different operations according to different locations where the long-press and drag operation is canceled in the private space display interface. Wherein, the position of canceling the long-press and drag operation in the display interface of the private space is different, indicating that the intention of the user to perform the long-press and drag operation is different. For example, when the user performs a long-press and drag operation and cancels the operation on a private space sharing application (such as a WeChat application, an email application, etc.), it indicates that the user needs to share a picture. Among them, sharing applications can also be called social applications, which can be used for users to publish information on public platforms or send information to others. For another example, when the user performs a long press and drag operation and cancels the operation on a private space storage application (such as a gallery application, a file management application, etc.), it indicates that the user needs to transfer the picture to the private space.
S1606,用户管理器向窗口管理器指示取消显示图片拖拽动画效果。S1606, the user manager instructs the window manager to cancel the animation effect of dragging and dropping the picture.
用户管理器在监测到长按拖动操作在隐私空间显示界面上取消时,向窗口管理器指示取消显示图片拖拽动画效果。When the user manager detects that the long-press and drag operation is canceled on the private space display interface, it instructs the window manager to cancel the animation effect of dragging and displaying the picture.
S1607,窗口管理器根据各用户空间的view布局,创建与各用户空间对应的窗口。S1607. The window manager creates a window corresponding to each user space according to the view layout of each user space.
窗口管理器根据用户管理器的指示,以及主空间和隐私空间的view布局,分别创建与主空间对应的窗口,以及与隐私空间对应的窗口。The window manager creates a window corresponding to the main space and a window corresponding to the private space respectively according to the instruction of the user manager and the view layout of the main space and the private space.
S1608,显示管理器在各用户空间显示界面上取消显示图片拖拽动画效果。S1608. The display manager cancels the animation effect of dragging and dropping pictures displayed on each user space display interface.
显示管理器根据窗口管理器创建的窗口进行主空间显示界面和隐私空间显示界面的更新。此时,用户的长按拖动操作取消,显示管理器在主空间显示界面和隐私空间显示界面上都不再显示图片拖拽动画效果。The display manager updates the display interface of the main space and the display interface of the private space according to the windows created by the window manager. At this point, the user's long press and drag operation is canceled, and the display manager no longer displays the picture dragging animation effect on both the main space display interface and the private space display interface.
S1609,用户管理器根据操作取消的位置,调用文件迁移服务进行文件迁移或文件复制。S1609, the user manager invokes the file migration service to perform file migration or file replication according to the location where the operation is canceled.
长按拖动操作在隐私空间显示界面中取消的位置不同时,用户管理器可以调用文件迁移服务执行不同的操作,例如调用文件迁移服务进行文件迁移或文件复制。在本实施例中,用户管理器调用文件迁移服务进行图片迁移操作或图片复制操作。When the long-press and drag operations are canceled in different positions on the private space display interface, the user manager can call the file migration service to perform different operations, such as calling the file migration service to perform file migration or file copying. In this embodiment, the user manager invokes the file migration service to perform a picture migration operation or a picture copy operation.
其中,当用户管理器调用文件迁移服务进行文件迁移时,文件只会存储于迁移后的用户空间中。当用户管理器调用文件迁移服务进行文件复制时,文件会存储于两个用户空间。例如,当用户管理器调用文件迁移服务将文件由主空间迁移至隐私空间时,主空间中存储的文件会被删除,该文件只会存储于隐私空间中。当用户管理器调用文件迁移服务将文件由主空间复制至隐私空间时,主空间中存储的文件不会被删除,该文件会同时存储于主空间和隐私空间中。Wherein, when the user manager invokes the file migration service to perform file migration, the files will only be stored in the migrated user space. When the User Manager invokes the file migration service to copy files, the files are stored in both user spaces. For example, when the user manager invokes the file migration service to migrate files from the main space to the private space, the files stored in the main space will be deleted, and the files will only be stored in the private space. When the user manager invokes the file migration service to copy files from the main space to the private space, the files stored in the main space will not be deleted, and the files will be stored in both the main space and the private space.
示例性的,用户管理器调用文件迁移服务时,其调用函数的参数可以包括但不限于:文件源空间存储地址、文件目的空间存储地址、文件处理类型。其中,文件处理类型包括迁移和复制。Exemplarily, when the user manager invokes the file migration service, the parameters of the calling function may include but not limited to: the storage address of the file source space, the storage address of the destination space of the file, and the type of file processing. Among them, the file processing type includes migration and replication.
其中,文件目的空间存储地址可以根据长按拖动操作在隐私空间显示界面中取消的位置确定。例如,当长按拖动操作在隐私空间显示界面中取消的位置为存储类应用的图标处或显示界面中时,文件目的空间存储地址可以是存储类应用在隐私空间中的数据存储地址。再例如,当长按拖动操作在隐私空间显示界面中取消的位置为隐私空间主界面空白处时,文件目的空间存储地址可以是存储类应用在隐私空间中的数据存储地址,或者是隐私空间的数据存储地址。又例如,当长按拖动操作在隐私空间显示界面中取消的位置为分享类应用的图标处或显示界面中时,文件目的空间存储地址可以是分享类应用在隐私空间中的数据存储地址。其中,Wherein, the storage address of the file destination space can be determined according to the position where the long-press and drag operation is canceled in the private space display interface. For example, when the location where the long press and drag operation is canceled on the display interface of the private space is the icon of the storage application or in the display interface, the storage address of the file destination space may be the data storage address of the storage application in the private space. For another example, when the location where the long press and drag operation is canceled in the private space display interface is the blank space on the main interface of the private space, the storage address of the file destination space can be the data storage address of the storage application in the private space, or the private space data storage address. For another example, when the location where the long press and drag operation is canceled on the display interface of the private space is the icon of the sharing application or in the display interface, the storage address of the file destination space may be the data storage address of the sharing application in the private space. in,
可选的,当长按拖动操作在隐私空间显示界面中取消的位置为存储类应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行文件迁移操作。例如,当长按拖动操作在隐私空间显示界面中取消的位置为图库应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行图片迁移操作。Optionally, when the location where the long press and drag operation is canceled on the display interface of the private space is the icon of the storage application or in the display interface, the user manager may call the file migration service to perform the file migration operation. For example, when the position where the long press and drag operation is canceled on the display interface of the private space is at the icon of the gallery application or in the display interface, the user manager may call the file migration service to perform the image migration operation.
又可选的,当长按拖动操作在隐私空间显示界面中取消的位置为存储类应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行文件复制操作。例如,当长按拖动操作在隐私空间显示界面中取消的位置为图库应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行图片复制操作。Optionally, when the location where the long-press and drag operation is canceled on the display interface of the private space is the icon of the storage application or in the display interface, the user manager can call the file migration service to perform the file copy operation. For example, when the location where the long press and drag operation is canceled in the display interface of the private space is the icon of the gallery application or in the display interface, the user manager may call the file migration service to perform a picture copy operation.
可选的,当长按拖动操作在隐私空间显示界面中取消的位置为隐私空间主界面空白处时,用户管理器可以调用文件迁移服务进行文件迁移操作。Optionally, when the position where the long-press and drag operation is canceled in the private space display interface is a blank space on the main interface of the private space, the user manager can call the file migration service to perform the file migration operation.
又可选的,当长按拖动操作在隐私空间显示界面中取消的位置为隐私空间主界面空白处时,用户管理器可以调用文件迁移服务进行文件复制操作。Optionally, when the long-press and drag operation is canceled in the private space display interface, the user manager can call the file migration service to perform the file copy operation.
可选的,当长按拖动操作在隐私空间显示界面中取消的位置为分享类应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行文件复制操作。例如,当长按拖动操作在隐私空间显示界面中取消的位置为微信应用的图标处或显示界面中时,用户管理器可以调用文件迁移服务进行图片复制操作。Optionally, when the location where the long press and drag operation is canceled on the display interface of the private space is at the icon of the sharing application or in the display interface, the user manager can call the file migration service to perform the file copy operation. For example, when the location where the long press and drag operation is canceled in the private space display interface is the icon of the WeChat application or in the display interface, the user manager can call the file migration service to perform the image copy operation.
可选的,当长按拖动操作在隐私空间显示界面中取消的位置为非分享类且非存储类应用(如浏览器应用等)的图标处或显示界面中时,用户管理器无法调用文件迁移服务,此时可以提示用户无法保存或分享图片,或者可以提示用户无法存储或分享信息,以指示此处无法拖拽文件或信息。Optionally, when the long-press and drag operation is canceled on the private space display interface at the icon of a non-shared and non-storage application (such as a browser application, etc.) or in the display interface, the user manager cannot call the file Migration service. At this time, the user can be prompted that pictures cannot be saved or shared, or the user can be prompted that information cannot be stored or shared, so as to indicate that files or information cannot be dragged and dropped here.
本实施例对S1606-S1608和S1609的时序不做限定。This embodiment does not limit the timing of S1606-S1608 and S1609.
S1610,文件迁移服务执行文件迁移操作或文件复制操作。S1610, the file migration service performs a file migration operation or a file copy operation.
文件迁移服务响应于用户管理器的调用,执行相应的文件迁移或文件复制操作。其中,文件迁移操作涉及的文件可以是图片、文档、视频等,文件复制操作涉及的文件可以是图片、文档、视频、文字等。The file migration service performs corresponding file migration or file copy operations in response to the call of the user manager. Wherein, the files involved in the file migration operation may be pictures, documents, videos, etc., and the files involved in the file copying operation may be pictures, documents, videos, texts, etc.
其中,当文件迁移服务完成文件迁移操作或文件复制操作时,文件迁移服务可以向用户管理器反馈信息,以向用户管理器指示文件迁移操作或文件复制操作已完成。Wherein, when the file migration service completes the file migration operation or the file copy operation, the file migration service may feed back information to the user manager, so as to indicate to the user manager that the file migration operation or the file copy operation has been completed.
在一种可选的实施方式中,当长按拖动操作在隐私空间显示界面中取消的位置为分享类应用的图标处或显示界面中时,用户管理器调用文件迁移服务进行文件复制操作。当文件迁移服务完成文件复制操作时,用户管理器可以调用分享类应用的接口将复制的文件添加至分享类应用的附件中或可编辑界面中,以进行文件分享操作。In an optional implementation manner, when the long-press and drag operation is canceled in the display interface of the private space at the icon of the sharing application or in the display interface, the user manager invokes the file migration service to perform the file copy operation. When the file migration service completes the file copy operation, the user manager can call the interface of the sharing application to add the copied file to the attachment of the sharing application or to the editable interface, so as to perform the file sharing operation.
上述流程是以图片为例的,针对文档、视频、文字等的处理流程亦是如此,在此不再赘述。这样,用户可以通过长按拖动操作将在主空间中选中的文件直接存在隐私空间中,或者直接在隐私空间的应用中进行分享。类似的,用户可以通过长按拖动操作将在隐私空间中选中的文件直接存在主空间中,或者直接在主空间的应用中进行分享,在此不再赘述。由此,用户可以通过长按拖动操作在不同用户空间中进行数据分享,操作简单,提升了用户使用体验。The above-mentioned process is based on pictures as an example, and the same is true for the processing process of documents, videos, texts, etc., and will not be repeated here. In this way, the user can directly save the file selected in the main space in the private space by long pressing and dragging, or directly share it in the application of the private space. Similarly, the user can directly store the selected file in the private space in the main space by long-pressing and dragging, or directly share it in the application in the main space, which will not be repeated here. Thus, the user can perform data sharing in different user spaces through a long press and drag operation, which is easy to operate and improves the user experience.
如图17a-图17c所示为示例性示出的一种应用场景示意图。参照图17a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如图库应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如图库应用显示界面。用户在主空间的图库应用中选中图片1701和图片1702后,执行长按拖动操作,以将图片1701和图片1702由主空间向隐私空间迁移。折叠屏手机响应于用户操作,创建并显示图片拖拽动画效果,可以参见图17b。其中,若用户拖拽图片时,图片拖拽动画效果中可以显示用户拖拽图片的数量。若用户拖拽多张图片,图片拖拽动画效果中可以显示多张图片重叠的效果。用户长按拖动图片1701和图片1702由主空间至隐私空间,如用户的长按拖动操作在隐私空间中图库应用显示界面中取消,也即用户手指滑动至隐私空间图库应用显示界面中后再松开手指,参照图17b。折叠屏手机响应于用户操作,取消显示图片拖拽动画效果,并将图片1701和图片1702由主空间迁移至隐私空间中。此时,这两张图片不再存储于主空间的图库应用中,而是存储于隐私空间的图库应用中,如图17c所示。FIG. 17a-FIG. 17c are schematic diagrams of an exemplary application scenario. Referring to Figure 17a, the folding screen mobile phone displays the main space display interface on the
如图18a-图18b、图17c所示为示例性示出的一种应用场景示意图。参照图18a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如图库应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间的主界面。用户在主空间的图库应用中选中图片1701和图片1702后,执行长按拖动操作,以将图片1701和图片1702由主空间向隐私空间迁移。折叠屏手机响应于用户操作,创建并显示图片拖拽动画效果,可以参见图17b。用户长按拖动图片1701和图片1702由主空间至隐私空间,如用户的长按拖动操作在隐私空间中图库应用图标上取消,也即用户手指滑动至隐私空间图库应用图标上后再松开手指,参照图18b。折叠屏手机响应于用户操作,取消显示图片拖拽动画效果,并将图片1701和图片1702由主空间迁移至隐私空间中。此时,这两张图片不再存储于主空间的图库应用中,而是存储于隐私空间的图库应用中。当用户打开隐私空间中图库应用后,主空间图库应用显示界面和隐私空间图库应用显示界面可以如图17c所示。Fig. 18a- Fig. 18b and Fig. 17c are exemplarily shown schematic diagrams of an application scenario. Referring to Figure 18a, the folding screen mobile phone displays the main space display interface on the
如图18a、图19、图17c所示为示例性示出的一种应用场景示意图。参照图18a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如图库应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间的主界面。用户在主空间的图库应用中选中图片1701和图片1702后,执行长按拖动操作,以将图片1701和图片1702由主空间向隐私空间迁移。折叠屏手机响应于用户操作,创建并显示图片拖拽动画效果,可以参见图17b。用户长按拖动图片1701和图片1702由主空间至隐私空间,如用户的长按拖动操作在隐私空间主界面空白处取消,也即用户手指滑动至隐私空间主界面空白处后再松开手指,参照图19。折叠屏手机响应于用户操作,取消显示图片拖拽动画效果,并将图片1701和图片1702由主空间迁移至隐私空间中。此时,这两张图片不再存储于主空间的图库应用中,而是存储于隐私空间的图库应用中。当用户打开隐私空间中图库应用后,主空间图库应用显示界面和隐私空间图库应用显示界面可以如图17c所示。Fig. 18a, Fig. 19 and Fig. 17c are schematic diagrams of an exemplary application scenario. Referring to Figure 18a, the folding screen mobile phone displays the main space display interface on the
如图20a-图20e所示为示例性示出的一种应用场景示意图。参照图20a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如图库应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间的主界面。用户在主空间的图库应用中选中图片2001后,执行长按拖动操作,以将图片2001由主空间向隐私空间移动,并在隐私空间中进行图片分享。折叠屏手机响应于用户操作,创建并显示图片拖拽动画效果,可以参见图20b。用户长按拖动图片2001由主空间至隐私空间,如用户的长按拖动操作在隐私空间微信应用图标处取消,也即用户手指滑动至隐私空间微信应用图标处后再松开手指,参照图20b。折叠屏手机响应于用户操作,取消显示图片拖拽动画效果,并将图片2001由主空间复制至隐私空间中。由于用户的长按拖动操作是在隐私空间微信应用图标处取消的,折叠屏手机响应于用户操作,可以调用微信应用的相关接口,在隐私空间显示界面中显示微信应用的聊天选择界面,折叠屏手机隐私空间显示界面变化可以如图20c所示。参照图20c,当用户选择其中一个聊天好友时,折叠屏手机响应于用户操作,调用微信应用的相关接口,获取复制至隐私空间中的图片2001生成与该聊天好友对应的待发送信息,折叠屏手机隐私空间显示界面变化可以如图20d所示。参照图20d,若用户确认后点击“发送”选项,则折叠屏手机通过隐私空间微信应用将图片2001发送至该聊天好友,折叠屏手机隐私空间显示界面变化可以如图20e所示。Fig. 20a- Fig. 20e are schematic diagrams of an exemplary application scenario. Referring to Figure 20a, the folding screen mobile phone displays the main space display interface on the
如图21a-图21b所示为示例性示出的一种应用场景示意图。参照图21a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如图库应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间的主界面。用户在主空间的图库应用中选中图片2101后,执行长按拖动操作,以将图片2101由主空间向隐私空间移动,并在隐私空间中进行图片分享。折叠屏手机响应于用户操作,创建并显示图片拖拽动画效果,如图21a所示。用户长按拖动图片2101由主空间至隐私空间,如用户的长按拖动操作在隐私空间浏览器应用图标处取消,也即用户手指滑动至隐私空间浏览器应用图标处后再松开手指,参照图21a。由于长按拖动操作在隐私空间显示界面中取消的位置为非分享类且非存储类应用的图标处,折叠屏手机响应于用户操作,无法进行文件迁移或文件复制操作,此时可以在隐私空间显示界面中提示用户无法保存或分享图片,以此指示此处无法拖拽文件。例如,折叠屏手机可以通过消息提示框的形式提示用户无法保存或分享图片,如图21b所示。Fig. 21a- Fig. 21b is a schematic diagram of an exemplary application scenario. Referring to Figure 21a, the folding screen mobile phone displays the main space display interface on the
如图22a-图22c所示为示例性示出的一种应用场景示意图。参照图22a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如微信应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如备忘录应用显示界面。用户在主空间的微信应用显示界面中选中字符段2201后,执行长按拖动操作,以将字符段2201由主空间向隐私空间复制。折叠屏手机响应于用户操作,创建并显示文字拖拽动画效果,可以参见图22b。其中,文字拖拽动画特效用于演示文字字符等被拖拽移动的动画效果。示例性的,文字拖拽动画效果中可以显示待复制至隐私空间的所有字符或部分字符,字符的排序方式可以与原显示界面一致。用户长按拖动字符段2201由主空间至隐私空间,如用户的长按拖动操作在隐私空间中备忘录应用显示界面中取消,也即用户手指滑动至隐私空间备忘录应用显示界面中后再松开手指,参照图22b。折叠屏手机响应于用户操作,取消显示图片拖拽动画效果,并将字符段2201由主空间复制至隐私空间备忘录应用中。此时,主空间微信应用显示界面不发生变化,隐私空间备忘录显示界面中添加了字符段2201中的所有字符,如图22c所示。FIG. 22a-FIG. 22c are schematic diagrams of an exemplary application scenario. Referring to Figure 22a, the folding screen mobile phone displays the main space display interface on the
如图23a-图23e所示为示例性示出的一种应用场景示意图。参照图23a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如主空间微信应用显示界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间微信应用显示界面。用户在主空间的微信应用显示界面中选中字符段2301后,执行长按拖动操作,以将字符段2301由主空间向隐私空间复制,并在隐私空间中进行文字分享。折叠屏手机响应于用户操作,创建并显示文字拖拽动画效果,可以参见图23b。用户长按拖动字符段2301由主空间至隐私空间,如用户的长按拖动操作在隐私空间微信应用图标处取消,也即用户手指滑动至隐私空间微信应用图标处后再松开手指,参照图23b。折叠屏手机响应于用户操作,取消显示文字拖拽动画效果,并将字符段2301由主空间复制至隐私空间中。由于用户的长按拖动操作是在隐私空间微信应用图标处取消的,折叠屏手机响应于用户操作,可以调用微信应用的相关接口,在隐私空间显示界面中显示微信应用的聊天选择界面,折叠屏手机隐私空间显示界面变化可以如图23c所示。参照图23c,当用户选择其中一个聊天好友时,折叠屏手机响应于用户操作,调用微信应用的相关接口,获取复制至隐私空间中的字符段2301生成与该聊天好友对应的待发送信息,折叠屏手机隐私空间显示界面变化可以如图23d所示。参照图23d,若用户确认后点击“发送”选项,则折叠屏手机通过隐私空间微信应用将字符段2301发送至该聊天好友,折叠屏手机隐私空间显示界面变化可以如图23e所示。Fig. 23a- Fig. 23e are schematic diagrams of an exemplary application scenario. Referring to Figure 23a, the folding screen mobile phone displays the main space display interface on the
场景三scene three
在本场景中,当折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户在主空间和隐私空间之间拖拽应用程序图标可以实现相应应用程序的安装,操作简单便捷,提升了用户使用体验。例如,用户将主空间中的浏览器图标拖拽至隐私空间中,可以实现在隐私空间中安装该浏览器应用。In this scenario, when the main space display interface and the private space display interface are displayed on the folding inner screen of the folding screen mobile phone at the same time, the user can drag and drop the application icon between the main space and the private space to realize the installation of the corresponding application. It is simple and convenient, and improves the user experience. For example, the user drags and drops the browser icon in the main space to the private space, so that the browser application can be installed in the private space.
如图24为折叠屏手机各模块的交互示意图。参照图24,以用户从主空间中拖拽应用程序图标至隐私空间为例,本实施例提供的应用程序安装流程,具体包括:Figure 24 is a schematic diagram of the interaction of each module of the folding screen mobile phone. Referring to Figure 24, taking the user dragging the application icon from the main space to the private space as an example, the application installation process provided by this embodiment includes:
S2401,用户管理器响应于对主空间应用图标的长按拖动操作,创建图标拖拽动画效果,并监测长按拖动操作的位置。S2401. In response to a long-press and drag operation on an application icon in the main space, the user manager creates an icon drag animation effect, and monitors a position of the long-press and drag operation.
当用户需要将在主空间中安装的应用也安装到隐私空间中时,在主空间中对相应应用程序的图标执行长按拖动操作。需要注意的是,长按拖动操作仅仅是举例性说明,本实施例对操作的具体实现形式不做限定。When the user needs to install the application installed in the main space into the private space, the user performs a long-press and drag operation on the icon of the corresponding application in the main space. It should be noted that the long press and drag operation is only an example, and this embodiment does not limit the specific implementation form of the operation.
响应于用户的长按拖动操作,用户管理器创建与用户操作对应的图标拖拽动画特效。其中,图标拖拽动画特效用于演示应用图标被拖拽移动的动画效果。In response to the user's long press and drag operation, the user manager creates an icon drag animation special effect corresponding to the user operation. Wherein, the icon drag animation special effect is used to demonstrate the animation effect of the application icon being dragged and moved.
同时,用户管理器还会监测长按拖动操作在显示界面中的位置,也即监测用户手指在折叠屏手机显示屏上的滑动触摸位置。在折叠屏手机的折叠内屏上同时显示主空间显示界面和隐私空间显示界面时,用户管理器会监测长按拖动操作是处于主空间的显示界面还是隐私空间的显示界面。At the same time, the user manager will also monitor the position of the long press and drag operation in the display interface, that is, monitor the sliding touch position of the user's finger on the display screen of the folding screen mobile phone. When the main space display interface and the private space display interface are simultaneously displayed on the folding inner screen of the folding screen mobile phone, the user manager will monitor whether the long press and drag operation is on the display interface of the main space or the display interface of the private space.
进而,用户管理器会根据长按拖动操作的位置不同,执行不同的操作。例如,当用户管理器监测到长按拖动操作的位置始终处于主空间显示界面时,用户管理器可以不进行处理;当用户管理器监测到长按拖动操作的位置由处于主空间显示界面变成处于隐私空间显示界面时,用户管理器会指示进行应用安装等。Furthermore, the user manager will perform different operations according to the position of the long-press and drag operation. For example, when the user manager detects that the position of the long press and drag operation is always in the main space display interface, the user manager may not process it; When it changes to the private space display interface, the user manager will instruct to install the application, etc.
S2402,用户管理器根据长按拖动操作的位置,指示在对应的用户空间显示界面上显示图标拖拽动画效果。S2402, the user manager instructs to display icon drag animation effects on the corresponding user space display interface according to the position of the long-press drag operation.
用户管理器监测长按拖动操作在显示界面中的位置,并根据长按拖动操作的位置,指示在主空间显示界面和/或隐私空间显示界面中显示图标拖拽动画效果。例如,当用户管理器监测到长按拖动操作处于主空间显示界面时,则向窗口管理器指示在主空间显示界面上显示图标拖拽动画效果;当用户管理器监测到长按拖动操作处于隐私空间显示界面时,则向窗口管理器指示在隐私空间显示界面上显示图标拖拽动画效果。当用户管理器监测到长按拖动操作处于主空间显示界面和隐私空间显示界面的交界处时,则向窗口管理器指示在主空间显示界面和隐私空间显示界面上共同显示完整的图标拖拽动画效果。The user manager monitors the position of the long-press and drag operation in the display interface, and instructs to display icon drag animation effects on the main space display interface and/or private space display interface according to the position of the long-press and drag operation. For example, when the user manager detects that the long press and drag operation is in the main space display interface, it indicates to the window manager that the icon drag animation effect is displayed on the main space display interface; when the user manager detects that the long press and drag operation When in the display interface of the private space, instruct the window manager to display an animation effect of icon dragging on the display interface of the private space. When the user manager detects that the long press and drag operation is at the junction of the main space display interface and the private space display interface, it instructs the window manager to display the complete icon drag on the main space display interface and the private space display interface Animation effect.
S2403,窗口管理器根据该用户空间的view布局,创建与该用户空间对应的窗口。S2403. The window manager creates a window corresponding to the user space according to the view layout of the user space.
窗口管理器根据用户管理器的指示,以及主空间和/或隐私空间的view布局,创建与主空间和/或隐私空间对应的窗口。其中,窗口的创建用于指示对用户空间显示界面的更新,相关操作可以参考已有技术,在此不再赘述。The window manager creates windows corresponding to the main space and/or the private space according to the instruction of the user manager and the view layout of the main space and/or the private space. Wherein, the creation of the window is used to indicate the updating of the display interface in the user space, and related operations may refer to the prior art, which will not be repeated here.
S2404,显示管理器在该用户空间显示界面上显示图标拖拽动画效果。S2404. The display manager displays an animation effect of icon dragging on the user space display interface.
显示管理器根据窗口管理器创建的窗口进行主空间显示界面和隐私空间显示界面的更新。其中,当长按拖动操作处于主空间显示界面时,则显示管理器在主空间显示界面上显示图标拖拽动画效果;当长按拖动操作处于隐私空间显示界面时,则显示管理器在隐私空间显示界面上显示图标拖拽动画效果;当长按拖动操作处于主空间显示界面和隐私空间显示界面的交界处时,则显示管理器在主空间显示界面和隐私空间显示界面上共同显示完整的图标拖拽动画效果。The display manager updates the display interface of the main space and the display interface of the private space according to the windows created by the window manager. Among them, when the long press and drag operation is in the main space display interface, the display manager displays the icon drag animation effect on the main space display interface; when the long press and drag operation is in the private space display interface, the display manager is in the The icon drag animation effect is displayed on the private space display interface; when the long press and drag operation is at the junction of the main space display interface and the private space display interface, the display manager is displayed on the main space display interface and the private space display interface together Complete icon drag and drop animation effects.
示例性的,当长按拖动操作处于主空间的显示界面内时,主空间显示界面中的应用图标可以跟随图标拖拽动画特效移动;当长按拖动操作处于隐私空间的显示界面内时,跟随图标拖拽动画特效移动的主空间应用图标恢复至原有位置处进行显示,此时图标拖拽动画效果显示在隐私空间显示界面中。也就是说,被执行长按拖动操作的主空间应用图标,不会随长按拖动操作移动至隐私空间显示界面中。Exemplarily, when the long press and drag operation is in the display interface of the main space, the application icon in the main space display interface can move along with the icon dragging animation special effect; when the long press and drag operation is in the display interface of the private space , the main space application icon moved following the icon dragging animation effect is restored to its original position for display, and the icon dragging animation effect is displayed on the private space display interface. That is to say, the main space application icon that is subjected to the long-press and drag operation will not be moved to the private space display interface along with the long-press and drag operation.
S2405,用户管理器监测到长按拖动操作在隐私空间显示界面上取消。S2405. The user manager detects that the long press and drag operation is canceled on the private space display interface.
当用户管理器监测到长按拖动操作的位置由处于主空间显示界面变成处于隐私空间显示界面时,会继续监测到长按拖动操作的位置,以及监测长按拖动操作在隐私空间显示界面中取消的位置。其中,长按拖动操作取消,可以理解为长按拖动操作停止且用户手指松开,此时用户手指不再与显示屏接触。When the user manager detects that the position of the long press and drag operation changes from the display interface of the main space to the display interface of the private space, it will continue to monitor the position of the long press and drag operation, and monitor the position of the long press and drag operation in the private space Shows the location of the cancellation in the interface. Wherein, the cancellation of the long-press and drag operation may be understood as the stop of the long-press and drag operation and the user's finger is released, and at this time, the user's finger is no longer in contact with the display screen.
S2406,用户管理器向窗口管理器指示取消显示图标拖拽动画效果。S2406, the user manager instructs the window manager to cancel the icon drag animation effect.
用户管理器在监测到长按拖动操作在隐私空间显示界面上取消时,向窗口管理器指示取消显示图片拖拽动画效果。When the user manager detects that the long-press and drag operation is canceled on the private space display interface, it instructs the window manager to cancel the animation effect of dragging and displaying the picture.
S2407,窗口管理器根据各用户空间的view布局,创建与各用户空间对应的窗口。S2407. The window manager creates a window corresponding to each user space according to the view layout of each user space.
窗口管理器根据用户管理器的指示,以及主空间和隐私空间的view布局,分别创建与主空间对应的窗口,以及与隐私空间对应的窗口。The window manager creates a window corresponding to the main space and a window corresponding to the private space respectively according to the instruction of the user manager and the view layout of the main space and the private space.
S2408,显示管理器在各用户空间显示界面上取消显示图标拖拽动画效果。S2408. The display manager cancels the icon dragging animation effect on each user space display interface.
显示管理器根据窗口管理器创建的窗口进行主空间显示界面和隐私空间显示界面的更新。此时,用户的长按拖动操作取消,显示管理器在主空间显示界面和隐私空间显示界面上都不再显示图标拖拽动画效果。The display manager updates the display interface of the main space and the display interface of the private space according to the windows created by the window manager. At this point, the user's long press and drag operation is canceled, and the display manager no longer displays icon dragging animation effects on both the main space display interface and the private space display interface.
S2409,用户管理器当长按拖动操作在隐私空间主界面空白处取消时,调用应用管理服务进行应用安装。S2409, the user manager invokes the application management service to install the application when the long press and drag operation is canceled on the blank space of the main interface of the privacy space.
当监测到长按拖动操作在隐私空间主界面中取消时,用户管理器判断长按拖动操作在隐私空间显示界面中取消的位置是否为隐私空间主界面空白处。若是,则用户管理器调用应用管理服务进行应用安装。When detecting that the long press and drag operation is canceled in the main interface of the Private Space, the user manager determines whether the position where the long press and drag operation is canceled in the private space display interface is a blank space on the main interface of the Private Space. If yes, the user manager invokes the application management service to install the application.
如果用户管理器判断出长按拖动操作在隐私空间显示界面中取消的位置并非隐私空间主界面空白处,则用户管理器不会调用应用管理服务进行应用安装。此时,用户管理器可以提示用户无法安装应用。If the user manager determines that the location where the long press and drag operation is canceled in the private space display interface is not a blank space on the main interface of the private space, the user manager will not call the application management service to install the application. At this point, the user manager can prompt the user that the application cannot be installed.
示例性,当用户管理器调用应用管理服务进行应用安装时,其调用函数的参数可以包括但不限于:应用名称、应用APK的存储路径。Exemplarily, when the user manager invokes the application management service to install the application, the parameters of the calling function may include but not limited to: the application name and the storage path of the application APK.
本实施例对S2406-S2408和S2409的时序不做限定。This embodiment does not limit the timing of S2406-S2408 and S2409.
S2410,应用管理服务在隐私空间中执行应用安装操作。S2410, the application management service performs an application installation operation in the private space.
应用管理服务响应于用户管理器的调用,在隐私空间中执行相应的应用安装操作。其中,应用管理服务在完成应用安装时,还可以向用户管理器反馈信息,以向用户管理器指示应用安装已完成。The application management service executes a corresponding application installation operation in the private space in response to the call of the user manager. Wherein, when the application installation is completed, the application management service may also feed back information to the user manager, so as to indicate to the user manager that the application installation is completed.
这样,用户可以通过长按拖动操作将在主空间中已安装的应用程序安装于隐私空间中。类似的,用户可以通过长按拖动操作将在隐私空间中已安装的应用程序安装于主空间中,在此不再赘述。由此,用户可以通过长按拖动操作实现在另外一个用户空间中安装应用程序,操作简单,提升了用户使用体验。In this way, the user can install the application installed in the main space in the private space by long-pressing and dragging. Similarly, the user can install the application installed in the private space in the main space by long pressing and dragging, and details will not be described here. Thus, the user can install the application program in another user space through a long-press and drag operation, which is easy to operate and improves the user experience.
如图25a-图25c所示为示例性示出的一种应用场景示意图。参照图25a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如主空间主界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如隐私空间主界面。用户在主空间显示界面上选中浏览器应用图标2501后,执行长按拖动操作,以将在隐私空间中安装浏览器应用。折叠屏手机响应于用户操作,创建并显示图标拖拽动画效果,可以参见图25b。用户长按拖动浏览器应用图标2501由主空间至隐私空间,如用户的长按拖动操作在隐私空间中主界面空白处取消,也即用户手指滑动至隐私空间主界面空白处后再松开手指,参照图25b。折叠屏手机响应于用户操作,确定长按拖动操作是在隐私空间主界面空白处取消,则在隐私空间中安装浏览器应用。折叠屏手机在隐私空间中安装完成浏览器应用后,其显示界面可以参照图25c。此时,主空间和隐私空间中都安装有浏览器应用。Fig. 25a- Fig. 25c are schematic diagrams of an exemplary application scenario. Referring to Figure 25a, the folding screen mobile phone displays the main space display interface on the
如图26a-图25b所示为示例性示出的一种应用场景示意图。参照图26a,折叠屏手机在折叠内屏上的第一显示单元801上显示主空间显示界面,例如主空间主界面;折叠屏手机在折叠内屏的第二显示单元802上显示隐私空间显示界面,例如备忘录应用显示界面。用户在主空间显示界面上选中浏览器应用图标2501后,执行长按拖动操作,以将在隐私空间中安装浏览器应用。折叠屏手机响应于用户操作,创建并显示图标拖拽动画效果,可以参见图26b。用户长按拖动浏览器应用图标2501由主空间至隐私空间,如用户的长按拖动操作在隐私空间备忘录显示界面中取消,也即用户手指滑动至隐私空间备忘录显示界面中后再松开手指,参照图26b。折叠屏手机响应于用户操作,确定长按拖动操作并非在隐私空间主界面空白处取消,则不会在隐私空间中安装浏览器应用。此时,折叠屏手机可以提示用户无法安装应用。例如,折叠屏手机可以通过消息提示框的形式提示用户此位置无法拖拽安装APP,如图26c所示。Fig. 26a- Fig. 25b are exemplarily shown schematic diagrams of an application scenario. Referring to Figure 26a, the folding screen mobile phone displays the main space display interface on the
作为一种可选的实施方式,折叠屏手机的隐私空间中可以预置一些常用的应用程序,例如图库应用、文件管理器应用、联系人应用、日历、备忘录应用、相机应用、浏览器应用等。其中,预置的联系人应用可以是简化版的联系人应用,如去除拨号盘功能的联系人应用。As an optional implementation, some commonly used applications can be preset in the private space of the folding screen mobile phone, such as gallery application, file manager application, contact application, calendar, memo application, camera application, browser application, etc. . Wherein, the preset contact application may be a simplified version of the contact application, such as a contact application without a dial pad function.
作为另一种可选的实施方式,折叠屏手机的隐私空间中可以预置应用市场应用。此时,用户可以通过隐私空间中的应用市场应用,查找其所需在隐私空间进行安装的应用程序并安装。此时,折叠屏手机响应于用户在隐私空间中应用市场应用中的操作,在其隐私空间中执行相应的应用安装操作。As another optional implementation manner, the application market application may be preset in the privacy space of the folding screen mobile phone. At this time, the user can find and install the application program that he needs to install in the private space through the application market application in the private space. At this time, the folding screen mobile phone executes a corresponding application installation operation in the private space in response to the user's operation in the application market application in the private space.
需要指出的是,依赖于手机克隆功能,第一电子设备隐私空间中的数据是可以克隆到第二电子设备的隐私空间中的。由此,用户在换机时,无需担心旧设备隐私空间中的数据无法在新设备中显示,提升了用户使用体验。It should be pointed out that, relying on the mobile phone cloning function, the data in the private space of the first electronic device can be cloned into the private space of the second electronic device. Therefore, when the user changes the device, he does not need to worry that the data in the private space of the old device cannot be displayed in the new device, which improves the user experience.
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的显示方法。This embodiment also provides a computer storage medium, in which computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device is made to execute the above related method steps to realize the display method in the above embodiment.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的显示方法。This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above-mentioned related steps, so as to realize the display method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的显示方法。In addition, an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the display methods in the above method embodiments.
其中,本实施例提供的电子设备(如折叠屏手机)、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the electronic device (such as a folding screen mobile phone), computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above. Therefore, the beneficial effects it can achieve can refer to the above The beneficial effects of the corresponding method provided herein will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions described in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the various embodiments of the application.
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111609596.1A CN116360648A (en) | 2021-12-27 | 2021-12-27 | Display method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111609596.1A CN116360648A (en) | 2021-12-27 | 2021-12-27 | Display method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116360648A true CN116360648A (en) | 2023-06-30 |
Family
ID=86932071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111609596.1A Pending CN116360648A (en) | 2021-12-27 | 2021-12-27 | Display method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116360648A (en) |
-
2021
- 2021-12-27 CN CN202111609596.1A patent/CN116360648A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4383069A1 (en) | Method for combining multiple applications and for simultaneously starting multiple applications, and electronic device | |
WO2022100315A1 (en) | Method for generating application interface, and related apparatus | |
US11853526B2 (en) | Window display method, window switching method, electronic device, and system | |
US20220342850A1 (en) | Data transmission method and related device | |
CN111666055B (en) | Data transmission method and device | |
US10299110B2 (en) | Information transmission method and system, device, and computer readable recording medium thereof | |
KR102481065B1 (en) | Application function implementation method and electronic device | |
CN114911380A (en) | Card display method, electronic device and computer-readable storage medium | |
WO2024016559A1 (en) | Multi-device cooperation method, electronic device and related product | |
EP2753053B1 (en) | Method and apparatus for dynamic display box management | |
WO2022001279A1 (en) | Cross-device desktop management method, first electronic device, and second electronic device | |
WO2022028494A1 (en) | Multi-device data collaboration method and electronic device | |
US20160124599A1 (en) | Method for controlling multi display and electronic device thereof | |
WO2022213831A1 (en) | Control display method and related device | |
CN112148401A (en) | View display method and electronic equipment | |
CN112347048A (en) | Electronic device and data sharing method thereof | |
WO2023077975A1 (en) | File migration method, electronic device, and storage medium | |
CN116360648A (en) | Display method and electronic equipment | |
CN114513760B (en) | Font library synchronization method, device and storage medium | |
WO2024066992A1 (en) | Multi-device networking system and method, and terminal devices | |
WO2024008017A1 (en) | Content sharing method, and graphical interface and related apparatus | |
JP7632782B2 (en) | Data transmission method and related device | |
WO2024175068A1 (en) | Distributed control method for application, and electronic device | |
WO2023160455A1 (en) | Object deletion method and electronic device | |
WO2024140560A1 (en) | Control method, and 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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Applicant after: Honor Terminal Co.,Ltd. Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Applicant before: Honor Device Co.,Ltd. Country or region before: China |