WO2021208991A1 - Screen extension method and electronic device - Google Patents

Screen extension method and electronic device Download PDF

Info

Publication number
WO2021208991A1
WO2021208991A1 PCT/CN2021/087352 CN2021087352W WO2021208991A1 WO 2021208991 A1 WO2021208991 A1 WO 2021208991A1 CN 2021087352 W CN2021087352 W CN 2021087352W WO 2021208991 A1 WO2021208991 A1 WO 2021208991A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
screen page
application
page
Prior art date
Application number
PCT/CN2021/087352
Other languages
French (fr)
Chinese (zh)
Inventor
刘亚美
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021208991A1 publication Critical patent/WO2021208991A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital 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

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a screen expansion method and electronic equipment.
  • the physical screen of electronic device 1 can display each screen page of electronic device 2 (or called For the content displayed on the virtual screen), the user can view and operate the content displayed on the screen page of the electronic device 2 through each screen page of the electronic device 2 displayed on the electronic device 1.
  • the physical screen of the electronic device 1 displays the content on the screen of the electronic device 2 during the screen sharing process. If the user needs to view the content of the electronic device 1, the user needs to exit the screen sharing state. The screen sharing is performed again, which leads to the inconvenient operation of the electronic device during the screen sharing process.
  • the embodiments of the present invention provide a screen sharing method and electronic device, which can solve the problem that the operation of the electronic device is not convenient in the screen sharing process.
  • an embodiment of the present invention provides a screen expansion method, the method includes: determining N screen pages shared by a target electronic device with a first electronic device, the target electronic device includes at least one electronic device, and the at least one electronic device At least one screen page is shared by each electronic device; M+N logos are displayed on the first screen page, and the M+N logos indicate the local M screen pages of the first electronic device and the extension of the first electronic device Displaying N screen pages shared by the target electronic device, the first screen page being one of the M+N screen pages indicated by the M+N identifiers, where M and N are both positive integers.
  • an embodiment of the present invention also provides a first electronic device, the first electronic device includes: a determination module and a display module; the determination module is used for N screens shared by the target electronic device with the first electronic device Page, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page; the display module is configured to display M+N logos on the first screen page, the M+ The N identifiers indicate the local M screen pages of the first electronic device and the N screen pages shared by the target electronic device in the extended display of the first electronic device, and the first screen page is the M indicated by the M+N identifiers. + One of the N screen pages, where M and N are both positive integers.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following On the one hand, the steps of the screen expansion method.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of the screen expansion method as described in the first aspect are implemented. .
  • the first electronic device determines the N screen pages shared by the target electronic device with the first electronic device.
  • the target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least One screen page, and then the first electronic device can be displayed on the first screen page
  • the M+N identifiers are used to indicate the local M screen pages of the first electronic device and the N screen pages shared by the target electronic device in the extended display of the first electronic device.
  • the first screen page is the above M One of the M+N screen pages indicated by the +N flags. Since the target electronic device shares N screen pages with the first electronic device, the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed.
  • the screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages.
  • the user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page.
  • the local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
  • FIG. 1 is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a screen expansion method provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a screen expansion interface provided by an embodiment of the present invention.
  • FIG. 4 is one of possible schematic structural diagrams of the first electronic device according to an embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of a possible structure of the first electronic device according to an embodiment of the present invention.
  • FIG. 6 is the third schematic diagram of a possible structure of the first electronic device provided by an embodiment of the present invention.
  • FIG. 7 is a fourth schematic diagram of a possible structure of the first electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • Multiple means two or more than two.
  • first and second in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects.
  • first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the operating system shown in FIG. 1 as an example to introduce the software environment to which the screen expansion method provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention.
  • the architecture of the operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications in the operating system (including system applications and third-party applications).
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an operating system runtime environment.
  • the library mainly provides various resources required by the operating system.
  • the operating system operating environment is used to provide a software environment for the operating system.
  • the kernel layer is the operating system layer of the operating system and belongs to the lowest level of the operating system software.
  • the kernel layer provides core system services and hardware-related drivers for the operating system based on the Linux kernel.
  • a developer can develop a software program that implements the screen extension method provided by the embodiment of the present invention based on the system architecture of the operating system shown in FIG. It can be run based on the operating system shown in Figure 1. That is, the processor or the electronic device can implement the screen expansion method provided by the embodiment of the present invention by running the software program in the operating system.
  • FIG. 2 is a schematic flowchart of a screen expansion method provided by an embodiment of the present invention. As shown in FIG. 2, the screen expansion method includes S201 and S202:
  • the first electronic device determines N screen pages shared by the target electronic device with the first electronic device.
  • the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page, and N is a positive integer.
  • the first electronic device displays M+N logos on the first screen page, where the M+N logos indicate the M screen pages local to the first electronic device and N shared by the target electronic device in the extended display of the first electronic device. Screen pages.
  • the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers, and M is a positive integer.
  • each of the above-mentioned M+N identifiers indicates a screen page, and the above-mentioned M+N identifiers are used to indicate M+N screen pages.
  • the M+N identifiers may be page identifiers on the screen page. It can include M+N-1 hollow circles and 1 solid circle.
  • the solid circle can indicate the screen page currently displayed on the first electronic device, and the display order of the solid circle can indicate the screen page currently displayed on the first electronic device. The page position in the screen page.
  • the first screen page displayed by the first electronic device may be any page currently displayed by the user swiping to it, it may also be the screen page being displayed before S201, or it may be the first screen page in the newly expanded screen page. Screen pages.
  • each screen page on the first electronic device may display the above-mentioned M+N identifiers.
  • Fig. 3 is a schematic diagram of a screen expansion interface provided by an embodiment of the present invention.
  • the screen page A2 of the electronic device A displays a hollow circle and a solid circle in sequence;
  • the screen page B1 of device B displays a filled circle and a hollow circle in turn;
  • the screen page B2 of electronic device B displays a hollow circle and a filled circle in turn.
  • the electronic device A displays the hollow circle, the solid circle, the hollow circle, and the hollow circle in order on the screen page A2; it displays in sequence on the screen page A3 (the screen page B1 of the original electronic device B) Hollow circle, hollow circle, solid circle, and hollow circle; on the screen page A4 (the screen page B2 of the original electronic device B), the hollow circle, the hollow circle, the hollow circle, and the solid circle are displayed in sequence.
  • the target electronic device shares N screen pages with the first electronic device can be understood as the target electronic device sharing the N screen pages of the target electronic device with the first electronic device, which may specifically include the following Two situations:
  • Case 1 The target electronic device shares the N screen pages of the target electronic device with the first electronic device, and the first electronic device shares the screen pages of the first electronic device with the target electronic device.
  • Case 2 The target electronic device shares the N screen pages of the target electronic device with the first electronic device, and the first electronic device does not share the screen pages of the first electronic device with the target electronic device.
  • the electronic device may share one or more of the multiple local screen pages of the electronic device.
  • the number of screen pages that a user can see on the electronic device is equal to the sum of the number of local screen pages plus the number of screens shared by all other electronic devices.
  • Electronic device 1 as the first electronic device
  • the electronic device 2 and the electronic device 3 as the target electronic devices as an example.
  • Electronic device 1, electronic device 2, and electronic device 3 form a screen sharing group.
  • the electronic device 1 before sharing the screen, the electronic device 1 includes 2 local screen pages, namely: screen page 1-1 and screen page 1-2; before sharing the screen, the electronic device 2 includes 3 local screen pages, namely: screen page 2-1. Screen page 2-2 and screen page 2-3; before sharing the screen, the electronic device 3 includes 4 local screen pages, namely: screen page 3-1, screen page 3-2, and screen page 3-3 And screen pages 3-4.
  • the screen page displayed on the local screen of the electronic device 3 after the expanded screen page may include: screen page 3-1, screen page 3-2, screen page 3-3, screen page 3-4, screen page 1-1, and screen Page 1-2, Screen Page 2-2, and Screen Page 2-3.
  • the electronic device 1 does not share the screen page
  • the electronic device 2 shares the screen page 2-1 and the screen page 2-3
  • the electronic device 3 shares the screen page 3-3 and the screen page 3-4.
  • the screen page displayed on the local screen of the electronic device 1 after the expanded screen page may include: screen page 1-1, screen page 1-2, screen page 2-1, screen page 2-3, screen page 3-3, and screen Page 3-4.
  • the screen page displayed on the local screen of the electronic device 2 after the expanded screen page may include: screen page 2-1, screen page 2-2, screen page 2-3, screen page 3-3, and screen page 3-4.
  • the screen page displayed on the local screen of the electronic device 3 after the expanded screen page may include: screen page 3-1, screen page 3-2, screen page 3-3, screen page 3-4, screen page 2-1 and screen Page 2-2.
  • the user can browse the local screen page of the first electronic device, or browse the expanded screen page shared by other devices.
  • the user can flexibly operate the first electronic device by sliding on the first electronic device, and can also operate through the screen page of the first electronic extension or the electronic device on the screen page.
  • the first electronic device may record the touch screen event, and transmit the touch screen event to the electronic device corresponding to the extended screen page .
  • the touch screen event may include: coordinate position, track, mapping relationship, etc.
  • the target electronic device may respond to the touch screen event and transmit the response result to the first electronic device.
  • the first electronic device may The response result is displayed on the electronic device.
  • the target electronic device may display the response result of the touch screen event on the screen, or may not display the response result of the touch screen event, which is not specifically limited in the embodiment of the present invention.
  • the screen page shared by other devices may include all content on the screen page, or part of the content.
  • it may include applications, folders, virtual buttons, pendants (such as weather, time, operator, battery), documents, etc. on the screen page.
  • the first electronic device determines that the target electronic device shares N screen pages with the first electronic device, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device At least one screen page is shared; then, the first electronic device may display M+N logos on the first screen page, and the M+N logos are used to indicate the local M screen pages of the first electronic device and the first electronic device.
  • the device extension displays N screen pages shared by the target electronic device. Wherein, the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers.
  • the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed.
  • the screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages.
  • the user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page.
  • the local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
  • the screen expansion method provided in the embodiment of the present invention may further include S203a, S203b, or S203c before the above S201:
  • the first electronic device receives a first input, where the first input triggers the first electronic device to join a screen sharing group, and the screen sharing group includes the aforementioned N screen pages.
  • S201 in the foregoing embodiment may be executed by the following S201a:
  • S201a In response to the first input, the first electronic device determines N screen pages shared by the target electronic device with the first electronic device.
  • the first electronic device may join the screen sharing group by entering an agreed password, or may join the screen sharing group according to the received screen sharing request message.
  • the screen pages shared by other electronic devices that have joined the screen sharing group can be extended to the screen pages of the first electronic device.
  • the first electronic device After the first electronic device initiates screen sharing, the first electronic device receives first instruction information, where the first instruction information instructs the above N screen pages to join the screen sharing.
  • the first electronic device after the user triggers the first electronic device to initiate sharing, if the first electronic device joins screen sharing (the screen sharing group is successfully created), the first electronic device updates the logo on the screen page of the first electronic device And add N screen pages shared by the electronic device.
  • the first electronic device receives a second instruction message, and the second instruction message instructs N-K screen pages to join screen sharing, and K is a positive integer less than N.
  • the screen An electronic device is added to the sharing group, and the electronic device shares NK screen pages
  • the first electronic device can update the number of identifiers on the screen page of the electronic device, and expand the K screen pages shared by the electronic device It is a screen page that can be displayed in the first electronic device.
  • other electronic devices in the screen sharing group also add K screen pages shared by the electronic device, and the electronic device adds screen sharing pages that have been shared in the sharing group.
  • screen sharing and data interaction can be initiated through non-contact wireless operations (for example: Wi-Fi, Bluetooth, NFC, 4G, 5G).
  • the initiating device can trigger the establishment of a communication protocol for the screen sharing group. For example, one way of prompting to establish a screen sharing group is to generate a set of unique codes by agreement, and the electronic device starts to establish a connection after inputting the unique codes.
  • the communication protocol for establishing the screen sharing group can be a centralized protocol or a decentralized protocol.
  • each electronic device in the screen sharing group The operation information on the shared screen page is transmitted to the server of the decision center through the protocol, and the server of the decision center arbitrates the operation behavior to the corresponding other electronic devices, for example, the screen page displayed on the electronic device 1 by the user 2- If the operation is performed on 1, the electronic device 1 uploads the operation event to the server of the decision center, and the server of the decision center distributes the operation event to the electronic device 2.
  • the communication protocol is a decentralized protocol, the electronic devices communicate and interact directly. For example, if the user operates on the screen page 2-1 displayed on the electronic device 1, the electronic device 1 and the electronic device 2 directly communicate and interact.
  • the local APP is opened.
  • you open the APP on the screen page of the electronic device A that originally belonged to the device B it is equivalent to opening the application of the device B on the device A.
  • This kind of opening can be realized in a second on faster network communication, so that the user does not perceive that the APP is on the remote device, such as HTML5 or quick application mode APP can be opened quickly. It is convenient for users to view APP or shared file information on other devices to determine whether they are interested and need to obtain it, and when exiting the file or APP of electronic device B, they can prompt whether the APP needs to be transferred and installed on local electronic device A.
  • the user may establish a screen sharing group through a third-party application, or may establish a screen sharing group through a system function.
  • the electronic device can display M+N logos at different times, so that the electronic device can flexibly share the screen and update the logo on the screen page to remind the user that N virtual screens have been expanded, and the user can display In the case of the N virtual screens, the electronic content corresponding to the virtual screen is operated.
  • the first electronic device when the user triggers the first electronic device to initiate screen sharing, the first electronic device may display content that can be screen shared. After the first electronic device receives the screen sharing request message initiated by the target electronic device, if it receives the user's determination to join the screen sharing group, the first electronic device may also display content that can be screen shared. In the case that the user obtains the password to join the screen sharing group through other means (that is, in addition to the electronic device that initiates the screen sharing, other electronic devices can join the screen sharing group by entering the agreed password), the user enters to join the screen After sharing the password of the group, the first electronic device may also display content that can be screened.
  • the screen expansion method provided in the embodiment of the present invention may further include the following S204a to S204c before the above S201:
  • the first electronic device displays the options to be shared by the first electronic device.
  • the options to be shared include screen page options, or screen page options and options for content on the screen page.
  • a screen page can be displayed on other electronic devices participating in screen sharing, and the background of the screen page It can be the screen background of the first electronic device where the shared content is located.
  • the first electronic device receives the second input.
  • the second input may be an input for the user to select shared content from the options to be shared displayed on the first electronic device.
  • the user can choose to share all content in a screen page, or can choose to share part of the content in a screen page.
  • the user can choose to share all the screen pages of the first electronic device, and then the three screen pages can be shared, and the user can also choose to share one or two of the screen pages.
  • the first electronic device may also choose to share part of the content on a certain screen page, for example, selecting part of APP sharing in a screen page, and selecting a document sharing in a screen page.
  • the first electronic device determines the content shared by the first electronic device.
  • the first electronic device can share the screen page selected by the user.
  • users can flexibly choose the content to be shared according to their needs. Users can share all screen pages, users can also share part of the screen pages, in a screen page, users can choose to share all the content in the screen page, or Choosing to share part of the content of the screen page can make the user do not need to create a new screen page when the user does not want to share some content when the screen is shared, and the operation is more convenient.
  • the first electronic device can distinguish the N screen pages as other electronic devices by adding marks, such as a lightweight user interface (UI), on the aforementioned N screen pages.
  • UI lightweight user interface
  • Shared screen pages for example, a rectangular frame is displayed on the border of a screen page shared by other electronic devices, a virtual frame is added to the entire screen, and "shared" is displayed on a screen page shared by other electronic devices, and the above-mentioned mark is not displayed on a local screen page.
  • each of the N screen pages shared by the target electronic device further includes indication information; one indication information may be used to indicate the electronic device to which the screen page where the indication information is located belongs.
  • the first electronic device when it displays any one of the above N screen pages, it may display the name or device identification code of the electronic device sharing the screen page in a preset position on the screen page.
  • the screen page a is an electronic device whose account is Zhang San
  • the first electronic device displays the screen page a on the physical screen, it may display "the screen page shared by Zhang San" in the upper right corner of the page a.
  • the first electronic device can display indication information indicating the electronic device to which the screen page belongs on the screen page shared by other electronic devices, which can facilitate the user to determine which electronic device the currently displayed screen page comes from, so that the user can share the screen In the process, you can operate more accurately.
  • the first electronic device displays M+N screen pages from left to right on the physical screen of the first electronic device according to a preset rule, where the preset rule may be any one of the following display rules .
  • the user can set it as needed, which is not specifically limited in the embodiment of the present invention.
  • the first electronic device may first display the local screen page of the first electronic device, and then display the screen page shared by the target electronic device. If the target electronic device includes multiple electronic devices, they can be displayed in the order of joining the sharing.
  • the first electronic device may first display the screen page shared by the target electronic device, and then display the local screen page of the first electronic device. If the target electronic device includes multiple electronic devices, they can be displayed in the order of joining the sharing.
  • the first electronic device may first display the screen page shared by the electronic device that joins the screen expansion sequence first, and then display the local screen page of the first electronic device, and then Displays the screen page shared by the electronic devices that join the screen expansion sequence later.
  • the user can select different display rules to display the local screen page and the extended screen page according to the needs, which makes the operation of the user in the process of screen sharing more convenient.
  • the screen expansion method provided in the embodiment of the present invention may further include the following S205 and S206 after the above S201:
  • the first electronic device receives a third input of moving the icon of the first application installed on the first electronic device to the second screen page.
  • the second screen page is a screen page shared by the second electronic device in the target electronic device.
  • the first electronic device may send a request message to the second electronic device.
  • the request message is used to determine whether the first application is installed in the second electronic device.
  • the first electronic device may Determine whether the second electronic device installs the first application according to the confirmation message sent by the second electronic device.
  • the first electronic device performs any one of the following operations from T1 to T3 in a case where the first application is not installed on the second electronic device.
  • T1 The first electronic device sends the installation file of the first application in the first electronic device to the second electronic device.
  • the first electronic device may send the second electronic device to the second electronic device after receiving the third input.
  • the installation file of the first application so that the first application is installed on the local screen page of the second electronic device corresponding to the second screen page.
  • T2 The first electronic device triggers the second electronic device to download the installation file of the first application.
  • the first electronic device may also send a download instruction to the second electronic device, so that the second electronic device triggers the second electronic device from the second electronic device after receiving the download instruction.
  • T3 The first electronic device sends a prompt message for installing the first application to the second electronic device.
  • the first electronic device may also first send prompt information for installing the first application to the second electronic device, so that the second electronic device may first prompt the user whether to install
  • the second electronic device can receive the installation file of the first application from the first electronic device and install it, or download the first application from the application store in the second electronic device The installation file and install it.
  • the first electronic device executes the following T4:
  • T4 The first electronic device sends the first location information to the second electronic device.
  • the first location information is the second input to move the icon of the first application to the first display position of the second screen page.
  • the second electronic device may display the icon of the first application in the first display position.
  • the user can move the icon of the first application installed on the first electronic device to the extended second screen page, in the case that the first application is not installed on the second electronic device .
  • the first electronic device can trigger the second electronic device to install the first application, and the first electronic device can send the installation file (source file) of the first application in the first electronic device to the second electronic device, so that the second electronic device uses If the version of the installation file sent by the first electronic device is installed, the first electronic device can also trigger the second electronic device to download the installation file of the first application, install the first application using the latest version, or send a prompt message for installing the first application, The user of the second electronic device is prompted whether it needs to be installed and which installation method to choose.
  • the screen expansion method provided in the embodiment of the present invention may further include the following S207 and S208 after the above S201:
  • S207 The first electronic device receives a fourth input of moving the icon of the second application on the third screen page to the fourth screen page.
  • the third screen page is a screen page shared by the third electronic device in the target electronic device.
  • the first electronic device performs any one of the following operations from T4 to T6 in a case where the second application is not installed on the first electronic device.
  • T4 The first electronic device copies the installation file of the second application from the third electronic device.
  • the first electronic device may request the third electronic device to send the installation file of the second application,
  • the first electronic device can also directly copy the installation file of the second application from the third electronic device.
  • the first electronic device uses the installation file of the second application in the second electronic device. Install the second application.
  • T5 The first electronic device downloads the installation file of the second application.
  • the fourth input may also be set in the first electronic device to trigger the first electronic device to download the installation file of the second application from the application store, and obtain the latest version.
  • T6 The first electronic device displays a prompt message for installing the second application.
  • the first electronic device may display whether to copy the installation file of the second application from the third electronic device, or may display whether to download and install the second application from the application store.
  • the electronic device may also prompt the user whether the second application needs to be installed first, and then obtain and install the installation file of the second application after the user confirms it.
  • the user can move the icon of the second application in the expanded screen page to the fourth screen of the first electronic device.
  • the input of the page triggers the first electronic device to install the second application with the version of the second application in the third electronic device, or triggers the first electronic device to install the second application from the application store, or prompts the user whether to install it first The second application.
  • the screen expansion method provided in the embodiment of the present invention may further include the following S209 and S2010 after the above S201:
  • the first electronic device receives a fifth input of moving the icon of the third application on the fifth screen page to the icon of the third application on the sixth screen page.
  • the electronic device sharing the fifth screen page and the electronic device sharing the sixth screen page are different electronic devices.
  • the first electronic device performs one of the following operations in T7 to T9.
  • T7 When the fifth screen page is the screen page of the first electronic device, send the target information of the third application to the electronic device on the sixth screen page.
  • the target information is the version information of the application or the configuration information of the options in the application.
  • the electronic device on the sixth screen page can use the target information to update the third application installed in the electronic device on the sixth screen page. Version information or configuration information in the update options.
  • T8 In the case that the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, obtain the target of the third application from the electronic device sharing the fifth screen page information.
  • the first electronic device can trigger the first electronic device to obtain the target information of the third application from the electronic device sharing the fifth screen page, so as to update the third application in the first electronic device.
  • Target information of the application can be understood that, after receiving the fifth input, the first electronic device can trigger the first electronic device to obtain the target information of the third application from the electronic device sharing the fifth screen page, so as to update the third application in the first electronic device. Target information of the application.
  • T9 In the case that the fifth screen page and the sixth screen page are both screen pages shared by the target electronic device, obtain the configuration information of the third application from the electronic device sharing the fifth screen page, and share the sixth screen The electronic device of the page sends the target information.
  • the configuration information may be information that characterizes the first user’s usage habits in the first electronic device, such as browser collection information, may be the setting of game operation options, and may be Collection information in the map.
  • the first electronic device can copy the corresponding target information for update according to different electronic devices corresponding to the operation.
  • the screen expansion method provided by the embodiment of the present invention may further include the following when the fifth screen page is a screen page shared by the target electronic device and the sixth screen page is a screen page of the first electronic device At least one of S211a and S211b:
  • the first electronic device updates the version of the third application in the first electronic device according to the acquired target information of the third application.
  • the first electronic device updates the configuration of the first option according to the acquired target information of the third application.
  • the first electronic device After the first electronic device receives the fifth input, it can update the target information according to the corresponding situation. For example, when the user needs to use the game settings of a friend to play the game, he can quickly update his electronic device through the input After the user upgrades the application, if the user needs to return to the lower version, the solution can be used to obtain the lower version installation file from the friend’s electronic device and restore the application to the lower version application. Of course, it can also help other friends update the target information in the device, making the user's operation more convenient.
  • the first electronic device 400 includes: a determining module 401 and a display module 402; N screen pages shared by the device with the first electronic device, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page; the display module 402 is configured to display on the first screen page M+N logos are displayed, and the M+N logos indicate the M screen pages local to the first electronic device and the N screen pages of the target electronic device extended and displayed on the first electronic device.
  • the first screen page is M+N One of the M+N screen pages indicated by the two identifiers; where M and N are both positive integers.
  • the first electronic device 400 further includes: a receiving module 403; the receiving module 403 is configured to before the determining module 401 determines that the target electronic device shares N screen pages with the first electronic device , Receiving a first input, the first input triggering the first electronic device to join a screen sharing group, the screen sharing group includes the above N screen pages; or, after the first electronic device initiates screen sharing, receiving a first instruction message, The first instruction message instructs N screen pages to join screen sharing; or, in the case that the first electronic device has expanded K screen pages, the second instruction message is received, and the second instruction message instructs NK screen pages to join screen sharing, K It is a positive integer less than N.
  • the first electronic device 400 further includes: a receiving module 403; a display module 402, which is also used to display the first electronic device waiting before displaying M+N logos on the first screen page.
  • Shared sharing options the sharing options to be shared include screen options, or options for screen options and content on the screen;
  • the receiving module 403 is also used to receive the second input;
  • the determining module 401 is used to respond to receiving the first received 403
  • the second input is to determine the shared content of the first electronic device from the to-be-shared.
  • the first electronic device 400 further includes: a receiving module 403 and a processing module 404; a receiving module 403 for displaying M+N on the first screen page on the display module 402 After the identification, receiving a third input to move the icon of the first application installed on the first electronic device 400 to the second screen page, where the second screen page is a screen page shared by the second electronic device in the target electronic device;
  • the processing module 404 is configured to, in response to the third input received by the receiving module 403, perform any one of the following operations when the first application is not installed on the second electronic device: The installation file of the first application; triggers the second electronic device to download the installation file of the first application; and sends prompt information for installing the first application to the second electronic device.
  • the first electronic device 400 further includes: a receiving module 403 and a processing module 404; the receiving module 403 is configured to display M+N logos on the first screen page by the display module 402 , Receiving the fourth input of moving the icon of the second application on the third screen page to the fourth screen page, where the third screen page is a screen page shared by the third electronic device in the target electronic device; the processing module 404 uses In response to the fourth input received by the receiving module 403, if the second application is not installed on the first electronic device, perform any one of the following operations: copy the installation file of the second application from the third electronic device, and download the second application. The installation file of the application displays the prompt message for installing the second application.
  • the first electronic device 400 further includes: a receiving module 403 and a processing module 404; the receiving module 403 is configured to display M+N logos on the first screen page by the display module 402 , Receiving the fifth input of moving the icon of the third application on the fifth screen page to the icon of the third application on the sixth screen page, sharing the electronic device of the fifth screen page and the electronic device of sharing the sixth screen page Is a different electronic device; the processing module 404 is configured to perform one of the following operations in response to the fifth input received by the receiving module 403: when the fifth screen page is the screen page of the first electronic device, to the first electronic device
  • the electronic device with six screen pages sends the target information of the third application; when the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, the fifth screen is shared from In the electronic device on the page, obtain the target information of the third application; in the case where the fifth screen page and the sixth screen page are both screen pages shared
  • the first electronic device 400 further includes: an update module 405;
  • the page is the screen page of the first electronic device, and when the target information is version information, update the version of the third application shown in the first electronic device according to the acquired target information of the third application; or,
  • the update module 405 is used for when the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, and the target information is the configuration information of the first option in the application In the case, the configuration of the first option is updated according to the acquired target information of the third application.
  • each of the N screen pages shared by the target electronic device further includes indication information; one indication information is used to indicate an electronic device to which the screen page where the indication information belongs belongs.
  • the first electronic device 400 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides an electronic device, which is a first electronic device.
  • the first electronic device determines N screen pages shared by the target electronic device with the first electronic device, and the target electronic device includes at least one electronic device, Each electronic device in the at least one electronic device shares at least one screen page; then, the first electronic device may display M+N identifiers on the first screen page, and the M+N identifiers are used to indicate that the first electronic device is locally
  • the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers.
  • the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed.
  • the screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages.
  • the user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page.
  • the local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
  • the electronic device 100 is the first electronic device in the above-mentioned embodiment.
  • the electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, and audio
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 110 is configured to determine that the target electronic device shares N screen pages with the first electronic device, the target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least one screen page; the display unit 106 , Used to display M+N logos on the first screen page, where the M+N logos indicate the M screen pages local to the first electronic device and the N screens shared by the target electronic device extended and displayed on the first electronic device Page; the first screen page is one of the M+N screen pages indicated by the M+N identifiers, where M and N are both positive integers.
  • An embodiment of the present invention provides an electronic device, which is a first electronic device.
  • the first electronic device determines N screen pages shared by the target electronic device with the first electronic device, and the target electronic device includes at least one electronic device, Each electronic device in the at least one electronic device shares at least one screen page; then, the first electronic device may display M+N identifiers on the first screen page, and the M+N identifiers are used to indicate that the first electronic device is locally
  • the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers.
  • the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed.
  • the screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages.
  • the user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page.
  • the local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device.
  • it includes a processor 110, a memory 109, a computer program stored in the memory 109 and running on the processor 110, and the computer program is When 110 is executed, each process of the above-mentioned screen expansion method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned screen expansion method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

Provided in the embodiments of the present invention are a screen extension method and an electronic device, the method comprising: determining N screen pages shared with a first electronic device by target electronic devices, the target electronic devices comprising at least one electronic device, and each electronic device amongst the at least one electronic devices at least sharing one screen page; displaying M+N icons on a first screen page, the M+N icons indicating M screen pages local to the first electronic device and the N screen pages shared by the target electronic devices and extended and displayed on the first electronic device, and the first screen page being one screen page amongst M+N screen pages indicated by the M+N icons; M and N are both positive integers.

Description

屏幕扩展方法及电子设备Screen expansion method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年04月17日在中国提交的中国专利申请号202010307758.5的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010307758.5 filed in China on April 17, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种屏幕扩展方法及电子设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a screen expansion method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的功能越来越多,例如电子设备之间可以共享屏幕。With the development of communication technology, electronic devices have more and more functions, for example, screens can be shared between electronic devices.
目前,在电子设备1和电子设备2进行屏幕共享的情况下,若电子设备2将屏幕共享给电子设备1,则电子设备1的物理屏幕上可以显示电子设备2的各个屏幕页面(或称为虚拟屏幕)中显示的内容,用户可以通过在电子设备1显示的电子设备2的各个屏幕页面查看、操作电子设备2的屏幕页面中显示的内容。At present, in the case of electronic device 1 and electronic device 2 performing screen sharing, if electronic device 2 shares the screen with electronic device 1, then the physical screen of electronic device 1 can display each screen page of electronic device 2 (or called For the content displayed on the virtual screen), the user can view and operate the content displayed on the screen page of the electronic device 2 through each screen page of the electronic device 2 displayed on the electronic device 1.
然而,上述的屏幕共享方式,在屏幕共享过程中电子设备1的物理屏幕是显示电子设备2屏幕上的内容,若用户需要查看电子设备1的内容,则用户需要退出屏幕共享状态,查看完毕之后再重新进行屏幕共享,如此导致在屏幕共享过程中电子设备的操作不够便捷。However, in the above-mentioned screen sharing method, the physical screen of the electronic device 1 displays the content on the screen of the electronic device 2 during the screen sharing process. If the user needs to view the content of the electronic device 1, the user needs to exit the screen sharing state. The screen sharing is performed again, which leads to the inconvenient operation of the electronic device during the screen sharing process.
发明内容Summary of the invention
本发明实施例提供一种屏幕共享方法及电子设备,能够解决在屏幕共享过程中电子设备的操作不够便捷的问题。The embodiments of the present invention provide a screen sharing method and electronic device, which can solve the problem that the operation of the electronic device is not convenient in the screen sharing process.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供一种屏幕扩展方法,该方法包括:确定目标电子设备向第一电子设备共享的N个屏幕页面,该目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;在第一屏幕页面上显示M+N个标识,该M+N个标识指示该第一电子设备本地的M个屏幕页面和在该第一电子设备扩展显示目标电子设备共享的N个屏幕页面,该第一屏幕页面为该M+N个标识指示的M+N个屏幕页面中的一个屏幕页面,其中,M和N均为正整数。In a first aspect, an embodiment of the present invention provides a screen expansion method, the method includes: determining N screen pages shared by a target electronic device with a first electronic device, the target electronic device includes at least one electronic device, and the at least one electronic device At least one screen page is shared by each electronic device; M+N logos are displayed on the first screen page, and the M+N logos indicate the local M screen pages of the first electronic device and the extension of the first electronic device Displaying N screen pages shared by the target electronic device, the first screen page being one of the M+N screen pages indicated by the M+N identifiers, where M and N are both positive integers.
第二方面,本发明实施例还提供了一种第一电子设备,该第一电子设备包括:确定模块和显示模块;该确定模块,用于目标电子设备向第一电子设备共享的N个屏幕 页面,该目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;该显示模块,用于在第一屏幕页面上显示M+N个标识,该M+N个标识指示该第一电子设备本地的M个屏幕页面和在该第一电子设备扩展显示该目标电子设备共享的N个屏幕页面,该第一屏幕页面为该M+N个标识指示的M+N个屏幕页面中的一个屏幕页面,其中,M和N均为正整数。In a second aspect, an embodiment of the present invention also provides a first electronic device, the first electronic device includes: a determination module and a display module; the determination module is used for N screens shared by the target electronic device with the first electronic device Page, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page; the display module is configured to display M+N logos on the first screen page, the M+ The N identifiers indicate the local M screen pages of the first electronic device and the N screen pages shared by the target electronic device in the extended display of the first electronic device, and the first screen page is the M indicated by the M+N identifiers. + One of the N screen pages, where M and N are both positive integers.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的屏幕扩展方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. The computer program is executed by the processor to achieve the following On the one hand, the steps of the screen expansion method.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的屏幕扩展方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the screen expansion method as described in the first aspect are implemented. .
在本发明实施例中,首先,第一电子设备确定目标电子设备向第一电子设备共享的N个屏幕页面,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面,然后,第一电子设备可以在第一屏幕页面上显示In the embodiment of the present invention, first, the first electronic device determines the N screen pages shared by the target electronic device with the first electronic device. The target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least One screen page, and then the first electronic device can be displayed on the first screen page
M+N个标识,该M+N个标识用于指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示目标电子设备共享的N个屏幕页面,第一屏幕页面为上述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面。由于在目标电子设备向第一电子设备共享N个屏幕页面的情况下,第一电子设备可以在保持显示本地的M个屏幕页面的情况下,将该N个屏幕页面扩展为第一电子设备上显示的屏幕页面,并在第一屏幕页面上显示M+N个标识提示用户扩展了N个屏幕页面,用户可以根据的扩展的屏幕页面上查看和操作其它电子设备屏幕上显示的内容,用户也可以通过滑动调出本地屏幕页面,在屏幕共享的过程中也可以快速方便的操作本地屏幕页面上的内容。M+N identifiers, the M+N identifiers are used to indicate the local M screen pages of the first electronic device and the N screen pages shared by the target electronic device in the extended display of the first electronic device. The first screen page is the above M One of the M+N screen pages indicated by the +N flags. Since the target electronic device shares N screen pages with the first electronic device, the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed. The screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages. The user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page. The local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
附图说明Description of the drawings
图1为本发明实施例提供的一种可能的操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种屏幕扩展方法的流程示意图;2 is a schematic flowchart of a screen expansion method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种屏幕扩展界面示意图;FIG. 3 is a schematic diagram of a screen expansion interface provided by an embodiment of the present invention;
图4为本发明实施例提供的第一电子设备可能的结构示意图之一;FIG. 4 is one of possible schematic structural diagrams of the first electronic device according to an embodiment of the present invention;
图5为本发明实施例提供的第一电子设备可能的结构示意图之二;FIG. 5 is a second schematic diagram of a possible structure of the first electronic device according to an embodiment of the present invention;
图6为本发明实施例提供的第一电子设备可能的结构示意图之三;FIG. 6 is the third schematic diagram of a possible structure of the first electronic device provided by an embodiment of the present invention;
图7为本发明实施例提供的第一电子设备可能的结构示意图之四;FIG. 7 is a fourth schematic diagram of a possible structure of the first electronic device provided by an embodiment of the present invention;
图8为本发明实施例提供的一种电子设备的硬件示意图。FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that the "/" in this article means or, for example, A/B can mean A or B; the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone. "Multiple" means two or more than two.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一电子设备和第二电子设备等是用于区别不同的电子设备,而不是用于描述电子设备的特定顺序。The terms "first" and "second" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
需要说明的是,本发明实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更可选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more optional or more advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以图1所示操作系统为例,介绍一下本发明实施例提供的屏幕扩展方法所应用的软件环境。The following takes the operating system shown in FIG. 1 as an example to introduce the software environment to which the screen expansion method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的操作系统的架构示意图。在图1中,操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications in the operating system (including system applications and third-party applications).
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和操作系统运行环境。库主要为操作系统提供其所需的各类资源。操作系统运行环境用于为操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an operating system runtime environment. The library mainly provides various resources required by the operating system. The operating system operating environment is used to provide a software environment for the operating system.
内核层是操作系统的操作系统层,属于操作系统软件层次的最底层。内核层基于Linux内核为操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the operating system and belongs to the lowest level of the operating system software. The kernel layer provides core system services and hardware-related drivers for the operating system based on the Linux kernel.
以操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的操作系统的系统架构,开发实现本发明实施例提供的屏幕扩展方法的软件程序,从而使得该屏幕扩展方法可以基于如图1所示的操作系统运行。即处理器或者电子设备可以通过在操作系统中 运行该软件程序实现本发明实施例提供的屏幕扩展方法。Taking the operating system as an example, in the embodiment of the present invention, a developer can develop a software program that implements the screen extension method provided by the embodiment of the present invention based on the system architecture of the operating system shown in FIG. It can be run based on the operating system shown in Figure 1. That is, the processor or the electronic device can implement the screen expansion method provided by the embodiment of the present invention by running the software program in the operating system.
下面结合图2中对本发明实施例的屏幕扩展方法进行说明。图2为本发明实施例提供的一种屏幕扩展方法的流程示意图,如图2所示,该屏幕扩展方法包括S201和S202:The screen expansion method according to the embodiment of the present invention will be described below with reference to FIG. 2. FIG. 2 is a schematic flowchart of a screen expansion method provided by an embodiment of the present invention. As shown in FIG. 2, the screen expansion method includes S201 and S202:
S201、第一电子设备确定目标电子设备向第一电子设备共享的N个屏幕页面。S201: The first electronic device determines N screen pages shared by the target electronic device with the first electronic device.
其中,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面,N为正整数。Wherein, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page, and N is a positive integer.
S202、第一电子设备在第一屏幕页面上显示M+N个标识,该M+N个标识指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示目标电子设备共享的N个屏幕页面。S202. The first electronic device displays M+N logos on the first screen page, where the M+N logos indicate the M screen pages local to the first electronic device and N shared by the target electronic device in the extended display of the first electronic device. Screen pages.
其中,第一屏幕页面为上述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面,M为正整数。Wherein, the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers, and M is a positive integer.
可以理解,上述的M+N个标识中的每个标识指示一个屏幕页面,上述的M+N个标识用于指示M+N个屏幕页面。It can be understood that each of the above-mentioned M+N identifiers indicates a screen page, and the above-mentioned M+N identifiers are used to indicate M+N screen pages.
示例性地,M+N个标识可以为屏幕页面上的页面标识。可以包括M+N-1个空心圆和1个实心圆,实心圆可以表示第一电子设备当前显示的屏幕页面,实心圆的显示顺序可以表示当前显示的屏幕页面在第一电子设备可以显示的屏幕页面中的页位置。Exemplarily, the M+N identifiers may be page identifiers on the screen page. It can include M+N-1 hollow circles and 1 solid circle. The solid circle can indicate the screen page currently displayed on the first electronic device, and the display order of the solid circle can indicate the screen page currently displayed on the first electronic device. The page position in the screen page.
示例性地,第一电子设备显示的第一屏幕页面可以为用户滑动到当前显示的任意一个页面,也可以为在S201之前正在显示的屏幕页面,也可以为新扩展的屏幕页面中的第一个屏幕页面。Exemplarily, the first screen page displayed by the first electronic device may be any page currently displayed by the user swiping to it, it may also be the screen page being displayed before S201, or it may be the first screen page in the newly expanded screen page. Screen pages.
可选地,第一电子设备上的每个屏幕页面中均可以显示上述M+N个标识。Optionally, each screen page on the first electronic device may display the above-mentioned M+N identifiers.
图3为本发明实施例提供的一种屏幕扩展的界面示意图,如图3中(a)所示,未扩展屏幕页面之前,电子设备A的屏幕页面A2上依次显示空心圆、实心圆;电子设备B的屏幕页面B1上依次显示实心圆、空心圆;电子设备B的屏幕页面B2上依次显示空心圆、实心圆,在电子设备将屏幕页面B1和屏幕页面B2共享给电子设备A之后,如图3中(b)所示,则在电子设备A在屏幕页面A2上依次显示空心圆、实心圆、空心圆、空心圆;在屏幕页面A3(原电子设备B的屏幕页面B1)上依次显示空心圆、空心圆、实心圆、空心圆;在屏幕页面A4(原电子设备B的屏幕页面B2)上依次显示空心圆、空心圆、空心圆、实心圆。Fig. 3 is a schematic diagram of a screen expansion interface provided by an embodiment of the present invention. As shown in Fig. 3(a), before the screen page is expanded, the screen page A2 of the electronic device A displays a hollow circle and a solid circle in sequence; The screen page B1 of device B displays a filled circle and a hollow circle in turn; the screen page B2 of electronic device B displays a hollow circle and a filled circle in turn. After the electronic device shares screen page B1 and screen page B2 with electronic device A, such as As shown in Figure 3 (b), the electronic device A displays the hollow circle, the solid circle, the hollow circle, and the hollow circle in order on the screen page A2; it displays in sequence on the screen page A3 (the screen page B1 of the original electronic device B) Hollow circle, hollow circle, solid circle, and hollow circle; on the screen page A4 (the screen page B2 of the original electronic device B), the hollow circle, the hollow circle, the hollow circle, and the solid circle are displayed in sequence.
需要说明的是,上述的“目标电子设备向第一电子设备共享N个屏幕页面”可以理解为目标电子设备将目标电子设备的N个屏幕页面共享给第一电子设备,具体可以包括下述的两种情况:It should be noted that the above-mentioned "the target electronic device shares N screen pages with the first electronic device" can be understood as the target electronic device sharing the N screen pages of the target electronic device with the first electronic device, which may specifically include the following Two situations:
情况1:目标电子设备将目标电子设备的N个屏幕页面共享给第一电子设备,第一电子设备共享第一电子设备的屏幕页面给目标电子设备。Case 1: The target electronic device shares the N screen pages of the target electronic device with the first electronic device, and the first electronic device shares the screen pages of the first electronic device with the target electronic device.
情况2:目标电子设备将目标电子设备的N个屏幕页面共享给第一电子设备,第一电 子设备不共享第一电子设备的屏幕页面给目标电子设备。Case 2: The target electronic device shares the N screen pages of the target electronic device with the first electronic device, and the first electronic device does not share the screen pages of the first electronic device with the target electronic device.
可选地,在本发明实施例中,电子设备可以共享该电子设备的多个本地屏幕页面中的一个或多个屏幕页面。Optionally, in this embodiment of the present invention, the electronic device may share one or more of the multiple local screen pages of the electronic device.
可以理解,对于一个电子设备来说,用户可以在该电子设备上看到的屏幕页面的个数等于本地屏幕页面数量加上其他所有电子设备共享的屏幕个数之和。It can be understood that for an electronic device, the number of screen pages that a user can see on the electronic device is equal to the sum of the number of local screen pages plus the number of screens shared by all other electronic devices.
示例性地,以电子设备1为第一电子设备,电子设备2和电子设备3为目标电子设备为例。电子设备1、电子设备2和电子设备3组成屏幕共享群组。其中,在共享屏幕前电子设备1包括2个本地屏幕页面,分别为:屏幕页面1-1和屏幕页面1-2;在共享屏幕前电子设备2包括3个本地屏幕页面,分别为:屏幕页面2-1、屏幕页面2-2和屏幕页面2-3;在共享屏幕前电子设备3包括4个本地屏幕页面,分别为:屏幕页面3-1、屏幕页面3-2、屏幕页面3-3和屏幕页面3-4。Illustratively, take the electronic device 1 as the first electronic device, and the electronic device 2 and the electronic device 3 as the target electronic devices as an example. Electronic device 1, electronic device 2, and electronic device 3 form a screen sharing group. Among them, before sharing the screen, the electronic device 1 includes 2 local screen pages, namely: screen page 1-1 and screen page 1-2; before sharing the screen, the electronic device 2 includes 3 local screen pages, namely: screen page 2-1. Screen page 2-2 and screen page 2-3; before sharing the screen, the electronic device 3 includes 4 local screen pages, namely: screen page 3-1, screen page 3-2, and screen page 3-3 And screen pages 3-4.
在上述的情况1下,假设电子设备1共享了屏幕页面1-1和屏幕页面1-2,电子设备2共享了屏幕页面2-2和屏幕页面2-3,电子设备3共享了屏幕页面3-2和屏幕页面3-4。则在扩展屏幕页面后电子设备1本地屏幕上显示的屏幕页面可以包括:屏幕页面1-1、屏幕页面1-2、屏幕页面2-2、屏幕页面2-3、屏幕页面3-2以及屏幕页面3-4。则在扩展屏幕页面后电子设备2本地屏幕上显示的屏幕页面可以包括:屏幕页面2-1、屏幕页面2-2、屏幕页面2-3、屏幕页面1-1、屏幕页面1-2、屏幕页面3-2和屏幕页面3-4。则在扩展屏幕页面后电子设备3本地屏幕上显示的屏幕页面可以包括:屏幕页面3-1、屏幕页面3-2、屏幕页面3-3、屏幕页面3-4、屏幕页面1-1和屏幕页面1-2、屏幕页面2-2和屏幕页面2-3。In case 1 above, assume that electronic device 1 shares screen page 1-1 and screen page 1-2, electronic device 2 shares screen page 2-2 and screen page 2-3, and electronic device 3 shares screen page 3. -2 and screen page 3-4. Then the screen page displayed on the local screen of the electronic device 1 after the expanded screen page may include: screen page 1-1, screen page 1-2, screen page 2-2, screen page 2-3, screen page 3-2, and screen Page 3-4. Then the screen page displayed on the local screen of the electronic device 2 after the expanded screen page may include: screen page 2-1, screen page 2-2, screen page 2-3, screen page 1-1, screen page 1-2, screen Page 3-2 and Screen Page 3-4. Then the screen page displayed on the local screen of the electronic device 3 after the expanded screen page may include: screen page 3-1, screen page 3-2, screen page 3-3, screen page 3-4, screen page 1-1, and screen Page 1-2, Screen Page 2-2, and Screen Page 2-3.
在上述的情况2下,假设电子设备1未共享屏幕页面,电子设备2共享了屏幕页面2-1和屏幕页面2-3,电子设备3共享了屏幕页面3-3和屏幕页面3-4。则在扩展屏幕页面后电子设备1本地屏幕上显示的屏幕页面可以包括:屏幕页面1-1、屏幕页面1-2、屏幕页面2-1、屏幕页面2-3、屏幕页面3-3和屏幕页面3-4。则在扩展屏幕页面后电子设备2本地屏幕上显示的屏幕页面可以包括:屏幕页面2-1、屏幕页面2-2、屏幕页面2-3、屏幕页面3-3和屏幕页面3-4。则在扩展屏幕页面后电子设备3本地屏幕上显示的屏幕页面可以包括:屏幕页面3-1、屏幕页面3-2、屏幕页面3-3、屏幕页面3-4、屏幕页面2-1和屏幕页面2-2。In the above case 2, it is assumed that the electronic device 1 does not share the screen page, the electronic device 2 shares the screen page 2-1 and the screen page 2-3, and the electronic device 3 shares the screen page 3-3 and the screen page 3-4. Then the screen page displayed on the local screen of the electronic device 1 after the expanded screen page may include: screen page 1-1, screen page 1-2, screen page 2-1, screen page 2-3, screen page 3-3, and screen Page 3-4. Then, the screen page displayed on the local screen of the electronic device 2 after the expanded screen page may include: screen page 2-1, screen page 2-2, screen page 2-3, screen page 3-3, and screen page 3-4. Then the screen page displayed on the local screen of the electronic device 3 after the expanded screen page may include: screen page 3-1, screen page 3-2, screen page 3-3, screen page 3-4, screen page 2-1 and screen Page 2-2.
可以理解,在第一电子设备扩展屏幕页面之后,若用户在第一电子设备上滑动屏幕页面,既可以浏览第一电子设备本地的屏幕页面,也可以浏览扩展的其他设备共享的屏幕页面。用户可以在第一电子设备上通过滑动灵活的操作第一电子设备,也可以通过第一电子扩展的屏幕页面操作或者该屏幕页面的电子设备。It can be understood that after the first electronic device expands the screen page, if the user slides the screen page on the first electronic device, the user can browse the local screen page of the first electronic device, or browse the expanded screen page shared by other devices. The user can flexibly operate the first electronic device by sliding on the first electronic device, and can also operate through the screen page of the first electronic extension or the electronic device on the screen page.
示例性地,第一电子设备接收到用户通过第一电子设备在扩展的屏幕页面上的操作之后,可以录制该触屏事件,并将该触屏事件传输给该扩展的屏幕页面对应的电子设备,该触屏事件可以包括:坐标位置、轨迹、映射关系等。Exemplarily, after receiving the user's operation on the extended screen page through the first electronic device, the first electronic device may record the touch screen event, and transmit the touch screen event to the electronic device corresponding to the extended screen page , The touch screen event may include: coordinate position, track, mapping relationship, etc.
可选地,目标电子设备接收到第一电子设备发送的触屏事件之后,目标电子设备可以 响应于该触屏事件,并将响应结果传输给第一电子设备,第一电子设备可以在第一电子设备上显示该响应结果。其中,该目标电子设备上可以在屏幕上显示该触屏事件的响应结果,也可以不显示该触屏事件的响应结果,本发明实施例对此不作具体限定。Optionally, after the target electronic device receives the touch screen event sent by the first electronic device, the target electronic device may respond to the touch screen event and transmit the response result to the first electronic device. The first electronic device may The response result is displayed on the electronic device. Wherein, the target electronic device may display the response result of the touch screen event on the screen, or may not display the response result of the touch screen event, which is not specifically limited in the embodiment of the present invention.
需要说明的是,其他设备共享的屏幕页面上可以包括屏幕页面上的所有内容,也可以包括部分内容。例如,可以包括屏幕页面上的应用程序、文件夹、虚拟按键、挂件(例如天气、时间、运营商、电量),文档等。It should be noted that the screen page shared by other devices may include all content on the screen page, or part of the content. For example, it may include applications, folders, virtual buttons, pendants (such as weather, time, operator, battery), documents, etc. on the screen page.
本发明实施例提供的屏幕扩展方法,首先,第一电子设备确定目标电子设备向第一电子设备共享N个屏幕页面,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;然后,第一电子设备可以在第一屏幕页面上显示M+N个标识,该M+N个标识用于指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示目标电子设备共享的N个屏幕页面。其中,第一屏幕页面为上述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面。由于在目标电子设备向第一电子设备共享N个屏幕页面的情况下,第一电子设备可以在保持显示本地的M个屏幕页面的情况下,将该N个屏幕页面扩展为第一电子设备上显示的屏幕页面,并在第一屏幕页面上显示M+N个标识提示用户扩展了N个屏幕页面,用户可以根据的扩展的屏幕页面上查看和操作其它电子设备屏幕上显示的内容,用户也可以通过滑动调出本地屏幕页面,在屏幕共享的过程中也可以快速方便的操作本地屏幕页面上的内容。In the screen extension method provided by the embodiment of the present invention, first, the first electronic device determines that the target electronic device shares N screen pages with the first electronic device, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device At least one screen page is shared; then, the first electronic device may display M+N logos on the first screen page, and the M+N logos are used to indicate the local M screen pages of the first electronic device and the first electronic device. The device extension displays N screen pages shared by the target electronic device. Wherein, the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers. Since the target electronic device shares N screen pages with the first electronic device, the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed. The screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages. The user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page. The local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
可选地,本发明实施例提供的屏幕扩展方法,在上述S201之前,还可以包括S203a、S203b或S203c:Optionally, the screen expansion method provided in the embodiment of the present invention may further include S203a, S203b, or S203c before the above S201:
S203a、第一电子设备接收第一输入,该第一输入为触发第一电子设备加入屏幕共享组,该屏幕共享组中包括上述N个屏幕页面。S203a. The first electronic device receives a first input, where the first input triggers the first electronic device to join a screen sharing group, and the screen sharing group includes the aforementioned N screen pages.
进而,上述实施例中的S201可以通过下述的S201a执行:Furthermore, S201 in the foregoing embodiment may be executed by the following S201a:
S201a、第一电子设备响应于第一输入,确定目标电子设备向第一电子设备共享的N个屏幕页面。S201a: In response to the first input, the first electronic device determines N screen pages shared by the target electronic device with the first electronic device.
示例性地,在其他电子设备发起屏幕共享的情况下,第一电子设备可以通过输入约定的密码加入屏幕共享组,也可以根据接收到的屏幕共享请求消息加入屏幕共享组。加入屏幕共享组之后,可以将已加入屏幕共享组的其他电子设备共享的屏幕页面扩展到第一电子设备的屏幕页面中。Exemplarily, when another electronic device initiates screen sharing, the first electronic device may join the screen sharing group by entering an agreed password, or may join the screen sharing group according to the received screen sharing request message. After joining the screen sharing group, the screen pages shared by other electronic devices that have joined the screen sharing group can be extended to the screen pages of the first electronic device.
S203b、在第一电子设备发起屏幕共享之后,第一电子设备接收第一指示信息,第一指示信息指示上述N个屏幕页面加入屏幕共享。S203b. After the first electronic device initiates screen sharing, the first electronic device receives first instruction information, where the first instruction information instructs the above N screen pages to join the screen sharing.
示例性地,在用户触发第一电子设备发起共享之后,若第一个电子设备加入屏幕共享(屏幕共享群组创建成功),则第一电子设备更新第一电子设备的屏幕页面上的标识的数量,并添加该电子设备共享的N个屏幕页面。Exemplarily, after the user triggers the first electronic device to initiate sharing, if the first electronic device joins screen sharing (the screen sharing group is successfully created), the first electronic device updates the logo on the screen page of the first electronic device And add N screen pages shared by the electronic device.
S203c、在第一电子设备已扩展K个屏幕页面的情况下,第一电子设备接收第二指示 消息,第二指示消息指示N-K个屏幕页面加入屏幕共享,K为小于N的正整数。S203c. In the case that the first electronic device has expanded K screen pages, the first electronic device receives a second instruction message, and the second instruction message instructs N-K screen pages to join screen sharing, and K is a positive integer less than N.
需要说明的是,在第一电子设备已加入屏幕共享之后(可以为第一电子设备发起的,也可以为其他电子设备发起的),且已扩展了其他电子设备共享的K个屏幕页面,屏幕共享群组中加入一个电子设备,且该电子设备共享了N-K个屏幕页面,则第一电子设备可以更新电子设备的屏幕页面上的标识的数量,并将该电子设备共享的K个屏幕页面扩展为第一电子设备中可以显示的屏幕页面。It should be noted that after the first electronic device has joined the screen sharing (which can be initiated by the first electronic device or other electronic devices), and the K screen pages shared by other electronic devices have been expanded, the screen An electronic device is added to the sharing group, and the electronic device shares NK screen pages, the first electronic device can update the number of identifiers on the screen page of the electronic device, and expand the K screen pages shared by the electronic device It is a screen page that can be displayed in the first electronic device.
相应的,该屏幕共享群组中的其他电子设备也添加该电子设备共享的K个屏幕页面,该电子设备添加共享群组中已经共享的屏幕共享页面。Correspondingly, other electronic devices in the screen sharing group also add K screen pages shared by the electronic device, and the electronic device adds screen sharing pages that have been shared in the sharing group.
在本发明实施例中,可以通过非接触的无线操作(例如:Wi-Fi、蓝牙、NFC、4G、5G)发起屏幕共享,以及进行数据交互。当多个电子设备建立屏幕共享群组时,发起设备可以触发建立屏幕共享群组的通信协议。例如一种提示建立屏幕共享群组的方式是协议生成一组唯一码,电子设备在输入唯一码之后,开始建立连接。In the embodiment of the present invention, screen sharing and data interaction can be initiated through non-contact wireless operations (for example: Wi-Fi, Bluetooth, NFC, 4G, 5G). When multiple electronic devices establish a screen sharing group, the initiating device can trigger the establishment of a communication protocol for the screen sharing group. For example, one way of prompting to establish a screen sharing group is to generate a set of unique codes by agreement, and the electronic device starts to establish a connection after inputting the unique codes.
可选地,建立屏幕共享群组的通信协议可以为中心化的协议,也可为去中心化的协议,其中,在通信协议中心化的协议的情况下,屏幕共享群组中的各个电子设备在共享的屏幕页面上的操作信息通过协议传递给决策中心的服务器,再由决策中心的服务器仲裁将操作行为下放给相应的其他电子设备,例如,用户在电子设备1上显示的屏幕页面2-1上操作,则电子设备1将操作事件上传给决策中心的服务器,该决策中心的服务器将该操作事件分发给电子设备2。在通讯协议为去中心化的协议的情况下,电子设备之间直接进行通信和交互。例如,用户在电子设备1上显示的屏幕页面2-1上操作,则电子设备1和电子设备2直接通信交互。Optionally, the communication protocol for establishing the screen sharing group can be a centralized protocol or a decentralized protocol. In the case of a centralized communication protocol, each electronic device in the screen sharing group The operation information on the shared screen page is transmitted to the server of the decision center through the protocol, and the server of the decision center arbitrates the operation behavior to the corresponding other electronic devices, for example, the screen page displayed on the electronic device 1 by the user 2- If the operation is performed on 1, the electronic device 1 uploads the operation event to the server of the decision center, and the server of the decision center distributes the operation event to the electronic device 2. When the communication protocol is a decentralized protocol, the electronic devices communicate and interact directly. For example, if the user operates on the screen page 2-1 displayed on the electronic device 1, the electronic device 1 and the electronic device 2 directly communicate and interact.
需要说明的是,在电子设备A的本地屏幕页面上点击图标打开APP时,打开了本地APP。在电子设备A的原属于带着你设备B的屏幕页面上打开APP时,相当于在设备A上打开了设备B的应用。这种打开在更快的网络通信上可以实现秒开,使用户感知不到该APP是远程设备上的,如HTML5或快应用方式的APP可以快速打开。方便用户查看其它设备上的APP或共享的文件信息,来确定是否感兴趣需要获取,并且可以在退出电子设备B的文件或APP时,提示是否需要把该APP传输安装到本地电子设备A上。It should be noted that when the icon is clicked on the local screen page of the electronic device A to open the APP, the local APP is opened. When you open the APP on the screen page of the electronic device A that originally belonged to the device B, it is equivalent to opening the application of the device B on the device A. This kind of opening can be realized in a second on faster network communication, so that the user does not perceive that the APP is on the remote device, such as HTML5 or quick application mode APP can be opened quickly. It is convenient for users to view APP or shared file information on other devices to determine whether they are interested and need to obtain it, and when exiting the file or APP of electronic device B, they can prompt whether the APP needs to be transferred and installed on local electronic device A.
在本发明实施例中,用户可以通过第三方应用建立屏幕共享群组,也可以通过系统功能建立屏幕共享群组。In the embodiment of the present invention, the user may establish a screen sharing group through a third-party application, or may establish a screen sharing group through a system function.
基于该方案,电子设备可以在不同的时机显示M+N个标识,使得电子设备可以灵活的进行屏幕共享,更新屏幕页面上的标识,以提示用户已经扩展了N个虚拟屏幕,用户可以在显示该N个虚拟屏幕的情况下,操作该虚拟屏幕对应的电子中的内容。Based on this solution, the electronic device can display M+N logos at different times, so that the electronic device can flexibly share the screen and update the logo on the screen page to remind the user that N virtual screens have been expanded, and the user can display In the case of the N virtual screens, the electronic content corresponding to the virtual screen is operated.
在本发明实施例中,在用户触发第一电子设备发起屏幕共享的情况下,第一电子设备可以显示可以进行屏幕共享的内容。在第一电子设备接收到目标电子设备发起的屏幕共享请求消息之后,若接收到用户确定加入屏幕共享的群组,则第一电子设备也可以显示可以 进行屏幕共享的内容。在用户通过其他方式获取到加入屏幕共享群组的密码(即,除发起屏幕共享的电子设备之外,其他电子设备可以通过输入约定密码加入屏幕共享群组)的情况下,在用户输入加入屏幕共享群组的密码之后,第一电子设备也可以显示可以进行屏幕共享的内容。In the embodiment of the present invention, when the user triggers the first electronic device to initiate screen sharing, the first electronic device may display content that can be screen shared. After the first electronic device receives the screen sharing request message initiated by the target electronic device, if it receives the user's determination to join the screen sharing group, the first electronic device may also display content that can be screen shared. In the case that the user obtains the password to join the screen sharing group through other means (that is, in addition to the electronic device that initiates the screen sharing, other electronic devices can join the screen sharing group by entering the agreed password), the user enters to join the screen After sharing the password of the group, the first electronic device may also display content that can be screened.
可选地,本发明实施例提供的屏幕扩展方法,在上述S201之前,还可以包括下述的S204a至S204c:Optionally, the screen expansion method provided in the embodiment of the present invention may further include the following S204a to S204c before the above S201:
S204a、第一电子设备显示第一电子设备待共享的选项。S204a. The first electronic device displays the options to be shared by the first electronic device.
其中,待共享的选项包括屏幕页面选项,或者屏幕页面选项以及屏幕页面上的内容的选项。Among them, the options to be shared include screen page options, or screen page options and options for content on the screen page.
需要说明的是,在本发明实施例中,若用户选择第一电子设备待共享的选项为屏幕上的部分内容,在其他参与屏幕共享的电子设备中可以显示一个屏幕页面,该屏幕页面的背景可以为共享内容所在的第一电子设备的屏幕背景。It should be noted that, in the embodiment of the present invention, if the user selects the option to be shared by the first electronic device as part of the content on the screen, a screen page can be displayed on other electronic devices participating in screen sharing, and the background of the screen page It can be the screen background of the first electronic device where the shared content is located.
S204b、第一电子设备接收第二输入。S204b. The first electronic device receives the second input.
其中,第二输入可以为用户从第一电子设备显示的待共享的选项中选择共享的内容的输入。The second input may be an input for the user to select shared content from the options to be shared displayed on the first electronic device.
可以理解,用户可以选择共享一个屏幕页面中的全部内容,也可以选择共享一个屏幕页面中的部分内容。It is understandable that the user can choose to share all content in a screen page, or can choose to share part of the content in a screen page.
示例性地,例如3个本地屏幕页面,用户可以选择共享第一电子设备的全部屏幕页面,则可以共享该3个屏幕页面,用户也可以选择共享其中1个或2个屏幕页面。当然第一电子设备也可以选择共享某一个屏幕页面上的部分内容,例如选择一个屏幕页面中的部分APP共享,选择一个屏幕页面中的一个文档共享。Illustratively, for example, for three local screen pages, the user can choose to share all the screen pages of the first electronic device, and then the three screen pages can be shared, and the user can also choose to share one or two of the screen pages. Of course, the first electronic device may also choose to share part of the content on a certain screen page, for example, selecting part of APP sharing in a screen page, and selecting a document sharing in a screen page.
S204c、第一电子设备响应于第二输入,确定第一电子设备共享的内容。S204c. In response to the second input, the first electronic device determines the content shared by the first electronic device.
可以理解,在选择完毕之后,第一电子设备可以共享用户选择的屏幕页面。It can be understood that after the selection is completed, the first electronic device can share the screen page selected by the user.
基于该方案,用户可以根据需要灵活的选择要共享的内容,用户可以共享全部屏幕页面,用户也可以共享部分屏幕页面,一个屏幕页面中,用户可以选择共享该屏幕页面中的全部内容,也可以选择共享该屏幕页面中的部分内容,可以使得用户在希望屏幕共享时不希望共享一些内容的情况下,无需新建屏幕页面,操作更加方便。Based on this solution, users can flexibly choose the content to be shared according to their needs. Users can share all screen pages, users can also share part of the screen pages, in a screen page, users can choose to share all the content in the screen page, or Choosing to share part of the content of the screen page can make the user do not need to create a new screen page when the user does not want to share some content when the screen is shared, and the operation is more convenient.
在本发明实施例中,第一电子设备可以通过在上述的N个屏幕页面上添加标记,例如轻量级的标注用户界面(User Interface,UI),以区分该N个屏幕页面为其他电子设备共享的屏幕页面,例如其他电子设备共享的屏幕页面边界显示矩形框、整个屏幕添加虚框,其他电子设备共享的屏幕页面上显示“共享”,本地屏幕页面上不显示上述的标记。In the embodiment of the present invention, the first electronic device can distinguish the N screen pages as other electronic devices by adding marks, such as a lightweight user interface (UI), on the aforementioned N screen pages. Shared screen pages, for example, a rectangular frame is displayed on the border of a screen page shared by other electronic devices, a virtual frame is added to the entire screen, and "shared" is displayed on a screen page shared by other electronic devices, and the above-mentioned mark is not displayed on a local screen page.
可选地,目标电子设备共享的N个屏幕页面中的每个屏幕页面上还包括指示信息;一个指示信息可以用于指示该一个指示信息所在的屏幕页面所属的电子设备。Optionally, each of the N screen pages shared by the target electronic device further includes indication information; one indication information may be used to indicate the electronic device to which the screen page where the indication information is located belongs.
可以理解,第一电子设备在显示上述N个屏幕页面中的任意一个屏幕页面的情况下, 可以在该屏幕页面上的预设位置,显示共享该屏幕页面的电子设备的名称或者设备识别码。It can be understood that when the first electronic device displays any one of the above N screen pages, it may display the name or device identification code of the electronic device sharing the screen page in a preset position on the screen page.
例如,屏幕页面a为账户为张三的电子设备,则第一电子设备在物理屏幕上显示屏幕页面a的时候,可以在页面a的右上角显示“张三共享的屏幕页面”。For example, if the screen page a is an electronic device whose account is Zhang San, when the first electronic device displays the screen page a on the physical screen, it may display "the screen page shared by Zhang San" in the upper right corner of the page a.
基于该方案,第一电子设备可以在其他电子设备共享的屏幕页面上显示指示屏幕页面所属的电子设备的指示信息,可以便于用户确定当前显示的屏幕页面来自于哪个电子设备,使得用户在屏幕共享过程中,可以更精准的操作。Based on this solution, the first electronic device can display indication information indicating the electronic device to which the screen page belongs on the screen page shared by other electronic devices, which can facilitate the user to determine which electronic device the currently displayed screen page comes from, so that the user can share the screen In the process, you can operate more accurately.
可选地,第一电子设备根据预设规则在第一电子设备的物理屏幕上从左向右分别显示M+N个屏幕页面,其中,预设规则可以为下述的显示规则中的任意一个。用户可以根据需要设置,本发明实施例对此不作具体限定。Optionally, the first electronic device displays M+N screen pages from left to right on the physical screen of the first electronic device according to a preset rule, where the preset rule may be any one of the following display rules . The user can set it as needed, which is not specifically limited in the embodiment of the present invention.
显示规则1:第一电子设备可以先显示第一电子设备本地的屏幕页面,再显示目标电子设备共享的屏幕页面。若目标电子设备包括多个电子设备,可以按照加入共享的先后顺序依次显示。Display rule 1: The first electronic device may first display the local screen page of the first electronic device, and then display the screen page shared by the target electronic device. If the target electronic device includes multiple electronic devices, they can be displayed in the order of joining the sharing.
显示规则2:第一电子设备可以先显示目标电子设备共享的屏幕页面,再显示第一电子设备本地的屏幕页面。若目标电子设备包括多个电子设备,可以按照加入共享的先后顺序依次显示。Display rule 2: The first electronic device may first display the screen page shared by the target electronic device, and then display the local screen page of the first electronic device. If the target electronic device includes multiple electronic devices, they can be displayed in the order of joining the sharing.
显示规则3:在目标电子设备包括多个电子设备的情况下,第一电子设备可以先显示加入屏幕扩展顺序靠前的电子设备共享的屏幕页面,然后显示第一电子设备本地的屏幕页面,再显示加入屏幕扩展顺序靠后的电子设备共享的屏幕页面。Display rule 3: In the case that the target electronic device includes multiple electronic devices, the first electronic device may first display the screen page shared by the electronic device that joins the screen expansion sequence first, and then display the local screen page of the first electronic device, and then Displays the screen page shared by the electronic devices that join the screen expansion sequence later.
基于该方案,用户可以根据需要选择不同的显示规则显示本地的屏幕页面以及扩展的屏幕页面,使得用户在屏幕共享的过程中的操作更加方便。Based on this solution, the user can select different display rules to display the local screen page and the extended screen page according to the needs, which makes the operation of the user in the process of screen sharing more convenient.
可选地,本发明实施例提供的屏幕扩展方法,在上述的S201之后,还可以包括下述的S205和S206:Optionally, the screen expansion method provided in the embodiment of the present invention may further include the following S205 and S206 after the above S201:
S205、第一电子设备接收将第一电子设备已安装的第一应用的图标移动到第二屏幕页面的第三输入。S205. The first electronic device receives a third input of moving the icon of the first application installed on the first electronic device to the second screen page.
其中,第二屏幕页面为目标电子设备中的第二电子设备共享的一个屏幕页面。Wherein, the second screen page is a screen page shared by the second electronic device in the target electronic device.
示例性地,第一电子设备在接收到用户的第三输入之后,可以向第二电子设备发送请求消息,该请求消息用于确定第二电子设备中是否安装第一应用,第一电子设备可以根据第二电子设备发送的确认消息确定第二电子设备是否安装第一应用。Exemplarily, after receiving the third input from the user, the first electronic device may send a request message to the second electronic device. The request message is used to determine whether the first application is installed in the second electronic device. The first electronic device may Determine whether the second electronic device installs the first application according to the confirmation message sent by the second electronic device.
S206、第一电子设备响应于第三输入,在第二电子设备未安装第一应用的情况下,执行以下T1至T3的操作中的任意一个。S206. In response to the third input, the first electronic device performs any one of the following operations from T1 to T3 in a case where the first application is not installed on the second electronic device.
T1:第一电子设备向第二电子设备发送第一电子设备中的第一应用的安装文件。T1: The first electronic device sends the installation file of the first application in the first electronic device to the second electronic device.
示例性地,在第一电子设备中包括第一应用的安装文件(或源文件)的情况下,第一电子设备可以在接收第三输入之后,向第二电子设备发送第一电子设备中的第一应用的安 装文件,以使得在第二屏幕页面对应的第二电子设备的本地屏幕页面上安装第一应用。Exemplarily, in the case where the first electronic device includes the installation file (or source file) of the first application, the first electronic device may send the second electronic device to the second electronic device after receiving the third input. The installation file of the first application, so that the first application is installed on the local screen page of the second electronic device corresponding to the second screen page.
T2:第一电子设备触发第二电子设备下载第一应用的安装文件。T2: The first electronic device triggers the second electronic device to download the installation file of the first application.
示例性地,在第一电子设备接收到第三输入之后,第一电子设备也可以向第二电子设备发送下载指令,以使得第二电子设备在接收到下载指令后触发第二电子设备从第二电子设备应用商城中下载第一应用的安装文件,并根据该安装文件进行安装。Exemplarily, after the first electronic device receives the third input, the first electronic device may also send a download instruction to the second electronic device, so that the second electronic device triggers the second electronic device from the second electronic device after receiving the download instruction. 2. Download the installation file of the first application in the electronic device application mall, and install it according to the installation file.
T3:第一电子设备向第二电子设备发送安装第一应用的提示信息。T3: The first electronic device sends a prompt message for installing the first application to the second electronic device.
示例性地,在第一电子设备接收到第三输入之后,第一电子设备也可以先向第二电子设备发送安装第一应用的提示信息,以使得第二电子设备可以先向用户提示是否安装第一应用,在用户确定安装第一应用之后,第二电子设备可以从第一电子设备中接收第一应用的安装文件并安装,也可以从第二电子设备中的应用商城中下载第一应用的安装文件并安装。Exemplarily, after the first electronic device receives the third input, the first electronic device may also first send prompt information for installing the first application to the second electronic device, so that the second electronic device may first prompt the user whether to install For the first application, after the user determines to install the first application, the second electronic device can receive the installation file of the first application from the first electronic device and install it, or download the first application from the application store in the second electronic device The installation file and install it.
可选地,在上述S202之后时,第一电子设备执行下述的T4:Optionally, after the above S202, the first electronic device executes the following T4:
T4:第一电子设备向第二电子设备发送第一位置信息,第一位置信息为第二输入将第一应用的图标移动到第二屏幕页面的第一显示位置。T4: The first electronic device sends the first location information to the second electronic device. The first location information is the second input to move the icon of the first application to the first display position of the second screen page.
可以理解,第二电子设备可以在第一显示位置显示第一应用的图标。It can be understood that the second electronic device may display the icon of the first application in the first display position.
基于该方案,在屏幕共享的过程中,用户可以通过将第一电子设备已安装的第一应用的图标移动到扩展的第二屏幕页面中,在第二电子设备没有安装第一应用的情况下,第一电子设备可以触发第二电子设备安装第一应用,第一电子设备可以将第一电子设备中第一应用的安装文件(源文件)发送给第二电子设备,使得第二电子设备采用第一电子设备发送的安装文件的版本安装,第一电子设备也可以触发第二电子设备下载第一应用的安装文件,采用最新的版本安装第一应用,或者发送安装第一应用的提示信息,提示第二电子设备的用户是否需要安装,选择哪种安装方式。Based on this solution, in the process of screen sharing, the user can move the icon of the first application installed on the first electronic device to the extended second screen page, in the case that the first application is not installed on the second electronic device , The first electronic device can trigger the second electronic device to install the first application, and the first electronic device can send the installation file (source file) of the first application in the first electronic device to the second electronic device, so that the second electronic device uses If the version of the installation file sent by the first electronic device is installed, the first electronic device can also trigger the second electronic device to download the installation file of the first application, install the first application using the latest version, or send a prompt message for installing the first application, The user of the second electronic device is prompted whether it needs to be installed and which installation method to choose.
可选地,本发明实施例提供的屏幕扩展方法,在上述的S201之后,还可以包括下述的S207和S208:Optionally, the screen expansion method provided in the embodiment of the present invention may further include the following S207 and S208 after the above S201:
S207、第一电子设备接收将第三屏幕页面上的第二应用的图标移动到第四屏幕页面的第四输入。S207: The first electronic device receives a fourth input of moving the icon of the second application on the third screen page to the fourth screen page.
其中,第三屏幕页面为目标电子设备中的第三电子设备共享的一个屏幕页面。Wherein, the third screen page is a screen page shared by the third electronic device in the target electronic device.
S208、第一电子设备响应于第四输入,在第一电子设备未安装第二应用的情况下,执行以下T4至T6的操作中的任意一个。S208. In response to the fourth input, the first electronic device performs any one of the following operations from T4 to T6 in a case where the second application is not installed on the first electronic device.
T4:第一电子设备从第三电子设备拷贝第二应用的安装文件。T4: The first electronic device copies the installation file of the second application from the third electronic device.
示例性地,在第一电子设备中未安装第二应用的情况下,若第一电子设备接收到用户的第二输入,第一电子设备可以请求第三电子设备发送第二应用的安装文件,第一电子设备也可以直接从第三电子设备中拷贝第二应用的安装文件,在获取到第三电子设备中的安装文件之后,第一电子设备以第二电子设备中第二应用的安装文件安装第二应用。Exemplarily, when the second application is not installed in the first electronic device, if the first electronic device receives the second input from the user, the first electronic device may request the third electronic device to send the installation file of the second application, The first electronic device can also directly copy the installation file of the second application from the third electronic device. After obtaining the installation file of the third electronic device, the first electronic device uses the installation file of the second application in the second electronic device. Install the second application.
T5:第一电子设备下载第二应用的安装文件。T5: The first electronic device downloads the installation file of the second application.
示例性地,第一电子设备中也可以设置该第四输入可以触发第一电子设备从应用商城中下载第二应用的安装文件,可以获取到最新的版本。Exemplarily, the fourth input may also be set in the first electronic device to trigger the first electronic device to download the installation file of the second application from the application store, and obtain the latest version.
T6:第一电子设备显示安装第二应用的提示信息。T6: The first electronic device displays a prompt message for installing the second application.
示例性地,第一电子设备可以显示是否从第三电子设备中拷贝第二应用的安装文件,也可以显示为是否从应用商城中下载安装第二应用。Exemplarily, the first electronic device may display whether to copy the installation file of the second application from the third electronic device, or may display whether to download and install the second application from the application store.
当然,电子设备也可可以先提示用户是否需要安装第二应用,在用户确定之后再获取第二应用的安装文件并进行安装。Of course, the electronic device may also prompt the user whether the second application needs to be installed first, and then obtain and install the installation file of the second application after the user confirms it.
基于该方案,在屏幕共享的过程中,在第一电子设备未安装第二应用的情况下,用户可以通过将扩展的屏幕页面中的第二应用的图标移动到第一电子设备的第四屏幕页面的输入,触发第一电子设备以第三电子设备中的第二应用的版本安装第二应用,也可以触发第一电子设备从应用商城中安装第二应用,也可以先提示用户是否需要安装第二应用。Based on this solution, in the process of screen sharing, when the second application is not installed on the first electronic device, the user can move the icon of the second application in the expanded screen page to the fourth screen of the first electronic device. The input of the page triggers the first electronic device to install the second application with the version of the second application in the third electronic device, or triggers the first electronic device to install the second application from the application store, or prompts the user whether to install it first The second application.
可选地,本发明实施例提供的屏幕扩展方法,在上述的S201之后,还可以包括下述的S209和S2010:Optionally, the screen expansion method provided in the embodiment of the present invention may further include the following S209 and S2010 after the above S201:
S209、第一电子设备接收将第五屏幕页面上的第三应用的图标移动到第六屏幕页面上的第三应用的图标上的第五输入。S209. The first electronic device receives a fifth input of moving the icon of the third application on the fifth screen page to the icon of the third application on the sixth screen page.
其中,共享第五屏幕页面的电子设备和共享第六屏幕页面的电子设备为不同的电子设备。The electronic device sharing the fifth screen page and the electronic device sharing the sixth screen page are different electronic devices.
S210、第一电子设备响应于第五输入,执行以下T7至T9中的操作中的其中一个。S210. In response to the fifth input, the first electronic device performs one of the following operations in T7 to T9.
T7:在第五屏幕页面为第一电子设备的屏幕页面的情况下,向第六屏幕页面的电子设备发送第三应用的目标信息。T7: When the fifth screen page is the screen page of the first electronic device, send the target information of the third application to the electronic device on the sixth screen page.
其中,目标信息为应用的版本信息或应用中选项的配置信息。Among them, the target information is the version information of the application or the configuration information of the options in the application.
可以理解,第一电子设备向第六屏幕页面的电子设备发送第三应用的目标信息之后,第六屏幕页面的电子设备可以采用该目标信息更新第六屏幕页面的电子设备中安装的第三应用的版本信息或者更新选项中的配置信息。It can be understood that after the first electronic device sends the target information of the third application to the electronic device on the sixth screen page, the electronic device on the sixth screen page can use the target information to update the third application installed in the electronic device on the sixth screen page. Version information or configuration information in the update options.
T8:在第五屏幕页面为目标电子设备共享的屏幕页面,且第六屏幕页面为第一电子设备的屏幕页面的情况下,从共享第五屏幕页面的电子设备中,获取第三应用的目标信息。T8: In the case that the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, obtain the target of the third application from the electronic device sharing the fifth screen page information.
可以理解,第一电子设备在接收到第五输入之后,可以触发第一电子设备从共享第五屏幕页面的电子设备中,获取第三应用的目标信息,以更新第一电子设备中的第三应用的目标信息。It can be understood that, after receiving the fifth input, the first electronic device can trigger the first electronic device to obtain the target information of the third application from the electronic device sharing the fifth screen page, so as to update the third application in the first electronic device. Target information of the application.
T9:在第五屏幕页面和第六屏幕页面均为目标电子设备共享的屏幕页面的情况下,从共享第五屏幕页面的电子设备中,获取第三应用的配置信息,并向共享第六屏幕页面的电子设备发送目标信息。T9: In the case that the fifth screen page and the sixth screen page are both screen pages shared by the target electronic device, obtain the configuration information of the third application from the electronic device sharing the fifth screen page, and share the sixth screen The electronic device of the page sends the target information.
需要说明的是,在本发明实施例中,配置信息可以为第一电子设备中,表征第一用户 的使用习惯的信息,例如浏览器的收藏信息、可以为游戏的操作选项的设置、可以为地图中的收藏信息。It should be noted that, in this embodiment of the present invention, the configuration information may be information that characterizes the first user’s usage habits in the first electronic device, such as browser collection information, may be the setting of game operation options, and may be Collection information in the map.
基于该方案,第一电子设备可以根据操作对应的不同电子设备,复制相应的目标信息进行更新。Based on this solution, the first electronic device can copy the corresponding target information for update according to different electronic devices corresponding to the operation.
可选地,本发明实施例提供的屏幕扩展方法,在第五屏幕页面为目标电子设备共享的屏幕页面,且第六屏幕页面为第一电子设备的屏幕页面的情况下,还可以包括下述的S211a和S211b中的至少一个:Optionally, the screen expansion method provided by the embodiment of the present invention may further include the following when the fifth screen page is a screen page shared by the target electronic device and the sixth screen page is a screen page of the first electronic device At least one of S211a and S211b:
S211a、第一电子设备在目标信息为版本信息的情况下,根据获取的第三应用的目标信息,更新第一电子设备中第三应用的版本。S211a: When the target information is version information, the first electronic device updates the version of the third application in the first electronic device according to the acquired target information of the third application.
S211b、第一电子设备在目标信息为应用中第一选项的配置信息的情况下,根据获取的第三应用的目标信息,更新第一选项的配置。S211b. When the target information is the configuration information of the first option in the application, the first electronic device updates the configuration of the first option according to the acquired target information of the third application.
基于该方案,第一电子设备在接收到第五输入之后,可以根据相应的情况采用目标信息更新,例如在用户需要使用朋友玩游戏时的游戏设置时,可以通过该输入快速更新自己电子设备中的游戏设备,在用户升级了应用之后,若需要退回低版本,可以采用该方案,从朋友的电子设备中获取低版本的安装文件,恢复应用为较低版本的应用。当然,也可以帮助其他朋友更新设备中的目标信息,使得用户的操作更加便捷。Based on this solution, after the first electronic device receives the fifth input, it can update the target information according to the corresponding situation. For example, when the user needs to use the game settings of a friend to play the game, he can quickly update his electronic device through the input After the user upgrades the application, if the user needs to return to the lower version, the solution can be used to obtain the lower version installation file from the friend’s electronic device and restore the application to the lower version application. Of course, it can also help other friends update the target information in the device, making the user's operation more convenient.
图4为本发明实施例提供的一种第一电子设备可能的结构示意图,如图4所示,第一电子设备400包括:确定模块401和显示模块402;确定模块401,用于确定目标电子设备向第一电子设备共享的N个屏幕页面,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;显示模块402,用于在第一屏幕页面上显示M+N个标识,该M+N个标识指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示的目标电子设备的N个屏幕页面,第一屏幕页面为M+N个标识指示的M+N个屏幕页面中的一个屏幕页面;其中,M和N均为正整数。4 is a schematic diagram of a possible structure of a first electronic device provided by an embodiment of the present invention. As shown in FIG. 4, the first electronic device 400 includes: a determining module 401 and a display module 402; N screen pages shared by the device with the first electronic device, the target electronic device includes at least one electronic device, and each electronic device in the at least one electronic device shares at least one screen page; the display module 402 is configured to display on the first screen page M+N logos are displayed, and the M+N logos indicate the M screen pages local to the first electronic device and the N screen pages of the target electronic device extended and displayed on the first electronic device. The first screen page is M+N One of the M+N screen pages indicated by the two identifiers; where M and N are both positive integers.
可选地,结合图4,如图5所示,第一电子设备400还包括:接收模块403;接收模块403用于在确定模块401确定目标电子设备向第一电子设备共享N个屏幕页面之前,接收第一输入,该第一输入触发第一电子设备加入屏幕共享组,该屏幕共享组中包括上述N个屏幕页面;或者,在第一电子设备发起屏幕共享之后,接收第一指示消息,第一指示消息指示N个屏幕页面加入屏幕共享;或者,在第一电子设备已扩展K个屏幕页面的情况下,接收第二指示消息,第二指示消息指示N-K个屏幕页面加入屏幕共享,K为小于N的正整数。Optionally, in conjunction with FIG. 4, as shown in FIG. 5, the first electronic device 400 further includes: a receiving module 403; the receiving module 403 is configured to before the determining module 401 determines that the target electronic device shares N screen pages with the first electronic device , Receiving a first input, the first input triggering the first electronic device to join a screen sharing group, the screen sharing group includes the above N screen pages; or, after the first electronic device initiates screen sharing, receiving a first instruction message, The first instruction message instructs N screen pages to join screen sharing; or, in the case that the first electronic device has expanded K screen pages, the second instruction message is received, and the second instruction message instructs NK screen pages to join screen sharing, K It is a positive integer less than N.
可选地,参考上述图5所示,第一电子设备400还包括:接收模块403;显示模块402,还用于在第一屏幕页面上显示M+N个标识之前,显示第一电子设备待共享的共享选项,待共享的共享选项包括屏幕选项,或者屏幕选项以及屏幕上的内容的选项;接收模块403,还用于接收第二输入;确定模块401,用于响应于接收403接收的第二输入,从待共享的 确定第一电子设备的共享内容。Optionally, referring to FIG. 5 above, the first electronic device 400 further includes: a receiving module 403; a display module 402, which is also used to display the first electronic device waiting before displaying M+N logos on the first screen page. Shared sharing options, the sharing options to be shared include screen options, or options for screen options and content on the screen; the receiving module 403 is also used to receive the second input; the determining module 401 is used to respond to receiving the first received 403 The second input is to determine the shared content of the first electronic device from the to-be-shared.
可选地,结合图4,如图6所示,第一电子设备400还包括:接收模块403和处理模块404;接收模块403,用于在显示模块402在第一屏幕页面上显示M+N个标识之后,接收将第一电子设备400已安装的第一应用的图标移动到第二屏幕页面的第三输入,第二屏幕页面为目标电子设备中的第二电子设备共享的一个屏幕页面;处理模块404,用于响应于接收模块403接收的第三输入,在第二电子设备未安装第一应用的情况下,执行以下操作中的任意一个:向第二电子设备发送第一电子设备中的第一应用的安装文件;触发第二电子设备下载第一应用的安装文件;向第二电子设备发送安装第一应用的提示信息。Optionally, in conjunction with FIG. 4, as shown in FIG. 6, the first electronic device 400 further includes: a receiving module 403 and a processing module 404; a receiving module 403 for displaying M+N on the first screen page on the display module 402 After the identification, receiving a third input to move the icon of the first application installed on the first electronic device 400 to the second screen page, where the second screen page is a screen page shared by the second electronic device in the target electronic device; The processing module 404 is configured to, in response to the third input received by the receiving module 403, perform any one of the following operations when the first application is not installed on the second electronic device: The installation file of the first application; triggers the second electronic device to download the installation file of the first application; and sends prompt information for installing the first application to the second electronic device.
可选地,参考上述图6所示,第一电子设备400还包括:接收模块403和处理模块404;接收模块403,用于在显示模块402在第一屏幕页面上显示M+N个标识之后,接收将第三屏幕页面上的第二应用的图标移动到第四屏幕页面的第四输入,第三屏幕页面为目标电子设备中的第三电子设备共享的一个屏幕页面;处理模块404,用于响应于接收模块403接收的第四输入,在第一电子设备未安装第二应用的情况下,执行以下操作中的任意一个:从第三电子设备拷贝第二应用的安装文件,下载第二应用的安装文件,显示安装第二应用的提示信息。Optionally, referring to FIG. 6 above, the first electronic device 400 further includes: a receiving module 403 and a processing module 404; the receiving module 403 is configured to display M+N logos on the first screen page by the display module 402 , Receiving the fourth input of moving the icon of the second application on the third screen page to the fourth screen page, where the third screen page is a screen page shared by the third electronic device in the target electronic device; the processing module 404 uses In response to the fourth input received by the receiving module 403, if the second application is not installed on the first electronic device, perform any one of the following operations: copy the installation file of the second application from the third electronic device, and download the second application. The installation file of the application displays the prompt message for installing the second application.
可选地,参考上述图6所示,第一电子设备400还包括:接收模块403和处理模块404;接收模块403,用于在显示模块402在第一屏幕页面上显示M+N个标识之后,接收将第五屏幕页面上的第三应用的图标移动到第六屏幕页面上的第三应用的图标上的第五输入,共享第五屏幕页面的电子设备和共享第六屏幕页面的电子设备为不同的电子设备;处理模块404,用于响应于接收模块403接收的第五输入,执行以下操作中的其中一个:在第五屏幕页面为第一电子设备的屏幕页面的情况下,向第六屏幕页面的电子设备发送第三应用的目标信息;在第五屏幕页面为目标电子设备共享的屏幕页面,且第六屏幕页面为第一电子设备的屏幕页面的情况下,从共享第五屏幕页面的电子设备中,获取第三应用的目标信息;在第五屏幕页面和第六屏幕页面均为目标电子设备共享的屏幕页面的情况下,从共享第五屏幕页面的电子设备中,获取第三应用的配置信息,并向共享第六屏幕页面的电子设备发送目标信息;其中,目标信息为应用的版本信息或应用中选项的配置信息。Optionally, referring to FIG. 6 above, the first electronic device 400 further includes: a receiving module 403 and a processing module 404; the receiving module 403 is configured to display M+N logos on the first screen page by the display module 402 , Receiving the fifth input of moving the icon of the third application on the fifth screen page to the icon of the third application on the sixth screen page, sharing the electronic device of the fifth screen page and the electronic device of sharing the sixth screen page Is a different electronic device; the processing module 404 is configured to perform one of the following operations in response to the fifth input received by the receiving module 403: when the fifth screen page is the screen page of the first electronic device, to the first electronic device The electronic device with six screen pages sends the target information of the third application; when the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, the fifth screen is shared from In the electronic device on the page, obtain the target information of the third application; in the case where the fifth screen page and the sixth screen page are both screen pages shared by the target electronic device, obtain the first application from the electronic device sharing the fifth screen page 3. The configuration information of the application, and the target information is sent to the electronic device sharing the sixth screen page; where the target information is the version information of the application or the configuration information of the options in the application.
可选地,结合图6,如图7所示,第一电子设备400还包括:更新模块405;更新模块405,用于在第五屏幕页面为目标电子设备共享的屏幕页面,且第六屏幕页面为第一电子设备的屏幕页面的情况下,且在目标信息为版本信息的情况下,根据获取的第三应用的目标信息,更新第一电子设备中所示第三应用的版本;或者,更新模块405,用于在第五屏幕页面为目标电子设备共享的屏幕页面,且第六屏幕页面为第一电子设备的屏幕页面的情况下,且在目标信息为应用中第一选项的配置信息的情况下,根据获取的第三应用的目标信息,更新第一选项的配置。Optionally, in conjunction with Fig. 6, as shown in Fig. 7, the first electronic device 400 further includes: an update module 405; When the page is the screen page of the first electronic device, and when the target information is version information, update the version of the third application shown in the first electronic device according to the acquired target information of the third application; or, The update module 405 is used for when the fifth screen page is the screen page shared by the target electronic device, and the sixth screen page is the screen page of the first electronic device, and the target information is the configuration information of the first option in the application In the case, the configuration of the first option is updated according to the acquired target information of the third application.
可选地,目标电子设备共享的N个屏幕页面中的每个屏幕页面上还包括指示信息;一 个指示信息用于指示一个指示信息所在的屏幕页面所属的电子设备。Optionally, each of the N screen pages shared by the target electronic device further includes indication information; one indication information is used to indicate an electronic device to which the screen page where the indication information belongs belongs.
本发明实施例提供的第一电子设备400能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The first electronic device 400 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
本发明实施例提供一种电子设备,该电子设备为第一电子设备,首先,第一电子设备确定目标电子设备向第一电子设备共享的N个屏幕页面,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;然后,第一电子设备可以在第一屏幕页面上显示M+N个标识,该M+N个标识用于指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示的目标电子设备共享的N个屏幕页面。第一屏幕页面为上述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面。由于在目标电子设备向第一电子设备共享N个屏幕页面的情况下,第一电子设备可以在保持显示本地的M个屏幕页面的情况下,将该N个屏幕页面扩展为第一电子设备上显示的屏幕页面,并在第一屏幕页面上显示M+N个标识提示用户扩展了N个屏幕页面,用户可以根据的扩展的屏幕页面上查看和操作其它电子设备屏幕上显示的内容,用户也可以通过滑动调出本地屏幕页面,在屏幕共享的过程中也可以快速方便的操作本地屏幕页面上的内容。An embodiment of the present invention provides an electronic device, which is a first electronic device. First, the first electronic device determines N screen pages shared by the target electronic device with the first electronic device, and the target electronic device includes at least one electronic device, Each electronic device in the at least one electronic device shares at least one screen page; then, the first electronic device may display M+N identifiers on the first screen page, and the M+N identifiers are used to indicate that the first electronic device is locally The M screen pages in the first electronic device and the N screen pages shared by the target electronic device displayed in the extended display of the first electronic device. The first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers. Since the target electronic device shares N screen pages with the first electronic device, the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed. The screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages. The user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page. The local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
图8为本发明实施例提供的一种电子设备的硬件示意图,该电子设备100为上述实施例中的第一电子设备,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。8 is a schematic diagram of the hardware of an electronic device provided by an embodiment of the present invention. The electronic device 100 is the first electronic device in the above-mentioned embodiment. The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, and audio The output unit 103, the input unit 104, the sensor 105, the display unit 106, the user input unit 107, the interface unit 108, the memory 109, the processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,处理器110,用于确定目标电子设备向第一电子设备共享N个屏幕页面,目标电子设备包括至少一个电子设备,至少一个电子设备中每个电子设备至少共享一个屏幕页面;显示单元106,用于在第一屏幕页面上显示M+N个标识,该M+N个标识指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示的目标电子设备共享的N个屏幕页面;第一屏幕页面为M+N个标识指示的M+N个屏幕页面中的一个屏幕页面,其中,M和N均为正整数。The processor 110 is configured to determine that the target electronic device shares N screen pages with the first electronic device, the target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least one screen page; the display unit 106 , Used to display M+N logos on the first screen page, where the M+N logos indicate the M screen pages local to the first electronic device and the N screens shared by the target electronic device extended and displayed on the first electronic device Page; the first screen page is one of the M+N screen pages indicated by the M+N identifiers, where M and N are both positive integers.
本发明实施例提供一种电子设备,该电子设备为第一电子设备,首先,第一电子设备确定目标电子设备向第一电子设备共享的N个屏幕页面,目标电子设备包括至少一个电子设备,该至少一个电子设备中每个电子设备至少共享一个屏幕页面;然后,第一电子设备可以在第一屏幕页面上显示M+N个标识,该M+N个标识用于指示第一电子设备本地的M个屏幕页面和在第一电子设备扩展显示的目标电子设备共享的N个屏幕页面。其中,第一屏幕页面为上述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面。由于在目标电子 设备向第一电子设备共享N个屏幕页面的情况下,第一电子设备可以在保持显示本地的M个屏幕页面的情况下,将该N个屏幕页面扩展为第一电子设备上显示的屏幕页面,并在第一屏幕页面上显示M+N个标识提示用户扩展了N个屏幕页面,用户可以根据的扩展的屏幕页面上查看和操作其它电子设备屏幕上显示的内容,用户也可以通过滑动调出本地屏幕页面,在屏幕共享的过程中也可以快速方便的操作本地屏幕页面上的内容。An embodiment of the present invention provides an electronic device, which is a first electronic device. First, the first electronic device determines N screen pages shared by the target electronic device with the first electronic device, and the target electronic device includes at least one electronic device, Each electronic device in the at least one electronic device shares at least one screen page; then, the first electronic device may display M+N identifiers on the first screen page, and the M+N identifiers are used to indicate that the first electronic device is locally The M screen pages in the first electronic device and the N screen pages shared by the target electronic device displayed in the extended display of the first electronic device. Wherein, the first screen page is one of the M+N screen pages indicated by the above-mentioned M+N identifiers. Since the target electronic device shares N screen pages with the first electronic device, the first electronic device can expand the N screen pages into the first electronic device while keeping the local M screen pages displayed. The screen page displayed, and the M+N logo is displayed on the first screen page to prompt the user to expand the N screen pages. The user can view and operate the content displayed on the screen of other electronic devices according to the expanded screen page. The local screen page can be called up by sliding, and the content on the local screen page can be quickly and conveniently operated during the screen sharing process.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图8中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 8, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本发明实施例还提供一种电子设备,结合图8,包括处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述屏幕扩展方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device. With reference to FIG. 8, it includes a processor 110, a memory 109, a computer program stored in the memory 109 and running on the processor 110, and the computer program is When 110 is executed, each process of the above-mentioned screen expansion method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述屏幕扩展方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned screen expansion method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (18)

  1. 一种屏幕扩展方法,应用于第一电子设备,所述方法包括:A screen expansion method applied to a first electronic device, the method including:
    确定目标电子设备向所述第一电子设备共享的N个屏幕页面,所述目标电子设备包括至少一个电子设备,所述至少一个电子设备中每个电子设备至少共享一个屏幕页面;Determining N screen pages shared by the target electronic device with the first electronic device, where the target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least one screen page;
    在第一屏幕页面上显示M+N个标识,所述M+N个标识指示所述第一电子设备本地的M个屏幕页面和在所述第一电子设备上扩展显示所述目标电子设备共享的N个屏幕页面,所述第一屏幕页面为所述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面;M+N logos are displayed on the first screen page, and the M+N logos indicate that the M screen pages local to the first electronic device are displayed on the first electronic device and the target electronic device is extended to display the sharing N screen pages in, where the first screen page is one of the M+N screen pages indicated by the M+N identifiers;
    其中,M和N均为正整数。Among them, M and N are both positive integers.
  2. 根据权利要求1所述的方法,其中,所述确定目标电子设备向所述第一电子设备共享的N个屏幕页面之前,所述方法还包括:The method according to claim 1, wherein before the determining the N screen pages shared by the target electronic device with the first electronic device, the method further comprises:
    接收第一输入,所述第一输入触发所述第一电子设备加入屏幕共享组,所述屏幕共享组中包括所述N个屏幕页面;或者,Receiving a first input, the first input triggering the first electronic device to join a screen sharing group, the screen sharing group including the N screen pages; or,
    在所述第一电子设备发起屏幕共享之后,接收第一指示消息,所述第一指示消息指示所述N个屏幕页面加入屏幕共享;After the first electronic device initiates screen sharing, receiving a first instruction message, where the first instruction message instructs the N screen pages to join screen sharing;
    在所述第一电子设备已扩展K个屏幕页面的情况下,接收第二指示消息,所述第二指示消息指示N-K个屏幕页面加入屏幕共享,K为小于N的正整数。In the case that the first electronic device has expanded K screen pages, a second indication message is received, the second indication message instructing N-K screen pages to join screen sharing, and K is a positive integer less than N.
  3. 根据权利要求1所述的方法,其中,所述在第一屏幕页面上显示M+N个标识之前,所述方法还包括:The method according to claim 1, wherein, before the M+N logos are displayed on the first screen page, the method further comprises:
    显示所述第一电子设备待共享的选项,所述待共享的选项包括屏幕选项,或者屏幕选项以及屏幕上的内容的选项;Displaying options to be shared by the first electronic device, where the options to be shared include screen options, or options for screen options and content on the screen;
    接收第二输入;Receive the second input;
    响应于所述第二输入,从所述待共享的确定所述第一电子设备的共享内容。In response to the second input, the shared content of the first electronic device is determined from the to-be-shared.
  4. 根据权利要求1所述的方法,其中,所述在第一屏幕页面上显示M+N个标识之后,所述方法还包括:The method according to claim 1, wherein, after the M+N logos are displayed on the first screen page, the method further comprises:
    接收将所述第一电子设备已安装的第一应用的图标移动到第二屏幕页面的第三输入,所述第二屏幕页面为所述目标电子设备中的第二电子设备共享的一个屏幕页面;Receiving a third input for moving an icon of a first application installed on the first electronic device to a second screen page, the second screen page being a screen page shared by a second electronic device in the target electronic device ;
    响应于所述第三输入,在所述第二电子设备未安装所述第一应用的情况下,执行以下操作中的任意一个:向所述第二电子设备发送所述第一电子设备中的所述第一应用的安装文件,触发所述第二电子设备下载所述第一应用的安装文件,向所述第二电子设备发送安装所述第一应用的提示信息。In response to the third input, in the case where the first application is not installed on the second electronic device, perform any one of the following operations: send to the second electronic device the information in the first electronic device The installation file of the first application triggers the second electronic device to download the installation file of the first application, and sends prompt information for installing the first application to the second electronic device.
  5. 根据权利要求1所述的方法,其中,所述第一屏幕页面上显示M+N个标识之 后,所述方法还包括:The method according to claim 1, wherein after M+N logos are displayed on the first screen page, the method further comprises:
    接收将第三屏幕页面上的第二应用的图标移动到第四屏幕页面的第四输入,所述第三屏幕页面为所述目标电子设备中的第三电子设备共享的一个屏幕页面;Receiving a fourth input of moving an icon of a second application on a third screen page to a fourth screen page, where the third screen page is a screen page shared by a third electronic device in the target electronic device;
    响应于所述第四输入,在所述第一电子设备未安装所述第二应用的情况下,执行以下操作中的任意一个:从所述第三电子设备拷贝所述第二应用的安装文件,下载所述第二应用的安装文件,显示安装所述第二应用的提示信息。In response to the fourth input, if the second application is not installed on the first electronic device, perform any one of the following operations: copy the installation file of the second application from the third electronic device , Download the installation file of the second application, and display prompt information for installing the second application.
  6. 根据权利要求1所述的方法,其中,所述第一屏幕页面上显示M+N个标识之后,所述方法还包括:The method according to claim 1, wherein after M+N logos are displayed on the first screen page, the method further comprises:
    接收将第五屏幕页面上的第三应用的图标移动到第六屏幕页面上的第三应用的图标上的第五输入,共享所述第五屏幕页面的电子设备和共享所述第六屏幕页面的电子设备为不同的电子设备;Receive the fifth input of moving the icon of the third application on the fifth screen page to the icon of the third application on the sixth screen page, share the electronic device of the fifth screen page and share the sixth screen page The electronic devices are different electronic devices;
    响应于所述第五输入,执行以下操作中的其中一个:In response to the fifth input, perform one of the following operations:
    在所述第五屏幕页面为所述第一电子设备的屏幕页面的情况下,向所述第六屏幕页面的电子设备发送所述第三应用的目标信息;In the case that the fifth screen page is the screen page of the first electronic device, sending the target information of the third application to the electronic device of the sixth screen page;
    在所述第五屏幕页面为所述目标电子设备共享的屏幕页面,且所述第六屏幕页面为所述第一电子设备的屏幕页面的情况下,从共享所述第五屏幕页面的电子设备中,获取第三应用的目标信息;In the case where the fifth screen page is a screen page shared by the target electronic device, and the sixth screen page is a screen page of the first electronic device, from the electronic device sharing the fifth screen page , Obtain the target information of the third application;
    在所述第五屏幕页面和所述第六屏幕页面均为所述目标电子设备共享的屏幕页面的情况下,从共享所述第五屏幕页面的电子设备中,获取所述第三应用的配置信息,并向共享所述第六屏幕页面的电子设备发送所述目标信息;In the case that the fifth screen page and the sixth screen page are both screen pages shared by the target electronic device, obtain the configuration of the third application from the electronic device sharing the fifth screen page Information, and send the target information to the electronic device sharing the sixth screen page;
    其中,所述目标信息为应用的版本信息或应用中选项的配置信息。Wherein, the target information is version information of the application or configuration information of options in the application.
  7. 根据权利要求6所述的方法,其中,在所述第五屏幕页面为所述目标电子设备共享的屏幕页面,且所述第六屏幕页面为所述第一电子设备的屏幕页面的情况下,所述方法还包括:The method according to claim 6, wherein, in the case that the fifth screen page is a screen page shared by the target electronic device, and the sixth screen page is a screen page of the first electronic device, The method also includes:
    在所述目标信息为版本信息的情况下,根据获取的所述第三应用的目标信息,更新所述第一电子设备中所述第三应用的版本;In a case where the target information is version information, update the version of the third application in the first electronic device according to the acquired target information of the third application;
    或者,在所述目标信息为应用中第一选项的配置信息的情况下,根据获取的所述第三应用的目标信息,更新所述第一选项的配置。Alternatively, in a case where the target information is the configuration information of the first option in the application, the configuration of the first option is updated according to the acquired target information of the third application.
  8. 一种第一电子设备,所述第一电子设备包括:确定模块和显示模块;A first electronic device, the first electronic device comprising: a determination module and a display module;
    所述确定模块,用于确定目标电子设备向所述第一电子设备共享的N个屏幕页面,所述目标电子设备包括至少一个电子设备,所述至少一个电子设备中每个电子设备至少共享一个屏幕页面;The determining module is configured to determine N screen pages shared by the target electronic device with the first electronic device, the target electronic device includes at least one electronic device, and each of the at least one electronic device shares at least one Screen page
    所述显示模块,用于在第一屏幕页面上显示M+N个标识,所述M+N个标识指示所述第一电子设备本地的M个屏幕页面和所述第一电子设备扩展显示所述目标电子设 备共享的N个屏幕页面;所述第一屏幕页面为所述M+N个标识指示的M+N个屏幕页面中的一个屏幕页面;The display module is configured to display M+N identifiers on a first screen page, the M+N identifiers indicating the M local screen pages of the first electronic device and the extended display of the first electronic device The N screen pages shared by the target electronic device; the first screen page is one of the M+N screen pages indicated by the M+N identifiers;
    其中,M和N均为正整数。Among them, M and N are both positive integers.
  9. 根据权利要求8所述的第一电子设备,其中,所述第一电子设备还包括接收模块;所述接收模块用于,在所述确定模块确定目标电子设备向所述第一电子设备共享N个屏幕页面之前,8. The first electronic device according to claim 8, wherein the first electronic device further comprises a receiving module; the receiving module is configured to determine that the target electronic device shares N with the first electronic device in the determining module Screen pages before
    接收第一输入,所述第一输入触发所述第一电子设备加入屏幕共享组,所述屏幕共享组中包括所述N个屏幕页面;或者,Receiving a first input, the first input triggering the first electronic device to join a screen sharing group, the screen sharing group including the N screen pages; or,
    在所述第一电子设备发起屏幕共享之后,接收第一指示消息,所述第一指示消息指示所述N个屏幕页面加入屏幕共享;或者,After the first electronic device initiates screen sharing, receiving a first instruction message, where the first instruction message instructs the N screen pages to join screen sharing; or,
    在所述第一电子设备已扩展K个屏幕页面的情况下,接收第二指示消息,所述第二指示消息指示N-K个屏幕页面加入屏幕共享,K为小于N的正整数。In the case that the first electronic device has expanded K screen pages, a second indication message is received, the second indication message instructing N-K screen pages to join screen sharing, and K is a positive integer less than N.
  10. 根据权利要求8所述的第一电子设备,其中,所述第一电子设备还包括:接收模块;8. The first electronic device according to claim 8, wherein the first electronic device further comprises: a receiving module;
    所述显示模块,还用于在第一屏幕页面上显示M+N个标识之前,显示所述第一电子设备待共享的共享选项,所述待共享的共享选项包括屏幕选项,或者屏幕选项以及屏幕上的内容的选项;The display module is further configured to display the sharing options to be shared by the first electronic device before displaying the M+N logos on the first screen page, and the sharing options to be shared include screen options, or screen options, and Options for the content on the screen;
    所述接收模块,用于接收第二输入;The receiving module is used to receive a second input;
    所述确定模块,还用于响应于所述接收模块接收的所述第二输入,从所述待共享的确定所述第一电子设备的共享内容。The determining module is further configured to determine the shared content of the first electronic device from the to-be-shared content in response to the second input received by the receiving module.
  11. 根据权利要求8所述的第一电子设备,其中,所述第一电子设备还包括:接收模块和处理模块;8. The first electronic device according to claim 8, wherein the first electronic device further comprises: a receiving module and a processing module;
    所述接收模块,用于在所述显示模块在第一屏幕页面上显示M+N个标识之后,接收将所述第一电子设备已安装的第一应用的图标移动到第二屏幕页面的第三输入,所述第二屏幕页面为所述目标电子设备中的第二电子设备共享的一个屏幕页面;The receiving module is configured to receive the moving of the icon of the first application installed on the first electronic device to the second screen page after the display module displays the M+N logos on the first screen page Three inputs, the second screen page is a screen page shared by the second electronic device in the target electronic device;
    所述处理模块,用于响应于所述接收模块接收的所述第三输入,在所述第二电子设备未安装所述第一应用的情况下,执行以下操作中的任意一个:向所述第二电子设备发送所述第一电子设备中的所述第一应用的安装文件;触发所述第二电子设备下载所述第一应用的安装文件;向所述第二电子设备发送安装所述第一应用的提示信息。The processing module is configured to, in response to the third input received by the receiving module, perform any one of the following operations when the first application is not installed on the second electronic device: The second electronic device sends the installation file of the first application in the first electronic device; triggers the second electronic device to download the installation file of the first application; sends the installation file of the first application to the second electronic device The prompt message of the first application.
  12. 根据权利要求8所述的第一电子设备,其中,所述第一电子设备还包括:接收模块和处理模块;8. The first electronic device according to claim 8, wherein the first electronic device further comprises: a receiving module and a processing module;
    所述接收模块,用于在所述显示模块在第一屏幕页面上显示M+N个标识之后,接收将第三屏幕页面上的第二应用的图标移动到第四屏幕页面的第四输入,所述第三屏幕页面为所述目标电子设备中的第三电子设备共享的一个屏幕页面;The receiving module is configured to receive the fourth input of moving the icon of the second application on the third screen page to the fourth screen page after the display module displays M+N logos on the first screen page, The third screen page is a screen page shared by a third electronic device in the target electronic device;
    所述处理模块,用于响应于所述接收模块接收的所述第四输入,在所述第一电子设备未安装所述第二应用的情况下,执行以下操作中的任意一个:从所述第三电子设备拷贝所述第二应用的安装文件,下载所述第二应用的安装文件,显示安装所述第二应用的提示信息。The processing module is configured to, in response to the fourth input received by the receiving module, perform any one of the following operations when the second application is not installed on the first electronic device: The third electronic device copies the installation file of the second application, downloads the installation file of the second application, and displays prompt information for installing the second application.
  13. 根据权利要求8所述的第一电子设备,其中,所述第一电子设备还包括:接收模块和处理模块;8. The first electronic device according to claim 8, wherein the first electronic device further comprises: a receiving module and a processing module;
    所述接收模块,用于在所述显示模块在第一屏幕页面上显示M+N个标识之后,接收将第五屏幕页面上的第三应用的图标移动到第六屏幕页面上的第三应用的图标上的第五输入,共享所述第五屏幕页面的电子设备和共享所述第六屏幕页面的电子设备为不同的电子设备;The receiving module is configured to receive the third application that moves the icon of the third application on the fifth screen page to the third application on the sixth screen page after the display module displays M+N logos on the first screen page The fifth input on the icon of, the electronic device sharing the fifth screen page and the electronic device sharing the sixth screen page are different electronic devices;
    所述处理模块,用于响应于所述第五输入,执行以下操作中的其中一个:The processing module is configured to perform one of the following operations in response to the fifth input:
    在所述第五屏幕页面为所述第一电子设备的屏幕页面的情况下,向所述第六屏幕页面的电子设备发送所述第三应用的目标信息;In the case that the fifth screen page is the screen page of the first electronic device, sending the target information of the third application to the electronic device of the sixth screen page;
    在所述第五屏幕页面为所述目标电子设备共享的屏幕页面,且所述第六屏幕页面为所述第一电子设备的屏幕页面的情况下,从共享所述第五屏幕页面的电子设备中,获取第三应用的目标信息;In the case where the fifth screen page is a screen page shared by the target electronic device, and the sixth screen page is a screen page of the first electronic device, from the electronic device sharing the fifth screen page , Obtain the target information of the third application;
    在所述第五屏幕页面和所述第六屏幕页面均为所述目标电子设备共享的屏幕页面的情况下,从共享所述第五屏幕页面的电子设备中,获取所述第三应用的配置信息,并向共享所述第六屏幕页面的电子设备发送所述目标信息;In the case that the fifth screen page and the sixth screen page are both screen pages shared by the target electronic device, obtain the configuration of the third application from the electronic device sharing the fifth screen page Information, and send the target information to the electronic device sharing the sixth screen page;
    其中,所述目标信息为应用的版本信息或应用中选项的配置信息。Wherein, the target information is version information of the application or configuration information of options in the application.
  14. 根据权利要求13所述的第一电子设备,其中,所述第一电子设备还包括:更新模块;The first electronic device according to claim 13, wherein the first electronic device further comprises: an update module;
    所述更新模块,用于在所述第五屏幕页面为所述目标电子设备共享的屏幕页面,且所述第六屏幕页面为所述第一电子设备的屏幕页面的情况下,且在所述目标信息为版本信息的情况下,根据获取的所述第三应用的目标信息,更新所述第一电子设备中所示第三应用的版本;或者,The update module is configured to, when the fifth screen page is a screen page shared by the target electronic device, and the sixth screen page is a screen page of the first electronic device, and when the If the target information is version information, update the version of the third application shown in the first electronic device according to the acquired target information of the third application; or,
    所述更新模块,用于在所述第五屏幕页面为所述目标电子设备共享的屏幕页面,且所述第六屏幕页面为所述第一电子设备的屏幕页面的情况下,且在所述目标信息为应用中第一选项的配置信息的情况下,根据获取的所述第三应用的目标信息,更新所述第一选项的配置。The update module is configured to, when the fifth screen page is a screen page shared by the target electronic device, and the sixth screen page is a screen page of the first electronic device, and when the When the target information is the configuration information of the first option in the application, the configuration of the first option is updated according to the acquired target information of the third application.
  15. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的屏幕扩展方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to achieve as claimed in claim 1. To the steps of the screen expansion method described in any one of 7.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所 述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的屏幕扩展方法的步骤。A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the screen expansion method according to any one of claims 1 to 7 are realized.
  17. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至7任一项所述的方法。A computer program product, which is executed by at least one processor to implement the method according to any one of claims 1 to 7.
  18. 一种屏幕扩展装置,包括所述屏幕扩展装置设备被配置成用于执行如权利要求1至7任一项所述的屏幕扩展方法。A screen expansion device, comprising the screen expansion device device configured to execute the screen expansion method according to any one of claims 1 to 7.
