WO2023109559A1 - Display method and electronic device - Google Patents
Display method and electronic device Download PDFInfo
- Publication number
- WO2023109559A1 WO2023109559A1 PCT/CN2022/136726 CN2022136726W WO2023109559A1 WO 2023109559 A1 WO2023109559 A1 WO 2023109559A1 CN 2022136726 W CN2022136726 W CN 2022136726W WO 2023109559 A1 WO2023109559 A1 WO 2023109559A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- desktop
- displayed
- display
- pages
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000004590 computer program Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 26
- 230000008569 process Effects 0.000 description 21
- 238000004891 communication Methods 0.000 description 15
- 230000000694 effects Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000005266 casting Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- 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
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- 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/16—Sound input; Sound output
Definitions
- the present application relates to the technical field of terminals, and in particular to a display method and electronic equipment.
- the screen projection mode between electronic devices mainly adopts a mirroring mode, that is, a desktop on one electronic device is completely projected to another electronic device.
- a mirroring mode that is, a desktop on one electronic device is completely projected to another electronic device.
- the desktop on the electronic device 200 will be maximized and centered on the screen of the display device 100 (that is, the receiving device for screen projection); the operations on the electronic device 200 will also respond synchronously
- the screen projection display device 100 that is, the displayed content at both ends is synchronized in real time. It can be seen from FIG. 1 that in the mirroring mode, the projection content cannot fill the screen of the display device 100, and there are black undisplayed areas on both sides of the screen of the display device 100, resulting in poor projection effect and affecting users. experience.
- the present application provides a display method and an electronic device, which can improve the screen projection effect and further improve the screen projection experience of users.
- the present application provides a display method, the method includes: the first electronic device receives the screen projection instruction sent by the second electronic device and the source interface on the second electronic device, the source interface includes (N+M) desktops N is a positive integer greater than or equal to 2, and M is greater than or equal to 0; the first electronic device simultaneously displays N desktop pages on the second electronic device, wherein the N desktop pages include at least the first desktop page and the first desktop page Two desktop pages, the first desktop page is the desktop page currently being displayed on the second electronic device, the second desktop page is a desktop page not currently displayed on the second electronic device; the first desktop page displayed on the first electronic device The content and layout of the desktop page displayed on the second electronic device are the same as those of the first desktop page displayed on the second electronic device, and the content and layout of the second desktop page displayed on the first electronic device are respectively the same as those of the desktop page displayed on the second electronic device.
- the first desktop page is the desktop page currently displayed on the second electronic device. It can be understood that: when the second electronic device receives an operation for projecting the screen to the first electronic device, the second electronic device The displayed desktop page is the currently displayed desktop page. After the second electronic device sends a screen projection instruction to the first electronic device, the second electronic device may display the first desktop page together with the first electronic device; or, the second electronic device may not display the same interface as the first electronic device That is, after the second electronic device projects the currently displayed first desktop page to the first electronic device, the second electronic device may display other interfaces instead of displaying the first desktop page.
- the source interface further includes resident content; the method further includes: displaying the resident content on the first electronic device, where the resident content includes at least one application icon, wherein any two applications are switched and displayed on the second electronic device.
- the resident content remains displayed on the current interface of the second electronic device.
- the resident content may be the content on the second electronic device that does not change with its desktop page switching, such as the content in area Z1 in (A) of FIG. 4 .
- the desktop page included in the source interface may be, but not limited to, an interface where content other than resident content resides.
- the layout and/or content of the resident content displayed on the first electronic device are the same as the layout and/or content of the resident content displayed on the second electronic device.
- the first electronic device before displaying the N desktop pages on the second electronic device, the first electronic device further includes: the first electronic device determines the value of N according to the size of the display screen of the first electronic device . In this way, the first electronic device can display a number of desktop pages suitable for the size of its display screen, thereby improving user experience.
- the method further includes: the first electronic device adjusts the size of content in the N desktop pages according to the size of the display screen of the first electronic device. Therefore, the content displayed on the first electronic device is adapted to the size of its display screen, which improves the display effect and further improves the user experience.
- the method further includes: when the display screen of the first electronic device is switched from the landscape mode to the portrait mode, the first electronic device displays (N-E) desktop pages on the second electronic device, E is a positive integer greater than or equal to 0, and E is smaller than N.
- the value of E is determined by the horizontal or vertical size of the display screen in portrait mode. Therefore, when the display screen of the first electronic device is switched between horizontal and vertical screens, the content displayed on the first electronic device is adapted to the size of the display screen, thereby improving user experience.
- M is greater than or equal to 1, and all desktop pages can be switched and displayed on the first electronic device
- the method further includes: the first electronic device receives an interface switching instruction for switching desktop pages; when When the number X of desktop pages to be switched is greater than or equal to N, the first electronic device switches N desktop pages at a time in response to the acquired interface switching instruction; when the number X of desktop pages to be switched is less than N, the first electronic device The device switches X desktop pages at a time in response to the acquired interface switching instruction. In this way, the blank interface that occurs during the interface switching process on the first electronic device is avoided, and user experience is improved.
- the method further includes: the first electronic device receives the interface switching instruction; the first electronic device obtains the touch parameter corresponding to the interface switching instruction; based on the touch parameter, the first electronic device The target number of desktop pages switched, and the target number of desktop pages switched. Therefore, the number of desktop pages to be switched is determined based on the user's operation, so that the number of switched desktop pages conforms to the user's wishes, thereby improving user experience.
- the method further includes: the first electronic device receives an interface switching instruction sent by the second electronic device, wherein the interface switching instruction is sent by the second electronic device after receiving an operation acting on the second electronic device In response to the interface switching instruction, the first electronic device switches the desktop page; after switching the desktop page, the desktop page currently displayed by the first electronic device is completely different from the desktop page currently displayed by the second electronic device. In this way, the first electronic device and the second electronic device can be linked and switched, which improves user experience.
- the method further includes: in response to the acquired first instruction, the first electronic device switches from displaying N desktop pages to displaying (N-k) desktop pages, where k is a positive integer, and 0 ⁇ k ⁇ N.
- the first instruction may be an operation instruction for reducing the number of desktop pages.
- the method further includes: in response to the acquired second instruction, the first electronic device switches from displaying N desktop pages to displaying (N+h) desktop pages, where h is a positive integer.
- the first instruction may be an operation instruction for increasing the number of desktop pages.
- the present application provides an electronic device, which may include: a display screen; one or more processors; and a memory. Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the method provided in the first aspect.
- the electronic device may be, but not limited to, the display device 100 described below.
- the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on an electronic device, the electronic device is made to execute the method provided in the first aspect.
- the present application provides a computer program product, which causes the electronic device to execute the method provided in the first aspect when the computer program product is run on the electronic device.
- FIG. 1 is a schematic diagram of a screen projection display in a mirror image mode in the related art
- Fig. 2 is a schematic diagram of a projection screen display in a computer mode provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of a hardware structure of a display device provided by an embodiment of the present application.
- Fig. 4 is a schematic diagram of a projection screen display provided by an embodiment of the present application.
- Fig. 5 is a schematic diagram of another screen projection provided by the embodiment of the present application.
- Fig. 6 is a schematic display diagram of a display device provided by an embodiment of the present application in which the display screen is switched from a horizontal screen to a vertical screen;
- Fig. 7 is a schematic display diagram showing that the display screen of another display device provided by the embodiment of the present application is switched from a horizontal screen to a vertical screen;
- Fig. 8 is a schematic display diagram of a display screen of a display device provided in an embodiment of the present application in a vertical screen state;
- FIG. 9 is a schematic display diagram of a display screen of another display device provided in an embodiment of the present application in a vertical screen state;
- FIG. 10 is a schematic diagram of a display on a display screen of another display device provided in an embodiment of the present application.
- FIG. 11 is a schematic diagram of a process of switching desktop pages on a display screen of a display device according to an embodiment of the present application.
- FIG. 12 is a schematic diagram of another process for switching desktop pages on a display screen of a display device provided by an embodiment of the present application.
- FIG. 13 is a schematic diagram of steps for determining the number of desktop pages that can be switched each time the desktop page is switched according to the embodiment of the present application;
- Fig. 14 is a schematic diagram of a process of binding a display screen of a display device and a display screen of an electronic device according to an embodiment of the present application;
- Fig. 15 is a schematic diagram of another process of binding the display screen of the display device and the display screen of the electronic device according to the embodiment of the present application;
- FIG. 16 is a schematic diagram of a process of switching desktop pages after the display screen of the display device and the display screen of the electronic device are bound according to an embodiment of the present application;
- FIG. 17 is a schematic diagram of another process for switching desktop pages after the display screen of the display device and the display screen of the electronic device are bound according to the embodiment of the present application;
- Fig. 18 is a schematic diagram of the process of dynamically adjusting the combination of desktop pages in the linked desktop according to the relative positional relationship between the display device and the electronic device provided by the embodiment of the present application;
- Fig. 19 is a schematic diagram of switching the display interface on the display screen of the display device from two desktop pages to one desktop page according to an embodiment of the present application;
- FIG. 20 is a schematic diagram of a process for reducing the number of desktop pages displayed on a display screen of a display device according to an embodiment of the present application
- Fig. 21 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
- Fig. 22 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
- Fig. 23 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
- Fig. 24 is a schematic diagram of a process of increasing the number of desktop pages displayed on the display screen of the display device according to an embodiment of the present application.
- FIG. 25 is a schematic diagram of another process for increasing the number of desktop pages displayed on a display screen of a display device according to an embodiment of the present application.
- first and second and the like in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
- first response message and the second response message are used to distinguish different response messages, rather than describing a specific order of the response messages.
- 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.
- multiple means two or more, for example, multiple processing units refer to two or more processing units, etc.; multiple A component refers to two or more components or the like.
- the desktop screen projection of the electronic device 200 can be stretched, zoomed and cut according to the size of the screen of the display device 100. , but this will cause problems such as deformation or incomplete display of the projected desktop page displayed on the display device 100 .
- a screen projection method in computer mode has also been developed.
- the desktop on the electronic device 200 will be transformed into a style similar to a computer desktop to fill the screen of the display device 100 (that is, the receiving device for screen projection), and all the screens on the electronic device 200
- the applications are all hidden in the application drawer in the area b1 in the lower left corner of the desktop in the computer mode. After clicking the application drawer in the area b1, the applications on the electronic device 200 can be displayed in the area b2.
- the electronic device 200 and the display device 100 are relatively independent, and the two can be used separately. It can be seen from FIG.
- the screen projection method in the computer mode is to directly and bluntly change the desktop of the electronic device 200 into a computer desktop.
- the computer is a product of a traditional desktop office environment, commonly used files and folders are placed on the computer desktop; and when the electronic device 200 is a mobile terminal (such as a mobile phone), the electronic device 200 is placed on the desktop.
- application, App icon, which makes when the electronic device 200 uses the computer mode to project the screen to the display device 100, the screen projected to the desktop on the display device 100 is contrary to the operation logic of the mobile terminal with App as the core.
- the desktop page of the screen projection in computer mode is displayed on such a portable display
- the graphical user interface (graphic user interface, GUI) paradigm of the screen projection desktop page in computer mode is for use with a keyboard and mouse
- the app icons on the desktop page of the app are small in size and close to each other, and are only suitable for mouse clicks, not for finger touch. This makes the user's experience on the screen-casting desktop page very bad and seriously affects the user experience.
- an embodiment of the present application provides a display method.
- This display method when projecting the desktop on the electronic device 200 to the display device 100, can maintain the arrangement order of the content such as App icons and cards on the desktop on the electronic device 200 on the display device 100, and can be based on the display device 100.
- the size of the display screen of 100 displays N desktop pages on the electronic device 200, where N is a positive integer greater than or equal to 1.
- the screen-casting desktop page on the display device 100 is consistent with the desktop page on the electronic device 200, so that the screen-casting desktop page on the display device 100 conforms to the user's usage habits on the electronic device 200, which is convenient User operations to improve user experience.
- the display device 100 can acquire the screen content (for example, the desktop, etc.) of the electronic device 200 through the screen projection protocol.
- the screen projection protocol may include Miracast protocol, AirPlay protocol, digital living network alliance (digital living network alliance, DLNA) protocol, Intel wireless display technology (intel wireless display, WiDi) protocol, Chromecast protocol, wireless home digital interface ( One or more of wireless home digital interface, WDHI) protocol, cast+ protocol, etc.
- the display device 100 may be a TV, a notebook computer, a tablet computer, a monitor, a vehicle-mounted device, a smart home device, an AI device, and other devices with display screens.
- the electronic device 200 may be a mobile phone, a tablet computer, a notebook computer, an artificial intelligence (AI) device, a wearable device, a vehicle device, a smart home device, and other electronic devices.
- AI artificial intelligence
- Exemplary embodiments of the electronic device 200 include, but are not limited to, electronic devices equipped with iOS, android, Windows, Harmony OS or other operating systems, wherein, the present application does not make a special description of the specific types of the display device 100 and the electronic device 200. limit.
- FIG. 3 shows a hardware structure of the display device 100 .
- the display device 100 may include a processor 110 , a memory 120 , a display screen 130 and a communication module 140 .
- the processor 110, the memory 120, the display screen 130 and the communication module 140 may be connected through a bus or other means.
- the processor 110 is the calculation core and the control core of the display device 100 .
- Processor 110 may include one or more processing units.
- the processor 110 may include an application processor (application processor, AP), a modem (modem), a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video encoder One or more of a decoder, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc.
- different processing units may be independent devices, or may be integrated in one or more processors.
- the memory 120 may store a program, and the program may be executed by the processor 110, so that the processor 110 executes the method provided in this application.
- the memory 120 may also store data.
- the processor 110 can read data stored in the memory 120 .
- the memory 120 and the processor 110 may be provided separately.
- the memory 120 may also be integrated in the processor 110 .
- the display screen 130 is used to display images, videos and the like.
- the display screen 130 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), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- AMOLED active matrix organic light emitting diode
- FLED flexible light-emitting diode
- Miniled MicroLed, Micro-oLed
- quantum dot light emitting diodes quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
- the communication module 140 may include at least one of a mobile communication module and a wireless communication module. Wherein, when the communication module 140 includes a mobile communication module, the communication module 140 may provide a wireless communication solution including 2G/3G/4G/5G applied on the display device 100 .
- GSM Global System for Mobile Communications
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- TD-SCDMA time-division code division multiple access
- LTE long term evolution
- NR new radio
- the communication module 140 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), Bluetooth, etc. applied on the display device 100.
- wireless local area networks wireless local area networks, WLAN
- WLAN wireless local area networks
- Bluetooth such as wireless fidelity (Wireless Fidelity, Wi-Fi) network
- Bluetooth etc.
- wireless local area networks wireless local area networks
- BT wireless local area networks
- GNSS global navigation satellite system
- frequency modulation frequency modulation, FM
- NFC near field communication technology
- infrared technology infrared, IR
- the communication module 140 can be used for the display device 100 to communicate with the electronic device 200 to complete data interaction.
- the display device 100 may further include a sensor 150 .
- the sensor 150 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, or a bone conduction sensor.
- the sensor 150 may also include a touch sensor, also called a "touch device”.
- the touch sensor may be disposed on the display screen 130, and the touch sensor and the display screen 130 form a touch screen, also called a “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.
- the touch sensor can detect touch information (such as: touch position, moving direction, moving range, etc.) of the user touching the electronic device 100; ) to determine the extent to which the user zooms in or out on the desktop page on the electronic device 100 .
- the touch sensor may also be disposed on the surface of the display device 100 , which is different from the position of the display screen 130 .
- the senor 150 may also include a direction sensor.
- the orientation sensor can be used to detect the orientation of the display screen 130 .
- the display device 100 may further include a plurality of signal transmitting components (not shown in the figure) capable of transmitting wireless signals.
- a plurality of signal transmitting components may be arranged on different sides of the display device 100 .
- the signal transmitting component can transmit a wireless signal to the outside of the display device 100 (that is, in the environment) in real time or periodically, so that the electronic device 200 can obtain the wireless signal, and then the electronic device 200 can be different from the display device 100 received by the electronic device 200.
- the relative position between it and the display device 100 is determined by the time difference of the wireless signal sent by the signal transmitting component on the side.
- the wireless signal transmitted by the signal transmitting component may include information indicating the position of the signal transmitting component on the display device 100 .
- the structure shown in FIG. 3 of this solution does not constitute a specific limitation on the display device 100 .
- the display device 100 may include more or fewer components than shown in the illustration, or combine certain components, or separate certain components, or arrange different components.
- the illustrated components can be realized in hardware, software or a combination of software and hardware.
- the electronic device 200 may also have a hardware structure similar to that of the display device 100 shown in FIG. 3 . It can be understood that the electronic device 200 may also have a hardware structure different from that of the display device 100 shown in FIG. 3 .
- the electronic device 200 may have: a processor, a display screen and a communication module.
- the electronic device 200 may send a screen projection instruction and a source interface on the electronic device 200 to the display device 100, wherein the source interface may include ( N+M) desktop pages, where N is a positive integer greater than or equal to 2, and M is greater than or equal to 0.
- the display device 100 acquires the screen projection instruction and the source interface sent by the electronic device 200 , it can simultaneously display N desktop pages on the electronic device 200 on the display screen of the display device 100 in response to the screen projection instruction of the electronic device 200 .
- the content and typesetting contained in each desktop page displayed on the display device 100 are the same as those contained in the desktop page corresponding to the desktop page on the electronic device 200 .
- the content contained in each desktop page may include application icons and/or service cards and the like.
- the desktop page may be understood as an interface of an area composed of content other than the resident content in the page displayed on the desktop of the electronic device 200 .
- the N desktop pages displayed on the display screen of the display device 100 at least include the desktop page currently being displayed on the electronic device 200 .
- the desktop page displayed on the display screen of the display device 100 is the desktop page currently being displayed on the electronic device 200 (hereinafter referred to as "the first desktop page").
- the desktop pages displayed on the display screen of the display device 100 are: the first desktop page, the second desktop page, ..., the Nth desktop page; wherein, the first desktop page is The desktop page currently being displayed on the electronic device 200, the second desktop page is the next desktop page of the first desktop page, the third desktop page is the next desktop page of the second desktop page, and the Nth desktop page is The next desktop page of the (N-1)th desktop page. Wherein, the next desktop page of the Nth desktop page is the first desktop page.
- the desktop page displayed on the display device 100 in addition to the desktop page currently being displayed on the electronic device 200 and the desktop page after the desktop page, may also be are the desktop page currently being displayed on the electronic device 200 and the desktop page before the desktop page.
- the Nth desktop page displayed on the display device 100 is the desktop page currently being displayed on the electronic device 200
- the (N-1)th desktop page may be the desktop page currently being displayed on the electronic device 200.
- the previous desktop page of the desktop page, and the (N-2)th desktop page is the previous desktop page of the (N-1)th desktop page.
- the desktop page displayed on the display device 100 in addition to the desktop page currently being displayed on the electronic device 200 and the desktop page after or before the desktop page, also It may be the desktop page currently being displayed on the electronic device 200, the desktop pages located before the desktop page, and the desktop pages located behind the desktop.
- the (N-i)th desktop page displayed on the display device 100 is the desktop page currently being displayed on the electronic device 200
- the (N-i-1)th desktop page may be the desktop page currently being displayed on the electronic device 200.
- the displayed desktop page is the previous desktop page
- the (N-i+1)th desktop page is the next desktop page of the currently displayed desktop page on the electronic device 200 .
- the N desktop pages displayed on the display screen of the display device 100 may not include the currently displayed interface on the electronic device 200 .
- the electronic device 200 may not project the interface of the application, but the electronic device 200 may project multiple desktop pages of itself.
- the display The desktop page displayed by the device 100 is different from the interface currently displayed by the electronic device 200 .
- the source interface sent by the electronic device 200 obtained by the display device 100 may include not only the desktop page, but also resident content, where the resident content on the electronic device 200 does not change with the switching of the desktop page , that is to say, the resident content on the electronic device 200 will not disappear due to desktop page switching.
- the resident content may be, but not limited to, a resident application.
- the display device 100 may also display the resident content on its display screen, wherein, when the desktop page is switched on the display device 100 , the resident content remains displayed in the current interface of the display device 100 .
- the layout and/or content of the resident content displayed on the display device 100 are the same as the layout and/or content of the resident content displayed on the electronic device 200 .
- the resident content displayed on the display device 100 may be displayed on the display screen of the display device 100 except for the N desktop pages, for example, displayed in the middle of the display screen of the display device 100 and located at lower area.
- the desktop page is the desktop page currently displayed on the electronic device 200
- the desktop page corresponding to the number "2" is the next desktop page after switching from the currently displayed desktop page on the electronic device 200, and the contents in the areas Z1 and Z2 are normal resident content.
- the display device 100 may display an interface as shown in (B) of FIG. 4 .
- the desktop page corresponding to the number "1” corresponds to the desktop page corresponding to the number "1” in (A) of Figure 4, and in (B) shown in Figure 4
- the desktop page corresponding to the number "2” in the interface corresponds to the desktop page corresponding to the number "2" in Figure 4 (A)
- the content displayed in area Z3 in the interface shown in Figure 4 (B) is the same as
- the contents displayed in areas Z1 and Z2 in (A) of FIG. 4 correspond to each other. Comparing (A) and (B) of FIG.
- the resident content displayed by the display device 100 is located below the N desktop pages displayed by the display device 100 and is located in the center of its display area.
- the resident content can also be displayed in other areas, for example, displayed in the lower left or lower right of the display area of the display device 100.
- the resident content is displayed on the display device 100 displayed below the desktop page; in addition, the resident content may also be displayed above the display area of the display device 100, which may be determined according to actual conditions.
- the display device 100 may display an interface as shown in (B) of FIG. 5 .
- the position of the resident content displayed by the display device 100 is similar to the position of the resident content in (B) of FIG. 4 described above, and will not be repeated here. .
- the display device 100 when displaying N desktop pages, can respectively enlarge the contents of the N desktop pages according to the size of its display screen, so that the size of the content displayed on the display device 100 Adapt to the size of the display screen of the display device 100 .
- the display device 100 is a TV and the electronic device 200 is a mobile phone
- the size of the display screen of the TV is much larger than that of the mobile phone
- the screen projection is performed on the mobile phone, every If the size of the content in each desktop page is not displayed, the desktop page displayed on the TV screen will be too small, and there will be a large area of blank space on the TV screen, resulting in a low utilization rate.
- the content in the N desktop pages can be respectively enlarged according to a certain ratio, so that the size of the content displayed on the display screen of the TV is the same as that of the TV Adapt to the size of the display screen, enhance the visual experience and operating experience.
- the value of N may be determined according to the size of the display screen of the display device 100 .
- the corresponding relationship between the value of N and the size of the display screen of the display device 100 can be preset, so that the value of N can be known after the size of the display screen of the display device 100 is known.
- the value of N can be 2; when the size of the display screen of the display device 100 is greater than 15.6 inches, the value of N can be 3 , and so on, which may be determined according to the actual situation, and are not limited here.
- the display device 100 when the display device 100 displays N desktop pages, when the display screen of the display device 100 is in the landscape mode, the horizontal size of the display screen of the display device 100 is larger, so at this time the display device The N desktop pages displayed at 100 can be arranged horizontally in sequence. For example, continue to refer to FIG. 4 (B) and FIG. 5 (B), the display screen of the display device 100 is currently in landscape mode, so the N desktop pages displayed by the display device 100 can be arranged horizontally in turn.
- the horizontal size of the display screen of the display device 100 is smaller, so the N desktop pages displayed by the display device 100 can be arranged vertically in sequence.
- the display interface on the display device 100 can be switched to the interface shown in (B) of FIG. 6 .
- the resident content displayed by the display device 100 is located below the displayed desktop page and in the center of its display area.
- the display device 100 when the display screen of the display device 100 is in the portrait mode, the display device 100 may also vertically display a desktop page, and the desktop page may be the interface currently displayed on the display screen of the electronic device 200 .
- the desktop page displayed on the screen of the display device 100 at this time may be the desktop page ranked first in the landscape mode. For example, as shown in FIG. 7, if under the interface shown in (A) of FIG. 7, the display screen of the display device 100 is in landscape mode, then when the display screen of the display device 100 is switched from landscape mode , the display interface on the display device 100 may be switched to the interface shown in (B) of FIG. 7 , and the interface shown in (B) of FIG. 7 may include a desktop page and a resident content.
- the display device 100 when the display screen of the display device 100 is in the portrait mode, if the horizontal size of the display screen of the display device 100 still supports displaying multiple desktop pages, the display device 100 can still Multiple desktop pages are displayed in landscape orientation on the display. For example, as shown in FIG. 8 , two desktop pages are displayed on the display screen of the display device 100 at this time, wherein the number "1" corresponds to one desktop page, and the number "2" corresponds to one desktop page.
- resident content may also be displayed below the desktop page shown in FIG. 8 .
- the display device 100 100 may also continue to display the remaining desktop pages in the corresponding display space. For example, as shown in FIG. 9, at this time, three desktop pages are displayed on the display screen of the display device 100, two desktop pages are displayed horizontally on the upper half of the display screen, and one desktop page is displayed on the lower half of the display screen. .
- a display mode may also be adopted, which may be determined according to actual conditions, and is not limited here.
- the display screen of the display device 100 may also display Icons of applications recently opened by the user on the display device 100, and/or icons of applications recently opened by the user on the electronic device 200 are displayed, so that the user can quickly find the applications opened recently.
- the area where the icon of the application recently opened by the user is displayed on the display screen of the display device 100 may be determined according to actual conditions, and is not limited here.
- the display device 100 may, but is not limited to, display icons of applications recently opened by the user side by side with resident content. For example, as shown in FIG. 10 , icons of applications recently opened by the user may be displayed at the bottom of the display screen of the display device 100 and near the central area Z4, where the area Z4 is consistent with the resident content displayed on the display device 100. displayed side by side.
- the user can perform operations on the display device 100 . For example: switching desktop pages, etc.
- the number of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time cannot be outnumbered by the number of desktop pages on the electronic device 200.
- the total number of the quantity is divisible, if the interface of the number of desktop pages of the electronic device 200 that can be displayed by the display screen of the display device 100 is switched every time the interface is switched, then when switching to the last desktop page, the screen of the display device 100 The display will go blank.
- the value of M may be greater than or equal to 1.
- desktop page For example, if the number of desktop pages of the electronic device 200 that can be displayed by the display screen of the display device 100 at one time is 2, the total number of desktop pages on the electronic device 200 is 5, and two pages are switched every time the interface is switched.
- Desktop page at this time, as shown in (A) of Figure 11, the user slides to the left with finger F on the display screen of the display device 100, and then the display interface on the display screen of the display device 100 is changed from displaying "1", " 2" desktop page is switched to display "3" and "4" desktop pages, that is, the interface shown in (B) of FIG. 11 is displayed.
- the embodiment of the present application provides a more dynamic solution.
- the display device 100 may obtain the interface switching instruction issued by the user, and then, Y desktop pages to be switched may be moved on the display screen of the display device 100, that is, the desktop page may be switched.
- the display device 100 can After the interface switching instruction issued by the user is obtained, X desktop pages to be switched can be moved on the display screen of the display device 100 , that is, the desktop page can be switched. In this way, the above-mentioned problem of blank space on the display interface existing in the switching interface on the display device 100 can be solved.
- the number Y may be equal to the number N of desktop pages that the display device 100 can simultaneously display.
- desktop pages “1” and “2” are displayed on the display device 100, and the desktop pages to be switched are “3”, "4", "5" desktop pages, the number X of desktop pages to be switched at this time is 3, and the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time is 2. Since X ⁇ Y, when the user switches the interface with finger F on the display device 100, the display screen of the display device 100 can move 2 desktop pages, that is, the interface shown in (B) of FIG. 11 is displayed.
- the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time can also be replaced by the desktop that can be switched each time the interface is switched by the user setting or system preset number of pages.
- the number of desktop pages that can be switched each time the desktop pages are switched may be determined according to the sliding parameters of the user on the display screen of the display device 100 .
- the display device 100 may acquire the sliding parameter corresponding to the interface switching command, and determine the number of desktop pages to be switched by the sliding parameter, and then switch the desktop page.
- the sliding parameters may include sliding distance and/or sliding speed and the like.
- the sliding parameters may be referred to as touch parameters.
- FIG. 13 shows a schematic diagram of steps for determining the number of desktop pages that can be switched each time the interface is switched based on the sliding parameters of the user on the display screen of the display device 100 .
- the display screen of the display device 100 may be a touch screen, and the sliding parameter is a sliding distance. As shown in Figure 13, the following steps are included:
- the display screen on the display device 100 may collect an initial position and an end position of a sliding operation performed by the user.
- the display screen of the display device 100 can obtain the position, that is, obtain the initial position.
- the display screen of the display device 100 can know the position when the user ends the sliding operation, that is, obtain the end position.
- the sliding distance for the user to perform the sliding operation may be calculated from the initial position and the end position.
- the sliding distance is compared with a preset sliding distance threshold, and a size between the sliding distance and the preset sliding distance threshold is determined.
- sliding distance in Figure 13 can also be replaced by other sliding parameters, such as sliding speed, etc.; in addition, the method of obtaining sliding parameters can also be replaced by other methods, which are not limited here, and the replaced The scheme is still within the protection scope of the present application.
- the user can not only operate on the display screen of the display device 100 and the display screen of the electronic device 200 respectively, but also connect the display screen of the display device 100 and the Bind the display screens of the two display screens to form a linked desktop, so that more desktop pages on the electronic device 200 can be displayed at one time, thereby reducing the number of times the user switches desktop pages, and allowing the user to Directly access to the desktop page it needs, improving the efficiency of using two devices when they work together.
- the user may bind the display screen of the display device 100 and the display screen of the electronic device 200 through a specific trigger operation.
- the triggering operation may include one or more of: controlling the collision between the display device 100 and the electronic device 200 , cross-screen pinching operation, voice control and other operations.
- the cross-screen pinch operation may be a multi-finger cross-screen pinch operation, for example, two fingers, three fingers, etc., which is not limited here.
- the desktop pages “d1” and “d2” are being displayed on the display device 100, and the desktop page “1” is being displayed on the electronic device 200, wherein the “1” desktop page The next desktop page is “2" desktop page, and the next desktop page of "2" desktop page is "3" desktop page.
- the user controls the electronic device 200 to collide with the display device 100 , and then the binding between the display device 100 and the electronic device 200 is completed, and the display screens of the two can be linked.
- the display device 100 and the electronic device 200 are bound, as shown in (B) of FIG.
- the "d1" and “d2" desktop pages are switched to display the "2" and "3" desktop pages.
- the desktop pages “d1" and “d2" are being displayed on the display device 100, and the desktop page “1" is being displayed on the electronic device 200, wherein the next desktop page of the "1" desktop page is "2" desktop page, and the next desktop page of "2" desktop page is "3" desktop page.
- the user touches the display screen of the display device 100 with one finger of the hand F, touches the display screen of the electronic device 200 with the other finger of the hand F, and executes the finger After the pinching operation, the binding between the display device 100 and the electronic device 200 is completed, and the display screens of the two can be linked.
- the "d1" and “d2" desktop pages are switched to display the "2" and "3" desktop pages.
- the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop
- the display of the display device 100 and the electronic device 200 The display interface on the screen will be switched in conjunction.
- the interface on the electronic device 200 also follows the switching at the same time; when the user switches the interface on the electronic device 200, the interface on the display device 100 also follows the switching at the same time, thus In order to achieve the effect of linkage switching, it is convenient for users to control, and the display effect and user experience are improved.
- the electronic device 2090 may send the interface switching instruction to the display device 100, so that the two can perform interface switching at the same time; after that, the display device 100 may respond to the interface Switch command, switch desktop page.
- the display device 100 and the electronic device 200 switch the desktop pages, the desktop pages displayed by the two are different.
- the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop.
- the display screen of the electronic device 200 displays "1" desktop page
- the display screen of the display device 100 displays "2" desktop page
- the desktop pages to be switched are "4" and "5" desktop pages.
- the user slides to the left with hand F on the display screen of the electronic device 200 , and then a desktop page switch appears. Since the display screen on the electronic device 200 can only display one desktop page at a time, when the user switches desktop pages on the display screen of the electronic device 200 , one desktop page can be switched at a time on the display screen of the electronic device 200 .
- the display screen of the electronic device 200 may display “2” desktop pages
- the display screen of the display device 100 may display “3” and “4” desktop pages.
- the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop.
- the display screen of the electronic device 200 displays "1" desktop page
- the display screen of the display device 100 displays "2" desktop page
- the desktop pages to be switched are "4" and "5" desktop pages.
- the user slides to the left with the hand F on the display screen of the display device 100 , after which a desktop page switch appears. Since the display screen on the display device 100 can display two desktop pages at a time, when the user switches desktop pages on the display screen of the display device 100 , two desktop pages can be switched at a time on the display screen of the display device 100 .
- the display screen of the electronic device 200 may display "3" desktop page
- the display screen of the display device 100 may display "4" and "5" desktop pages.
- the desktop page displayed on the display screen of the display device 100 and the desktop page displayed on the display screen of the electronic device 200 form a linked desktop
- the positional relationship between the two will change, and at this time, the arrangement order of the desktop pages in the linked desktop composed of the two will also change, resulting in the desktops in the linked desktop at this time.
- the sorting order of the pages does not conform to the user's usage habits.
- the display device 100 and/or the electronic device 200 can adjust the combined form of the desktop pages in the linked desktop according to the relative positional relationship between the two, so that the desktop in the linked desktop
- the combined form of the page conforms to the user's usage habits, thereby improving the user experience.
- the desktop page displayed on the display screen of the display device 100 and the desktop page displayed on the display screen of the electronic device 200 form a linked desktop.
- the display screen of the electronic device 200 displays a "1" desktop page
- the display screen of the display device 100 displays a "2" desktop page.
- the user can move the electronic device 200 from the left side to the right side of the display device 100 .
- the electronic device 200 senses that its relative position with the display device 100 has changed, and moves to the other side of the display device 100 .
- the display screen of the display device 100 displays "2" and "3" desktop pages.
- the desktop page displayed on the display screen of the electronic device 200 can be switched from the last desktop page displayed on the display screen of the display device 100 to the next desktop page of the desktop page, that is, the desktop page displayed by "1" Page switch to "4" desktop page.
- the display device 100 and/or the electronic device 200 can adjust the combined form of the desktop pages in the linked desktop according to the relative positional relationship between the two.
- the adjustment methods for moving the electronic device 200 are the same, and will not be repeated here.
- N (N ⁇ 2) desktop pages on the display screen of the display device 100 the user can perform N desktop pages and (N-k) desktop pages on the display screen of the display device 100. Switch between pages to meet the needs of users in different scenarios; wherein, k is a positive integer, and 0 ⁇ k ⁇ N.
- FIG. 19 two desktop pages are displayed on the display screen of the display device 100 .
- application 1 to application 20, and application A to application D can form a desktop page; application 21 to application 40, and application A to application D can form a desktop page.
- the display device 100 may display applications 1 to 20, and application A To the desktop page that application D can compose, that is, the interface shown in (B) of FIG. 19 .
- the display device 100 can adaptively adjust the spacing between the contents contained in the (N-K) desktop pages, so that the switching The content contained in the last desktop page is maximized to cover the display screen of the display device 100, avoiding a large blank area on the display screen of the display device 100, and improving the display effect.
- the spacing between the applications is adjusted so that applications 1 to 20 can maximize the display screen of the display device 100 .
- the preset switching rule may be: after the N desktop pages are switched to (N-k) desktop pages, the first (N-K) of the N desktop pages are displayed on the display screen of the display device 100 The desktop pages, or, display the last (N-K) desktop pages among the N desktop pages; after the (N-k) desktop pages are switched to N desktop pages, what is displayed on the display screen of the display device 100 is (N-K K desktop pages before the first desktop page among the (N-K) desktop pages are displayed, or K desktop pages after the last desktop page (that is, the (N-K)th desktop page) among the (N-K) desktop pages are displayed.
- the user when the desktop page is switched on the display screen of the display device 100, the user may switch by issuing an operation command, for example, switch by voice command, switch by manual operation, and so on.
- the user can reduce the number of desktop pages displayed on the display screen of the display device 100 by zooming in on a certain desktop page on the display screen of the display device 100; A certain desktop page on the display screen of the display device 100 is reduced to increase the number of desktop pages displayed on the display screen of the display device 100 .
- the switched desktop pages displayed on the display screen of the display device 100 may include at least the enlarged page selected by the user. desktop page. Exemplarily, only the enlarged desktop page selected by the user may be displayed on the display screen of the display device 100 .
- desktop pages “1" and “2” are displayed on the display screen of the display device 100, and desktop pages to be switched are desktop pages “3" and "4".
- desktop pages to be switched are “1" and "4" desktop pages.
- the user can zoom in on the "2" desktop page with a finger, and during the process of zooming in on the "2" desktop page, the "2" desktop page can "1" desktop page “extrude” the display screen of the display device 100, and the interface shown in (B) of FIG. 20 is displayed on the display screen of the display device 100 at this time.
- the desktop pages to be switched are “1", "3", and "4" desktop pages.
- desktop pages “1" and “2" are displayed on the display screen of the display device 100, and desktop pages to be switched are “3" and "4".
- the user can zoom in on the "1" desktop page with a finger, and during the zoom-in process of the "1" desktop page, the "1" desktop page can be "2" desktop page “extrude” the display screen of the display device 100, and the interface shown in (B) of FIG. 21 is displayed on the display screen of the display device 100 at this time.
- the desktop pages to be switched are “2", "3", and "4" desktop pages.
- the speed at which one desktop page “squeezes out” the other desktop page from the display screen of the display device 100 may be consistent with the speed at which the user zooms in on one desktop page, so as to Improve the dynamic display effect.
- other desktop pages displayed on the display screen of the electronic device 100 may also be zoomed in synchronously, so as to enhance the dynamic display effect and improve user experience.
- the display device 100 when the user switches desktop pages on the display device 100, when the first desktop page "extrudes" the second desktop page from the display screen of the display device 100, when the user zooms in on the first desktop page by more than or equal to the preset amplitude value, if the user stops zooming in on the first desktop page at this time and/or the user is not manipulating the display device 100, the display device 100 can directly display the first desktop page on its display screen, and The second desktop page is no longer displayed. And when the user zooms in on the first desktop page with an amplitude smaller than the preset amplitude value, if the user stops zooming in on the first desktop page and/or the user is not manipulating the display device 100, then the display device 100 can display the display device 100 on its display screen. can be restored to the state before the user zoomed in on the first desktop page, that is, the first desktop page and the second desktop page are displayed simultaneously.
- desktop pages "1" and “2" are displayed on the display screen of the display device 100, and the user zooms in on the "2" desktop page with fingers.
- the “1" desktop page is simultaneously enlarged and gradually “squeezed out” of the display screen of the display device 100, and the display effect shown in (B) of FIG. 23 is achieved.
- the user stops enlarging the "2" desktop page and at this time, the user's enlarging range of the "2" desktop page is smaller than the preset amplitude value.
- the user's finger leaves the display screen of the display device 100.
- the display screen of the display device 100 can return to displaying "1" and "2" desktop pages at the same time, that is, the screen shown in (C) of FIG. 23 is displayed. interface.
- the user when the user chooses to increase the number of desktop pages displayed on the display screen of the display device 100 by shrinking a certain desktop page on the display screen of the display device 100, the user may choose to Increase the first j desktop pages of the first desktop page being displayed on the display device 100, or choose to increase the last j desktop pages of the last desktop page being displayed on the display device 100, wherein j is greater than or equal to 1 positive integer.
- the value of j may be a preset fixed value or a dynamically changing value, which is not limited here. It can be understood that, after the display device 100 receives the user's operation, the display device 100 can respond to the user's operation and add a corresponding desktop page.
- the user may zoom out a certain desktop page on a certain side on the display screen of the display device 100 , so as to increase the desktop page in a direction opposite to the side. For example, when the side is the side where the first desktop page being displayed on the display screen of the display device 100 is located, then add the last j desktop pages of the last desktop page being displayed on the display screen of the display device 100; When the side is the side where the last desktop page being displayed on the display screen of the display device 100 is located, add j desktop pages before the first desktop page being displayed on the display screen of the display device 100 .
- the display screen of the display device 100 displays “2" desktop page, and the desktop pages to be switched are “1", “3", and "4" desktop pages.
- the user can zoom out the "2" desktop page by fingers on the right side of the display screen of the display device 100, and when the user zooms out the "2" desktop page During the process, the “1” desktop page may be gradually displayed on the display screen of the display device 100 .
- the interface shown in (B) of FIG. 24 is displayed on the display screen of the display device 100 .
- the desktop pages to be switched are "3" and "4".
- the display screen of the display device 100 displays “2" desktop pages, and the desktop pages to be switched are “1", “3", and "4" desktop pages.
- the user can zoom out the "2" desktop page with a finger on the left side of the display screen of the display device 100, and when the user zooms out the "2" desktop page During the process, the "3" desktop page may be gradually displayed on the display screen of the display device 100 .
- the interface shown in (B) of FIG. 25 is displayed on the display screen of the display device 100 .
- the desktop pages to be switched are "1" and "4".
- the speed at which one desktop page gradually enters the display screen of the display device 100 driven by another desktop page may be consistent with the speed at which the user shrinks another desktop page , thereby improving the dynamic display effect.
- the desktop pages to be added may be gradually displayed on the display screen of the display device 100, or the user may not operate the display device 100. All the time is directly displayed on the display screen of the display device 100.
- the desktop page to be added will not be displayed, and when the user is not manipulating the display device 100 (such as: the user's finger leaves the display screen of the display device 100), the desktop page to be added directly displayed on the display screen of the display device 100.
- the display device 100 can directly increase the number displayed on the display screen of the display device 100 on its display screen. The number of desktop pages.
- the display device 100 can be displayed on its display screen again.
- processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
- CPU central processing unit
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general-purpose processor can be a microprocessor, or any conventional processor.
- the method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions.
- the software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (random access memory, RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or known in the art any other form of storage medium.
- An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
- the storage medium may also be a component of the processor.
- the processor and storage medium can be located in the ASIC.
- all or part of them may be implemented by software, hardware, firmware or any combination thereof.
- software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in or transmitted via a computer-readable storage medium.
- the computer instructions may be transmitted from one website site, computer, server, or data center to another website site by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) , computer, server or data center for transmission.
- the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
- the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A display method, relating to the technical field of terminals. In the method, when a second electronic device projects a screen to a first electronic device, the first electronic device can simultaneously display N desktop pages after acquiring a screen projection indication and a source interface, both of which are sent by the second electronic device, the source interface comprising (N+M) desktop pages and N being a positive integer greater than or equal to 2. The content and layout of each desktop page displayed on the first electronic device are the same as the content and layout of the corresponding desktop page on the second electronic device. Therefore, the desktop pages projected on the first electronic device are consistent with the desktop pages on the second electronic device, so that the desktop pages projected on the first electronic device conform to a user's usage habits on the second electronic device. This facilitates user operations, thus improving the user experience.
Description
本申请要求于2021年12月13日提交中国国家知识产权局、申请号为202111519235.8、申请名称为“一种显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application with application number 202111519235.8 and application title "A Display Method and Electronic Device" filed with the State Intellectual Property Office of China on December 13, 2021, the entire contents of which are incorporated herein by reference Applying.
本申请涉及终端技术领域,尤其涉及一种显示方法及电子设备。The present application relates to the technical field of terminals, and in particular to a display method and electronic equipment.
随着终端技术的发展,电子设备逐渐成为人们日常生活中的必需品。为了达到大屏显示、娱乐等各种不同目的,用户可以使用投屏的方式将一个电子设备(比如:手机等)的界面投屏到另一个电子设备(比如:显示屏等)上进行显示。With the development of terminal technology, electronic equipment has gradually become a necessity in people's daily life. In order to achieve various purposes such as large-screen display and entertainment, users can use screen projection to project the interface of an electronic device (such as a mobile phone, etc.) to another electronic device (such as a display screen, etc.) for display.
相关技术中,电子设备之间的投屏模式主要采用镜像模式,即将一个电子设备上的桌面完整的投射到另一个电子设备上。如图1所示,在使用镜像模式投屏时,电子设备200上的桌面会最大化居中显示在显示设备100(即投屏接收设备)的屏幕上;电子设备200上的操作也会同步响应在投屏显示设备100上,即两端的显示内容是实时同步的。由图1中可以看出,在镜像模式下,投屏内容无法撑满显示设备100的屏幕,在显示设备100的屏幕的两侧留有黑色未显示区域,导致投屏效果较差,影响用户体验。In related technologies, the screen projection mode between electronic devices mainly adopts a mirroring mode, that is, a desktop on one electronic device is completely projected to another electronic device. As shown in Figure 1, when using the mirroring mode to cast the screen, the desktop on the electronic device 200 will be maximized and centered on the screen of the display device 100 (that is, the receiving device for screen projection); the operations on the electronic device 200 will also respond synchronously On the screen projection display device 100 , that is, the displayed content at both ends is synchronized in real time. It can be seen from FIG. 1 that in the mirroring mode, the projection content cannot fill the screen of the display device 100, and there are black undisplayed areas on both sides of the screen of the display device 100, resulting in poor projection effect and affecting users. experience.
发明内容Contents of the invention
本申请提供了一种显示方法及电子设备,能够提升投屏效果,进而提高用户投屏体验。The present application provides a display method and an electronic device, which can improve the screen projection effect and further improve the screen projection experience of users.
第一方面,本申请提供了一种显示方法,方法包括:第一电子设备接收第二电子设备发送的投屏指示和第二电子设备上的源界面,源界面包括(N+M)个桌面页,N为大于或等于2的正整数,M大于或等于0;第一电子设备同时显示第二电子设备上的N个桌面页,其中,N个桌面页中至少包括第一桌面页和第二桌面页,第一桌面页为第二电子设备上当前正在显示的桌面页,第二桌面页为第二电子设备上当前未显示的桌面页;在第一电子设备上显示的第一桌面页的内容和排版分别与在第二电子设备上显示的第一桌面页的内容和排版相同,在第一电子设备上显示的第二桌面页的内容和排版分别与在第二电子设备上显示的第二桌面页的内容和排版相同。这样,在第二电子设备向第一电子设备投屏后,第一电子设备所显示的第二电子设备上的桌面页的内容和排版等可以维持与第二电子设备上的桌面页的内容和排版等相同,由此使得在第一电子设备上的投屏的桌面页与第二电子设备上的桌面页一致,从而使得在第一电子设备上的投屏的桌面页符合用户在第二电子设备上的使用习惯,便于用户操作,提升用户体验。示例性的,第一电子设备可以为下文所描述的显示设备100,第二电子设备可以为下文所描述的电子设备200。其中,所述的第一桌面页为第二电子设备上当前正在显示的桌面页可以理解为:第二电子设备在接收到用于向第一电子设备进行投屏的操作时,第二电子设备显示的桌面页为所述的当前正在显示的桌面页。在第二电子设备向第一电子设备发送投屏指示之后,第二电子设备可以与第一电子设备一起显示第一桌面页;或者,第二电子设备可以不与第一电子设备显示相同的界面,即第二电子设备将当前显示的第一桌面页投 屏显示到第一电子设备之后,第二电子设备可以显示别的界面,而不显示第一桌面页。In the first aspect, the present application provides a display method, the method includes: the first electronic device receives the screen projection instruction sent by the second electronic device and the source interface on the second electronic device, the source interface includes (N+M) desktops N is a positive integer greater than or equal to 2, and M is greater than or equal to 0; the first electronic device simultaneously displays N desktop pages on the second electronic device, wherein the N desktop pages include at least the first desktop page and the first desktop page Two desktop pages, the first desktop page is the desktop page currently being displayed on the second electronic device, the second desktop page is a desktop page not currently displayed on the second electronic device; the first desktop page displayed on the first electronic device The content and layout of the desktop page displayed on the second electronic device are the same as those of the first desktop page displayed on the second electronic device, and the content and layout of the second desktop page displayed on the first electronic device are respectively the same as those of the desktop page displayed on the second electronic device. The content and layout of the second desktop page are the same. In this way, after the second electronic device projects the screen to the first electronic device, the content and layout of the desktop page on the second electronic device displayed by the first electronic device can maintain the same content and layout as the desktop page on the second electronic device. The typesetting and so on are the same, so that the screen-casting desktop page on the first electronic device is consistent with the desktop page on the second electronic device, so that the screen-casting desktop page on the first electronic device conforms to the desktop page of the user on the second electronic device. The usage habits on the device are convenient for user operation and improve user experience. Exemplarily, the first electronic device may be the display device 100 described below, and the second electronic device may be the electronic device 200 described below. Wherein, the first desktop page is the desktop page currently displayed on the second electronic device. It can be understood that: when the second electronic device receives an operation for projecting the screen to the first electronic device, the second electronic device The displayed desktop page is the currently displayed desktop page. After the second electronic device sends a screen projection instruction to the first electronic device, the second electronic device may display the first desktop page together with the first electronic device; or, the second electronic device may not display the same interface as the first electronic device That is, after the second electronic device projects the currently displayed first desktop page to the first electronic device, the second electronic device may display other interfaces instead of displaying the first desktop page.
在一种可能的实现方式中,源界面还包括常驻内容;方法还包括:第一电子设备显示常驻内容,常驻内容包括至少一个应用图标,其中,在第二电子设备切换显示任意两个桌面页时,常驻内容保持显示在第二电子设备的当前界面中。这样,可以更好的是第一电子设备所显示的内容与用户的使用习惯相符,提升了用户体验。示例性的,常驻内容可以为第二电子设备上不跟随其桌面页切换而变化的内容,比如图4的(A)中区域Z1中的内容。此时,源界面中所包括的桌面页可以但不限于为除常驻内容之外的内容所在的界面。In a possible implementation manner, the source interface further includes resident content; the method further includes: displaying the resident content on the first electronic device, where the resident content includes at least one application icon, wherein any two applications are switched and displayed on the second electronic device. When a desktop page is displayed, the resident content remains displayed on the current interface of the second electronic device. In this way, it can be better that the content displayed by the first electronic device is consistent with the user's usage habits, which improves the user experience. Exemplarily, the resident content may be the content on the second electronic device that does not change with its desktop page switching, such as the content in area Z1 in (A) of FIG. 4 . At this time, the desktop page included in the source interface may be, but not limited to, an interface where content other than resident content resides.
在一种可能的实现方式中,在第一电子设备上显示的常驻内容的排版和/或内容等均与在第二电子设备上显示的常驻内容的排版和/或内容等相同。In a possible implementation, the layout and/or content of the resident content displayed on the first electronic device are the same as the layout and/or content of the resident content displayed on the second electronic device.
在一种可能的实现方式中,在第一电子设备的显示区域内常驻内容显示在N个桌面页的下方,和/或,常驻内容居中显示在第一电子设备上显示区域的下方。由此以使得常驻内容的显示位置符合用户的使用习惯,提升用户体验。In a possible implementation manner, the resident content is displayed under the N desktop pages in the display area of the first electronic device, and/or the resident content is displayed centrally under the display area of the first electronic device. In this way, the display position of the resident content conforms to the usage habits of the user, thereby improving the user experience.
在一种可能的实现方式中,第一电子设备在显示第二电子设备上的N个桌面页之前,还包括:第一电子设备根据第一电子设备的显示屏的尺寸,确定N的取值。由此以使得第一电子设备可以显示与其显示屏的尺寸相适配的数量的桌面页,提升用户体验。In a possible implementation manner, before displaying the N desktop pages on the second electronic device, the first electronic device further includes: the first electronic device determines the value of N according to the size of the display screen of the first electronic device . In this way, the first electronic device can display a number of desktop pages suitable for the size of its display screen, thereby improving user experience.
在一种可能的实现方式中,方法还包括:第一电子设备根据第一电子设备的显示屏的尺寸,调整N个桌面页中内容的尺寸。由此以使得第一电子设备上所显示的内容与其显示屏的尺寸相适配,提升了显示效果,进而提升了用户体验。In a possible implementation manner, the method further includes: the first electronic device adjusts the size of content in the N desktop pages according to the size of the display screen of the first electronic device. Therefore, the content displayed on the first electronic device is adapted to the size of its display screen, which improves the display effect and further improves the user experience.
在一种可能的实现方式中,方法还包括:当第一电子设备的显示屏由横屏模式切换为竖屏模式时,第一电子设备显示第二电子设备上的(N-E)个桌面页,E为大于或等于0的正整数,且E小于N,E的取值由显示屏在竖屏模式下的横向尺寸或竖向尺寸确定。由此在第一电子设备的显示屏进行横竖屏切换时,第一电子设备上所显示的内容与其显示屏的尺寸相适配,提升了用户体验。In a possible implementation, the method further includes: when the display screen of the first electronic device is switched from the landscape mode to the portrait mode, the first electronic device displays (N-E) desktop pages on the second electronic device, E is a positive integer greater than or equal to 0, and E is smaller than N. The value of E is determined by the horizontal or vertical size of the display screen in portrait mode. Therefore, when the display screen of the first electronic device is switched between horizontal and vertical screens, the content displayed on the first electronic device is adapted to the size of the display screen, thereby improving user experience.
在一种可能的实现方式中,E=N-1。In a possible implementation manner, E=N-1.
在一种可能的实现方式中,M大于或等于1,所有的桌面页能够在第一电子设备上切换显示,方法还包括:第一电子设备接收到用于切换桌面页的界面切换指令;当待切换的桌面页的数量X大于或等于N时,第一电子设备响应于获取到的界面切换指令,一次切换N个桌面页;当待切换的桌面页的数量X小于N时,第一电子设备响应于获取到的界面切换指令,一次切换X个桌面页。由此以避免在第一电子设备上切换界面过程中出现的空白界面的情况,提升用户体验。In a possible implementation manner, M is greater than or equal to 1, and all desktop pages can be switched and displayed on the first electronic device, and the method further includes: the first electronic device receives an interface switching instruction for switching desktop pages; when When the number X of desktop pages to be switched is greater than or equal to N, the first electronic device switches N desktop pages at a time in response to the acquired interface switching instruction; when the number X of desktop pages to be switched is less than N, the first electronic device The device switches X desktop pages at a time in response to the acquired interface switching instruction. In this way, the blank interface that occurs during the interface switching process on the first electronic device is avoided, and user experience is improved.
在一种可能的实现方式中,方法还包括:第一电子设备接收界面切换指令;第一电子设备获取界面切换指令对应的触摸参数;基于触摸参数,第一电子设备确定本次界面切换所需切换的桌面页的目标数量,以及切换目标数量的桌面页。由此以基于用户的操作确定待切换的桌面页的数量,使得所切换的桌面页的数量与用户的意愿相符,提升了用户体验。In a possible implementation, the method further includes: the first electronic device receives the interface switching instruction; the first electronic device obtains the touch parameter corresponding to the interface switching instruction; based on the touch parameter, the first electronic device The target number of desktop pages switched, and the target number of desktop pages switched. Therefore, the number of desktop pages to be switched is determined based on the user's operation, so that the number of switched desktop pages conforms to the user's wishes, thereby improving user experience.
在一种可能的实现方式中,方法还包括:第一电子设备接收第二电子设备发送的界面切换指令,其中,界面切换指令是第二电子设备接收到作用于第二电子设备的操作之后发送的;响应于界面切换指令,第一电子设备切换桌面页;切换桌面页之后的第一电子设备当前显示的桌面页与第二电子设备当前显示的桌面页完全不同。这样,第一电子设备和第二电子设备即可以联动切换,提升了用户体验。In a possible implementation manner, the method further includes: the first electronic device receives an interface switching instruction sent by the second electronic device, wherein the interface switching instruction is sent by the second electronic device after receiving an operation acting on the second electronic device In response to the interface switching instruction, the first electronic device switches the desktop page; after switching the desktop page, the desktop page currently displayed by the first electronic device is completely different from the desktop page currently displayed by the second electronic device. In this way, the first electronic device and the second electronic device can be linked and switched, which improves user experience.
在一种可能的实现方式中,方法还包括:响应于获取到的第一指令,第一电子设备由显 示N个桌面页切换为显示(N-k)个桌面页,k为正整数,且0<k<N。由此以满足用户在不同场景下的需求。示例性的,该第一指令可以为减少桌面页的数量的操作指令。In a possible implementation, the method further includes: in response to the acquired first instruction, the first electronic device switches from displaying N desktop pages to displaying (N-k) desktop pages, where k is a positive integer, and 0< k<N. In this way, the needs of users in different scenarios can be met. Exemplarily, the first instruction may be an operation instruction for reducing the number of desktop pages.
在一种可能的实现方式中,方法还包括:响应于获取到的第二指令,第一电子设备由显示N个桌面页切换为显示(N+h)个桌面页,h为正整数。由此以满足用户在不同场景下的需求。示例性的,该第一指令可以为增加桌面页的数量的操作指令。In a possible implementation manner, the method further includes: in response to the acquired second instruction, the first electronic device switches from displaying N desktop pages to displaying (N+h) desktop pages, where h is a positive integer. In this way, the needs of users in different scenarios can be met. Exemplarily, the first instruction may be an operation instruction for increasing the number of desktop pages.
第二方面,本申请提供了一种电子设备,该电子设备可以包括:显示屏;一个或多个处理器;存储器。其中,存储器中存储有一个或多个计算机程序,一个或多个计算机程序包括指令,当指令被电子设备执行时,使得电子设备执行第一方面所提供的方法。示例性的,该电子设备可以但不限于为下文所描述的显示设备100。In a second aspect, the present application provides an electronic device, which may include: a display screen; one or more processors; and a memory. Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the method provided in the first aspect. Exemplarily, the electronic device may be, but not limited to, the display device 100 described below.
第三方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,当计算机程序在电子设备上运行时,使得电子设备执行第一方面所提供的方法。In a third aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on an electronic device, the electronic device is made to execute the method provided in the first aspect.
第四方面,本申请提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行第一方面所提供的方法。In a fourth aspect, the present application provides a computer program product, which causes the electronic device to execute the method provided in the first aspect when the computer program product is run on the electronic device.
下面对实施例或现有技术描述中所需使用的附图作简单地介绍。The following briefly introduces the drawings used in the embodiments or the description of the prior art.
图1是相关技术中的一种镜像模式下的投屏显示示意图;FIG. 1 is a schematic diagram of a screen projection display in a mirror image mode in the related art;
图2是本申请实施例提供的一种电脑模式下的投屏显示示意图;Fig. 2 is a schematic diagram of a projection screen display in a computer mode provided by an embodiment of the present application;
图3是本申请实施例提供的一种显示设备的硬件结构示意图;FIG. 3 is a schematic diagram of a hardware structure of a display device provided by an embodiment of the present application;
图4是本申请实施例提供的一种投屏显示示意图;Fig. 4 is a schematic diagram of a projection screen display provided by an embodiment of the present application;
图5是本申请实施例提供的另一种投屏显示示意图;Fig. 5 is a schematic diagram of another screen projection provided by the embodiment of the present application;
图6是本申请实施例提供的一种显示设备的显示屏由横屏切换为竖屏的显示示意图;Fig. 6 is a schematic display diagram of a display device provided by an embodiment of the present application in which the display screen is switched from a horizontal screen to a vertical screen;
图7是本申请实施例提供的另一种显示设备的显示屏由横屏切换为竖屏的显示示意图;Fig. 7 is a schematic display diagram showing that the display screen of another display device provided by the embodiment of the present application is switched from a horizontal screen to a vertical screen;
图8是本申请实施例提供的一种显示设备的显示屏在竖屏状态下的显示示意图;Fig. 8 is a schematic display diagram of a display screen of a display device provided in an embodiment of the present application in a vertical screen state;
图9是本申请实施例提供的另一种显示设备的显示屏在竖屏状态下的显示示意图;FIG. 9 is a schematic display diagram of a display screen of another display device provided in an embodiment of the present application in a vertical screen state;
图10是本申请实施例提供的又一种显示设备的显示屏上的显示示意图;FIG. 10 is a schematic diagram of a display on a display screen of another display device provided in an embodiment of the present application;
图11是本申请实施例提供的一种在显示设备的显示屏上切换桌面页的过程示意图;FIG. 11 is a schematic diagram of a process of switching desktop pages on a display screen of a display device according to an embodiment of the present application;
图12是本申请实施例提供的另一种在显示设备的显示屏上切换桌面页的过程示意图;FIG. 12 is a schematic diagram of another process for switching desktop pages on a display screen of a display device provided by an embodiment of the present application;
图13是本申请实施例提供的一种确定每次切换桌面页时所能切换的桌面页的数量的步骤示意图;FIG. 13 is a schematic diagram of steps for determining the number of desktop pages that can be switched each time the desktop page is switched according to the embodiment of the present application;
图14是本申请实施例提供的一种将显示设备的显示屏和电子设备的显示屏进行绑定的过程示意图;Fig. 14 is a schematic diagram of a process of binding a display screen of a display device and a display screen of an electronic device according to an embodiment of the present application;
图15是本申请实施例提供的另一种将显示设备的显示屏和电子设备的显示屏进行绑定的过程示意图;Fig. 15 is a schematic diagram of another process of binding the display screen of the display device and the display screen of the electronic device according to the embodiment of the present application;
图16是本申请实施例提供的一种在显示设备的显示屏和电子设备的显示屏绑定后切换桌面页的过程示意图;FIG. 16 is a schematic diagram of a process of switching desktop pages after the display screen of the display device and the display screen of the electronic device are bound according to an embodiment of the present application;
图17是本申请实施例提供的另一种在显示设备的显示屏和电子设备的显示屏绑定后切换桌面页的过程示意图;FIG. 17 is a schematic diagram of another process for switching desktop pages after the display screen of the display device and the display screen of the electronic device are bound according to the embodiment of the present application;
图18是本申请实施例提供的一种根据显示设备和电子设备间的相对位置关系,动态调整联动桌面中桌面页的组合形式的过程示意图;Fig. 18 is a schematic diagram of the process of dynamically adjusting the combination of desktop pages in the linked desktop according to the relative positional relationship between the display device and the electronic device provided by the embodiment of the present application;
图19是本申请实施例提供的一种将显示设备的显示屏上的显示界面由两个桌面页切换为一个桌面页的显示示意图;Fig. 19 is a schematic diagram of switching the display interface on the display screen of the display device from two desktop pages to one desktop page according to an embodiment of the present application;
图20是本申请实施例提供的一种减少显示设备的显示屏上所显示的桌面页的数量的过程示意图;FIG. 20 is a schematic diagram of a process for reducing the number of desktop pages displayed on a display screen of a display device according to an embodiment of the present application;
图21是本申请实施例提供的另一种减少显示设备的显示屏上所显示的桌面页的数量的过程示意图;Fig. 21 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
图22是本申请实施例提供的又一种减少显示设备的显示屏上所显示的桌面页的数量的过程示意图;Fig. 22 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
图23是本申请实施例提供的再一种减少显示设备的显示屏上所显示的桌面页的数量的过程示意图;Fig. 23 is a schematic diagram of another process for reducing the number of desktop pages displayed on the display screen of the display device provided by the embodiment of the present application;
图24是本申请实施例提供的一种增加显示设备的显示屏上所显示的桌面页的数量的过程示意图;Fig. 24 is a schematic diagram of a process of increasing the number of desktop pages displayed on the display screen of the display device according to an embodiment of the present application;
图25是本申请实施例提供的另一种增加显示设备的显示屏上所显示的桌面页的数量的过程示意图。FIG. 25 is a schematic diagram of another process for increasing the number of desktop pages displayed on a display screen of a display device according to an embodiment of the present application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is 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 B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一响应消息和第二响应消息等是用于区别不同的响应消息,而不是用于描述响应消息的特定顺序。The terms "first" and "second" and the like in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first response message and the second response message are used to distinguish different response messages, rather than describing a specific order of the response messages.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。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, "multiple" means two or more, for example, multiple processing units refer to two or more processing units, etc.; multiple A component refers to two or more components or the like.
为克服镜像模式下投屏时的弊端,继续参阅图1,在采用镜像模式投屏时,可以根据显示设备100的屏幕的大小对电子设备200投屏的桌面进行相应的拉伸、缩放及裁剪,但这样会使得显示设备100上显示的投屏的桌面页出现变形或者无法完整显示等问题。In order to overcome the disadvantages of screen projection in the mirror image mode, continue to refer to FIG. 1. When the screen projection is in the mirror image mode, the desktop screen projection of the electronic device 200 can be stretched, zoomed and cut according to the size of the screen of the display device 100. , but this will cause problems such as deformation or incomplete display of the projected desktop page displayed on the display device 100 .
此外,目前也开发出了一种电脑模式的投屏方式。如图2所示,在使用电脑模式投屏时,电子设备200上的桌面会被转化成类似电脑桌面的样式撑满显示设备100(即投屏接收设备)的屏幕,所有电子设备200上的应用均被隐藏在电脑模式下桌面左下角的区域b1处的应用抽屉中。在点击区域b1的应用抽屉后,可以在区域b2中显示出电子设备200上的应用。其中,在使用电脑模式投屏时,电子设备200和显示设备100相对独立,两者可以分开使用。由图2中可以看出,电脑模式的投屏方式是直接生硬的将电子设备200的桌面变成电脑桌面。由于电脑是传统桌面办公环境的产物,电脑桌面上放置的是常用的文件和文件夹;而当电子设备200为移动终端(比如:手机)时,电子设备200的桌面上放置的是应用程序(application, App)图标,这就使得当电子设备200采用电脑模式向显示设备100进行投屏时,投屏到显示设备100上的桌面有悖于以App为核心的移动终端的操作逻辑。由于用户使用移动终端时其完全没有“文件”的概念,这会造成投屏后的电脑模式桌面大面积空白、利用率低;反观用户最熟悉的移动终端的App,却被隐藏在电脑模式下桌面底部的应用抽屉内,这使得用户很难快速找到其所需的App。此外,大量移动办公用户习惯于将移动终端投屏在便携显示器上,这类便携显示器主要以轻薄为主,方便携带为主,尺寸较小(一般在7英寸~15.6英寸之间),配备触控屏,且支持触控操作。如果在这类便携显示器上显示电脑模式的投屏的桌面页,由于电脑模式的投屏的桌面页的图形用户界面(graphic user interface,GUI)范式是为了搭配键盘鼠标使用,因此,在投屏的桌面页上的App图标的面积小、间隔近,只适合鼠标点击,而不适合手指触控,这就使得用户在投屏的桌面页上的使用体验会非常糟糕,严重影响用户体验。In addition, a screen projection method in computer mode has also been developed. As shown in FIG. 2 , when using the computer mode to cast a screen, the desktop on the electronic device 200 will be transformed into a style similar to a computer desktop to fill the screen of the display device 100 (that is, the receiving device for screen projection), and all the screens on the electronic device 200 The applications are all hidden in the application drawer in the area b1 in the lower left corner of the desktop in the computer mode. After clicking the application drawer in the area b1, the applications on the electronic device 200 can be displayed in the area b2. Wherein, when using the computer mode for screen projection, the electronic device 200 and the display device 100 are relatively independent, and the two can be used separately. It can be seen from FIG. 2 that the screen projection method in the computer mode is to directly and bluntly change the desktop of the electronic device 200 into a computer desktop. Since the computer is a product of a traditional desktop office environment, commonly used files and folders are placed on the computer desktop; and when the electronic device 200 is a mobile terminal (such as a mobile phone), the electronic device 200 is placed on the desktop. application, App) icon, which makes when the electronic device 200 uses the computer mode to project the screen to the display device 100, the screen projected to the desktop on the display device 100 is contrary to the operation logic of the mobile terminal with App as the core. Since the user does not have the concept of "file" when using a mobile terminal, this will cause a large area of blank space on the computer mode desktop after screen projection, and the utilization rate is low; on the other hand, the mobile terminal App that users are most familiar with is hidden in the computer mode In the application drawer at the bottom of the desktop, this makes it difficult for users to quickly find the App they need. In addition, a large number of mobile office users are accustomed to projecting mobile terminals on portable displays. This type of portable display is mainly thin and light, easy to carry, small in size (generally between 7 inches and 15.6 inches), and equipped with a touch screen. Control screen, and support touch operation. If the desktop page of the screen projection in computer mode is displayed on such a portable display, since the graphical user interface (graphic user interface, GUI) paradigm of the screen projection desktop page in computer mode is for use with a keyboard and mouse, The app icons on the desktop page of the app are small in size and close to each other, and are only suitable for mouse clicks, not for finger touch. This makes the user's experience on the screen-casting desktop page very bad and seriously affects the user experience.
进一步地,为了克服镜像模式和电脑模式下投屏时的弊端,以提升用户的投屏体验,本申请实施例提供了一种显示方法。该显示方法,在将电子设备200上的桌面投屏至显示设备100上时,可以在显示设备100上维持电子设备200上的桌面的App图标、卡片等内容的排列顺序,并可以基于显示设备100的显示屏的尺寸显示电子设备200上的N个桌面页,N为大于或等于1的正整数。由此以使得在显示设备100上的投屏的桌面页与电子设备200上的桌面页一致,从而使得在显示设备100上的投屏的桌面页符合用户在电子设备200上的使用习惯,便于用户操作,提升用户体验。Further, in order to overcome the disadvantages of screen projection in the mirror image mode and computer mode, and improve the user's screen projection experience, an embodiment of the present application provides a display method. This display method, when projecting the desktop on the electronic device 200 to the display device 100, can maintain the arrangement order of the content such as App icons and cards on the desktop on the electronic device 200 on the display device 100, and can be based on the display device 100. The size of the display screen of 100 displays N desktop pages on the electronic device 200, where N is a positive integer greater than or equal to 1. Therefore, the screen-casting desktop page on the display device 100 is consistent with the desktop page on the electronic device 200, so that the screen-casting desktop page on the display device 100 conforms to the user's usage habits on the electronic device 200, which is convenient User operations to improve user experience.
可以理解是的,本申请实施例中,显示设备100可以通过投屏协议获取到电子设备200投屏的内容(比如:桌面等)。示例性的,投屏协议可以包括Miracast协议、AirPlay协议、数字生活网络联盟(digital living network alliance,DLNA)协议、英特尔无线显示技术(intel wireless display,WiDi)协议、Chromecast协议、无线家庭数字接口(wireless home digital interface,WDHI)协议、cast+协议等中的一项或多项。It can be understood that, in the embodiment of the present application, the display device 100 can acquire the screen content (for example, the desktop, etc.) of the electronic device 200 through the screen projection protocol. Exemplarily, the screen projection protocol may include Miracast protocol, AirPlay protocol, digital living network alliance (digital living network alliance, DLNA) protocol, Intel wireless display technology (intel wireless display, WiDi) protocol, Chromecast protocol, wireless home digital interface ( One or more of wireless home digital interface, WDHI) protocol, cast+ protocol, etc.
可以理解的是,本申请中,显示设备100可以是电视、笔记本电脑、平板电脑、显示器、车载设备、智能家居设备、AI设备等具有显示屏的设备。电子设备200可以是手机、平板电脑、笔记本电脑、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备等电子设备。电子设备200的示例性实施例包括但不限于搭载iOS、android、Windows、鸿蒙系统(Harmony OS)或者其他操作系统的电子设备,其中,本申请对显示设备100和电子设备200的具体类型不作特殊限制。It can be understood that, in this application, the display device 100 may be a TV, a notebook computer, a tablet computer, a monitor, a vehicle-mounted device, a smart home device, an AI device, and other devices with display screens. The electronic device 200 may be a mobile phone, a tablet computer, a notebook computer, an artificial intelligence (AI) device, a wearable device, a vehicle device, a smart home device, and other electronic devices. Exemplary embodiments of the electronic device 200 include, but are not limited to, electronic devices equipped with iOS, android, Windows, Harmony OS or other operating systems, wherein, the present application does not make a special description of the specific types of the display device 100 and the electronic device 200. limit.
示例性的,图3示出了显示设备100的一种硬件结构。如图3所示,显示设备100可以包括处理器110、存储器120、显示屏130和通信模块140。其中,处理器110、存储器120、显示屏130和通信模块140可通过总线或其他方式连接。Exemplarily, FIG. 3 shows a hardware structure of the display device 100 . As shown in FIG. 3 , the display device 100 may include a processor 110 , a memory 120 , a display screen 130 and a communication module 140 . Wherein, the processor 110, the memory 120, the display screen 130 and the communication module 140 may be connected through a bus or other means.
本申请中,处理器110是显示设备100的计算核心及控制核心。处理器110可以包括一个或多个处理单元。例如,处理器110可以包括应用处理器(application processor,AP)、调制解调器(modem)、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等中的一项或多项。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。In this application, the processor 110 is the calculation core and the control core of the display device 100 . Processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (application processor, AP), a modem (modem), a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video encoder One or more of a decoder, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
存储器120可以存储有程序,程序可被处理器110运行,使得处理器110执行本申请提 供的方法。存储器120还可以存储有数据。处理器110可以读取存储器120中存储的数据。存储器120和处理器110可以单独设置。可选地,存储器120也可以集成在处理器110中。The memory 120 may store a program, and the program may be executed by the processor 110, so that the processor 110 executes the method provided in this application. The memory 120 may also store data. The processor 110 can read data stored in the memory 120 . The memory 120 and the processor 110 may be provided separately. Optionally, the memory 120 may also be integrated in the processor 110 .
显示屏130用于显示图像,视频等。显示屏130包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。The display screen 130 is used to display images, videos and the like. The display screen 130 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), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
通信模块140可以包括移动通信模块和无线通信模块中的至少一种。其中,当通信模块140包括移动通信模块时,通信模块140可以提供应用在显示设备100上的包括2G/3G/4G/5G等无线通信的解决方案。比如,全球移动通讯系统(global system for mobile communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(code divisionmultiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA)、长期演进(long term evolution,LTE)、新空口(new radio,NR)等。当通信模块140包括无线通信模块时,通信模块140可以提供应用在显示设备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)等无线通信的解决方案。示例性的,通信模块140可以用于显示设备100与电子设备200进行通信,以完成数据交互。The communication module 140 may include at least one of a mobile communication module and a wireless communication module. Wherein, when the communication module 140 includes a mobile communication module, the communication module 140 may provide a wireless communication solution including 2G/3G/4G/5G applied on the display device 100 . For example, Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (Wideband) code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), new radio (NR), etc. When the communication module 140 includes a wireless communication module, the communication module 140 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), Bluetooth, etc. applied on the display device 100. (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communications s solution. Exemplarily, the communication module 140 can be used for the display device 100 to communicate with the electronic device 200 to complete data interaction.
可选地,显示设备100还可以包括传感器150。该传感器150可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,环境光传感器,或,骨传导传感器等。在一个例子中,传感器150还可以包括触摸传感器,也称“触控器件”。触摸传感器可以设置于显示屏130,由触摸传感器与显示屏130组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏130提供与触摸操作相关的视觉输出。示例性的,触摸传感器可以检测用户触摸电子设备100的触摸信息(比如:触摸位置、移动方向、移动幅度等);其中,处理器110可以根据触摸传感器检测到的触摸信息(比如:移动幅度等),确定出用户在电子设备100上对桌面页进行放大或缩小的幅度。在另一些实施例中,触摸传感器也可以设置于显示设备100的表面,与显示屏130所处的位置不同。Optionally, the display device 100 may further include a sensor 150 . The sensor 150 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, or a bone conduction sensor. In an example, the sensor 150 may also include a touch sensor, also called a "touch device". The touch sensor may be disposed on the display screen 130, and the touch sensor and the display screen 130 form a touch screen, also called a “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 display screen 130 . Exemplarily, the touch sensor can detect touch information (such as: touch position, moving direction, moving range, etc.) of the user touching the electronic device 100; ) to determine the extent to which the user zooms in or out on the desktop page on the electronic device 100 . In some other embodiments, the touch sensor may also be disposed on the surface of the display device 100 , which is different from the position of the display screen 130 .
在一个例子中,该传感器150还可以包括方向传感器。该方向传感器可以用于检测显示屏130的方向。In one example, the sensor 150 may also include a direction sensor. The orientation sensor can be used to detect the orientation of the display screen 130 .
可选地,显示设备100上还可以包括多个可以发送无线信号的信号发射组件(图中未示出)。多个信号发射组件可以布置在显示设备100的不同侧。其中,信号发射组件可以实时或周期性向显示设备100的外部(即环境中)发射无线信号,以便电子设备200可以获取到该无线信号,进而使得电子设备200可以由其接收的显示设备100上不同侧的信号发射组件发送的无线信号的时间差,确定出其与显示设备100之间的相对位置。示例性的,信号发射组件发射的无线信号中可以包括用于指示该信号发射组件在显示设备100上的位置信息。Optionally, the display device 100 may further include a plurality of signal transmitting components (not shown in the figure) capable of transmitting wireless signals. A plurality of signal transmitting components may be arranged on different sides of the display device 100 . Wherein, the signal transmitting component can transmit a wireless signal to the outside of the display device 100 (that is, in the environment) in real time or periodically, so that the electronic device 200 can obtain the wireless signal, and then the electronic device 200 can be different from the display device 100 received by the electronic device 200. The relative position between it and the display device 100 is determined by the time difference of the wireless signal sent by the signal transmitting component on the side. Exemplarily, the wireless signal transmitted by the signal transmitting component may include information indicating the position of the signal transmitting component on the display device 100 .
可以理解的是,本方案图3示意的结构并不构成对显示设备100的具体限定。在本方案另一些实施例中,显示设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure shown in FIG. 3 of this solution does not constitute a specific limitation on the display device 100 . In other embodiments of the present solution, the display device 100 may include more or fewer components than shown in the illustration, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
在本申请的一些实施例中,电子设备200也可以具有与图3中所示的显示设备100类似的硬件结构。可以理解的是,电子设备200也可以具有与图3中所示的显示设备100不同的硬件结构。示例性的,电子设备200可以具有:处理器、显示屏和通信模块。In some embodiments of the present application, the electronic device 200 may also have a hardware structure similar to that of the display device 100 shown in FIG. 3 . It can be understood that the electronic device 200 may also have a hardware structure different from that of the display device 100 shown in FIG. 3 . Exemplarily, the electronic device 200 may have: a processor, a display screen and a communication module.
接下来,基于上文所描述的内容对本申请实施例中提供的显示方法进行详细描述。Next, based on the content described above, the display method provided in the embodiment of the present application will be described in detail.
本申请实施例提供的显示方法,在电子设备200向显示设备100投屏时,电子设备200可以向显示设备100发送投屏指示和该电子设备200上的源界面,其中,源界面可以包括(N+M)个桌面页,N为大于或等于2的正整数,M大于或等于0。显示设备100在获取到电子设备200发送的投屏指示和源界面后,可以响应于电子设备200的投屏指示,在显示设备100的显示屏上同时显示电子设备200上的N个桌面页。其中,在显示设备100上显示的每个桌面页中包含的内容和排版均与在电子设备200上与该桌面页对应的桌面页中包含的内容和排版相同。示例性的,每个桌面页中所包含的内容可以包括应用图标和/或服务卡片等等。示例性的,桌面页可以理解为电子设备200上的桌面所显示的页面中除常驻内容之外的内容所组成的区域的界面。In the display method provided in the embodiment of the present application, when the electronic device 200 projects a screen to the display device 100, the electronic device 200 may send a screen projection instruction and a source interface on the electronic device 200 to the display device 100, wherein the source interface may include ( N+M) desktop pages, where N is a positive integer greater than or equal to 2, and M is greater than or equal to 0. After the display device 100 acquires the screen projection instruction and the source interface sent by the electronic device 200 , it can simultaneously display N desktop pages on the electronic device 200 on the display screen of the display device 100 in response to the screen projection instruction of the electronic device 200 . Wherein, the content and typesetting contained in each desktop page displayed on the display device 100 are the same as those contained in the desktop page corresponding to the desktop page on the electronic device 200 . Exemplarily, the content contained in each desktop page may include application icons and/or service cards and the like. Exemplarily, the desktop page may be understood as an interface of an area composed of content other than the resident content in the page displayed on the desktop of the electronic device 200 .
其中,在一种实施方式中,在显示设备100的显示屏上显示的N个桌面页中至少包括电子设备200上当前正在显示的桌面页。当N为1时,显示设备100的显示屏上显示的桌面页为电子设备200上当前正在显示的桌面页(以下简称“第1个桌面页”)。当N大于或等于2时,显示设备100的显示屏上显示的桌面页分别为:第1个桌面页、第2个桌面页,…,第N个桌面页;其中,第1个桌面页为电子设备200上当前正在显示的桌面页,第2个桌面页为第1桌面页的下一个桌面页,第3个桌面页为第2个桌面页的下一个桌面页,第N个桌面页为第(N-1)个桌面页的下一个桌面页。其中,第N个桌面页的下一个桌面页为第1个桌面页。在一些实施例中,当N大于或等于2时,显示设备100上所显示的桌面页,除了是电子设备200上当前正在显示的桌面页和该桌面页之后的桌面页之外,也可以为是电子设备200上当前正在显示的桌面页和位于该桌面页之前的桌面页。举例来说,若显示设备100上所显示的第N个桌面页为电子设备200上当前正在显示的桌面页,则第(N-1)个桌面页可以为在电子设备200上当前正在显示的桌面页的上一个桌面页,第(N-2)个桌面页则为该第(N-1)个桌面页的上一个桌面页。在一些实施例中,当N大于或等于2时,显示设备100上所显示的桌面页,除了是电子设备200上当前正在显示的桌面页和该桌面页之后或之前的桌面页之外,也可以为是电子设备200上当前正在显示的桌面页、位于该桌面页之前以及位于该桌面之后的桌面页。举例来说,若显示设备100上所显示的第(N-i)个桌面页为电子设备200上当前正在显示的桌面页,则第(N-i-1)个桌面页可以为在电子设备200上当前正在显示的桌面页的上一个桌面页,第(N-i+1)个桌面页则为在电子设备200上当前正在显示的桌面页的下一个桌面页。Wherein, in one implementation manner, the N desktop pages displayed on the display screen of the display device 100 at least include the desktop page currently being displayed on the electronic device 200 . When N is 1, the desktop page displayed on the display screen of the display device 100 is the desktop page currently being displayed on the electronic device 200 (hereinafter referred to as "the first desktop page"). When N is greater than or equal to 2, the desktop pages displayed on the display screen of the display device 100 are: the first desktop page, the second desktop page, ..., the Nth desktop page; wherein, the first desktop page is The desktop page currently being displayed on the electronic device 200, the second desktop page is the next desktop page of the first desktop page, the third desktop page is the next desktop page of the second desktop page, and the Nth desktop page is The next desktop page of the (N-1)th desktop page. Wherein, the next desktop page of the Nth desktop page is the first desktop page. In some embodiments, when N is greater than or equal to 2, the desktop page displayed on the display device 100, in addition to the desktop page currently being displayed on the electronic device 200 and the desktop page after the desktop page, may also be are the desktop page currently being displayed on the electronic device 200 and the desktop page before the desktop page. For example, if the Nth desktop page displayed on the display device 100 is the desktop page currently being displayed on the electronic device 200, then the (N-1)th desktop page may be the desktop page currently being displayed on the electronic device 200. The previous desktop page of the desktop page, and the (N-2)th desktop page is the previous desktop page of the (N-1)th desktop page. In some embodiments, when N is greater than or equal to 2, the desktop page displayed on the display device 100, in addition to the desktop page currently being displayed on the electronic device 200 and the desktop page after or before the desktop page, also It may be the desktop page currently being displayed on the electronic device 200, the desktop pages located before the desktop page, and the desktop pages located behind the desktop. For example, if the (N-i)th desktop page displayed on the display device 100 is the desktop page currently being displayed on the electronic device 200, then the (N-i-1)th desktop page may be the desktop page currently being displayed on the electronic device 200. The displayed desktop page is the previous desktop page, and the (N-i+1)th desktop page is the next desktop page of the currently displayed desktop page on the electronic device 200 .
在另一种实施方式中,在显示设备100的显示屏上显示的N个桌面页中可以不包括电子设备200上当前正在显示的界面。例如:电子设备200上显示了某个应用的界面,然后电子设备200可以不将该应用的界面进行投屏,而是电子设备200可以将自身的多个桌面页进行 投屏,此时,显示设备100显示的桌面页与电子设备200当前显示的界面不相同。In another implementation manner, the N desktop pages displayed on the display screen of the display device 100 may not include the currently displayed interface on the electronic device 200 . For example, if the interface of a certain application is displayed on the electronic device 200, then the electronic device 200 may not project the interface of the application, but the electronic device 200 may project multiple desktop pages of itself. At this time, the display The desktop page displayed by the device 100 is different from the interface currently displayed by the electronic device 200 .
在一些实施例中显示设备100获取到的电子设备200发送的源界面中除了包括桌面页外,还可以包括常驻内容,其中,在电子设备200上该常驻内容不跟随桌面页切换而变化,也即是说,在电子设备200上该常驻内容不会因桌面页切换而消失。示例性的,常驻内容可以但不限于为常驻应用。此时,显示设备100还可以在其显示屏上显示该常驻内容,其中,在显示设备100上切换桌面页时,该常驻内容保持显示在显示设备100的当前界面中。示例性的,显示设备100上所显示的常驻内容的排版和/或内容等与在电子设备200上所显示的常驻内容的排版和/或内容等均相同。示例性的,显示设备100上所显示的常驻内容,可以显示在显示设备100的显示屏上除N个桌面页以外的区域的位置,例如,显示在显示设备100的显示屏的中部且位于下部的区域。In some embodiments, the source interface sent by the electronic device 200 obtained by the display device 100 may include not only the desktop page, but also resident content, where the resident content on the electronic device 200 does not change with the switching of the desktop page , that is to say, the resident content on the electronic device 200 will not disappear due to desktop page switching. Exemplarily, the resident content may be, but not limited to, a resident application. At this time, the display device 100 may also display the resident content on its display screen, wherein, when the desktop page is switched on the display device 100 , the resident content remains displayed in the current interface of the display device 100 . Exemplarily, the layout and/or content of the resident content displayed on the display device 100 are the same as the layout and/or content of the resident content displayed on the electronic device 200 . Exemplarily, the resident content displayed on the display device 100 may be displayed on the display screen of the display device 100 except for the N desktop pages, for example, displayed in the middle of the display screen of the display device 100 and located at lower area.
举例来说,当电子设备200中仅有2个桌面页时,如图4的(A)所示,该图为电子设备200的桌面页和常驻内容,其中,编号“1”所对应的桌面页为电子设备200上当前显示的桌面页,编号“2”所对应的桌面页为电子设备200上当前显示的桌面页切换后的下一个桌面页,区域Z1和Z2中的内容均为常驻内容。在图4的(A)所示的电子设备200的源界面下,当电子设备200向显示设备100投屏后,若显示设备100的显示屏的尺寸可以支持显示2个桌面页,则此时显示设备100可以显示如图4的(B)所示的界面。在图4的(B)所示的界面中编号“1”所对应的桌面页与图4的(A)中编号“1”对应的桌面页相对应,在图4的(B)所示的界面中编号“2”所对应的桌面页与图4的(A)中编号“2”对应的桌面页相对应,在图4的(B)所示的界面中区域Z3中所显示的内容与图4的(A)中区域Z1和Z2所显示的内容相对应。将图4的(A)和(B)进行对比可以看出,投屏后,在显示设备100上显示的每个桌面页中包含的内容和排版均与在电子设备200上与该桌面页对应桌面页中包含的内容和排版相同,这样,在显示设备100上显示的桌面页就可以符合用户在电子设备200上的使用习惯,从而便于用户在显示设备100上进行操作,提升了用户体验。另外,显示设备100上也可以同时显示电子设备200上的常驻内容,即显示设备100上的区域Z3所显示的内容,以便使得在投屏后更好的符合用户在电子设备200上的使用习惯。其中,在图4的(B)中,显示设备100所显示的常驻内容位于其所显示的N个桌面页的下方,且处于其显示区域的居中位置。当然了,在图4的(B)中,常驻内容也可以显示在其他的区域,例如,显示在显示设备100的显示区域的左下方或者右下方,此时常驻内容是显示在显示设备100所显示的桌面页的下方;另外,常驻内容也可以显示在显示设备100的显示区域的上方,具体可根据实际情况而定。For example, when there are only two desktop pages in the electronic device 200, as shown in (A) of FIG. The desktop page is the desktop page currently displayed on the electronic device 200, and the desktop page corresponding to the number "2" is the next desktop page after switching from the currently displayed desktop page on the electronic device 200, and the contents in the areas Z1 and Z2 are normal resident content. Under the source interface of the electronic device 200 shown in (A) of FIG. The display device 100 may display an interface as shown in (B) of FIG. 4 . In the interface shown in (B) of Figure 4, the desktop page corresponding to the number "1" corresponds to the desktop page corresponding to the number "1" in (A) of Figure 4, and in (B) shown in Figure 4 The desktop page corresponding to the number "2" in the interface corresponds to the desktop page corresponding to the number "2" in Figure 4 (A), and the content displayed in area Z3 in the interface shown in Figure 4 (B) is the same as The contents displayed in areas Z1 and Z2 in (A) of FIG. 4 correspond to each other. Comparing (A) and (B) of FIG. 4, it can be seen that after screen projection, the content and typesetting contained in each desktop page displayed on the display device 100 correspond to the desktop page on the electronic device 200 The content and layout of the desktop page are the same, so that the desktop page displayed on the display device 100 can conform to the user's usage habits on the electronic device 200, thereby facilitating the user to operate on the display device 100 and improving the user experience. In addition, the resident content on the electronic device 200 can also be displayed on the display device 100 at the same time, that is, the content displayed in the area Z3 on the display device 100, so as to better conform to the user's usage on the electronic device 200 after screen projection. Habit. Wherein, in (B) of FIG. 4 , the resident content displayed by the display device 100 is located below the N desktop pages displayed by the display device 100 and is located in the center of its display area. Of course, in (B) of FIG. 4 , the resident content can also be displayed in other areas, for example, displayed in the lower left or lower right of the display area of the display device 100. At this time, the resident content is displayed on the display device 100 displayed below the desktop page; in addition, the resident content may also be displayed above the display area of the display device 100, which may be determined according to actual conditions.
举例来说,当电子设备200中有3个桌面页时,如图5的(A)所示,该图为电子设备200的源界面,其中,编号“1”所对应的桌面页为电子设备200上当前显示的桌面页,编号“2”所对应的桌面页为电子设备200上当前显示的桌面页切换后的下一个桌面页,编号“3”所对应的桌面页为编号“2”所对应的桌面页切换后的下一个桌面页;在图5的(A)中,每个桌面页的下方均显示有一个常驻内容,每个常驻内容中均包括电话应用、短信应用、浏览器应用和相机应用。在图5的(A)所示的电子设备200的源界面下,当电子设备200向显示设备100投屏后,若显示设备100的显示屏的尺寸可以支持显示3个桌面页,则此时显示设备100可以显示如图5的(B)所示的界面。其中,在图5的(B)中,显示设备100所显示的常驻内容的位置与上文所描述的图4的(B)中常驻内容的位置类似,此处就不再一一赘述。For example, when there are three desktop pages in the electronic device 200, as shown in (A) of FIG. 5 , which is the source interface of the electronic device 200, wherein the desktop page corresponding to the number "1" is The desktop page currently displayed on 200, the desktop page corresponding to the number "2" is the next desktop page after switching from the desktop page currently displayed on the electronic device 200, and the desktop page corresponding to the number "3" is the desktop page corresponding to the number "2". The next desktop page after the corresponding desktop page is switched; in (A) of Figure 5, a resident content is displayed below each desktop page, and each resident content includes phone applications, SMS applications, browsing browser app and camera app. Under the source interface of the electronic device 200 shown in (A) of FIG. The display device 100 may display an interface as shown in (B) of FIG. 5 . Wherein, in (B) of FIG. 5 , the position of the resident content displayed by the display device 100 is similar to the position of the resident content in (B) of FIG. 4 described above, and will not be repeated here. .
在本申请的一些实施例中,显示设备100在显示N个桌面页时,可以根据其显示屏的尺 寸分别对N个桌面页中的内容进行放大,以使得显示设备100上显示的内容的尺寸与显示设备100的显示屏的尺寸相适配。举例来说,当显示设备100为电视,电子设备200为手机时,由于电视的显示屏的尺寸远大于手机的显示屏的尺寸,因此,如果在手机进行投屏后,电视上按照手机上每个桌面页中内容的尺寸进行显示,则会造成电视的显示屏上所显示的桌面页过小,且会使得电视上的显示屏上存在大面积空白,利用率较低的问题。所以在该种情况下,电视在显示手机上的桌面页的内容时,可以按照一定的比例分别对N个桌面页中的内容进行放大,从而使得电视的显示屏上显示的内容的尺寸与电视的显示屏的尺寸相适配,提升视觉体验和操作体验。In some embodiments of the present application, when displaying N desktop pages, the display device 100 can respectively enlarge the contents of the N desktop pages according to the size of its display screen, so that the size of the content displayed on the display device 100 Adapt to the size of the display screen of the display device 100 . For example, when the display device 100 is a TV and the electronic device 200 is a mobile phone, since the size of the display screen of the TV is much larger than that of the mobile phone, if the screen projection is performed on the mobile phone, every If the size of the content in each desktop page is not displayed, the desktop page displayed on the TV screen will be too small, and there will be a large area of blank space on the TV screen, resulting in a low utilization rate. So in this case, when the TV is displaying the content of the desktop page on the mobile phone, the content in the N desktop pages can be respectively enlarged according to a certain ratio, so that the size of the content displayed on the display screen of the TV is the same as that of the TV Adapt to the size of the display screen, enhance the visual experience and operating experience.
本申请的一些实施例中,N的取值可以根据显示设备100的显示屏的尺寸确定。示例性的,可以预先设定N的取值与显示设备100的显示屏的尺寸之间的对应关系,这样在获知到显示屏100的显示屏的尺寸后,即可以获知到N的取值。例如,当显示设备100的显示屏的尺寸为7英寸~15.6英寸之间时,N的取值可以为2;当显示设备100的显示屏的尺寸大于15.6英寸时,N的取值可以为3,等等,具体可根据实际情况而定,此处不做限定。In some embodiments of the present application, the value of N may be determined according to the size of the display screen of the display device 100 . Exemplarily, the corresponding relationship between the value of N and the size of the display screen of the display device 100 can be preset, so that the value of N can be known after the size of the display screen of the display device 100 is known. For example, when the size of the display screen of the display device 100 is between 7 inches and 15.6 inches, the value of N can be 2; when the size of the display screen of the display device 100 is greater than 15.6 inches, the value of N can be 3 , and so on, which may be determined according to the actual situation, and are not limited here.
在本申请的一些实施例中,在显示设备100显示N个桌面页时,当显示设备100的显示屏处于横屏模式时,显示设备100的显示屏的横向尺寸较大,所以这时显示设备100所显示的N个桌面页可以依次横向排布。例如,继续参阅图4的(B)和图5的(B),当前显示设备100的显示屏处于横屏模式,所以此时显示设备100所显示的N个桌面页可以依次横向排布。In some embodiments of the present application, when the display device 100 displays N desktop pages, when the display screen of the display device 100 is in the landscape mode, the horizontal size of the display screen of the display device 100 is larger, so at this time the display device The N desktop pages displayed at 100 can be arranged horizontally in sequence. For example, continue to refer to FIG. 4 (B) and FIG. 5 (B), the display screen of the display device 100 is currently in landscape mode, so the N desktop pages displayed by the display device 100 can be arranged horizontally in turn.
当显示设备100的显示屏处于竖屏模式时,显示设备100的显示屏的横向尺寸较小,所以这时显示设备100所显示的N个桌面页可以依次竖向排布。例如,如图6所示,若在图6的(A)所示的界面下,显示设备100的显示屏处于横屏模式,则当显示设备100的显示屏由横屏模式切换为竖屏模式时,显示设备100上的显示界面可以切换为图6的(B)所示的界面。其中,在图6的(A)和(B)中,显示设备100所显示的常驻内容均位于其所显示的桌面页的下方,且处于其显示区域的居中位置。When the display screen of the display device 100 is in the portrait mode, the horizontal size of the display screen of the display device 100 is smaller, so the N desktop pages displayed by the display device 100 can be arranged vertically in sequence. For example, as shown in FIG. 6, if the display screen of the display device 100 is in the landscape mode under the interface shown in (A) of FIG. 6, then when the display screen of the display device 100 is switched from the landscape mode to the portrait mode , the display interface on the display device 100 can be switched to the interface shown in (B) of FIG. 6 . Wherein, in (A) and (B) of FIG. 6 , the resident content displayed by the display device 100 is located below the displayed desktop page and in the center of its display area.
作为一种可能的实现方式,当显示设备100的显示屏处于竖屏模式时,显示设备100也可以竖向显示一个桌面页,该桌面页可以是电子设备200的显示屏上当前正在显示的界面。此外,当显示设备100的显示屏是由横屏模式切换为竖屏模式时,此时显示设备100的显示屏上显示的桌面页可以是在横屏模式下处于排序首位的桌面页。例如,如图7所示,若在图7的(A)所示的界面下,显示设备100的显示屏处于横屏模式,则当显示设备100的显示屏由横屏模式切换为竖屏模式时,显示设备100上的显示界面可以切换为图7的(B)所示的界面,在图7的(B)所显示的界面中可以包括一个桌面页和一个常驻内容。As a possible implementation, when the display screen of the display device 100 is in the portrait mode, the display device 100 may also vertically display a desktop page, and the desktop page may be the interface currently displayed on the display screen of the electronic device 200 . In addition, when the display screen of the display device 100 is switched from the landscape mode to the portrait mode, the desktop page displayed on the screen of the display device 100 at this time may be the desktop page ranked first in the landscape mode. For example, as shown in FIG. 7, if under the interface shown in (A) of FIG. 7, the display screen of the display device 100 is in landscape mode, then when the display screen of the display device 100 is switched from landscape mode , the display interface on the display device 100 may be switched to the interface shown in (B) of FIG. 7 , and the interface shown in (B) of FIG. 7 may include a desktop page and a resident content.
作为另一种可能的实现方式,当显示设备100的显示屏处于竖屏模式时,若显示设备100的显示屏的横向尺寸依然支持显示多个桌面页,则此时显示设备100依然可以在其显示屏上横向显示多个桌面页。例如,如图8所示,此时显示设备100的显示屏上显示有两个桌面页,其中,编号“1”对应一个桌面页,编号“2”对应一个桌面页。另外,继续参阅图8,在图8所显示的桌面页的下方还可以显示常驻内容。As another possible implementation, when the display screen of the display device 100 is in the portrait mode, if the horizontal size of the display screen of the display device 100 still supports displaying multiple desktop pages, the display device 100 can still Multiple desktop pages are displayed in landscape orientation on the display. For example, as shown in FIG. 8 , two desktop pages are displayed on the display screen of the display device 100 at this time, wherein the number "1" corresponds to one desktop page, and the number "2" corresponds to one desktop page. In addition, continuing to refer to FIG. 8 , resident content may also be displayed below the desktop page shown in FIG. 8 .
此外,在此种情况下,当显示设备100在其显示屏上横向显示多个桌面页后,若此时仍存在可以显示的桌面页,且在显示屏的竖向上存在显示空间时,显示设备100也可以继续在相应的显示空间中显示剩余的桌面页。例如,如图9所示,此时显示设备100的显示屏上显示有三个桌面页,在显示屏的上半部分横向显示有两个桌面页,在显示屏的下半部分显示有一个桌面页。当然了,在显示设备100的显示屏处于横屏模式时,也可以采用这样的显示方 式,具体可根据实际情况而定,此处不做限定。In addition, in this case, after the display device 100 displays multiple desktop pages horizontally on its display screen, if there are still desktop pages that can be displayed at this time, and there is a display space in the vertical direction of the display screen, the display device 100 100 may also continue to display the remaining desktop pages in the corresponding display space. For example, as shown in FIG. 9, at this time, three desktop pages are displayed on the display screen of the display device 100, two desktop pages are displayed horizontally on the upper half of the display screen, and one desktop page is displayed on the lower half of the display screen. . Of course, when the display screen of the display device 100 is in the landscape mode, such a display mode may also be adopted, which may be determined according to actual conditions, and is not limited here.
在本申请的一些实施例中,在显示设备100上显示电子设备200投屏后的桌面页时,为了充分利用显示设备100的显示屏的显示空间,显示设备100的显示屏上还可以显示出用户在显示设备100上近期打开的应用的图标,和/或,显示出用户在电子设备200上近期打开的应用的图标,以便用户能快速找寻到其近期打开的应用。对于在显示设备100的显示屏上显示用户近期打开的应用的图标的区域可根据实际情况而定,此处不做限定。示例性的,显示设备100可以但不限于将用户近期打开的应用的图标与常驻内容并排显示。例如,如图10所示,可以在显示设备100的显示屏的底部且靠近中央位置的区域Z4处显示用户近期打开的应用的图标,其中,该区域Z4与显示设备100上显示的常驻内容并排显示。In some embodiments of the present application, when displaying the desktop page projected by the electronic device 200 on the display device 100, in order to make full use of the display space of the display screen of the display device 100, the display screen of the display device 100 may also display Icons of applications recently opened by the user on the display device 100, and/or icons of applications recently opened by the user on the electronic device 200 are displayed, so that the user can quickly find the applications opened recently. The area where the icon of the application recently opened by the user is displayed on the display screen of the display device 100 may be determined according to actual conditions, and is not limited here. Exemplarily, the display device 100 may, but is not limited to, display icons of applications recently opened by the user side by side with resident content. For example, as shown in FIG. 10 , icons of applications recently opened by the user may be displayed at the bottom of the display screen of the display device 100 and near the central area Z4, where the area Z4 is consistent with the resident content displayed on the display device 100. displayed side by side.
在电子设备200向显示设备100完成投屏后,用户即可以在显示设备100上进行操作。比如:切换桌面页等。After the electronic device 200 finishes projecting the screen to the display device 100 , the user can perform operations on the display device 100 . For example: switching desktop pages, etc.
在本申请的一些实施例中,用户在显示设备100上切换界面过程中,当显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量不能被电子设备200上的桌面页的数量的总数整除时,若每次切换界面均切换显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量的界面,则在切换到最后一个桌面页时,在显示设备100的显示屏上就会出现空白的情况。此时,显示设备100获取到的源界面中所包括的(N+M)个桌面页中,M的取值可以大于或等于1。In some embodiments of the present application, when the user switches interfaces on the display device 100, the number of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time cannot be outnumbered by the number of desktop pages on the electronic device 200. When the total number of the quantity is divisible, if the interface of the number of desktop pages of the electronic device 200 that can be displayed by the display screen of the display device 100 is switched every time the interface is switched, then when switching to the last desktop page, the screen of the display device 100 The display will go blank. At this time, among the (N+M) desktop pages included in the source interface acquired by the display device 100 , the value of M may be greater than or equal to 1.
举例来说,若显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量为2,电子设备200上的桌面页的数量的总数为5,且每次切换界面均切换两个桌面页;此时如图11的(A)所示,用户用手指F在显示设备100的显示屏上向左滑动,之后显示设备100的显示屏上的显示界面即由显示“1”、“2”桌面页切换为显示“3”、“4”桌面页,即显示如图11的(B)所示的界面。接着,用户用手指F再次在显示设备100的显示屏上向左滑动,之后显示设备100的显示屏上的显示界面即由显示“3”、“4”桌面页切换为显示“5”、“空”桌面页,即显示如图11的(C)所示的界面。可理解的是,图11中除“空”之外的虚线框中的内容均是待切换的界面,此处仅为便于说明,而将它们描述出来;对于“空”字对应的虚线框可以是真实存在的,也可以是不存在的(此时该区域可以为空白区域),具体可根据实际情况而定,此处不做限定。For example, if the number of desktop pages of the electronic device 200 that can be displayed by the display screen of the display device 100 at one time is 2, the total number of desktop pages on the electronic device 200 is 5, and two pages are switched every time the interface is switched. Desktop page; at this time, as shown in (A) of Figure 11, the user slides to the left with finger F on the display screen of the display device 100, and then the display interface on the display screen of the display device 100 is changed from displaying "1", " 2" desktop page is switched to display "3" and "4" desktop pages, that is, the interface shown in (B) of FIG. 11 is displayed. Next, the user slides left on the display screen of the display device 100 with the finger F again, and then the display interface on the display screen of the display device 100 switches from displaying "3" and "4" desktop pages to displaying "5" and " Empty" desktop page, the interface shown in (C) of Figure 11 is displayed. It can be understood that the content in the dotted line box except "empty" in Fig. 11 is the interface to be switched, and they are described here only for the convenience of explanation; for the dotted line box corresponding to the word "empty", you can It may actually exist, or it may not exist (in this case, the area may be a blank area), which may be determined according to the actual situation, and is not limited here.
进一步地,为了避免上述在显示设备100上切换界面所出现的空白界面的问题,本申请实施例提供了一种更加动态的解决方法。Further, in order to avoid the above-mentioned problem of a blank interface when the interface is switched on the display device 100, the embodiment of the present application provides a more dynamic solution.
具体地,当待切换的桌面页的数量X大于或等于显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量Y时,当用户在显示设备100上切换界面时,此时,显示设备100可以获取到用户下发的界面切换指令,之后,显示设备100的显示屏上可以移动Y个待切换的桌面页,即切换桌面页。当待切换的桌面页的数量X小于显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量Y时,当用户在显示设备100上切换界面时,此时,显示设备100可以获取到用户下发的界面切换指令,之后,显示设备100的显示屏上可以移动X个待切换的桌面页,即切换桌面页。由此以解决上述显示设备100上切换界面所存在的显示界面上出现空白的问题。在一些实施例中,数量Y可以与显示设备100能够同时显示的桌面页的数量N相等。Specifically, when the number X of desktop pages to be switched is greater than or equal to the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time, when the user switches interfaces on the display device 100, at this time , the display device 100 may obtain the interface switching instruction issued by the user, and then, Y desktop pages to be switched may be moved on the display screen of the display device 100, that is, the desktop page may be switched. When the number X of desktop pages to be switched is less than the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time, when the user switches interfaces on the display device 100, the display device 100 can After the interface switching instruction issued by the user is obtained, X desktop pages to be switched can be moved on the display screen of the display device 100 , that is, the desktop page can be switched. In this way, the above-mentioned problem of blank space on the display interface existing in the switching interface on the display device 100 can be solved. In some embodiments, the number Y may be equal to the number N of desktop pages that the display device 100 can simultaneously display.
举例来说,当X≥Y时,继续参阅图11,在图11的(A)中,显示设备100上显示有“1”、 “2”桌面页,待切换的桌面页为“3”、“4”、“5”桌面页,此时待切换的桌面页的数量X为3,显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量Y为2。由于X≥Y,所以此时当用户在显示设备100上用手指F切换界面时,显示设备100的显示屏上可以移动2个桌面页,即显示图11的(B)所示的界面。For example, when X≥Y, continue referring to FIG. 11 , in (A) of FIG. 11 , desktop pages “1” and “2” are displayed on the display device 100, and the desktop pages to be switched are “3”, "4", "5" desktop pages, the number X of desktop pages to be switched at this time is 3, and the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time is 2. Since X≥Y, when the user switches the interface with finger F on the display device 100, the display screen of the display device 100 can move 2 desktop pages, that is, the interface shown in (B) of FIG. 11 is displayed.
当X<Y时,如图12所示,在图12的(A)中,显示设备100上显示有“3”、“4”桌面页,向左待切换的桌面页为“1”、“2”桌面页,向右待切换的桌面页为“5”桌面页,此时若用户向右切换界面,则待切换的桌面页的数量X为1,显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量Y为2。由于X<Y,所以此时当用户在显示设备100上用手指F切换界面时,显示设备100的显示屏上可以移动1个桌面页,即显示图12的(B)所示的界面。其中,将图11的(B)切换为图11的(C)后显示设备100上所显示的界面,与图12的(A)切换为图12的(B)后显示设备100上所显示的界面进行对比,可以看出,在图12的(B)中未出现图11的(C)中所出现的空白界面的情况。When X<Y, as shown in Figure 12, in (A) of Figure 12, "3", "4" desktop pages are displayed on the display device 100, and the desktop pages to be switched to the left are "1", " 2" desktop page, the desktop page to be switched to the right is "5" desktop page, if the user switches the interface to the right at this time, the number X of the desktop page to be switched is 1, and the display screen of the display device 100 can display at one time The number Y of desktop pages of the electronic device 200 is two. Since X<Y, when the user switches the interface with the finger F on the display device 100, one desktop page can be moved on the display screen of the display device 100, that is, the interface shown in (B) of FIG. 12 is displayed. Wherein, the interface displayed on the display device 100 after switching (B) of FIG. 11 to (C) of FIG. 11 , and the interface displayed on the display device 100 after switching (A) of FIG. Comparing the interfaces, it can be seen that the blank interface that appeared in (C) of FIG. 11 does not appear in (B) of FIG. 12 .
作为一种可能的实现方式,除了通过上述方式解决显示设备100上切换界面所出现的空白界面的问题,还可以在上述X小于Y时,依然切换Y个桌面页,但在切换后,可以适应性的调整切换后的桌面页的显示位置、该桌面页中所包含的不同内容的间距和/或尺寸等等,以使得切换后的桌面页与显示设备100的显示屏的尺寸相匹配。As a possible implementation, in addition to solving the problem of the blank interface when switching the interface on the display device 100 through the above method, it is also possible to switch Y desktop pages when the above-mentioned X is less than Y, but after switching, it can adapt to Permanently adjust the display position of the switched desktop page, the spacing and/or size of different contents contained in the desktop page, etc., so that the switched desktop page matches the size of the display screen of the display device 100 .
在本申请的一些实施例中,显示设备100的显示屏一次所能显示的电子设备200的桌面页的数量Y,也可以替换为用户设置或者系统预置的每次切换界面所能切换的桌面页的数量。In some embodiments of the present application, the number Y of desktop pages of the electronic device 200 that can be displayed on the display screen of the display device 100 at one time can also be replaced by the desktop that can be switched each time the interface is switched by the user setting or system preset number of pages.
作为一种可能的实现方式,每次切换桌面页所能切换的桌面页的数量可以根据用户在显示设备100的显示屏上的滑动参数确定。此时,显示设备100在获取到用户下发的界面切换之后,可以获取该界面切换指令对应的滑动参数,并由该滑动参数确定出所需切换的桌面页的数量,进而切换桌面页。示例性的,滑动参数可以包括滑动距离和/或滑动速度等。在一些实施例中,滑动参数可以称之为触摸参数。As a possible implementation manner, the number of desktop pages that can be switched each time the desktop pages are switched may be determined according to the sliding parameters of the user on the display screen of the display device 100 . At this time, after the display device 100 acquires the interface switching issued by the user, it may acquire the sliding parameter corresponding to the interface switching command, and determine the number of desktop pages to be switched by the sliding parameter, and then switch the desktop page. Exemplarily, the sliding parameters may include sliding distance and/or sliding speed and the like. In some embodiments, the sliding parameters may be referred to as touch parameters.
具体地,图13示出了一种基于用户在显示设备100的显示屏上的滑动参数确定每次切换界面所能切换的桌面页的数量的步骤示意图。其中,在图13中,显示设备100的显示屏可以为触控屏,且滑动参数为滑动距离。如图13所示,包括以下步骤:Specifically, FIG. 13 shows a schematic diagram of steps for determining the number of desktop pages that can be switched each time the interface is switched based on the sliding parameters of the user on the display screen of the display device 100 . Wherein, in FIG. 13 , the display screen of the display device 100 may be a touch screen, and the sliding parameter is a sliding distance. As shown in Figure 13, the following steps are included:
首先,在S1301中,显示设备100上的显示屏可以采集用户执行滑动操作的初始位置和结束位置。用户在执行滑动操作时,当用户接触显示设备100的显示屏时,显示设备100的显示屏即可以获取到该位置,即获取到初始位置。当用户结束滑动操作时,显示设备100的显示屏即可以获知到用户结束滑动操作时的位置,即获取到结束位置。First, in S1301, the display screen on the display device 100 may collect an initial position and an end position of a sliding operation performed by the user. When the user performs a sliding operation, when the user touches the display screen of the display device 100 , the display screen of the display device 100 can obtain the position, that is, obtain the initial position. When the user ends the sliding operation, the display screen of the display device 100 can know the position when the user ends the sliding operation, that is, obtain the end position.
接着,在S1302中,可以由初始位置和结束位置计算出用户执行滑动操作的滑动距离。Next, in S1302, the sliding distance for the user to perform the sliding operation may be calculated from the initial position and the end position.
接着,在S1303中,将滑动距离与预设的滑动距离阈值进行比较,判断滑动距离与预设的滑动距离阈值之间的大小。Next, in S1303, the sliding distance is compared with a preset sliding distance threshold, and a size between the sliding distance and the preset sliding distance threshold is determined.
最后,在S1304中,当滑动距离大于滑动距离阈值时,确定每次切换桌面页所能切换的桌面页的数量为m1。在S1305中,当滑动距离小于或等于滑动距离阈值时,确定每次切换桌面页所能切换的桌面页的数量为m2。其中,m1和m2可以根据实际情况进行设定,此处不做限定。Finally, in S1304, when the sliding distance is greater than the sliding distance threshold, it is determined that the number of desktop pages that can be switched each time the desktop page is switched is m1. In S1305, when the sliding distance is less than or equal to the sliding distance threshold, it is determined that the number of desktop pages that can be switched each time the desktop page is switched is m2. Wherein, m1 and m2 can be set according to actual conditions, and are not limited here.
可理解的是,图13中的滑动距离也可以替换为其他的滑动参数,比如滑动速度等;此外,获取滑动参数的方式也可以替换为其他的方法,此处不做限定,且替换后的方案仍在本申请的保护范围内。It is understandable that the sliding distance in Figure 13 can also be replaced by other sliding parameters, such as sliding speed, etc.; in addition, the method of obtaining sliding parameters can also be replaced by other methods, which are not limited here, and the replaced The scheme is still within the protection scope of the present application.
在电子设备200向显示设备100完成投屏后,用户除了可以分别在显示设备100的显示屏和电子设备200的显示屏上进行操作外,用户还可以将显示设备100的显示屏和电子设备200的显示屏进行绑定,以将两个显示屏上的显示界面组成联动桌面,从而可以一次性展现更多的电子设备200上的桌面页,进而减少用户切换桌面页的次数,并使得用户可以直接访问到其所需的桌面页,提升两个设备协同时的使用效率。其中,用户可以通过特定的触发操作,将显示设备100的显示屏和电子设备200的显示屏进行绑定。示例性的,触发操作可以包括:控制显示设备100和电子设备200之间进行碰撞,跨屏捏合操作、语音控制等操作中的一项或多项。示例性的,跨屏捏合操作可以为多指跨屏捏合操作,例如,两指、三指等,此处不做限定。After the electronic device 200 completes screen projection to the display device 100, the user can not only operate on the display screen of the display device 100 and the display screen of the electronic device 200 respectively, but also connect the display screen of the display device 100 and the Bind the display screens of the two display screens to form a linked desktop, so that more desktop pages on the electronic device 200 can be displayed at one time, thereby reducing the number of times the user switches desktop pages, and allowing the user to Directly access to the desktop page it needs, improving the efficiency of using two devices when they work together. Wherein, the user may bind the display screen of the display device 100 and the display screen of the electronic device 200 through a specific trigger operation. Exemplarily, the triggering operation may include one or more of: controlling the collision between the display device 100 and the electronic device 200 , cross-screen pinching operation, voice control and other operations. Exemplarily, the cross-screen pinch operation may be a multi-finger cross-screen pinch operation, for example, two fingers, three fingers, etc., which is not limited here.
举例来说,如图14的(A)所示,显示设备100上正在显示“d1”、“d2”桌面页,电子设备200上正在显示“1”桌面页,其中,“1”桌面页的下一个桌面页为“2”桌面页,“2”桌面页的下一个桌面页为“3”桌面页。在图14的(A)所示的情况下,用户控制电子设备200碰撞显示设备100,之后,显示设备100和电子设备200之间即完成绑定,两者的显示屏即可以进行联动。在显示设备100和电子设备200完成绑定后,如图14的(B)所示,两者的显示屏上的显示界面即组成联动桌面,此时,显示设备100上的显示界面可以由显示“d1”、“d2”桌面页切换为显示“2”、“3”桌面页。For example, as shown in (A) of FIG. 14 , the desktop pages “d1” and “d2” are being displayed on the display device 100, and the desktop page “1” is being displayed on the electronic device 200, wherein the “1” desktop page The next desktop page is "2" desktop page, and the next desktop page of "2" desktop page is "3" desktop page. In the situation shown in (A) of FIG. 14 , the user controls the electronic device 200 to collide with the display device 100 , and then the binding between the display device 100 and the electronic device 200 is completed, and the display screens of the two can be linked. After the display device 100 and the electronic device 200 are bound, as shown in (B) of FIG. The "d1" and "d2" desktop pages are switched to display the "2" and "3" desktop pages.
如图15的(A)所示,显示设备100上正在显示“d1”、“d2”桌面页,电子设备200上正在显示“1”桌面页,其中,“1”桌面页的下一个桌面页为“2”桌面页,“2”桌面页的下一个桌面页为“3”桌面页。在图15的(A)所示的情况下,用户用手F的一只手指触控显示设备100的显示屏,用手F的另一只手指触控电子设备200的显示屏,并执行手指捏合操作,之后,显示设备100和电子设备200之间即完成绑定,两者的显示屏即可以进行联动。在显示设备100和电子设备200完成绑定后,如图15的(B)所示,两者的显示屏上的显示界面即组成联动桌面,此时,显示设备100上的显示界面可以由显示“d1”、“d2”桌面页切换为显示“2”、“3”桌面页。As shown in (A) of Figure 15, the desktop pages "d1" and "d2" are being displayed on the display device 100, and the desktop page "1" is being displayed on the electronic device 200, wherein the next desktop page of the "1" desktop page is "2" desktop page, and the next desktop page of "2" desktop page is "3" desktop page. In the situation shown in (A) of FIG. 15 , the user touches the display screen of the display device 100 with one finger of the hand F, touches the display screen of the electronic device 200 with the other finger of the hand F, and executes the finger After the pinching operation, the binding between the display device 100 and the electronic device 200 is completed, and the display screens of the two can be linked. After the display device 100 and the electronic device 200 are bound, as shown in (B) of FIG. The "d1" and "d2" desktop pages are switched to display the "2" and "3" desktop pages.
在显示设备100的显示屏上的显示界面与电子设备200的显示屏上的显示界面组成联动桌面后,用户在显示设备100或者电子设备200上切换界面时,显示设备100和电子设备200的显示屏上的显示界面将会联动切换。换句话说,当用户在显示设备100上切换界面时,电子设备200上的界面也同时跟随切换;当用户在电子设备200上切换界面时,显示设备100上的界面也同时跟随切换,由此以达到联动切换的效果,便于用户操控,提升显示效果和用户体验。示例性的,当电子设备200获取到用户下发的界面切换指令后,电子设备2090可以向显示设备100发送界面切换指令,以便两者可以同时进行界面切换;之后,显示设备100可以响应该界面切换指令,切换桌面页。其中,在显示设备100和电子设备200切换桌面页后,两者所显示的桌面页不同。After the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop, when the user switches the interface on the display device 100 or the electronic device 200, the display of the display device 100 and the electronic device 200 The display interface on the screen will be switched in conjunction. In other words, when the user switches the interface on the display device 100, the interface on the electronic device 200 also follows the switching at the same time; when the user switches the interface on the electronic device 200, the interface on the display device 100 also follows the switching at the same time, thus In order to achieve the effect of linkage switching, it is convenient for users to control, and the display effect and user experience are improved. Exemplarily, after the electronic device 200 obtains the interface switching instruction issued by the user, the electronic device 2090 may send the interface switching instruction to the display device 100, so that the two can perform interface switching at the same time; after that, the display device 100 may respond to the interface Switch command, switch desktop page. Wherein, after the display device 100 and the electronic device 200 switch the desktop pages, the desktop pages displayed by the two are different.
举例来说,如图16的(A)所示,显示设备100的显示屏上的显示界面与电子设备200的显示屏上的显示界面组成联动桌面。其中,电子设备200的显示屏上显示的是“1”桌面页,显示设备100的显示屏上显示的是“2”桌面页,待切换的桌面页为“4”、“5”桌面页。在图16的(A)中用户用手F在电子设备200的显示屏上向左滑动,之后,出现桌面页切换。由于电子设备200上的显示屏一次只能显示一个桌面页,因此当用户在电子设备200的显示屏上操作切换桌面页时,电子设备200的显示屏上可以一次切换一个桌面页。如图16的(B) 所示,在桌面页切换后,电子设备200的显示屏上可以显示“2”桌面页,显示设备100的显示屏上可以显示“3”、“4”桌面页。For example, as shown in (A) of FIG. 16 , the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop. Wherein, the display screen of the electronic device 200 displays "1" desktop page, the display screen of the display device 100 displays "2" desktop page, and the desktop pages to be switched are "4" and "5" desktop pages. In (A) of FIG. 16 , the user slides to the left with hand F on the display screen of the electronic device 200 , and then a desktop page switch appears. Since the display screen on the electronic device 200 can only display one desktop page at a time, when the user switches desktop pages on the display screen of the electronic device 200 , one desktop page can be switched at a time on the display screen of the electronic device 200 . As shown in (B) of FIG. 16 , after the desktop page is switched, the display screen of the electronic device 200 may display “2” desktop pages, and the display screen of the display device 100 may display “3” and “4” desktop pages.
如图17的(A)所示,显示设备100的显示屏上的显示界面与电子设备200的显示屏上的显示界面组成联动桌面。其中,电子设备200的显示屏上显示的是“1”桌面页,显示设备100的显示屏上显示的是“2”桌面页,待切换的桌面页为“4”、“5”桌面页。在图17的(A)中用户用手F在显示设备100的显示屏上向左滑动,之后,出现桌面页切换。由于显示设备100上的显示屏一次可以显示两个桌面页,因此当用户在显示设备100的显示屏上操作切换桌面页时,显示设备100的显示屏上可以一次切换两个桌面页。如图17的(B)所示,在桌面页切换后,电子设备200的显示屏上可以显示“3”桌面页,显示设备100的显示屏上可以显示“4”、“5”桌面页。As shown in (A) of FIG. 17 , the display interface on the display screen of the display device 100 and the display interface on the display screen of the electronic device 200 form a linked desktop. Wherein, the display screen of the electronic device 200 displays "1" desktop page, the display screen of the display device 100 displays "2" desktop page, and the desktop pages to be switched are "4" and "5" desktop pages. In (A) of FIG. 17 , the user slides to the left with the hand F on the display screen of the display device 100 , after which a desktop page switch appears. Since the display screen on the display device 100 can display two desktop pages at a time, when the user switches desktop pages on the display screen of the display device 100 , two desktop pages can be switched at a time on the display screen of the display device 100 . As shown in (B) of FIG. 17 , after the desktop page is switched, the display screen of the electronic device 200 may display "3" desktop page, and the display screen of the display device 100 may display "4" and "5" desktop pages.
可以理解的是,在图16和图17中,在切换桌面页时,每次切换的桌面页的数量可以上文所描述的切换规则,此处就不再一一赘述。It can be understood that in FIG. 16 and FIG. 17 , when switching desktop pages, the number of desktop pages switched each time can be the switching rules described above, which will not be repeated here.
进一步地,在显示设备100的显示屏上的显示的桌面页与电子设备200的显示屏上的显示的桌面页组成联动桌面后,由于存在用户移动显示设备100或者电子设备200的情况,而当用户移动显示设备100或者电子设备200后,两者的位置关系将发生变化,这时两者组成的联动桌面中桌面页中的排列顺序也将发生变化,进而导致此时的联动桌面中的桌面页的排列顺序不符合用户的使用习惯。因此,在用户移动显示设备100或者电子设备200后,显示设备100和/或电子设备200可以根据两者之间的相对位置关系,调整联动桌面中桌面页的组合形式,以使得联动桌面中桌面页的组合形式符合用户的使用习惯,进而提升用户体验。Further, after the desktop page displayed on the display screen of the display device 100 and the desktop page displayed on the display screen of the electronic device 200 form a linked desktop, due to the fact that the user moves the display device 100 or the electronic device 200, when After the user moves the display device 100 or the electronic device 200, the positional relationship between the two will change, and at this time, the arrangement order of the desktop pages in the linked desktop composed of the two will also change, resulting in the desktops in the linked desktop at this time. The sorting order of the pages does not conform to the user's usage habits. Therefore, after the user moves the display device 100 or the electronic device 200, the display device 100 and/or the electronic device 200 can adjust the combined form of the desktop pages in the linked desktop according to the relative positional relationship between the two, so that the desktop in the linked desktop The combined form of the page conforms to the user's usage habits, thereby improving the user experience.
举例来说,如图18的(A)所示,显示设备100的显示屏上的显示的桌面页与电子设备200的显示屏上的显示的桌面页组成联动桌面。其中,电子设备200的显示屏上显示的是“1”桌面页,显示设备100的显示屏上显示的是“2”桌面页。在图18的(A)中用户可以将电子设备200由显示设备100的左侧移动至右侧。之后,如图18的(B)所示,电子设备200感知到其与显示设备100的相对位置发生变化,且移动至显示设备100的另一侧。同时,显示设备100的显示屏上显示的是“2”、“3”桌面页。因此,这时,电子设备200的显示屏上所显示的桌面页可以由显示设备100的显示屏上所显示的最后一个桌面页切换为该桌面页的下一个桌面页,即由“1”桌面页切换为“4”桌面页。可以理解的是,在用户移动显示设备100时,显示设备100和/或电子设备200可以根据两者之间的相对位置关系,调整联动桌面中桌面页的组合形式,此时调整的方式与用户移动电子设备200时的调整方式相同,此处就不再一一赘述。For example, as shown in (A) of FIG. 18 , the desktop page displayed on the display screen of the display device 100 and the desktop page displayed on the display screen of the electronic device 200 form a linked desktop. Wherein, the display screen of the electronic device 200 displays a "1" desktop page, and the display screen of the display device 100 displays a "2" desktop page. In (A) of FIG. 18 , the user can move the electronic device 200 from the left side to the right side of the display device 100 . Afterwards, as shown in (B) of FIG. 18 , the electronic device 200 senses that its relative position with the display device 100 has changed, and moves to the other side of the display device 100 . At the same time, the display screen of the display device 100 displays "2" and "3" desktop pages. Therefore, at this time, the desktop page displayed on the display screen of the electronic device 200 can be switched from the last desktop page displayed on the display screen of the display device 100 to the next desktop page of the desktop page, that is, the desktop page displayed by "1" Page switch to "4" desktop page. It can be understood that when the user moves the display device 100, the display device 100 and/or the electronic device 200 can adjust the combined form of the desktop pages in the linked desktop according to the relative positional relationship between the two. The adjustment methods for moving the electronic device 200 are the same, and will not be repeated here.
在本申请的一些实施例中,在显示设备100的显示屏上显示N(N≥2)个桌面页后,用户可以在显示设备100的显示屏上进行N个桌面页和(N-k)个桌面页之间的切换,以满足用户在不同场景下的需求;其中,k为正整数,且0<k<N。In some embodiments of the present application, after displaying N (N≥2) desktop pages on the display screen of the display device 100, the user can perform N desktop pages and (N-k) desktop pages on the display screen of the display device 100. Switch between pages to meet the needs of users in different scenarios; wherein, k is a positive integer, and 0<k<N.
举例来说,如图19的(A)所示,显示设备100的显示屏上显示有两个桌面页。其中,在图19的(A)中的应用1至应用20,以及应用A至应用D可以组成一个桌面页;应用21至应用40,以及应用A至应用D可以组成一个桌面页。在图19的(A)中,显示设备100可以响应于用户下发的将2个桌面页切换为1个桌面页的切换操作后,在其显示屏上显示应用1至应用20,以及应用A至应用D可以组成的桌面页,即图19的(B)中所示的界面。For example, as shown in (A) of FIG. 19 , two desktop pages are displayed on the display screen of the display device 100 . Wherein, in (A) of FIG. 19 , application 1 to application 20, and application A to application D can form a desktop page; application 21 to application 40, and application A to application D can form a desktop page. In (A) of FIG. 19 , the display device 100 may display applications 1 to 20, and application A To the desktop page that application D can compose, that is, the interface shown in (B) of FIG. 19 .
可理解的是,在用户将N个桌面页切换为(N-k)个桌面页后,显示设备100可以对(N-K) 个桌面页中所包含的内容之间的间距进行适应性调整,以使得切换后的桌面页中所包含的内容最大化布满显示设备100的显示屏,避免显示设备100的显示屏上出现大面积空白,提升显示效果。例如,继续参阅图19,将图19的(A)中的两个桌面页切换为图19的(B)中的一个桌面页后,在图19的(B)中可以对应用1至应用20之间的间距进行调整,从而使得应用1至应用20可以最大化布满显示设备100的显示屏。It is understandable that after the user switches the N desktop pages to (N-k) desktop pages, the display device 100 can adaptively adjust the spacing between the contents contained in the (N-K) desktop pages, so that the switching The content contained in the last desktop page is maximized to cover the display screen of the display device 100, avoiding a large blank area on the display screen of the display device 100, and improving the display effect. For example, continue to refer to FIG. 19, after switching the two desktop pages in (A) of FIG. 19 to one desktop page in (B) of FIG. 19, in (B) of FIG. The spacing between the applications is adjusted so that applications 1 to 20 can maximize the display screen of the display device 100 .
可理解的是,对于切换后需要显示的桌面页,可以基于预先设定的切换规则进行显示,具体可根据实际情况而定,此处不做限定。示例性的,预先设定的切换规则可以为:在将N个桌面页切换为(N-k)个桌面页后,显示设备100的显示屏上显示的是N个桌面页中的前(N-K)个桌面页,或者,显示的是N个桌面页中的后(N-K)个桌面页;在将(N-k)个桌面页切换为N个桌面页后,显示设备100的显示屏上显示的是(N-K)个桌面页中第一个桌面页之前的K个桌面页,或者,显示的是(N-K)个桌面页中最后一个桌面页(即第(N-K)个桌面页)之后的K个桌面页。It is understandable that, for the desktop page to be displayed after switching, it may be displayed based on a preset switching rule, which may be determined according to actual conditions, and is not limited here. Exemplarily, the preset switching rule may be: after the N desktop pages are switched to (N-k) desktop pages, the first (N-K) of the N desktop pages are displayed on the display screen of the display device 100 The desktop pages, or, display the last (N-K) desktop pages among the N desktop pages; after the (N-k) desktop pages are switched to N desktop pages, what is displayed on the display screen of the display device 100 is (N-K K desktop pages before the first desktop page among the (N-K) desktop pages are displayed, or K desktop pages after the last desktop page (that is, the (N-K)th desktop page) among the (N-K) desktop pages are displayed.
在本申请的一些实施例中,在显示设备100的显示屏上切换桌面页时,用户可以通过下发操作指令进行切换,例如,通过语音指令进行切换、通过手动操作进行切换等等。示例性的,用户可以通过将显示设备100的显示屏上的某一个桌面页进行放大,以减少显示设备100的显示屏上所显示的桌面页的数量;此外,用户也可以通过将显示设备100的显示屏上某一个桌面页进行缩小,以增加显示设备100的显示屏上所显示的桌面页的数量。In some embodiments of the present application, when the desktop page is switched on the display screen of the display device 100, the user may switch by issuing an operation command, for example, switch by voice command, switch by manual operation, and so on. Exemplarily, the user can reduce the number of desktop pages displayed on the display screen of the display device 100 by zooming in on a certain desktop page on the display screen of the display device 100; A certain desktop page on the display screen of the display device 100 is reduced to increase the number of desktop pages displayed on the display screen of the display device 100 .
在一个例子中,在用户选择减少显示设备100的显示屏上所显示的桌面页的数量时,在显示设备100的显示屏上所显示的切换后的桌面页中可以至少包括用户所选择放大的桌面页。示例性的,可以在显示设备100的显示屏上只显示用户所选择的放大的桌面页。In one example, when the user chooses to reduce the number of desktop pages displayed on the display screen of the display device 100, the switched desktop pages displayed on the display screen of the display device 100 may include at least the enlarged page selected by the user. desktop page. Exemplarily, only the enlarged desktop page selected by the user may be displayed on the display screen of the display device 100 .
举例来说,如图20的(A)所示,显示设备100的显示屏上显示的是“1”、“2”桌面页,待切换的桌面页为“3”、“4”桌面页。在图20的(A)中,在显示设备100的显示屏上,用户可以通过手指对“2”桌面页进行放大,在用户对“2”桌面页放大过程中,“2”桌面页可以将“1”桌面页”挤出”显示设备100的显示屏,此时在显示设备100的显示屏上即显示图20的(B)中所示的界面。在图20的(B)中,待切换的桌面页即为“1”、“3”、“4”桌面页。For example, as shown in (A) of FIG. 20 , desktop pages "1" and "2" are displayed on the display screen of the display device 100, and desktop pages to be switched are desktop pages "3" and "4". In (A) of FIG. 20 , on the display screen of the display device 100, the user can zoom in on the "2" desktop page with a finger, and during the process of zooming in on the "2" desktop page, the "2" desktop page can "1" desktop page "extrude" the display screen of the display device 100, and the interface shown in (B) of FIG. 20 is displayed on the display screen of the display device 100 at this time. In (B) of FIG. 20 , the desktop pages to be switched are "1", "3", and "4" desktop pages.
如图21的(A)所示,显示设备100的显示屏上显示的是“1”、“2”桌面页,待切换的桌面页为“3”、“4”桌面页。在图21的(A)中,在显示设备100的显示屏上,用户可以通过手指对“1”桌面页进行放大,在用户对“1”桌面页放大过程中,“1”桌面页可以将“2”桌面页”挤出”显示设备100的显示屏,此时在显示设备100的显示屏上即显示图21的(B)中所示的界面。在图21的(B)中,待切换的桌面页即为“2”、“3”、“4”桌面页。As shown in (A) of FIG. 21 , desktop pages "1" and "2" are displayed on the display screen of the display device 100, and desktop pages to be switched are "3" and "4". In (A) of FIG. 21 , on the display screen of the display device 100, the user can zoom in on the "1" desktop page with a finger, and during the zoom-in process of the "1" desktop page, the "1" desktop page can be "2" desktop page "extrude" the display screen of the display device 100, and the interface shown in (B) of FIG. 21 is displayed on the display screen of the display device 100 at this time. In (B) of FIG. 21 , the desktop pages to be switched are "2", "3", and "4" desktop pages.
可理解的是,在图20和图21中,一个桌面页将另一个桌面页”挤出”显示设备100的显示屏的速度,可以与用户对一个桌面页进行放大的速度一致,由此以提升动态显示效果。另外,在用户对一个桌面页进行放大过程中,也可以同步放大电子设备100的显示屏上显示的其他的桌面页,以增强动态显示效果,提升用户体验。It can be understood that, in FIG. 20 and FIG. 21 , the speed at which one desktop page “squeezes out” the other desktop page from the display screen of the display device 100 may be consistent with the speed at which the user zooms in on one desktop page, so as to Improve the dynamic display effect. In addition, when the user zooms in on a desktop page, other desktop pages displayed on the display screen of the electronic device 100 may also be zoomed in synchronously, so as to enhance the dynamic display effect and improve user experience.
此外,用户在显示设备100上切换桌面页时,在第一个桌面页将第二个桌面页”挤出”显示设备100的显示屏的过程中,当用户放大第一个桌面页的幅度大于或等于预设幅度值时时,若此时用户停止放大第一个桌面页和/或用户不在对显示设备100进行操控,则显示设备100可以在其显示屏上直接显示第一个桌面页,而不在显示第二个桌面页。而当用户放大第一个桌面页的幅度小于预设幅度值时,若此时用户停止放大第一个桌面页和/或用户不在对显示设备100进行操控,则显示设备100可以在其显示屏上可以再次恢复至用户放大第一个桌 面页之前的状态,即同时显示第一个桌面页和第二个桌面页。In addition, when the user switches desktop pages on the display device 100, when the first desktop page "extrudes" the second desktop page from the display screen of the display device 100, when the user zooms in on the first desktop page by more than or equal to the preset amplitude value, if the user stops zooming in on the first desktop page at this time and/or the user is not manipulating the display device 100, the display device 100 can directly display the first desktop page on its display screen, and The second desktop page is no longer displayed. And when the user zooms in on the first desktop page with an amplitude smaller than the preset amplitude value, if the user stops zooming in on the first desktop page and/or the user is not manipulating the display device 100, then the display device 100 can display the display device 100 on its display screen. can be restored to the state before the user zoomed in on the first desktop page, that is, the first desktop page and the second desktop page are displayed simultaneously.
举例来说,如图22所示,在图22的(A)中显示设备100的显示屏上显示有“1”、“2”桌面页,此时用户用手指放大“2”桌面页。在用户放大“2”桌面页过程中,“1”桌面页同时被放大且逐渐被”挤出”显示设备100的显示屏,并达到如图22的(B)所示的显示效果。在图22的(B)中,用户停止放大“2”桌面页,此时,用户放大“2”桌面页的幅度大于了预设幅度值。之后,用户的手指离开显示设备100的显示屏,此时,显示设备100的显示屏上可以显示“2”桌面页,并不在显示“1”桌面页,即显示如图22的(C)所示的界面。For example, as shown in FIG. 22 , in (A) of FIG. 22 , “1” and “2” desktop pages are displayed on the display screen of the display device 100 , and the user zooms in on the “2” desktop page with fingers. When the user enlarges the "2" desktop page, the "1" desktop page is simultaneously enlarged and gradually "squeezed out" of the display screen of the display device 100, and the display effect shown in (B) of FIG. 22 is achieved. In (B) of FIG. 22 , the user stops zooming in on the "2" desktop page, and at this time, the user's zooming in on the "2" desktop page is greater than a preset value. Afterwards, the user's finger leaves the display screen of the display device 100. At this time, the "2" desktop page may be displayed on the display screen of the display device 100 instead of the "1" desktop page, that is, the display shown in (C) of FIG. 22 displayed interface.
如图23所示,在图23的(A)中显示设备100的显示屏上显示有“1”、“2”桌面页,此时用户用手指放大“2”桌面页。在用户放大“2”桌面页过程中,“1”桌面页同时被放大且逐渐被”挤出”显示设备100的显示屏,并达到如图23的(B)所示的显示效果。在图23的(B)中,用户停止放大“2”桌面页,此时,用户放大“2”桌面页的幅度小于预设幅度值。之后,用户的手指离开显示设备100的显示屏,此时,显示设备100的显示屏上可以恢复至同时显示“1”、“2”桌面页,即显示如图23的(C)所示的界面。As shown in FIG. 23 , in (A) of FIG. 23 , desktop pages "1" and "2" are displayed on the display screen of the display device 100, and the user zooms in on the "2" desktop page with fingers. When the user enlarges the "2" desktop page, the "1" desktop page is simultaneously enlarged and gradually "squeezed out" of the display screen of the display device 100, and the display effect shown in (B) of FIG. 23 is achieved. In (B) of FIG. 23 , the user stops enlarging the "2" desktop page, and at this time, the user's enlarging range of the "2" desktop page is smaller than the preset amplitude value. Afterwards, the user's finger leaves the display screen of the display device 100. At this time, the display screen of the display device 100 can return to displaying "1" and "2" desktop pages at the same time, that is, the screen shown in (C) of FIG. 23 is displayed. interface.
在一个例子中,在用户选择通过将显示设备100的显示屏上某一桌面页进行缩小,以增加显示设备100的显示屏上所显示的桌面页的数量时,用户可以通过特定的操作选择是增加显示设备100上正在显示的第一个桌面页的前j个桌面页,还是选择增加显示设备100上正在显示的最后一个桌面页的后j个桌面页,其中,j为大于或等于1的正整数。对于j的取值,可以为预先设定的固定值,也可以为动态变化值,此处不做限定。可以理解的是,当显示设备100接收到用户的操作后,显示设备100即可以响应于用户的操作,增加相应的桌面页。示例性的,用户可以通过在显示设备100的显示屏上某一侧对某一桌面页进行缩小,以增加与该侧相对的一侧的方向上的桌面页。例如,当该侧为显示设备100的显示屏上正在显示的第一个桌面页所在的一侧时,则增加显示设备100的显示屏上正在显示的最后一个桌面页的后j个桌面页;当该侧为显示设备100的显示屏上正在显示的最后一个桌面页所在的一侧时,则增加显示设备100的显示屏上正在显示的第一个桌面页的前j个桌面页。In an example, when the user chooses to increase the number of desktop pages displayed on the display screen of the display device 100 by shrinking a certain desktop page on the display screen of the display device 100, the user may choose to Increase the first j desktop pages of the first desktop page being displayed on the display device 100, or choose to increase the last j desktop pages of the last desktop page being displayed on the display device 100, wherein j is greater than or equal to 1 positive integer. The value of j may be a preset fixed value or a dynamically changing value, which is not limited here. It can be understood that, after the display device 100 receives the user's operation, the display device 100 can respond to the user's operation and add a corresponding desktop page. Exemplarily, the user may zoom out a certain desktop page on a certain side on the display screen of the display device 100 , so as to increase the desktop page in a direction opposite to the side. For example, when the side is the side where the first desktop page being displayed on the display screen of the display device 100 is located, then add the last j desktop pages of the last desktop page being displayed on the display screen of the display device 100; When the side is the side where the last desktop page being displayed on the display screen of the display device 100 is located, add j desktop pages before the first desktop page being displayed on the display screen of the display device 100 .
举例来说,如图24的(A)所示,显示设备100的显示屏上显示的是“2”桌面页,待切换的桌面页为“1”、“3”、“4”桌面页。在图24的(A)中,在显示设备100的显示屏上,用户可以通过手指在显示设备100的显示屏的右侧对“2”桌面页进行缩小,在用户对“2”桌面页缩小过程中,“1”桌面页可以逐渐显示在显示设备100的显示屏上。在图24的(A)中,当用户的手指离开显示设备100的显示屏后,在显示设备100的显示屏上即显示图24的(B)中所示的界面。在图24的(B)中,待切换的桌面页即为“3”、“4”桌面页。For example, as shown in (A) of FIG. 24 , the display screen of the display device 100 displays "2" desktop page, and the desktop pages to be switched are "1", "3", and "4" desktop pages. In (A) of FIG. 24 , on the display screen of the display device 100, the user can zoom out the "2" desktop page by fingers on the right side of the display screen of the display device 100, and when the user zooms out the "2" desktop page During the process, the “1” desktop page may be gradually displayed on the display screen of the display device 100 . In (A) of FIG. 24 , when the user's finger leaves the display screen of the display device 100 , the interface shown in (B) of FIG. 24 is displayed on the display screen of the display device 100 . In (B) of FIG. 24 , the desktop pages to be switched are "3" and "4".
如图25的(A)所示,显示设备100的显示屏上显示的是“2”桌面页,待切换的桌面页为“1”、“3”、“4”桌面页。在图25的(A)中,在显示设备100的显示屏上,用户可以通过手指在显示设备100的显示屏的左侧对“2”桌面页进行缩小,在用户对“2”桌面页缩小过程中,“3”桌面页可以逐渐显示在显示设备100的显示屏上。在图25的(A)中,当用户的手指离开显示设备100的显示屏后,在显示设备100的显示屏上即显示图25的(B)中所示的界面。在图25的(B)中,待切换的桌面页即为“1”、“4”桌面页。As shown in (A) of FIG. 25 , the display screen of the display device 100 displays "2" desktop pages, and the desktop pages to be switched are "1", "3", and "4" desktop pages. In (A) of FIG. 25 , on the display screen of the display device 100, the user can zoom out the "2" desktop page with a finger on the left side of the display screen of the display device 100, and when the user zooms out the "2" desktop page During the process, the "3" desktop page may be gradually displayed on the display screen of the display device 100 . In (A) of FIG. 25 , when the user's finger leaves the display screen of the display device 100 , the interface shown in (B) of FIG. 25 is displayed on the display screen of the display device 100 . In (B) of FIG. 25 , the desktop pages to be switched are "1" and "4".
可理解的是,在图24和图25中,一个桌面页在另一个桌面页的带动下逐渐进入到显示设备100的显示屏上的速度,可以与用户对另一个桌面页进行缩小的速度一致,由此以提升动态显示效果。当然了,用户在操作增加显示设备100的显示屏上显示的桌面页的数量时, 待增加的桌面页除了逐渐显示在显示设备100的显示屏上,也可以在用户不在对显示设备100进行操控时直接全部显示在显示设备100的显示屏上。例如,在用户缩小一个桌面页的过程中,并不会显示待增加的桌面页,而在用户不在操控显示设备100(比如:用户手指离开显示设备100的显示屏)时,待增加的桌面页在直接显示在显示设备100的显示屏上。It can be understood that, in FIG. 24 and FIG. 25 , the speed at which one desktop page gradually enters the display screen of the display device 100 driven by another desktop page may be consistent with the speed at which the user shrinks another desktop page , thereby improving the dynamic display effect. Of course, when the user operates to increase the number of desktop pages displayed on the display screen of the display device 100, the desktop pages to be added may be gradually displayed on the display screen of the display device 100, or the user may not operate the display device 100. All the time is directly displayed on the display screen of the display device 100. For example, when the user shrinks a desktop page, the desktop page to be added will not be displayed, and when the user is not manipulating the display device 100 (such as: the user's finger leaves the display screen of the display device 100), the desktop page to be added directly displayed on the display screen of the display device 100.
此外,在用户选择通过将显示设备100的显示屏上某一桌面页进行缩小,以增加显示设备100的显示屏上所显示的桌面页的数量时,当用户缩小某一桌面页的幅度大于或等于预设幅度值时时,若此时用户停止缩小该桌面页和/或用户不在对显示设备100进行操控,则显示设备100可以在其显示屏上直接增加显示设备100的显示屏上所显示的桌面页的数量。而当用户缩小某一桌面页的幅度小于预设幅度值时,若此时用户停止缩小该桌面页和/或用户不在对显示设备100进行操控,则显示设备100可以在其显示屏上可以再次恢复至用户缩小第一个桌面页之前的状态。可理解的是,缩小桌面页以增加桌面页的数量的过程与上文图22和图23中放大桌面页以减小桌面页的数量的过程相反,此处就不再一一赘述。In addition, when the user chooses to shrink a certain desktop page on the display screen of the display device 100 to increase the number of desktop pages displayed on the display screen of the display device 100, when the user zooms out a certain desktop page by greater than or When it is equal to the preset amplitude value, if the user stops shrinking the desktop page and/or the user is not manipulating the display device 100 at this time, the display device 100 can directly increase the number displayed on the display screen of the display device 100 on its display screen. The number of desktop pages. And when the user shrinks the range of a desktop page smaller than the preset range value, if the user stops shrinking the desktop page and/or the user is not manipulating the display device 100, then the display device 100 can be displayed on its display screen again. Reverts to the state before the user zoomed out of the first desktop page. It can be understood that the process of shrinking the desktop page to increase the number of desktop pages is opposite to the process of enlarging the desktop page to reduce the number of desktop pages in FIG. 22 and FIG. 23 above, and details will not be repeated here.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (random access memory, RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or known in the art any other form of storage medium. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted via a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) , computer, server or data center for transmission. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application.
Claims (16)
- 一种显示方法,其特征在于,所述方法包括:A display method, characterized in that the method comprises:第一电子设备接收第二电子设备发送的投屏指示和所述第二电子设备上的源界面,所述源界面包括(N+M)个桌面页,N为大于或等于2的正整数,M大于或等于0;The first electronic device receives the screen projection instruction sent by the second electronic device and the source interface on the second electronic device, where the source interface includes (N+M) desktop pages, where N is a positive integer greater than or equal to 2, M is greater than or equal to 0;所述第一电子设备同时显示所述第二电子设备上的所述N个桌面页,其中,所述N个桌面页中至少包括第一桌面页和第二桌面页,所述第一桌面页为所述第二电子设备上当前正在显示的桌面页,所述第二桌面页为所述第二电子设备上当前未显示的桌面页;The first electronic device simultaneously displays the N desktop pages on the second electronic device, wherein the N desktop pages include at least a first desktop page and a second desktop page, and the first desktop page It is a desktop page currently being displayed on the second electronic device, and the second desktop page is a desktop page not currently displayed on the second electronic device;在所述第一电子设备上显示的所述第一桌面页的内容和排版分别与在所述第二电子设备上显示的所述第一桌面页的内容和排版相同,在所述第一电子设备上显示的所述第二桌面页的内容和排版分别与在所述第二电子设备上显示的所述第二桌面页的内容和排版相同。The content and typesetting of the first desktop page displayed on the first electronic device are respectively the same as the content and typesetting of the first desktop page displayed on the second electronic device. The content and typesetting of the second desktop page displayed on the device are respectively the same as the content and typesetting of the second desktop page displayed on the second electronic device.
- 根据权利要求1所述的方法,其特征在于,所述源界面还包括常驻内容;The method according to claim 1, wherein the source interface further includes resident content;所述方法还包括:The method also includes:所述第一电子设备显示所述常驻内容,所述常驻内容包括至少一个应用图标,其中,在所述第二电子设备切换显示任意两个桌面页时,所述常驻内容保持显示在所述第二电子设备的当前界面中。The first electronic device displays the resident content, the resident content includes at least one application icon, wherein when the second electronic device switches to display any two desktop pages, the resident content remains displayed on the In the current interface of the second electronic device.
- 根据权利要求2所述的方法,其特征在于:在所述第一电子设备上显示的所述常驻内容的排版与在所述第二电子设备上显示的所述常驻内容的排版相同。The method according to claim 2, characterized in that: the typesetting of the resident content displayed on the first electronic device is the same as the typesetting of the resident content displayed on the second electronic device.
- 根据权利要求2或3所述的方法,其特征在于,在所述第一电子设备的显示区域内所述常驻内容显示在所述N个桌面页的下方,和/或,所述常驻内容居中显示在所述第一电子设备上显示区域的下方。The method according to claim 2 or 3, wherein the resident content is displayed under the N desktop pages in the display area of the first electronic device, and/or, the resident content The content is centered and displayed below the display area on the first electronic device.
- 根据权利要求1-4任一所述的方法,其特征在于,所述第一电子设备在显示所述第二电子设备上的所述N个桌面页之前,还包括:The method according to any one of claims 1-4, wherein, before displaying the N desktop pages on the second electronic device, the first electronic device further includes:所述第一电子设备根据所述第一电子设备的显示屏的尺寸,确定N的取值。The first electronic device determines the value of N according to the size of the display screen of the first electronic device.
- 根据权利要求1-5任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:所述第一电子设备根据所述第一电子设备的显示屏的尺寸,调整所述N个桌面页中内容的尺寸。The first electronic device adjusts the size of content in the N desktop pages according to the size of the display screen of the first electronic device.
- 根据权利要求1-6任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, wherein the method further comprises:当所述第一电子设备的显示屏由横屏模式切换为竖屏模式时,所述第一电子设备显示所述第二电子设备上的(N-E)个桌面页,E为大于或等于0的正整数,且E小于N,E的取值由所述显示屏在竖屏模式下的横向尺寸或竖向尺寸确定。When the display screen of the first electronic device is switched from landscape mode to portrait mode, the first electronic device displays (N-E) desktop pages on the second electronic device, where E is greater than or equal to 0 A positive integer, and E is smaller than N, and the value of E is determined by the horizontal or vertical size of the display screen in portrait mode.
- 根据权利要求7所述的方法,其特征在于,E=N-1。The method according to claim 7, characterized in that E=N-1.
- 根据权利要求1-8任一所述的方法,其特征在于,M大于或等于1,所有的所述桌面页能够在所述第一电子设备上切换显示,所述方法还包括:The method according to any one of claims 1-8, wherein M is greater than or equal to 1, and all of the desktop pages can be switched and displayed on the first electronic device, and the method further includes:所述第一电子设备接收到用于切换所述桌面页的界面切换指令;The first electronic device receives an interface switching instruction for switching the desktop page;当待切换的桌面页的数量X大于或等于N时,所述第一电子设备响应于获取到的界面切换指令,一次切换N个所述桌面页;When the number X of desktop pages to be switched is greater than or equal to N, the first electronic device switches N desktop pages at a time in response to the acquired interface switching instruction;当所述待切换的桌面页的数量X小于N时,所述第一电子设备响应于获取到的界面切换指令,一次切换X个所述桌面页。When the number X of desktop pages to be switched is less than N, the first electronic device switches X desktop pages at a time in response to the acquired interface switching instruction.
- 根据权利要求1-8任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-8, wherein the method further comprises:所述第一电子设备接收界面切换指令;The first electronic device receives an interface switching instruction;所述第一电子设备获取所述界面切换指令对应的触摸参数;The first electronic device acquires a touch parameter corresponding to the interface switching instruction;基于所述触摸参数,所述第一电子设备确定本次界面切换所需切换的桌面页的目标数量,以及切换所述目标数量的桌面页。Based on the touch parameter, the first electronic device determines the target number of desktop pages to be switched for this interface switching, and switches the target number of desktop pages.
- 根据权利要求1-7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:所述第一电子设备接收所述第二电子设备发送的界面切换指令,其中,所述界面切换指令是所述第二电子设备接收到作用于所述第二电子设备的操作之后发送的;The first electronic device receives an interface switching instruction sent by the second electronic device, wherein the interface switching instruction is sent after the second electronic device receives an operation acting on the second electronic device;响应于所述界面切换指令,所述第一电子设备切换所述桌面页;切换所述桌面页之后的所述第一电子设备当前显示的桌面页与所述第二电子设备当前显示的桌面页完全不同。In response to the interface switching instruction, the first electronic device switches the desktop page; the desktop page currently displayed by the first electronic device and the desktop page currently displayed by the second electronic device after switching the desktop page completely different.
- 根据权利要求1-11任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-11, wherein the method further comprises:响应于获取到的第一指令,所述第一电子设备由显示N个桌面页切换为显示(N-k)个桌面页,k为正整数,且0<k<N。In response to the acquired first instruction, the first electronic device switches from displaying N desktop pages to displaying (N-k) desktop pages, where k is a positive integer and 0<k<N.
- 根据权利要求1-12任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-12, further comprising:响应于获取到的第二指令,所述第一电子设备由显示N个桌面页切换为显示(N+h)个桌面页,h为正整数。In response to the acquired second instruction, the first electronic device switches from displaying N desktop pages to displaying (N+h) desktop pages, where h is a positive integer.
- 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:显示屏;display screen;一个或多个处理器;one or more processors;存储器;memory;其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-13任一所述的方法。Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the one or more processors, the electronic device performs the The method described in any one of claims 1-13.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1-13任一所述的方法。A computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1-13 .
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-13任一所述的方法。A computer program product, characterized in that, when the computer program product is run on an electronic device, the electronic device is made to execute the method according to any one of claims 1-13.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111519235.8 | 2021-12-13 | ||
CN202111519235.8A CN116263649A (en) | 2021-12-13 | 2021-12-13 | Display method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023109559A1 true WO2023109559A1 (en) | 2023-06-22 |
Family
ID=86723151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/136726 WO2023109559A1 (en) | 2021-12-13 | 2022-12-06 | Display method and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116263649A (en) |
WO (1) | WO2023109559A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221798A (en) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | A kind of throwing screen method, system and relevant apparatus |
CN111327769A (en) * | 2020-02-25 | 2020-06-23 | 北京小米移动软件有限公司 | Multi-screen interaction method and device and storage medium |
CN112261466A (en) * | 2020-08-18 | 2021-01-22 | 北京京东尚科信息技术有限公司 | Screen projection method and device, electronic equipment and storage medium |
US20210149618A1 (en) * | 2019-11-19 | 2021-05-20 | Samsung Electronics Co., Ltd. | Display device, mobile device, screen mirroring method of display device, and screen mirroring method of mobile device |
CN113553014A (en) * | 2020-09-10 | 2021-10-26 | 华为技术有限公司 | Application interface display method under multi-window screen projection scene and electronic equipment |
-
2021
- 2021-12-13 CN CN202111519235.8A patent/CN116263649A/en active Pending
-
2022
- 2022-12-06 WO PCT/CN2022/136726 patent/WO2023109559A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221798A (en) * | 2019-05-29 | 2019-09-10 | 华为技术有限公司 | A kind of throwing screen method, system and relevant apparatus |
US20210149618A1 (en) * | 2019-11-19 | 2021-05-20 | Samsung Electronics Co., Ltd. | Display device, mobile device, screen mirroring method of display device, and screen mirroring method of mobile device |
CN111327769A (en) * | 2020-02-25 | 2020-06-23 | 北京小米移动软件有限公司 | Multi-screen interaction method and device and storage medium |
CN112261466A (en) * | 2020-08-18 | 2021-01-22 | 北京京东尚科信息技术有限公司 | Screen projection method and device, electronic equipment and storage medium |
CN113553014A (en) * | 2020-09-10 | 2021-10-26 | 华为技术有限公司 | Application interface display method under multi-window screen projection scene and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN116263649A (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5705863B2 (en) | Method, system and computer readable storage medium for combining gesture input from a multi-touch screen into a single gesture input | |
EP2717145B1 (en) | Apparatus and method for switching split view in portable terminal | |
WO2020259651A1 (en) | Method for controlling user interface and electronic device | |
JP5373011B2 (en) | Electronic device and information display method thereof | |
TW201617837A (en) | A processing method of screen-displayed window and mobile terminal | |
WO2023010903A1 (en) | Desktop management method for terminal device, and terminal device | |
CA2841195C (en) | Method and apparatus for multitasking | |
US7870496B1 (en) | System using touchscreen user interface of a mobile device to remotely control a host computer | |
WO2022017013A1 (en) | Application interface switching method and apparatus, and terminal and storage medium | |
JP2014535094A (en) | Control of application window position and size on (multifold) multi-display devices | |
WO2019128193A1 (en) | Mobile terminal, and floating window operation control method and device | |
US20210365160A1 (en) | Method for interface operation and terminal, storage medium thereof | |
TWI656472B (en) | Interface adjustment method and electronic device | |
WO2008064604A1 (en) | Method and device for opening and closing image browsing window | |
WO2024114606A1 (en) | Window display method and related device | |
WO2017032193A1 (en) | User interface layout adjustment method and apparatus | |
WO2023072061A1 (en) | Icon display control method and apparatus, electronic device, and storage medium | |
WO2023056977A1 (en) | Application program start method and apparatus, and electronic device | |
WO2024037438A1 (en) | Split screen control method and apparatus, electronic device, and readable storage medium | |
WO2023151659A1 (en) | Application icon display method and device | |
WO2024007703A1 (en) | Display method for task display area, window display method, and electronic device | |
WO2023092992A1 (en) | Page element processing method and device, and computer-readable storage medium | |
WO2021142892A1 (en) | Display device, and method for presenting user interface | |
CN110221741B (en) | Icon management method and terminal equipment | |
WO2024088317A1 (en) | Application interface display method and apparatus, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22906309 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |