+

CN112738774B - Application sharing method, device, terminal and computer readable storage medium - Google Patents

Application sharing method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112738774B
CN112738774B CN202011645289.4A CN202011645289A CN112738774B CN 112738774 B CN112738774 B CN 112738774B CN 202011645289 A CN202011645289 A CN 202011645289A CN 112738774 B CN112738774 B CN 112738774B
Authority
CN
China
Prior art keywords
terminal
application
sharing
target
content corresponding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011645289.4A
Other languages
Chinese (zh)
Other versions
CN112738774A (en
Inventor
高文波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011645289.4A priority Critical patent/CN112738774B/en
Publication of CN112738774A publication Critical patent/CN112738774A/en
Application granted granted Critical
Publication of CN112738774B publication Critical patent/CN112738774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application belongs to the technical field of communication, and particularly relates to an application sharing method, an application sharing device, a terminal and a computer readable storage medium, wherein the application sharing method comprises the following steps: receiving an opening operation of an application sharing function of the first terminal; establishing communication connection with a second terminal according to the opening operation; based on the communication connection, sharing application contents corresponding to one or more target applications of the first terminal to the second terminal through a virtual screen, and hiding display of the application contents corresponding to the target applications in a display interface of the first terminal; the application sharing method can be beneficial to a user to use the application sharing function of the terminal more flexibly, meets the sharing requirements of various applications, and solves the problem that the mode of realizing application sharing by the terminal in the traditional technology is too single.

Description

应用共享方法、装置、终端及计算机可读存储介质Application sharing method, device, terminal and computer-readable storage medium

技术领域technical field

本申请属于通信技术领域,尤其涉及一种应用共享方法、装置、终端及计算机可读存储介质。The present application belongs to the technical field of communication, and in particular relates to an application sharing method, device, terminal and computer-readable storage medium.

背景技术Background technique

随着计算机技术的发展,本地终端可以通过与其他终端建立通信连接的方式,实现终端的应用共享。With the development of computer technology, a local terminal can realize terminal application sharing by establishing a communication connection with other terminals.

然而,目前,终端实现应用共享的方式过于单一,无法满足不同用户的需求。However, at present, the way for the terminal to implement application sharing is too single, which cannot meet the needs of different users.

发明内容Contents of the invention

本申请实施例提供一种应用共享方法、装置、终端及计算机可读存储介质,可以在一定程度上解决终端实现应用共享的方式过于单一的问题。Embodiments of the present application provide an application sharing method, device, terminal, and computer-readable storage medium, which can solve the problem that the way for a terminal to implement application sharing is too single to a certain extent.

本申请实施例第一方面提供一种应用共享方法,应用于第一终端,包括:The first aspect of the embodiments of the present application provides an application sharing method applied to a first terminal, including:

接收对所述第一终端的应用共享功能的开启操作;receiving an operation of enabling the application sharing function of the first terminal;

根据所述开启操作与第二终端建立通信连接;establishing a communication connection with the second terminal according to the opening operation;

基于所述通信连接,将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并在所述第一终端的显示界面中隐藏对所述目标应用对应的应用内容的显示。Based on the communication connection, the application content corresponding to one or more target applications of the first terminal is shared with the second terminal through a virtual screen, and the target application is hidden in the display interface of the first terminal The application content corresponding to the application is displayed.

本申请实施例第二方面提供一种应用共享装置,该应用共享装置配置于第一终端,包括:The second aspect of the embodiment of the present application provides an application sharing device, the application sharing device is configured on a first terminal, including:

接收单元,用于接收对所述第一终端的应用共享功能的开启操作;a receiving unit, configured to receive an operation to enable the application sharing function of the first terminal;

连接单元,用于根据所述开启操作与第二终端建立通信连接;a connection unit, configured to establish a communication connection with the second terminal according to the opening operation;

共享单元,用于基于所述通信连接,将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并在所述第一终端的显示界面中隐藏对所述目标应用对应的应用内容的显示。A sharing unit, configured to share the application content corresponding to one or more target applications of the first terminal to the second terminal through a virtual screen based on the communication connection, and display the content in the display interface of the first terminal The display of the application content corresponding to the target application is hidden.

本申请实施例第三方面提供一种终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述方法的步骤。The third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the steps of the foregoing method are implemented.

本申请实施例第四方面提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现上述方法的步骤。A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing method are implemented.

本申请实施例中,由于上述目标应用可以是第一终端上的部分应用,即,本申请的应用共享方法可以只对第一终端上任意的一个或多个目标应用进行应用共享,而不需要将第一终端的全部应用均分享给第二终端,并且,本申请通过在所述第一终端的显示界面中隐藏所述目标应用对应的应用内容的显示,使得第一终端在将一个或多个目标应用共享给第二终端的过程中,可以相当于第一终端上运行的除目标应用以外的应用与第二终端上显示的目标应用对应的应用内容不存在关联;类似目标应用在第二终端上单独被运行的效果,进而使得第一终端可以正常地使用其他应用,不受第二终端对目标应用的操作的影响。因而,本申请的应用共享方法相比于第一终端只能与第二终端同时运行相同应用的应用共享方法,可以有利于用户更加灵活地使用终端的应用共享功能,满足用户的多种应用共享需求,解决了传统技术中终端实现应用共享的方式过于单一的问题。In the embodiment of the present application, since the above-mentioned target application may be a part of the application on the first terminal, that is, the application sharing method of the present application may only perform application sharing on any one or more target applications on the first terminal without requiring All the applications of the first terminal are shared with the second terminal, and the present application hides the display of the application content corresponding to the target application in the display interface of the first terminal, so that the first terminal uses one or more In the process of sharing a target application with the second terminal, it may be equivalent to that there is no relationship between the applications other than the target application running on the first terminal and the application content corresponding to the target application displayed on the second terminal; The effect of being run independently on the terminal makes it possible for the first terminal to use other applications normally without being affected by the operation of the target application by the second terminal. Therefore, compared with the application sharing method in which the first terminal and the second terminal can only run the same application at the same time, the application sharing method of the present application can help the user to use the application sharing function of the terminal more flexibly, and satisfy the user's various application sharing requirements. It solves the problem that in the traditional technology, the way for terminals to realize application sharing is too single.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that are required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and thus It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.

图1是本申请实施例提供的一种应用共享方法的第一实现流程示意图;FIG. 1 is a schematic diagram of a first implementation flow of an application sharing method provided in an embodiment of the present application;

图2是本申请实施例提供的第一数据设置界面的示意图;Fig. 2 is a schematic diagram of the first data setting interface provided by the embodiment of the present application;

图3是本申请实施例提供的第二数据设置界面的示意图;Fig. 3 is a schematic diagram of the second data setting interface provided by the embodiment of the present application;

图4是本申请实施例提供的一种应用共享方法步骤102的具体实现流程示意图;FIG. 4 is a schematic diagram of a specific implementation flow of step 102 of an application sharing method provided by an embodiment of the present application;

图5是本申请实施例提供的一种应用共享方法步骤103的具体实现流程示意图;FIG. 5 is a schematic diagram of a specific implementation flow of step 103 of an application sharing method provided by an embodiment of the present application;

图6是本申请实施例提供的一种应用共享方法的第二实现流程示意图;FIG. 6 is a schematic diagram of a second implementation flow of an application sharing method provided by an embodiment of the present application;

图7是本申请实施例提供的第一终端的显示界面的第一示意图;FIG. 7 is a first schematic diagram of a display interface of a first terminal provided in an embodiment of the present application;

图8是本申请实施例提供的第一终端的显示界面的第二示意图;FIG. 8 is a second schematic diagram of a display interface of a first terminal provided in an embodiment of the present application;

图9是本申请实施例提供的一种应用共享方法的第三实现流程示意图;FIG. 9 is a schematic flowchart of a third implementation of an application sharing method provided by an embodiment of the present application;

图10是本申请实施例提供的第一终端的显示界面的第三示意图;FIG. 10 is a third schematic diagram of a display interface of a first terminal provided in an embodiment of the present application;

图11是本申请实施例提供的应用共享装置的结构示意图;FIG. 11 is a schematic structural diagram of an application sharing device provided by an embodiment of the present application;

图12是本申请实施例提供的第一终端的结构示意图。FIG. 12 is a schematic structural diagram of a first terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other features. , whole, step, operation, element, component and/or the presence or addition of a collection thereof.

还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise.

目前,本地终端在与其他终端建立通信连接,实现应用共享的过程中,通常是通过录制本地终端的显示画面以及系统声音,并将录制的显示画面以及系统声音实时发送给其他终端的方式实现。然而,这种实现方式需要将本地终端的全部显示画面共享给其他终端,并且本地终端与其他终端需要保持同步,即,本地终端只能与其他终端同时运行相同的应用,本地终端无法再正常地运行其他应用,存在应用共享的方式过于单一的问题,无法满足不同用户的需求。At present, in the process of establishing a communication connection with other terminals and realizing application sharing, the local terminal usually records the display screen and system sound of the local terminal, and sends the recorded display screen and system sound to other terminals in real time. However, this implementation method needs to share all the display screens of the local terminal with other terminals, and the local terminal needs to be synchronized with other terminals, that is, the local terminal can only run the same application with other terminals at the same time, and the local terminal can no longer normally When running other applications, there is a problem that the application sharing method is too single, which cannot meet the needs of different users.

基于上述问题,本申请实施例提供一种应用共享方法、装置、终端及计算机可读存储介质,可以在一定程度上解决终端实现应用共享的方式过于单一的问题,有利于用户更加灵活地使用终端的应用共享功能,满足用户不同的应用共享需求。为了说明本申请的技术方案,下面通过具体实施例来进行说明。Based on the above problems, the embodiments of the present application provide an application sharing method, device, terminal, and computer-readable storage medium, which can solve the problem that the terminal implements application sharing in a single way to a certain extent, and help users use the terminal more flexibly The application sharing function meets the different application sharing needs of users. In order to illustrate the technical solution of the present application, specific examples are used below to illustrate.

如图1示出了本申请实施例提供的一种应用共享方法的实现流程示意图,该方法应用于第一终端,可以由第一终端上配置的应用共享装置执行。FIG. 1 shows a schematic flowchart of an implementation of an application sharing method provided by an embodiment of the present application. The method is applied to a first terminal and may be executed by an application sharing device configured on the first terminal.

其中,上述第一终端可以为智能手机、平板电脑、个人电脑(PC)、学习机等智能终端,并且,该第一终端可以为上述本地终端,即,提供目标应用的终端,该目标应用可以为浏览器、社交类应用、电子书阅读应用、视频播放器、音频播放器、游戏类应用、支付类应用等应用程序。该应用共享方法可以包括步骤101至步骤103,详述如下:Wherein, the above-mentioned first terminal may be a smart terminal such as a smart phone, a tablet computer, a personal computer (PC), a learning machine, etc., and the first terminal may be the above-mentioned local terminal, that is, a terminal providing a target application, and the target application may be For applications such as browsers, social applications, e-book reading applications, video players, audio players, game applications, and payment applications. The application sharing method may include steps 101 to 103, which are described in detail as follows:

步骤101,接收对所述第一终端的应用共享功能的开启操作。Step 101, receiving an operation of enabling an application sharing function of the first terminal.

本申请实施例中,上述第一终端的应用共享功能可以为第一终端在出厂时配置的功能,并且,该应用共享功能可以被添加至第一终端的状态栏、通知栏或数据设置界面中。In the embodiment of the present application, the above-mentioned application sharing function of the first terminal may be a function configured by the first terminal when it leaves the factory, and the application sharing function may be added to the status bar, notification bar or data setting interface of the first terminal .

例如,如图2所示,为本申请实施例提供的第一数据设置界面的示意图,上述接收对所述第一终端的应用共享功能的开启操作可以包括:接收对所述第一终端的数据设置界面21的应用共享功能设置控件22的开启操作(例如,该开启操作为向右滑动应用共享功能设置控件22,或点击应用共享功能设置控件22),开启所述第一终端的应用共享功能。For example, as shown in FIG. 2 , which is a schematic diagram of the first data setting interface provided in the embodiment of the present application, the above-mentioned receiving operation of enabling the application sharing function of the first terminal may include: receiving data of the first terminal The opening operation of the application sharing function setting control 22 of the setting interface 21 (for example, the opening operation is sliding the application sharing function setting control 22 to the right, or clicking the application sharing function setting control 22), and the application sharing function of the first terminal is opened. .

又例如,如图3所示,为本申请实施例提供的第二数据设置界面的示意图,上述接收对所述第一终端的应用共享功能的开启操作还可以包括:接收对所述第一终端的数据设置界面31的应用共享功能开启控件32的点击操作,开启所述第一终端的应用共享功能。For another example, as shown in FIG. 3 , which is a schematic diagram of the second data setting interface provided by the embodiment of the present application, the above-mentioned reception of enabling the application sharing function of the first terminal may also include: receiving an operation of opening the application sharing function of the first terminal. The application sharing function enabling control 32 of the data setting interface 31 is clicked to enable the application sharing function of the first terminal.

需要说明的是,上述仅仅是对应用共享功能的开启操作的触发方式进行举例说明,不表示为对本申请保护范围的限制,在本申请的其他实施方式中,还可以采用其他方式触发上述应用共享功能的开启操作。It should be noted that the above is only an example of how to trigger the opening operation of the application sharing function, and is not meant to limit the scope of protection of this application. In other implementations of this application, other methods can be used to trigger the above application sharing. The opening operation of the function.

步骤102,根据所述开启操作与第二终端建立通信连接。Step 102, establish a communication connection with the second terminal according to the opening operation.

本申请实施例中,当接收到用户对所述第一终端的应用共享功能的开启操作时,表示用户需要与其他终端(第二终端)进行应用共享,因而,需要与第二终端建立通信连接。In the embodiment of the present application, when receiving the user's operation to enable the application sharing function of the first terminal, it means that the user needs to perform application sharing with other terminals (second terminals), and thus needs to establish a communication connection with the second terminal .

其中,上述第二终端是指接受应用共享的终端。同样的,上述第二终端也可以为智能手机、平板电脑、个人电脑(PC)、学习机等智能终端。Wherein, the above-mentioned second terminal refers to a terminal that accepts application sharing. Similarly, the above-mentioned second terminal may also be an intelligent terminal such as a smart phone, a tablet computer, a personal computer (PC), and a learning machine.

可选的,在本申请的一些实施方式中,如图4所示,上述步骤102可以通过步骤401至步骤402实现。Optionally, in some implementation manners of the present application, as shown in FIG. 4 , the foregoing step 102 may be implemented through steps 401 to 402.

步骤401,根据所述开启操作接收第二终端选择指令;所述第二终端选择指令用于确定需要进行应用共享的一个或多个第二终端;Step 401, receiving a second terminal selection instruction according to the opening operation; the second terminal selection instruction is used to determine one or more second terminals that need to perform application sharing;

本实施例中,第一终端在接收到用户对所述第一终端的应用共享功能的开启操作之后,可以处于接收第二终端选择指令的状态。In this embodiment, the first terminal may be in a state of receiving a second terminal selection instruction after receiving the user's operation of enabling the application sharing function of the first terminal.

为了更好地确定用户想要进行应用共享的第二终端,在本申请的一些实施方式中,上述根据所述开启操作接收第二终端选择指令,确定需要进行应用共享的一个或多个第二终端可以包括:根据上述开启操作加载第二终端选择界面,并接收用户在所述第二终端选择界面触发的第二终端选择指令的方式,确定需要进行应用共享的第二终端;或者,根据上述开启操作加载第二终端识别信息输入界面,并接收用户输入的第二终端识别信息的方式,确定需要进行应用共享的第二终端;或者,根据上述开启操作接收用户通过语音输入的第二终端选择指令的方式,确定需要进行应用共享的第二终端;又或者,通过蓝牙配对、ZigBee技术和基于WiFi通信协议的近距离通信方式,将与上述第一终端配对成功的第二终端确定为需要进行应用共享的第二终端。In order to better determine the second terminal that the user wants to perform application sharing, in some embodiments of the present application, the above-mentioned receiving a second terminal selection instruction according to the opening operation determines one or more second terminals that need to perform application sharing. The terminal may include: loading a second terminal selection interface according to the above opening operation, and receiving a second terminal selection instruction triggered by the user on the second terminal selection interface to determine the second terminal that needs to share the application; or, according to the above The opening operation loads the second terminal identification information input interface, and receives the second terminal identification information input by the user to determine the second terminal that needs to share the application; or, according to the above opening operation, receive the second terminal selection input by the user through voice Instructions are used to determine the second terminal that needs to share the application; or, through Bluetooth pairing, ZigBee technology and short-distance communication based on the WiFi communication protocol, the second terminal that is successfully paired with the above-mentioned first terminal is determined as the second terminal that needs to be shared. A second terminal for application sharing.

其中,上述第二终端识别信息可以为第二终端的SIM卡信息、ip地址、物理地址等可以对终端进行标识的信息。Wherein, the above-mentioned second terminal identification information may be information such as SIM card information, ip address, and physical address of the second terminal that can identify the terminal.

需要说明的是,此处仅仅是对第二终端选择指令的触发方式进行举例说明,不表示为对本申请保护范围的限制,在本申请的其他实施方式中,还可以采用其他方式触发上述第二终端选择指令,以确定用户需要进行应用共享的第二终端。并且,本申请通过一次性确定需要进行应用共享的多个第二终端,可以实现与多个第二终端同时进行应用共享,因而,可以提高应用共享的效率。It should be noted that this is only an example of the triggering method of the second terminal selection instruction, and is not meant to limit the scope of protection of this application. In other implementations of this application, other methods can also be used to trigger the second terminal The terminal selection instruction is used to determine the second terminal that the user needs to share the application with. In addition, the present application can realize simultaneous application sharing with multiple second terminals by determining multiple second terminals that need to share applications at one time, thus improving the efficiency of application sharing.

步骤402,向所述一个或多个第二终端发送通信连接请求,并根据接收到的所述一个或多个第二终端返回的确认连接消息完成与所述一个或多个第二终端的通信连接。Step 402: Send a communication connection request to the one or more second terminals, and complete the communication with the one or more second terminals according to the received confirmation connection message returned by the one or more second terminals connect.

本申请实施例中,由于第一终端根据所述开启操作与第二终端建立通信连接时,第二终端有可能存在需要拒绝与第一终端建立通信连接的终端,因此,为了尊重与第一终端建立通信连接的第二终端的用户的意愿,在第一终端与所述第二终端建立通信连接的过程中,第一终端可以先向第二终端发送通信连接请求,并接收第二终端的用户在第二终端上触发接受通信连接指令之后,由第二终端返回的确认连接消息,以完成与所述第二终端的通信连接。In this embodiment of the present application, since the first terminal establishes a communication connection with the second terminal according to the opening operation, there may be terminals in the second terminal that need to refuse to establish a communication connection with the first terminal. Therefore, in order to respect the connection with the first terminal At the will of the user of the second terminal that establishes a communication connection, during the process of establishing a communication connection between the first terminal and the second terminal, the first terminal may first send a communication connection request to the second terminal, and receive a communication request from the user of the second terminal. After the instruction to accept the communication connection is triggered on the second terminal, a connection confirmation message is returned by the second terminal to complete the communication connection with the second terminal.

需要说明的是,在本申请的一些实施方式中,上述步骤102中,根据所述开启操作与第二终端建立通信连接,还可以是指,第一终端在接收到对所述第一终端的应用共享功能的开启操作之后,根据该开启操作,接收第二终端发送的通信连接请求,并根据所述通信连接请求接收确认连接操作指令,并根据接收到的确认连接操作指令向所述第二终端返回确认连接消息,完成与所述一个或多个第二终端的通信连接。It should be noted that, in some embodiments of the present application, in step 102 above, establishing a communication connection with the second terminal according to the opening operation may also mean that the first terminal After the opening operation of the application sharing function, according to the opening operation, the communication connection request sent by the second terminal is received, and the confirmation connection operation instruction is received according to the communication connection request, and the second terminal is sent to the second terminal according to the received confirmation connection operation instruction. The terminal returns a connection confirmation message to complete the communication connection with the one or more second terminals.

也就是说,上述步骤102中,第一终端与第二终端之间的通信连接,可以是第一终端发起的,也可以是第二终端发起的,本申请对此不作限制。That is to say, in the above step 102, the communication connection between the first terminal and the second terminal may be initiated by the first terminal or initiated by the second terminal, which is not limited in this application.

应理解的是,上述仅仅是对步骤102的具体实现进行举例说明,并不表示为对本申请保护范围的限制。It should be understood that, the above is only an example of the specific implementation of step 102, and is not meant to limit the protection scope of the present application.

其中,上述步骤102根据所述开启操作与第二终端建立通信连接,还可以是指第一终端与第二终端在应用共享功能的开启操作之前建立通信连接。Wherein, the above step 102 establishes a communication connection with the second terminal according to the opening operation, may also refer to establishing a communication connection between the first terminal and the second terminal before the opening operation of the application sharing function.

例如,第一终端接收对所述第一终端的应用共享功能的开启操作,并响应于所述开启操作将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并且,所述目标应用对应的应用内容在所述第一终端的显示界面中被隐藏。For example, the first terminal receives an operation to enable the application sharing function of the first terminal, and in response to the activation operation, shares the application content corresponding to one or more target applications of the first terminal to all the applications through the virtual screen. The second terminal, and the application content corresponding to the target application is hidden in the display interface of the first terminal.

步骤103,基于所述通信连接,将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并在所述第一终端的显示界面中隐藏所述目标应用对应的应用内容的显示。Step 103, based on the communication connection, share the application content corresponding to one or more target applications of the first terminal with the second terminal through a virtual screen, and hide all the application contents in the display interface of the first terminal. displaying application content corresponding to the target application.

需要说明的是,绘制在虚拟屏上的目标应用对应的应用内容是不为用户所见的,并且,上述目标应用对应的应用内容可以包括用于显示目标应用的图标的显示界面,以及用于显示目标应用启动之后加载的各个显示界面。It should be noted that the application content corresponding to the target application drawn on the virtual screen is not visible to the user, and the above application content corresponding to the target application may include a display interface for displaying an icon of the target application, and a display interface for Each display interface loaded after the target application is started is displayed.

本申请实施例中,由于第一终端在将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端的过程中,可以根据用户在第一终端上任意选择的一个或多个目标应用进行应用共享,而不需要将第一终端的全部应用均分享给第二终端,同时,本申请通过在所述第一终端的显示界面中隐藏所述目标应用对应的应用内容的显示,使得第一终端在将一个或多个目标应用共享给第二终端的过程中,可以相当于第一终端上运行的应用与第二终端上运行的应用不存在关联;类似目标应用在第二终端上单独被运行的效果,进而使得第一终端可以正常地使用其他应用,不受第二终端对目标应用的操作的影响,即,第一终端与第二终端的显示画面可以不需要保持同步,并且第一终端上可以运行除目标应用以外的应用,因而,本申请的应用共享方法可以有利于用户更加灵活地使用终端的应用共享功能,满足用户不同的应用共享需求,在一定程度上解决了传统技术中终端实现应用共享的方式过于单一的问题。In this embodiment of the present application, since the first terminal shares the application content corresponding to one or more target applications of the first terminal to the second terminal through the virtual screen, it can One or more target applications selected arbitrarily share the application without sharing all the applications of the first terminal to the second terminal. At the same time, this application hides the target application in the display interface of the first terminal The corresponding application content is displayed, so that when the first terminal shares one or more target applications with the second terminal, it can be equivalent to that there is no relationship between the application running on the first terminal and the application running on the second terminal; Similar to the effect that the target application is run independently on the second terminal, so that the first terminal can normally use other applications without being affected by the operation of the second terminal on the target application, that is, the display of the first terminal and the second terminal The screen does not need to be synchronized, and applications other than the target application can be run on the first terminal. Therefore, the application sharing method of the present application can help the user to use the application sharing function of the terminal more flexibly, and meet different application sharing needs of the user. , to a certain extent, solves the problem that the terminal implements application sharing in the traditional technology is too single.

具体的,在本申请的一些实施方式中,所述第一终端可以在所述将所述目标应用对应的应用内容通过虚拟屏共享给所述第二终端之前,接收应用选择指令,以确定所述第一终端需要进行应用共享的一个或多个目标应用。Specifically, in some embodiments of the present application, the first terminal may receive an application selection instruction before sharing the application content corresponding to the target application to the second terminal through a virtual screen, so as to determine the One or more target applications for which the first terminal needs to perform application sharing.

例如,在接收到用户对所述第一终端的应用共享功能的开启操作时,第一终端可以处于接收应用选择指令的状态,以接收用户触发的应用选择指令。For example, when receiving a user's activation operation on the application sharing function of the first terminal, the first terminal may be in a state of receiving an application selection instruction, so as to receive the application selection instruction triggered by the user.

为了更好地确定用户想要进行共享的应用(目标应用),在本申请的一些实施方式中,上述接收应用选择指令可以包括:根据上述开启操作加载应用选择界面,并接收用户在所述应用选择界面触发的应用选择指令的方式,确定需要进行共享的目标应用;或者,根据上述开启操作接收用户通过语音输入的应用选择指令的方式,确定需要进行共享的目标应用。其中,上述应用选择界面加载有应用图标,用户可以通过选中该应用图标的方式触发的应用选择指令。In order to better determine the application (target application) that the user wants to share, in some embodiments of the present application, the above-mentioned receiving the application selection instruction may include: loading the application selection interface according to the above-mentioned opening operation, and receiving the The method of selecting the application selection command triggered by the interface determines the target application that needs to be shared; or, according to the above-mentioned method of receiving the application selection command input by the user through voice through the opening operation, determines the target application that needs to be shared. Wherein, the application selection interface is loaded with an application icon, and the user can trigger an application selection instruction by selecting the application icon.

可选的,在本申请的一些实施方式中,第一终端还可以先接收应用选择指令,在应用选择指令接收完成之后,直接处于接收对所述第一终端的应用共享功能的开启操作的状态,或者接收第二终端选择指令的状态,本申请对此不做限制。Optionally, in some embodiments of the present application, the first terminal may also first receive the application selection instruction, and after the application selection instruction is received, it is directly in the state of receiving the opening operation of the application sharing function of the first terminal , or the state of receiving the second terminal selection instruction, which is not limited in this application.

另外,本申请实施例中,第一终端在进行应用分享的过程中,还可以根据需要,运行除目标应用以外的应用,而不受目标应用的影响。In addition, in the embodiment of the present application, during the application sharing process, the first terminal may run applications other than the target application as required without being affected by the target application.

例如,第一终端的用户只想将第一终端上的其中“应用1”和“应用2”共享给第二终端时,可以基于与第二终端的通信连接,将“应用1”和“应用2”对应的应用内容通过虚拟屏发送给所述第二终端,由第二终端进行显示,在所述第一终端的显示界面中取消对所述目标应用对应的应用内容的显示,使得第一终端可以正常地运行其他应用,例如,第一终端可以正常地运行“应用3”和“应用4”,不受第二终端对“应用1”和“应用2”的操作的影响。For example, when the user of the first terminal only wants to share "Application 1" and "Application 2" on the first terminal with the second terminal, he can share "Application 1" and "Application 2" based on the communication connection with the second terminal. The application content corresponding to 2" is sent to the second terminal through the virtual screen, and is displayed by the second terminal, and the display of the application content corresponding to the target application is canceled on the display interface of the first terminal, so that the first The terminal can normally run other applications, for example, the first terminal can normally run "application 3" and "application 4", without being affected by the operation of "application 1" and "application 2" by the second terminal.

可选的,如图5所示,在本申请的一些实施方式中,上述步骤103,基于所述通信连接,将所述目标应用对应的应用内容通过虚拟屏共享给所述第二终端,可以包括:步骤501至步骤502。Optionally, as shown in FIG. 5 , in some implementations of the present application, the above step 103, based on the communication connection, shares the application content corresponding to the target application with the second terminal through a virtual screen, which may It includes: step 501 to step 502.

步骤501,接收所述第二终端对所述目标应用发起的操作指令。Step 501, receiving an operation instruction initiated by the second terminal on the target application.

其中,上述接收所述第二终端对所述目标应用发起的操作指令可以包括:接收所述第二终端对所述目标应用发起的应用启动指令、应用关闭指令以及在目标应用启动之后加载的各个操作界面上触发的操作指令。Wherein, the above-mentioned receiving the operation instruction initiated by the second terminal to the target application may include: receiving the application startup instruction, the application shutdown instruction, and each application loaded after the target application is started. The operation command triggered on the operation interface.

步骤502,根据所述操作指令,在所述第一终端运行所述目标应用,并在所述第一终端的虚拟屏加载所述目标应用对应的应用内容;基于所述通信连接,将所述第一终端的虚拟屏加载的所述目标应用对应的应用内容发送给所述第二终端。Step 502: Run the target application on the first terminal according to the operation instruction, and load the application content corresponding to the target application on the virtual screen of the first terminal; The application content corresponding to the target application loaded on the virtual screen of the first terminal is sent to the second terminal.

例如,上述操作指令为通过点击所述目标应用的应用图标触发的应用启动指令,则上述第一终端在接收到所述第二终端对所述目标应用发起的应用启动指令时,启动相应的目标应用,并在所述第一终端的虚拟屏加载所述目标应用的启动界面,接着,将所述第一终端的虚拟屏加载的所述目标应用的启动界面发送给第二终端,以便在第二终端的显示界面上显示该启动界面,进而实现类似在第二终端上直接运行该目标应用的效果;使得第一终端在将一个或多个目标应用共享给第二终端的过程中,可以相当于第一终端上运行的应用与第二终端上运行的应用不存在关联;进而使得第一终端可以正常地使用其他应用,不受第二终端对目标应用的操作的影响。For example, if the above operation instruction is an application start instruction triggered by clicking the application icon of the target application, then the first terminal starts the corresponding target application when receiving the application start instruction initiated by the second terminal for the target application. application, and load the startup interface of the target application on the virtual screen of the first terminal, and then send the startup interface of the target application loaded on the virtual screen of the first terminal to the second terminal, so that at the The start-up interface is displayed on the display interface of the second terminal, thereby achieving an effect similar to directly running the target application on the second terminal; so that the first terminal can share one or more target applications with the second terminal. The application running on the first terminal is not associated with the application running on the second terminal; thus, the first terminal can normally use other applications without being affected by the second terminal's operation on the target application.

也就是说,第一终端在将所述目标应用对应的应用内容通过虚拟屏共享给所述第二终端时,需要在第一终端上运行该目标应用,但是,不在第一终端上显示,而只在第二终端上显示。That is to say, when the first terminal shares the application content corresponding to the target application with the second terminal through the virtual screen, the target application needs to be run on the first terminal, but the target application is not displayed on the first terminal, but Displayed only on the second terminal.

然而,由于第一终端的用户在将目标应用共享给第二终端之后,有可能在运行其他应用的同时,还需要查看第二终端对目标应用执行的操作,为了不影响第一终端上其他应用的运行,在本申请的一些实施方式中,在上述步骤103之后,第一终端可以将所述目标应用对应的应用内容作为增强现实的虚拟显示内容在所述第一终端显示。However, after sharing the target application to the second terminal, the user of the first terminal may need to view the operations performed by the second terminal on the target application while running other applications, in order not to affect other applications on the first terminal In some embodiments of the present application, after the above step 103, the first terminal may display the application content corresponding to the target application as augmented reality virtual display content on the first terminal.

也就是说,本申请可以通过增强现实的方式在第一终端显示目标应用对应的应用内容,而不影响第一终端上运行的除目标应用以外的应用。That is to say, the present application can display the application content corresponding to the target application on the first terminal in an augmented reality manner, without affecting applications other than the target application running on the first terminal.

其中,增强现实(Augmented Reality,AR)是把虚拟信息(虚拟显示内容)通过模拟仿真后再叠加到现实世界(实景显示内容)被人类感官所感知,从而达到超现实的感官体验的一项技术。Among them, augmented reality (Augmented Reality, AR) is a technology that superimposes virtual information (virtual display content) on the real world (real scene display content) through simulation and then is perceived by human senses, thereby achieving a surreal sensory experience .

例如,上述第一终端可以包括微型显示屏DLP,该微型显示屏可以包括驱动电源芯片,数据控制芯片,数字微镜DMD(Digital Micro Mirror Device),光源,光学系统等。其中,驱动电源芯片和数据控制芯片根据目标应用对应的应用内容控制数字微镜和光源协同工作,数字微镜是一个具有高分辨率的半导体开关反射显示装置。光源发出的光线通过光学系统,到达数字微镜,数字微镜对该光线进行反射形成显示内容,即,目标应用对应的应用内容。For example, the above-mentioned first terminal may include a micro-display DLP, and the micro-display may include a driving power chip, a data control chip, a digital micro mirror DMD (Digital Micro Mirror Device), a light source, an optical system, and the like. Among them, the driving power chip and the data control chip control the digital micromirror and the light source to work together according to the application content corresponding to the target application. The digital micromirror is a semiconductor switch reflective display device with high resolution. The light emitted by the light source passes through the optical system and reaches the digital micromirror, and the digital micromirror reflects the light to form display content, that is, the application content corresponding to the target application.

可选的,除了将所述目标应用对应的应用内容作为增强现实的虚拟显示内容在所述第一终端显示以外,在本申请的一些实施方式中,如图6所示,还可以通过下述步骤601至步骤602的方式,实现在不影响第一终端运行其他运用的基础上,使得第一终端的用户可以查看第二终端对目标应用执行的操作。Optionally, in addition to displaying the application content corresponding to the target application as augmented reality virtual display content on the first terminal, in some embodiments of the present application, as shown in FIG. 6 , the following The method from step 601 to step 602 enables the user of the first terminal to check the operation performed by the second terminal on the target application without affecting other applications run by the first terminal.

步骤601,接收第一共享窗口加载指令。Step 601, receiving a first shared window loading instruction.

具体的,如图7所示,当第一终端与第二终端进行应用共享的过程中,在第一终端的显示界面可以显示用于提示正在进行应用共享的共享控件71,上述接收第一共享窗口加载指令可以包括:接收对共享控件71的触发操作生成的第一共享窗口加载指令。Specifically, as shown in FIG. 7, when the first terminal is sharing the application with the second terminal, the display interface of the first terminal may display a sharing control 71 for prompting that application sharing is in progress. The window loading instruction may include: receiving a first shared window loading instruction generated by a trigger operation on the sharing control 71 .

例如,通过接收用户对共享控件71的点击操作,加载应用共享功能设置界面72,并接收用户对第一共享窗口加载控件721的点击操作,生成上述第一共享窗口加载指令。For example, the application sharing function setting interface 72 is loaded by receiving the user's clicking operation on the sharing control 71 , and receiving the user's clicking operation on the first sharing window loading control 721 to generate the above-mentioned first sharing window loading instruction.

需要说明的是,此处仅仅是对上述第一共享窗口加载指令的触发方式进行举例说明,不表示为对本申请保护范围的限制,在本申请的其他实施方式中,还可以接收采用其他方式触发的第一共享窗口加载指令,本申请对此不做限制。例如,还可以通过接收对上述共享控件71沿预设移动轨迹触发的第一共享窗口加载指令,其中,该预设移动轨迹可以包括,将共享控件71移动至预设位置,或者,将共享控件71延任意一个方向移动预设距离等等,本申请对此不做限制。It should be noted that this is only an example of the triggering method of the above-mentioned first shared window loading instruction, and is not meant to limit the scope of protection of this application. In other implementations of this application, other methods can also be used to trigger The first shared window loading instruction, which is not limited in this application. For example, it is also possible to receive a first shared window loading instruction triggered by the shared control 71 along a preset movement track, wherein the preset movement track may include moving the shared control 71 to a preset position, or moving the shared control 71 moving in any direction for a preset distance, etc., which is not limited in this application.

步骤602,根据所述第一共享窗口加载指令在所述第一终端的显示界面加载自由窗口,并在所述自由窗口上显示所述目标应用对应的应用内容。Step 602: Load a free window on the display interface of the first terminal according to the first shared window loading instruction, and display application content corresponding to the target application on the free window.

本申请实施例中,自由窗口Freeform属于多窗口的一种类型,被称为自由窗口模式、活动窗口和自由窗口,类似于悬浮窗,但实际上自由窗口Freeform是一个真正的活动窗口,包含了完整的活动、窗口、焦点、输入等等完整活动窗口的特征。In the embodiment of this application, the free window Freeform belongs to a type of multi-window, which is called free window mode, active window and free window, similar to the floating window, but in fact the free window Freeform is a real active window, including Complete activity, window, focus, input, etc. Features of a complete activity window.

上述自由窗口Freeform通常显示于另一个应用程序的显示界面之上,是真正意义上的多窗口。在安卓系统中,自由窗口Freeform与悬浮窗等窗口的区别在于两者处于不同的Activity Manager管理服务的内存栈(Stack)中,由不同的Stack实现显示、调度的功能操作。The above-mentioned free window Freeform is usually displayed on the display interface of another application program, which is a real multi-window. In the Android system, the difference between the free window Freeform and the floating window is that the two are in the memory stack (Stack) of different Activity Manager management services, and the functional operations of display and scheduling are realized by different Stacks.

例如,如图8所示,第一终端在接收到第一共享窗口加载指令之后,可以在所述第一终端的显示界面81上加载自由窗口82,并在所述自由窗口82上显示所述目标应用对应的应用内容。For example, as shown in FIG. 8, after receiving the first shared window loading instruction, the first terminal may load a free window 82 on the display interface 81 of the first terminal, and display the free window 82 on the free window 82. App content corresponding to the target app.

可选的,除了上述图6所示的方式,以及将所述目标应用对应的应用内容作为增强现实的虚拟显示内容在所述第一终端显示的方式以外,在本申请的一些实施方式中,如图9所示,还可以通过下述步骤901至步骤902的方式,实现在不影响第一终端运行其他运用的基础上,使得第一终端的用户可以查看第二终端对目标应用执行的操作。Optionally, in addition to the manner shown in FIG. 6 above, and the manner of displaying the application content corresponding to the target application as augmented reality virtual display content on the first terminal, in some implementation manners of the present application, As shown in Figure 9, the following steps 901 to 902 can also be used to enable the user of the first terminal to view the operations performed by the second terminal on the target application without affecting the operation of other applications on the first terminal. .

步骤901,接收第二共享窗口加载指令。Step 901, receiving a second shared window loading instruction.

其中,上述第二共享窗口加载指令可以参看上述第一共享窗口加载指令的触发方式进行触发。Wherein, the above-mentioned second shared window loading instruction can be triggered by referring to the triggering manner of the above-mentioned first shared window loading instruction.

例如,如图7所示,通过接收用户对共享控件71的点击操作,加载应用共享功能设置界面72,并接收用户对第一共享窗口加载控件722的点击操作,生成上述第二共享窗口加载指令。For example, as shown in Figure 7, by receiving the user's click operation on the sharing control 71, the application sharing function setting interface 72 is loaded, and receiving the user's click operation on the first sharing window loading control 722, generating the above-mentioned second sharing window loading instruction .

步骤902,根据所述第二共享窗口加载指令对所述第一终端的显示界面进行分屏,并在第一终端的其中一个分屏上显示所述目标应用对应的应用内容。Step 902: Split the display interface of the first terminal according to the second shared window loading instruction, and display the application content corresponding to the target application on one of the split screens of the first terminal.

例如,如图10所示,对所述第一终端的显示界面进行二分屏,并在第一终端的其中一个分屏10上显示所述目标应用对应的应用内容。For example, as shown in FIG. 10 , the display interface of the first terminal is split into two screens, and the application content corresponding to the target application is displayed on one of the split screens 10 of the first terminal.

可选的,在本申请的一些实施方式中,在上述步骤802之前,可以包括:检测所述第一终端的当前显示界面是否处于分屏显示状态;若所述第一终端的显示界面处于分屏显示状态,则关闭所述第一终端当前显示界面上运行的其中一个应用的显示界面,以便在第一终端上通过分屏的显示所述目标应用对应的应用内容。Optionally, in some embodiments of the present application, before the above step 802, it may include: detecting whether the current display interface of the first terminal is in a split-screen display state; if the display interface of the first terminal is in a split-screen display state; In the screen display state, close the display interface of one of the applications currently running on the display interface of the first terminal, so that the application content corresponding to the target application can be displayed on the first terminal through split screens.

对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为根据本申请,某些步骤可以采用其它顺序进行。For the aforementioned method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the application is not limited by the described action sequence, because according to the application, Certain steps may be performed in other orders.

图11示出了本申请实施例提供的一种应用共享装置1100的结构示意图,包括接收单元1101、连接单元1102和共享单元1103。FIG. 11 shows a schematic structural diagram of an application sharing apparatus 1100 provided by an embodiment of the present application, including a receiving unit 1101 , a connecting unit 1102 and a sharing unit 1103 .

接收单元1101,用于接收对所述第一终端的应用共享功能的开启操作;a receiving unit 1101, configured to receive an operation of enabling the application sharing function of the first terminal;

连接单元1102,用于根据所述开启操作与第二终端建立通信连接;a connecting unit 1102, configured to establish a communication connection with the second terminal according to the opening operation;

共享单元1103,用于基于所述通信连接,将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并在所述第一终端的显示界面中隐藏对所述目标应用对应的应用内容的显示。The sharing unit 1103 is configured to share the application content corresponding to one or more target applications of the first terminal with the second terminal through a virtual screen based on the communication connection, and display the content on the display interface of the first terminal hide the display of the application content corresponding to the target application.

需要说明的是,为描述的方便和简洁,上述描述的应用共享装置1100的具体工作过程,可以参考上述图1至图10中描述的方法的对应过程,在此不再赘述。It should be noted that, for the convenience and brevity of the description, the specific working process of the application sharing device 1100 described above may refer to the corresponding process of the method described above in FIG. 1 to FIG. 10 , which will not be repeated here.

如图12所示,本申请提供一种用于实现上述应用共享方法的终端,并且,该终端可以为上述第一终端,包括:处理器121、存储器122、一个或多个输入设备123(图12中仅示出一个)和一个或多个输出设备124(图12中仅示出一个)。处理器121、存储器122、输入设备123和输出设备124通过总线125连接。As shown in FIG. 12, the present application provides a terminal for implementing the above-mentioned application sharing method, and the terminal may be the above-mentioned first terminal, including: a processor 121, a memory 122, and one or more input devices 123 (Fig. 12) and one or more output devices 124 (only one shown in FIG. 12). The processor 121 , the memory 122 , the input device 123 and the output device 124 are connected through a bus 125 .

应当理解,在本申请实施例中,所称处理器121可以是中央处理单元(CentralProcessing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiment of the present application, the so-called processor 121 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

输入设备123可以包括虚拟键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备124可以包括显示器、扬声器等。The input device 123 may include a virtual keyboard, a touch panel, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 124 may include a display, a speaker, and the like.

存储器122可以包括只读存储器和随机存取存储器,并向处理器121提供指令和数据。存储器122的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器122还可以存储设备类型的信息。The memory 122 may include read-only memory and random-access memory, and provides instructions and data to the processor 121 . Part or all of memory 122 may also include non-volatile random access memory. For example, memory 122 may also store device type information.

上述存储器122存储有计算机程序,上述计算机程序可在上述处理器121上运行,例如,上述计算机程序为应用共享方法的程序。上述处理器121执行上述计算机程序时实现上述应用共享方法实施例中的步骤,例如图1所示的步骤101至步骤103。或者,上述处理器121执行上述计算机程序时实现上述各装置实施例中各模块/单元的功能,例如图11所示接收单元1101、连接单元1102和共享单元1103的功能。The memory 122 stores a computer program that can run on the processor 121 , for example, the computer program is a program that applies a sharing method. When the processor 121 executes the computer program, the steps in the above embodiment of the application sharing method are implemented, for example, steps 101 to 103 shown in FIG. 1 . Or, when the processor 121 executes the computer program, it realizes the functions of the modules/units in the above device embodiments, such as the functions of the receiving unit 1101, the connecting unit 1102 and the sharing unit 1103 shown in FIG. 11 .

上述计算机程序可以被分割成一个或多个模块/单元,上述一个或者多个模块/单元被存储在上述存储器122中,并由上述处理器121执行,以完成本申请。上述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述上述计算机程序在上述进行应用共享的终端中的执行过程。例如,上述计算机程序可以被分割成接收单元、连接单元和共享单元,各单元具体功能如下:The above-mentioned computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the above-mentioned memory 122 and executed by the above-mentioned processor 121 to complete the present application. The above-mentioned one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the above-mentioned computer program in the above-mentioned terminal for application sharing. For example, the above computer program can be divided into a receiving unit, a connecting unit and a sharing unit, and the specific functions of each unit are as follows:

接收单元,用于接收对所述第一终端的应用共享功能的开启操作;a receiving unit, configured to receive an operation to enable the application sharing function of the first terminal;

连接单元,用于根据所述开启操作与第二终端建立通信连接;a connection unit, configured to establish a communication connection with the second terminal according to the opening operation;

共享单元,用于基于所述通信连接,将所述第一终端的一个或多个目标应用对应的应用内容通过虚拟屏共享给所述第二终端,并在所述第一终端的显示界面中隐藏对所述目标应用对应的应用内容的显示。A sharing unit, configured to share the application content corresponding to one or more target applications of the first terminal to the second terminal through a virtual screen based on the communication connection, and display the content in the display interface of the first terminal The display of the application content corresponding to the target application is hidden.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Module completion means that the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

在本申请所提供的实施例中,应该理解到,所揭露的装置/终端和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/terminal and method may be implemented in other ways. For example, the above-described device/terminal embodiments are only illustrative. For example, the division of the above-mentioned modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components May be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the above-mentioned integrated modules/units are realized in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, and can also be completed by instructing related hardware through computer programs. The above-mentioned computer programs can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (Read-Only Memory, ROM), a random Access memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the above computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media may not Including electrical carrier signals and telecommunication signals.

以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be applied to the foregoing embodiments Modifications to the technical solutions described, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in this application. within the scope of the application.

Claims (10)

1. An application sharing method applied to a first terminal, wherein the application sharing method comprises the following steps:
receiving an opening operation of an application sharing function of the first terminal;
establishing communication connection with a second terminal according to the opening operation;
based on the communication connection, sharing application contents corresponding to one or more target applications of the first terminal to the second terminal through a virtual screen, and hiding display of the application contents corresponding to the target applications in a display interface of the first terminal;
wherein, the application content corresponding to the target application drawn on the virtual screen is not visible to the user; after the application content corresponding to the target application is shared to the second terminal through the virtual screen, the operation of the second terminal on the target application is checked on the first terminal through the virtual reality content of augmented reality in a free window mode based on a shared window loading instruction or in a split screen display mode based on the shared window loading instruction.
2. The application sharing method as claimed in claim 1, wherein the sharing the application content corresponding to the target application to the second terminal through a virtual screen based on the communication connection includes:
receiving an operation instruction initiated by the second terminal to the target application;
according to the operation instruction, the target application is operated at the first terminal, and application content corresponding to the target application is loaded on a virtual screen of the first terminal;
and based on the communication connection, sending the application content corresponding to the target application loaded by the virtual screen of the first terminal to the second terminal.
3. The application sharing method as claimed in claim 1, wherein before the application content corresponding to the target application is shared to the second terminal through a virtual screen, the application sharing method comprises:
receiving an application selection instruction; the application selection instruction is used for determining one or more target applications which need to be shared by the first terminal.
4. The application sharing method as claimed in any one of claims 1 to 3, wherein after the application content corresponding to the target application is shared to the second terminal through a virtual screen, the application sharing method comprises:
and displaying the application content corresponding to the target application as virtual display content of augmented reality on the first terminal.
5. The application sharing method as claimed in any one of claims 1 to 3, wherein after the application content corresponding to the target application is shared to the second terminal through a virtual screen, the application sharing method comprises:
receiving a first shared window loading instruction;
and loading a free window on a display interface of the first terminal according to the first shared window loading instruction, and displaying application content corresponding to the target application on the free window.
6. The application sharing method as claimed in any one of claims 1 to 3, wherein after the application content corresponding to the target application is shared to the second terminal through a virtual screen, the application sharing method comprises:
receiving a second shared window loading instruction;
and dividing the display interface of the first terminal according to the second shared window loading instruction, and displaying application content corresponding to the target application on one of the divided screens of the first terminal.
7. The application sharing method as claimed in claim 1, wherein the establishing a communication connection with the second terminal according to the opening operation comprises:
receiving a second terminal selection instruction according to the starting operation; the second terminal selection instruction is used for determining one or more second terminals needing application sharing;
sending a communication connection request to the one or more second terminals;
and completing communication connection with the one or more second terminals according to the received confirmation connection message returned by the one or more second terminals.
8. An application sharing apparatus configured in a first terminal, the application sharing apparatus comprising:
a receiving unit, configured to receive an opening operation of an application sharing function of the first terminal;
the connection unit is used for establishing communication connection with the second terminal according to the opening operation;
the sharing unit is used for sharing application contents corresponding to one or more target applications of the first terminal to the second terminal through a virtual screen based on the communication connection, and hiding display of the application contents corresponding to the target applications in a display interface of the first terminal, wherein the application contents corresponding to the target applications drawn on the virtual screen are not visible to a user;
and the sharing device is used for viewing the operation of the second terminal on the target application in a split screen display mode based on a shared window loading instruction or in a free window mode based on a shared window loading instruction on the first terminal through the virtual reality content of augmented reality after the sharing unit shares the application content corresponding to the target application to the second terminal through a virtual screen.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202011645289.4A 2020-12-31 2020-12-31 Application sharing method, device, terminal and computer readable storage medium Active CN112738774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011645289.4A CN112738774B (en) 2020-12-31 2020-12-31 Application sharing method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011645289.4A CN112738774B (en) 2020-12-31 2020-12-31 Application sharing method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112738774A CN112738774A (en) 2021-04-30
CN112738774B true CN112738774B (en) 2023-06-30

Family

ID=75609412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011645289.4A Active CN112738774B (en) 2020-12-31 2020-12-31 Application sharing method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112738774B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051214A (en) * 2021-11-15 2022-02-15 杭州老板电器股份有限公司 Method, device and system for sharing terminal functions
CN115277174A (en) * 2022-07-25 2022-11-01 中移互联网有限公司 Screen sharing method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013123597A1 (en) * 2012-02-21 2013-08-29 Research In Motion Limited Method, apparatus, and system for providing a shared user interface
KR20130097484A (en) * 2012-02-24 2013-09-03 삼성전자주식회사 Method for sharing content and mobile terminal thereof
WO2020052449A1 (en) * 2018-09-13 2020-03-19 中兴通讯股份有限公司 Method and device for interacting terminal application, and terminal
CN111026484A (en) * 2019-12-02 2020-04-17 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium
CN111049980A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111045772A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic device and computer-readable storage medium
CN111143002A (en) * 2019-12-25 2020-05-12 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6097679B2 (en) * 2013-02-28 2017-03-15 エルジー アプラス コーポレーション Inter-terminal function sharing method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013123597A1 (en) * 2012-02-21 2013-08-29 Research In Motion Limited Method, apparatus, and system for providing a shared user interface
KR20130097484A (en) * 2012-02-24 2013-09-03 삼성전자주식회사 Method for sharing content and mobile terminal thereof
WO2020052449A1 (en) * 2018-09-13 2020-03-19 中兴通讯股份有限公司 Method and device for interacting terminal application, and terminal
CN111026484A (en) * 2019-12-02 2020-04-17 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium
CN111049980A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111045772A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic device and computer-readable storage medium
CN111143002A (en) * 2019-12-25 2020-05-12 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112738774A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US20240111473A1 (en) Distributed display method and terminal for application interface
US20150067536A1 (en) Gesture-based Content Sharing Between Devices
CN107807773B (en) Application body distinguishing method, device, terminal and storage medium
US20180275840A1 (en) Method for executing program and electronic device thereof
CN107315609B (en) Card simulation function switching method and device
EP3726376A1 (en) Program orchestration method and electronic device
CN106060378A (en) Apparatus and method for setting camera
CN107958168A (en) Screen recording method and device and terminal
CN112134788B (en) Event processing method, device, storage medium, mobile terminal and computer
CN107113352A (en) The method and its electronic equipment of shared screen
US20190065046A1 (en) Electronic device for transmitting message and method for operating same
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN112738774B (en) Application sharing method, device, terminal and computer readable storage medium
CN111526192B (en) Remote control method and device of terminal, terminal and computer readable storage medium
CN112347048A (en) Electronic device and method for sharing data
CN111656347B (en) Project display method and terminal
CN107728809A (en) Application interface display method, device and storage medium
CN106060815A (en) Data transmission method, mobile terminal and data transmission system
EP4220368A1 (en) Multimedia data processing method and apparatus, and device, computer-readable storage medium and computer program product
US20160139742A1 (en) Method for managing media contents and apparatus for the same
KR20220000720A (en) Electronice device and method for performing function
JP2020174375A (en) Communication system, communication device, and program
CN115242747B (en) Voice message processing method, device, electronic device and readable storage medium
CN115134233B (en) Scene upgrading method and device, medium and terminal
HK40082732A (en) Screen display control method, apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载