PCT/CN2021/087352 2020-04-17 2021-04-15 Screen extension method and electronic device WO2021208991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010307758.5A CN111596875B (en) 2020-04-17 2020-04-17 Screen expansion method and electronic equipment
CN202010307758.5 2020-04-17

Publications (1)

Publication Number Publication Date
WO2021208991A1 true WO2021208991A1 (en) 2021-10-21

Family

ID=72188992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/087352 WO2021208991A1 (en) 2020-04-17 2021-04-15 Screen extension method and electronic device

Country Status (2)

Country Link
CN (1) CN111596875B (en)
WO (1) WO2021208991A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596875B (en) * 2020-04-17 2022-09-13 维沃移动通信有限公司 Screen expansion method and electronic equipment
CN112416199B (en) * 2020-11-25 2023-02-03 维沃移动通信有限公司 Control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446680A (en) * 2015-11-11 2016-03-30 上海斐讯数据通信技术有限公司 Screen mirroring and extension methods and systems and terminal device
CN110471639A (en) * 2019-07-23 2019-11-19 华为技术有限公司 Display methods and relevant apparatus
CN110673782A (en) * 2019-08-29 2020-01-10 华为技术有限公司 Control method applied to screen projection scene and related equipment
US10567480B2 (en) * 2013-11-26 2020-02-18 Microsoft Technology Licensing, Llc Remote control of a shared application
CN111596875A (en) * 2020-04-17 2020-08-28 维沃移动通信有限公司 Screen expansion method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101741551B1 (en) * 2010-12-20 2017-06-15 엘지전자 주식회사 Mobile terminal and Method for controlling application thereof
KR101943987B1 (en) * 2011-12-06 2019-04-17 삼성전자주식회사 System and method for sharing page by device
KR20150051292A (en) * 2013-11-01 2015-05-12 삼성전자주식회사 Method for sharing contents and electronic device thereof
KR102173110B1 (en) * 2014-05-07 2020-11-02 삼성전자주식회사 Wearable device and controlling method thereof
CN105389175A (en) * 2015-09-25 2016-03-09 深圳市金立通信设备有限公司 Application program sharing method and mobile terminal
CN106686536A (en) * 2017-02-23 2017-05-17 厦门美图移动科技有限公司 Terminal application sharing method and apparatus
KR20190032754A (en) * 2017-09-20 2019-03-28 주식회사 텔레포트나인 A layer sharing system in which the screen is displayed uniformly using the same coordinate interval regardless of the device size
CN107943489B (en) * 2017-11-14 2019-12-17 维沃移动通信有限公司 Data sharing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10567480B2 (en) * 2013-11-26 2020-02-18 Microsoft Technology Licensing, Llc Remote control of a shared application
CN105446680A (en) * 2015-11-11 2016-03-30 上海斐讯数据通信技术有限公司 Screen mirroring and extension methods and systems and terminal device
CN110471639A (en) * 2019-07-23 2019-11-19 华为技术有限公司 Display methods and relevant apparatus
CN110673782A (en) * 2019-08-29 2020-01-10 华为技术有限公司 Control method applied to screen projection scene and related equipment
CN111596875A (en) * 2020-04-17 2020-08-28 维沃移动通信有限公司 Screen expansion method and electronic equipment

Also Published As

Publication number Publication date
CN111596875B (en) 2022-09-13
CN111596875A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
WO2021197263A1 (en) Content sharing method and electronic device
WO2021083052A1 (en) Object sharing method and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2019174611A1 (en) Application configuration method and mobile terminal
WO2020181942A1 (en) Icon control method and terminal device
WO2021136133A1 (en) Application switching method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2020215949A1 (en) Object processing method and terminal device
WO2021169959A1 (en) Application starting method and electronic device
WO2021012931A1 (en) Icon management method and terminal
WO2021083087A1 (en) Screen capturing method and terminal device
WO2020238351A1 (en) Application downloading and classification method and terminal device
WO2020151525A1 (en) Message sending method, and terminal device
WO2019149028A1 (en) Application download method and terminal
WO2020156123A1 (en) Information processing method and terminal device
WO2021129536A1 (en) Icon moving method and electronic device
WO2020182035A1 (en) Image processing method and terminal device
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2020215969A1 (en) Content input method and terminal device
WO2020215991A1 (en) Display control method and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2021121265A1 (en) Camera starting method and electronic device
WO2020181954A1 (en) Application program control method and terminal device
WO2021083131A1 (en) Display method and terminal device
WO2021136183A1 (en) Paste control method and electronic device

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: 21787926

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21787926

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.04.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21787926

Country of ref document: EP

Kind code of ref document: A1