CN112399216A - Resource sharing method and device and electronic equipment - Google Patents

Resource sharing method and device and electronic equipment Download PDF

Info

Publication number
CN112399216A
CN112399216A CN202011163570.4A CN202011163570A CN112399216A CN 112399216 A CN112399216 A CN 112399216A CN 202011163570 A CN202011163570 A CN 202011163570A CN 112399216 A CN112399216 A CN 112399216A
Authority
CN
China
Prior art keywords
electronic device
target application
resource
running
standby
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.)
Granted
Application number
CN202011163570.4A
Other languages
Chinese (zh)
Other versions
CN112399216B (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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011163570.4A priority Critical patent/CN112399216B/en
Publication of CN112399216A publication Critical patent/CN112399216A/en
Application granted granted Critical
Publication of CN112399216B publication Critical patent/CN112399216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a resource sharing method and device and electronic equipment, belongs to the technical field of communication, and is used for solving the problem that the resource sharing efficiency among the electronic equipment can be reduced because files which a user of one electronic equipment wants to share cannot be synchronously displayed among different electronic equipment. The method is applied to first electronic equipment and comprises the following steps: the method comprises the steps that first electronic equipment receives a target application access request sent by second electronic equipment under the condition that the first electronic equipment runs a target application by using running resources of the target application, wherein standby resources of the running resources are stored in the first electronic equipment; and responding to the target application access request, the first electronic equipment runs the target application by using the standby resource, and synchronizes the running result of the standby resource to the second electronic equipment.

Description

Resource sharing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a resource sharing method and device and electronic equipment.
Background
At present, with the development of electronic device technology, a user can share resources in the electronic device of the user to other users through the electronic device. Taking an electronic device as an example of a mobile phone, when a user 1 wants to share a file (e.g., a multimedia file) in the mobile phone 1 of the user 2 with a mobile phone 2 of the user, the file may be uploaded to a server of the sharing application through the sharing application in the mobile phone 1, and a download path (e.g., a download link) of the file is transmitted to the mobile phone 2 through the mobile phone 1, so that the mobile phone 2 can download the file shared by the mobile phone 1 from the server through the download path.
However, in the process of sharing resources, the mobile phone 2 needs to download the file shared by the mobile phone 1, and since the mobile phone 2 needs to acquire the file shared by the mobile phone 1, a certain time difference exists between the time when the mobile phone 2 and the mobile phone 1 operate the file, and the mobile phone 2 and the mobile phone 1 cannot synchronously display the file that the user 1 wants to share, thereby reducing the efficiency of the user 1 in sharing resources.
Disclosure of Invention
An object of the embodiments of the present application is to provide a resource sharing method and apparatus, and an electronic device, which can solve the problem that efficiency of sharing resources among electronic devices is reduced because a file that a user of one of the electronic devices wants to share cannot be synchronously displayed among different electronic devices.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a resource sharing method, which is applied to a first electronic device, and the method includes: the method comprises the steps that first electronic equipment receives a target application access request sent by second electronic equipment under the condition that the first electronic equipment runs a target application by using running resources of the target application, wherein standby resources of the running resources are stored in the first electronic equipment; and responding to the target application access request, the first electronic equipment runs the target application by using the standby resource, and synchronizes the running result of the standby resource to the second electronic equipment.
In a second aspect, an embodiment of the present application provides a resource sharing method, which is applied to a second electronic device, and the method includes: the method comprises the steps that a second electronic device sends a target application access request to a first electronic device, wherein the target application access request is used for requesting to access a target application in the first electronic device; the second electronic device receives an operation result sent by the first electronic device, wherein the operation result is: when the first electronic equipment runs the target application by using the running resource of the target application, the second electronic equipment runs the target application by using the standby resource of the running resource to obtain the target application; and the second electronic equipment displays the running interface of the target application according to the running result.
In a third aspect, an embodiment of the present application provides a resource sharing apparatus, where the apparatus includes a receiving module and an operating module; the receiving module is configured to receive a target application access request sent by a second electronic device when the first electronic device runs a target application using a running resource of the target application, where a standby resource of the running resource is stored in the first electronic device; the running module is configured to run the target application using the standby resource in response to the target application access request received by the receiving module, and synchronize a running result of the standby resource to the second electronic device.
In a fourth aspect, an embodiment of the present application provides a resource sharing device, where the device includes a sending module, a receiving module, and a display module; the sending module is configured to send a target application access request to a first electronic device, where the target application access request is used to request access to a target application in the first electronic device; the receiving module is configured to receive an operation result sent by the first electronic device, where the operation result is: when the first electronic equipment runs the target application by using the running resource of the target application, the first electronic equipment runs the target application by using the standby resource of the running resource; and the display module is used for displaying the running interface of the target application according to the running result received by the receiving module.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, a standby resource for running a resource is stored in the first electronic device, and when the first electronic device runs the target application by using the running resource of the target application, the first electronic device may run the target application by using the standby resource after receiving a target application access request sent by the second electronic device, and synchronize a running result corresponding to the standby resource to the second electronic device. Thus, the user of the second electronic device can use the target application synchronously with the second electronic device on the first electronic device by using the standby resource in the second electronic device without installing the target application. Therefore, the method can help the user of the first electronic device to synchronously share and run the target application with the user of the second electronic device, eliminate the time difference of the traditional sharing method, improve the efficiency of sharing resources by the user, and simultaneously save the resource occupation of the second electronic device because the target application does not need to be downloaded again.
Drawings
Fig. 1 is a schematic structural diagram of a system of a resource sharing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a resource sharing method according to an embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of a resource sharing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a resource sharing device according to an embodiment of the present disclosure;
fig. 5 is a second schematic structural diagram of a resource sharing device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The resource sharing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The resource sharing method provided by the embodiment of the application can be applied to scenes of sharing resources among different electronic devices.
For a scene of sharing resources among different electronic devices, it is assumed that the user 1 wants to let the user 2 of the electronic device 2 watch a video file in the electronic device 1, and the video file is shared with the electronic device 2 by using the electronic device 1, so that the user of the electronic device 1 can send the video file to the electronic device 2 through a sharing application in the electronic device 1, and the user of the electronic device 2 can view the video file after the electronic device 2 downloads the video file. In the above process, it can be seen that, in the current method for sharing a file by the electronic device 1, the file needs to be sent to the electronic device 2, and the file can be checked by the user of the electronic device 2 only after the electronic device 2 is downloaded, so that the user of the electronic device 2 cannot check the file synchronously with the user of the electronic device 1, and meanwhile, because the file needs to be downloaded by the electronic device 2, the memory space of the electronic device 2 is also occupied, and resources of the electronic device are wasted.
In the resource sharing method provided in the embodiment of the application, it is assumed that the user 1 wants to allow the user 2 of the electronic device 2 to view a video file in the electronic device 1, and the electronic device 1 may store a standby resource of an operating resource corresponding to a video application operating the video file in advance, so that the electronic device 1 may allow the electronic device 2 to access the electronic device 1 when receiving a video application access request sent by the electronic device 2, run the video application in the electronic device 1 using the standby resource, and synchronously display an operating result of the standby resource, that is, the video file, in the electronic device 2, and the user 2 of the electronic device 2 may directly view the video file on the electronic device 2 in synchronization as with the user 1 of the electronic device 1. Therefore, the user 1 of the electronic device 1 can be helped to synchronously share and run the video application with the user 2 of the electronic device 2, the time difference of the traditional sharing method is eliminated, the resource sharing efficiency of the user is improved, the video file does not need to be downloaded in the electronic device 2, and the resource occupation of the electronic device 2 is saved.
As shown in fig. 1, a resource sharing system provided in an embodiment of the present application includes a first electronic device 201 and a second electronic device 202, where the first electronic device 201 may be connected to the second electronic device 202 through network communication to perform information transmission.
The second electronic device 202 sends a target application access request to the first electronic device 201, where the target application access request is used to request access to a target application in the first electronic device 201.
Receiving a target application access request sent by the second electronic device 202 when the first electronic device 201 runs a target application by using a running resource of the target application, wherein a standby resource of the running resource is stored in the first electronic device 201; in response to the target application access request, the first electronic device 201 runs the target application using the standby resource, and synchronizes a running result of the standby resource to the second electronic device 202.
The second electronic device 202 receives the operation result sent by the first electronic device 201, where the operation result is: when the first electronic device 201 runs the target application using the running resource of the target application, the target application is run using the standby resource of the running resource; the second electronic device 202 displays an operation interface of the target application according to the operation result.
In this way, the first electronic device stores a standby resource of the running resource, and when the first electronic device runs the target application by using the running resource of the target application, the first electronic device may run the target application by using the standby resource after receiving the target application access request sent by the second electronic device, and synchronize the running result corresponding to the standby resource to the second electronic device. Thus, the user of the second electronic device can use the target application synchronously with the second electronic device on the first electronic device by using the standby resource in the second electronic device without installing the target application. Therefore, the method can help the user of the first electronic device to synchronously share and run the target application with the user of the second electronic device, eliminate the time difference of the traditional sharing method, improve the efficiency of sharing resources by the user, and simultaneously save the resource occupation of the second electronic device because the target application does not need to be downloaded again.
Optionally, the running the target application by the first electronic device 201 using the running resource of the target application may include: the first electronic device 201 uses the running resource foreground of the target application to run the target application; the running of the target application by the first electronic device 201 using the standby resource includes: the first electronic device 201 runs the target application in the background using the standby resource.
Therefore, the target application does not need to be downloaded by the second electronic equipment, the standby resource of the first electronic equipment is directly used, the first electronic equipment can synchronize with the second electronic equipment, use the target application without time difference and share the related content in the target application, and meanwhile, the resource space of the second electronic equipment is saved.
Optionally, before the first electronic device 201 receives the target application access request sent by the second electronic device 202, the first electronic device 201 may also receive a first input; then, in response to the first input, the first electronic device 201 generates a standby resource of the running resource of the target application, and stores the standby resource in a standby storage area of the first electronic device 201.
Therefore, the first electronic device can trigger the first electronic device to generate the standby resource through the first input and store the standby resource into the standby storage area, so that the second electronic device can conveniently access and use the standby resource subsequently, and the resource space occupied by the second electronic device in downloading the target application can be saved.
Optionally, before the first electronic device 201 runs the standby resource in response to the target application access request, the first electronic device 201 may further send authorization right information corresponding to the standby resource to the second electronic device 202, where the authorization right information is used to grant an access right of the standby resource to the second electronic device 202.
Therefore, the first electronic device can protect the information privacy and the information safety of the standby resources of the first electronic device by setting the authority information.
Optionally, before the second electronic device 202 sends the target application access request to the first electronic device 201, the second electronic device 202 receives authorization right information corresponding to the standby resource sent by the first electronic device 201, where the authorization right information is used to grant an access right of the standby resource to the second electronic device 202; the sending, by the second electronic device 202, the target application access request to the first electronic device 201 may include: the second electronic device sends a target application access request to the first electronic device 201 according to the authorization right information.
Therefore, the second electronic device can be appointed to access the standby resource of the first electronic device, and therefore the situation that other electronic devices access the standby resource of the target application in the first electronic device and privacy of a user of the first electronic device is leaked is avoided.
As shown in fig. 2, the present embodiment is applied to a first electronic device, and the resource sharing method includes the following steps 301 and 302:
step 301: and under the condition that the first electronic equipment runs the target application by using the running resource of the target application, the first electronic equipment receives a target application access request sent by the second electronic equipment.
In the embodiment of the present application, the target application may be any application in an electronic device.
For example, the target application may be an application that includes application content that can be shared with other electronic devices. In one example, the target application may be an application containing multimedia files, such as a video application, a music application.
For example, the target application may also be an application that provides an interactive platform for the first electronic device and the other electronic devices. E.g. gaming applications, live applications.
In this embodiment of the application, the running resource may be a resource in a target application used by the first electronic device in the process of running the target application. For example, if the target application is a video application, when the first electronic device runs the video application, the resource used by the background is a running resource of the video application; when the target application is a game application, and the first electronic device runs the game application, the resources used by the background are running resources of the game application.
For example, the running resource may be an installation data packet of the target application in the first electronic device; the running resources can also be data information used by the target application to run.
In an embodiment of the present application, the first electronic device stores a standby resource of the operating resource.
In this embodiment of the application, the first electronic device may set a storage area for the standby resource in advance.
In this embodiment of the application, the standby resource may be a resource of a target application used by another electronic device in a process of running the target application on the first electronic device.
In this embodiment of the present application, the standby resource may be all of the running resources of the target application, or may be a part of the running resources of the target application.
In an example, the standby resource may be a resource obtained by directly copying, by the electronic device, the running resource in the target application. For example, when the target application is a video application, the standby resource may be a resource in a standby storage area after the first electronic device directly copies the running resource of the video application in the background of the first electronic device to the standby storage area.
In another example, the standby resource may be a resource obtained by copying a part of the running resource in the target application by the electronic device. For example, when the target application is a game application, the standby resources may be: the first electronic device removes resource content (such as game scores or role information acquired by the first electronic device when the first electronic device uses the running resources) related to the first electronic device in the running resources of the first electronic device background, and copies the remaining part of the running resources to a spare storage area, and then the resources in the spare storage area are stored in the spare storage area.
In this embodiment, the second electronic device may be any other electronic device that can establish a communication connection (e.g., a network connection) with the first electronic device, in addition to the first electronic device.
In this embodiment of the application, the target application access request is request information when the second electronic device accesses the standby resource of the first electronic device. The request information may include path information, where the path information may indicate a spare storage area where a spare resource in the first electronic device is located.
It should be noted that, in the embodiment of the present application, the role of setting the standby resource in the first electronic device is to: the second electronic equipment does not need to download an installation package of the target application and store running resources of the target application, only needs to send a target application access request to the first electronic equipment, and then uses standby resources in the first electronic equipment by accessing the first electronic equipment to complete running of the target application by utilizing the first electronic equipment, so that the storage space of the second electronic equipment is not occupied, and running power consumption of the second electronic equipment is not consumed.
Step 302: and responding to the target application access request, the first electronic equipment runs the target application by using the standby resource, and synchronizes the running result of the standby resource to the second electronic equipment.
In this embodiment, the process of the first electronic device running the target application using the standby resource may be a process controlled by the second electronic device, that is, the second electronic device controls the first electronic device to run the target application using the standby resource.
In this embodiment of the application, the first electronic device runs the target application using the standby resource, and may also run the self-owned application of the target application using the standby resource.
In one example, the first electronic device may run an avatar application of the target application using the standby resource when the running of the target application requires the use of the identity information. For example, when the target application is a role game application, the first electronic device runs the role game application using the standby resources of the application, and essentially runs a body-separated application of the target application, and when the body-separated application is run, the account role registered in the role game application used by the second electronic device is account a, corresponding to role a, the account registered in the role game application run by the first electronic device using the running resources is account B, the used role may be role B, and role a and role B are different roles.
In the embodiment of the present application, the operation result is: and the first electronic equipment uses the standby resources to run the data information obtained after the target application. For example, when the target application is a video application, the running result may be data information of a certain video in a music application; when the target application is a game application, the running result may be data information generated when a user of the second electronic device operates a standby resource of the game application on the first electronic device through the second electronic device.
In this embodiment, the first electronic device may synchronize the operation result to the second electronic device by displaying the operation result in the second electronic device. For example, when the target application is a video application, the video content of the video application running by the first electronic device using the standby resource of the video application is synchronously displayed in the display screen of the second electronic device.
Example 1: the target application is assumed to be a game application, wherein the game application is used by multiple persons synchronously on the game platform through a network, and the game application respectively plays role-playing competitive games. When the electronic device 1 (i.e., the first electronic device) runs the game application using the running resource of the game application, and receives a game application access request (the electronic device 1 stores a standby resource of the running resource of the game application) sent from the electronic device 2 (i.e., the second electronic device), the electronic device 1 runs the game application in the electronic device 1 using the standby resource of the game application according to the access request of the game application, and synchronously transmits a running result to the electronic device 2, so that a user of the electronic device 2 can view a game progress in real time through a display screen of the electronic device 2.
According to the resource sharing method provided by the embodiment of the application, the first electronic device stores the standby resource of the running resource, and when the first electronic device runs the target application by using the running resource of the target application, the first electronic device can run the target application by using the standby resource after receiving the target application access request sent by the second electronic device, and the running result corresponding to the standby resource is synchronized to the second electronic device. Thus, the user of the second electronic device can use the target application synchronously with the second electronic device on the first electronic device by using the standby resource in the second electronic device without installing the target application. Therefore, the method can help the user of the first electronic device to synchronously share and run the target application with the user of the second electronic device, eliminate the time difference of the traditional sharing method, improve the efficiency of sharing resources by the user, and simultaneously save the resource occupation of the second electronic device because the target application does not need to be downloaded again.
Optionally, in this embodiment of the application, in the step 301, in the first electronic device running the target application by using the running resource of the target application, the sharing method provided in this embodiment of the application may include the following step 301 a:
step 301 a: the first electronic equipment uses the running resources of the target application to run the target application in the foreground.
On the basis of the step 301a, in the step 302 of running the target application by using the standby resource, the sharing method provided by the embodiment of the present application may include the following step 302a or step 302 b:
step 302 a: and the first electronic equipment background uses the standby resources to run the target application.
Step 302 b: and the first electronic equipment uses the standby resources to run the target application in the foreground.
For example, when the first electronic device uses the running resource of the target application, the running result corresponding to the use of the running resource may be displayed on the display screen of the first electronic device, so that the target application is run in the foreground.
For example, when the first electronic device uses the standby resource of the target application, the operation result may be processed in the following two ways:
the first mode is as follows:
the first electronic device does not directly display the running result corresponding to the standby resource on the display screen of the first electronic device, but only runs, transmits or stores the running result in the background of the first electronic device in a data form.
Therefore, the target application does not need to be downloaded by the second electronic equipment, the standby resource of the first electronic equipment is directly used, the first electronic equipment can synchronize with the second electronic equipment, use the target application without time difference and share the related content in the target application, and meanwhile, the resource space of the second electronic equipment is saved.
The second mode is as follows:
the first electronic device may simultaneously display the operation result corresponding to the use of the standby resource and the operation result corresponding to the use of the operating resource on a display screen of the first electronic device.
In an example, the operation result corresponding to the standby resource and the operation result corresponding to the used operation resource may be displayed on a display screen of the first electronic device in a split screen manner. The specific mode of the split-screen display may be preset for the electronic device or may be user-defined, and the embodiment of the present application does not limit this.
Therefore, the user of the first electronic device can directly check the conditions that the user of the second electronic device uses the target application process and checks the display content of the target application in the display screen of the first electronic device, so that the first electronic device can achieve the purpose of real-time sharing, and meanwhile, the resource space of the second electronic device is saved.
Optionally, in this embodiment of the application, before receiving the target application access request sent by the second electronic device in step 301, the resource sharing method provided in this embodiment of the application may further include steps 303 and 304 as follows:
step 303: the first electronic device receives a first input.
Step 304: and responding to the first input, the first electronic equipment generates a standby resource of the running resource of the target application and stores the standby resource in a standby storage area of the first electronic equipment.
For example, the first input may be an input for generating and transmitting the backup resource access path information to the second electronic device.
In an example, the backup resource access path information may be two-dimensional code information or a network path link.
For example, the first input may trigger the first electronic device to generate and store a standby resource of the operating resource of the target resource.
For example, the first input may be a touch input, for example, a click input; the input may also be a voice input, or an input of a special gesture, which is not limited in the embodiment of the present application.
For example, the standby resource and the operating resource may refer to the foregoing description, and are not described herein again.
For example, the spare storage area may be a storage area dedicated to the first electronic device for storing spare resources.
In an example, the spare storage area may be a temporary storage area, that is, after the second electronic device finishes the current access and uses the spare resource in the spare storage area, the first electronic device does not record the data information related to the spare resource any more. The spare storage area can be released to be used as a conventional storage area of the first electronic device, and when the first electronic device receives the first input again, the storage area is used as a storage area for storing spare resources again to be used by the second electronic device.
For example, when the target application is a game application, if the storage area can be a temporary storage area, after the second electronic device finishes accessing the standby resource of the game application of the first electronic device this time, the first electronic device deletes all relevant data of the standby resource of the game application, and when the second electronic device accesses and uses the standby resource again, the game application is a brand new application for the second electronic device because the relevant data is not reserved.
Therefore, the resource space occupied by the first electronic device for generating and storing the standby resources can be saved, and the power consumption of the second electronic device can be saved when the second electronic device is helped to save the resource occupied space occupied by the resources.
In another example, the spare storage area may be a fixed storage area, that is, after the second electronic device finishes the current access and uses the spare resource in the spare storage area, the first electronic device may reserve the data information related to the spare resource. The spare storage area may be used to store the above related data information, and when the first electronic device receives the first input again, the storage area provides the history of the previous use of the spare resource by the second electronic device to the second electronic device, so that the second electronic device can use the history.
For example, when the target application is a game application, if the storage area may be a temporary storage area, after the second electronic device finishes accessing the standby resource of the game application of the first electronic device this time, the first electronic device may reserve all relevant data and history information of the standby resource of the game application, and when the second electronic device accesses and uses the standby resource again, the game application may be continuously used according to the relevant data and history information that are reserved before.
In this way, the first electronic device can enable the second electronic device to continuously use the target application in the first electronic device by reserving the relevant data of the standby resource while helping the second electronic device to save the resource occupation space occupied by the resource.
Example 2: with reference to example 1, before the electronic device 1 receives the game application access request sent by the electronic device 2, the user of the electronic device 1 clicks the sharing control of the game application (i.e., the first input), generates a standby resource of the running resource of the game application in the electronic device 1, stores the standby resource in the standby storage area, and sends two-dimensional code information to the electronic device 2, where the two-dimensional code information includes an access path of the standby resource of the game application in the electronic device 1.
Therefore, the first electronic device can trigger the first electronic device to generate the standby resource through the first input and store the standby resource into the standby storage area, so that the second electronic device can conveniently access and use the standby resource subsequently, and the resource space occupied by the second electronic device in downloading the target application can be saved.
Optionally, in this embodiment of the application, before the step 302, in response to the target application access request, and using the standby resource to run the target application, the resource sharing method provided in this embodiment of the application may further include the following step 305:
step 305: and the first electronic equipment sends the authorization authority information corresponding to the standby resource to the second electronic equipment.
Illustratively, the authorization right information is used to grant the access right of the standby resource to the second electronic device.
For example, the authorization right information may be used to add watermark information to the standby resource, and may also be used to add password information to the standby resource.
Illustratively, the authorization right information may be sent to the second electronic device by an access invitation, where the access invitation may be a network path link or two-dimensional code information.
In an example, after the first electronic device sends the authorization authority information for adding the watermark information to the standby resource to the second electronic device, the first electronic device adds the watermark information to the standby resource, and when the second electronic device accesses the standby resource of the first electronic device, the display content of the target application synchronously displayed on the display screen of the second electronic device is the display content added with the watermark information, so that a user of the second electronic device can be prevented from randomly screenshot or recording and forwarding, and copyright information of the first electronic device when the target application runs is protected.
In another example, after the first electronic device sends authorization authority information for adding password information to the standby resource to the second electronic device, the first electronic device sets password information for the second electronic device to access the standby resource, so that the standby resource of the first electronic device cannot be randomly accessed, and information security of the first electronic device is protected. The password information may be input in the second electronic device before the second electronic device accesses the first electronic device, or may be input in the first electronic device after the second electronic device accesses the first electronic device, which is not limited in this embodiment of the application.
Example 3: with reference to the foregoing example 2, when the user of the electronic device 1 clicks the sharing control (i.e., the foregoing first input) of the game application, a standby resource of the running resource of the game application is generated in the electronic device 1, and is stored in the standby storage area, and at the same time, two-dimensional code information including watermark information and password information (i.e., the foregoing authorization authority information) is sent to the electronic device 2, where the two-dimensional code information includes an access path of the standby resource of the game application in the electronic device 1.
Therefore, the first electronic device can protect the information privacy and the information safety of the standby resources of the first electronic device by setting the authority information.
As shown in fig. 3, the present embodiment is applied to a second electronic device, and the resource sharing method includes the following steps 401 to 403:
step 401: the second electronic device sends a target application access request to the first electronic device.
In this embodiment of the application, the target application access request is used to request access to a target application in the first electronic device.
For example, the second electronic device may receive a second input to send a target application access request to the first electronic device.
In one example, the second electronic device may receive a second input of the access invitation sent by the user to the first electronic device, thereby sending the target application access request. The access invitation may be embodied in a network path link or two-dimensional code information, which is not limited in the embodiment of the present application.
In the embodiment of the present application, the target application access request may refer to the foregoing description, and is not described herein again.
Step 402: and the second electronic equipment receives the operation result sent by the first electronic equipment.
In the embodiment of the present application, the operation result is: and when the first electronic equipment runs the target application by using the running resource of the target application, the first electronic equipment runs the target application by using the standby resource of the running resource.
Step 403: and the second electronic equipment displays the running interface of the target application according to the running result.
Example 4: the target application is assumed to be a game application, wherein the game application is used by multiple persons synchronously on the game platform through a network, and the game application respectively plays role-playing competitive games. After the electronic device 2 (i.e., the second electronic device) sends the access request of the game application to the electronic device 1 (i.e., the first electronic device) by clicking the two-dimensional code information, the electronic device 2 receives the operation result of the game application sent by the electronic device 1, the electronic device 2 displays the operation result on a display screen of the electronic device, and the display content of the operation result is a process that the electronic device 2 uses a standby resource of the game application of the electronic device 1 to operate the game application.
In the resource sharing method provided by the embodiment of the application, the second electronic device sends the target application access request to the first electronic device and accesses the standby resource of the target application in the first electronic device, so that the target application can be run by using the first electronic device under the condition that the target application is not installed, and the running result of the target application is synchronously displayed on the display screen of the second electronic device. Therefore, the steps of downloading the target application by the second electronic device and the memory occupied by the target application in the second electronic device are saved, and meanwhile, the target application can be synchronously used with the first electronic device and the content corresponding to the running result of the target application can be shared.
Optionally, in this embodiment of the present application, before the step 401, the resource sharing method provided in this embodiment of the present application may further include the following step 404:
step 404: and the second electronic equipment receives the authorization authority information corresponding to the standby resource sent by the first electronic equipment.
On the basis of the step 404, in the step 401, the resource sharing method provided in the embodiment of the present application may include the following steps 401 a:
401 a: and the second electronic equipment sends a target application access request to the first electronic equipment according to the authorization authority information.
Illustratively, the authorization right information is used to grant the access right of the standby resource to the second electronic device.
For example, the authorization right information may be used to add watermark information to the standby resource, and may also be used to add password information to the standby resource.
In one example, the receiving, by the second electronic device, the authorization right information corresponding to the standby resource sent by the first electronic device specifically includes: after the password information is added to the standby resource, an input frame for inputting the password is displayed in a display screen of the second electronic device, and when a user of the second electronic device inputs target password information which is the same as the authorization authority information in the input frame, the target password information is stored in a target application access request and is sent to the first electronic device. After receiving the target password information, the first electronic device compares the target password information with the pre-stored password information, and under the condition that the target password information is the same as the pre-stored password information, the second electronic device can access the standby resource in the first electronic device.
In another example, the receiving, by the second electronic device, the authorization right information corresponding to the standby resource sent by the first electronic device specifically includes: after adding the watermark information to the standby resource, the second electronic device sends a target application access request to the first electronic device, and the second electronic device displays that the running interface of the target application contains the watermark information according to the running result.
It is understood that, in the embodiment of the present application, the authorization authority information may include both watermark information and password information. That is, for the second electronic device, the target password information needs to be input, and the running interface of the target application displayed on the second electronic device also includes the watermark information.
Therefore, the second electronic device can be appointed to access the standby resource of the first electronic device, and therefore the situation that other electronic devices access the standby resource of the target application in the first electronic device and privacy of a user of the first electronic device is leaked is avoided.
In this embodiment of the application, in order to protect the content attribution and data security of the user of the first electronic device, the second electronic device may add watermark information to the display content of the running interface by itself. Generally, the way of adding the watermark by the second electronic device can be divided into the following two cases:
in the first case, when the second electronic device displays the running interface of the target application, the second electronic device may add the watermark information to the running interface by itself.
For example, in the step 403 of displaying the running interface of the target application, the resource sharing method provided in the embodiment of the present application may further include the following step 403 a:
step 403 a: and the second electronic equipment displays the running interface of the target application and adds watermark information on the running interface.
For example, when the second electronic device displays the running interface of the target application, the second electronic device may trigger an operation of adding watermark information on the running interface by itself, so as to directly display the watermark information on the running interface.
For example, the watermark information may be picture information, text information, digital information, or user-defined information, which is not limited in this embodiment of the present application.
It should be noted that before the second electronic device displays the operation result on the display screen, no watermark information is displayed on the operation interface.
Example 5: with reference to the foregoing example 4, while the electronic device 2 receives the operation result of the game application sent by the electronic device 1, and the electronic device 2 displays the operation result on its display screen, the electronic device 2 will identify the watermark text of the "electronic device 2" on the display interface of the process of the electronic device 2 using the standby resource of the game application of the electronic device 1 to operate the game application for the display content of the operation result (i.e., the watermark information).
In the second situation, after the second electronic device displays the running interface of the target application, if the second electronic device receives a screen capture operation or a screen recording operation, the second electronic device is triggered to perform a self-action to add watermark information to the running interface.
For example, after the step 403, the resource sharing method provided in the embodiment of the present application may further include the following steps 403b1 and 403b 2:
step 403b 1: the second electronic device receives a second input.
Step 403b 2: and responding to the second input, the second electronic equipment executes target operation on the running interface to obtain target content, and adds the watermark information to the target content.
Illustratively, the target operation includes a screen capture operation or a screen recording operation.
For example, the second input may be used to trigger the second electronic device to start a screen capture operation or a screen recording operation.
For example, the second input may be a touch input, for example, a click input; the input may also be a special gesture input, or a voice input, which is not limited in the embodiment of the present application.
Illustratively, the target content is content obtained after the second electronic device performs a target operation on the operation interface. When the target operation is screen capture operation, the target content is image content acquired when the screen capture operation is executed; and when the target operation is screen recording operation, the target content is the video recording content acquired when the screen recording operation is executed.
For example, after the second electronic device receives the second input, the second electronic device may perform a screen capture operation or a screen recording operation on the running interface, and automatically add watermark information to the obtained target content, so that when the user views the target content, the watermark information is displayed on the target content.
It should be noted that, before the second electronic device receives the second input, the watermark information is not displayed on the operation interface.
Example 6: with reference to the foregoing example 4, after the electronic device 2 receives the operation result of the game application sent by the electronic device 1, and the electronic device 2 displays the operation result on the display screen thereof, after the electronic device 2 receives a click input (i.e., the foregoing second input) of a user indicating that the electronic device 2 performs screen capture on the current operation result, the electronic device 2 performs screen capture on the current operation interface to obtain a screen capture image, and adds the watermark text of the "electronic device 2" to the screen capture image (i.e., the foregoing watermark information), so that when the user views the screen capture image again, the watermark text of the "electronic device 2" will be displayed on the screen capture image.
The electronic device 2 will identify the watermark text of "electronic device 2" on the display interface of the process of running the game application by the electronic device 2 using the standby resource of the game application of the electronic device 1 for the display content of the running result.
Therefore, after the second electronic device receives the operation result, the second electronic device displays the display content of the operation result, or executes screen capture/screen recording operation to obtain the screen capture/screen recording content, and adds watermark information to the display content or the screen capture/screen recording content, so that the content attribution and data security of the first electronic device user are enhanced.
It should be noted that, in the resource sharing method provided in the embodiment of the present application, the execution main body may be a resource sharing device, or a control module in the resource sharing device, configured to execute the resource sharing method. In the embodiment of the present application, a resource sharing method executed by a resource sharing device is taken as an example to illustrate the resource sharing device provided in the embodiment of the present application.
Fig. 4 is a schematic structural diagram of a possible resource sharing device according to an embodiment of the present disclosure. As shown in fig. 4, the apparatus 600 includes a receiving module 601 and an operating module 602; the receiving module 601 is configured to receive a target application access request sent by a second electronic device when the first electronic device runs a target application using a running resource of the target application, where the first electronic device stores a standby resource of the running resource; the running module 602 is configured to run the target application using the standby resource in response to the target application access request received by the receiving module 601, and synchronize a running result of the standby resource to the second electronic device.
According to the resource sharing device provided by the embodiment of the application, the resource sharing device stores the standby resource of the running resource, and when the resource sharing device runs the target application by using the running resource of the target application, the resource sharing device can run the target application by using the standby resource after receiving the target application access request sent by the second electronic device, and synchronizes the running result corresponding to the standby resource to the second electronic device. Therefore, the user of the second electronic device can use the target application synchronously with the second electronic device on the resource sharing device by using the standby resource in the second electronic device without installing the target application. Therefore, the user of the resource sharing device can be helped to synchronously share and run the target application with the user of the second electronic equipment, the time difference of the traditional sharing method is eliminated, the resource sharing efficiency of the user is improved, and meanwhile, the resource occupation of the second electronic equipment can be saved due to the fact that the target application does not need to be downloaded again.
Optionally, in this embodiment of the application, the running module 602 is specifically configured to run, by the first electronic device, a target application using a running resource foreground of the target application; the running module 602 is further specifically configured to run the target application by using the standby resource in the background.
Optionally, in this embodiment of the application, the apparatus 600 further includes a storage module 603; the receiving module 601 is further configured to receive a first input; the storage module 603 is configured to generate a standby resource of the running resource of the target application in response to the first input received by the receiving module 601, and store the standby resource in a standby storage area of the first electronic device.
Optionally, in this embodiment of the application, the apparatus 600 further includes a sending module 604; the sending module 604 is configured to send authorization right information corresponding to the standby resource to the second electronic device, where the authorization right information is used to grant an access right of the standby resource to the second electronic device.
Fig. 5 is a schematic structural diagram of a possible resource sharing device according to an embodiment of the present disclosure. As shown in fig. 5, the apparatus 700 includes a sending module 701, a receiving module 702, and a display module 703; the sending module 701 is configured to send a target application access request to a first electronic device, where the target application access request is used to request to access a target application in the first electronic device; the receiving module 702 is configured to receive an operation result sent by the first electronic device, where the operation result is: when the first electronic equipment runs the target application by using the running resource of the target application, the first electronic equipment runs the target application by using the standby resource of the running resource; the display module 703 is configured to display an operation interface of the target application according to the operation result received by the receiving module 702.
According to the resource sharing device provided by the embodiment of the application, the resource sharing device sends the target application access request to the first electronic equipment and accesses the standby resource of the target application in the first electronic equipment, so that the target application can be operated by using the first electronic equipment under the condition that the target application is not installed, and the operation result of the target application is synchronously displayed on the display screen of the resource sharing device. Therefore, the steps of downloading the target application by the resource sharing device and the memory occupied by the target application in the resource sharing device are saved, and meanwhile, the target application can be synchronously used with the first electronic equipment and the content corresponding to the running result of the target application can be shared.
Optionally, in this embodiment of the application, the receiving module 702 is further configured to receive authorization right information corresponding to the standby resource, where the authorization right information is used to grant an access right of the standby resource to the second electronic device; the sending module 701 is specifically configured to send a target application access request to the first electronic device according to the authorization authority information received by the receiving module 702.
Optionally, in this embodiment of the present application, the apparatus 700 further includes an adding module 704; the display module 703 is specifically configured to display an operation interface of the target application, and add watermark information to the operation interface; or, the receiving module 701 is further configured to receive a second input; the adding module 704, in response to the second input received by the receiving module 701, performs a target operation on the running interface to obtain a target content, and adds the watermark information to the target content, where the target operation includes a screen capture operation or a screen record operation.
The resource sharing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The resource sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The resource sharing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
It should be noted that, as shown in fig. 4, modules that are necessarily included in the resource sharing apparatus 600 are indicated by solid line boxes, such as a receiving module 601; modules that may or may not be included in the resource sharing apparatus 600 are illustrated by dashed boxes, such as the storage module 603.
Optionally, as shown in fig. 6, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing embodiment of the resource sharing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110. Wherein the user input unit 107 includes: touch panel 1071 and other input devices 1072, display unit 106 including display panel 1061, input unit 104 including image processor 1041 and microphone 1042, memory 109 may be used to store software programs (e.g., an operating system, application programs needed for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
When the electronic device 100 is a first electronic device, the user input unit 107 is configured to receive a target application access request sent by a second electronic device when the first electronic device runs a target application using a running resource of the target application, where a standby resource of the running resource is stored in the first electronic device; the processor 110 is configured to respond to the target application access request input by the user input unit 107, run the target application using the standby resource, and synchronize a running result of the standby resource to the second electronic device.
In the first electronic device provided in the embodiment of the application, the standby resource of the running resource is stored in the first electronic device, and when the first electronic device runs the target application by using the running resource of the target application, the first electronic device may run the target application by using the standby resource after receiving the target application access request sent by the second electronic device, and synchronize the running result corresponding to the standby resource to the second electronic device. Thus, the user of the second electronic device can use the target application synchronously with the second electronic device on the first electronic device by using the standby resource in the second electronic device without installing the target application. Therefore, the method can help the user of the first electronic device to synchronously share and run the target application with the user of the second electronic device, eliminate the time difference of the traditional sharing method, improve the efficiency of sharing resources by the user, and simultaneously save the resource occupation of the second electronic device because the target application does not need to be downloaded again.
Optionally, the processor 110 is specifically configured to foreground-run the target application by using a running resource of the target application by the first electronic device; the processor 110 is further specifically configured to run the target application by using the standby resource in the background.
Optionally, the user input unit 107 is further configured to receive a first input; the processor 110 is further configured to generate a standby resource of the running resource of the target application, and store the standby resource in a standby storage area of the first electronic device.
Optionally, the radio frequency unit 101 is configured to send authorization right information corresponding to the standby resource to the second electronic device, where the authorization right information is used to grant an access right of the standby resource to the second electronic device.
When the electronic device 100 is a first electronic device, the radio frequency unit 101 is configured to send a target application access request to the first electronic device, where the target application access request is used to request to access a target application in the first electronic device; a user input unit 107, configured to receive an operation result sent by the first electronic device, where the operation result is: when the first electronic equipment runs the target application by using the running resources of the target application, the first electronic equipment runs the target application by using the standby resources of the running resources; a display unit 106, configured to display an operation interface of the target application according to the operation result received by the user input unit 107.
According to the second electronic device provided by the embodiment of the application, the second electronic device sends the target application access request to the first electronic device and accesses the standby resource of the target application in the first electronic device, so that the target application can be run by using the first electronic device under the condition that the target application is not installed, and the running result of the target application is synchronously displayed on the display screen of the second electronic device. Therefore, the steps of downloading the target application by the second electronic device and the memory occupied by the target application in the second electronic device are saved, and meanwhile, the target application can be synchronously used with the first electronic device and the content corresponding to the running result of the target application can be shared.
Optionally, the user input unit 107 is further configured to receive authorization right information corresponding to the standby resource sent by the first electronic device, where the authorization right information is used to grant an access right of the standby resource to the second electronic device; the radio frequency unit 101 is specifically configured to send a target application access request to the first electronic device according to the authorization right information.
Optionally, the display unit 106 is specifically configured to display an operation interface of the target application, and add watermark information to the operation interface; or, the user input unit 107 is further configured to receive a second input; the processor 110 is further configured to, in response to the second input received by the user input unit input 107, perform a target operation on the running interface to obtain a target content, and add the watermark information to the target content, where the target operation includes a screen capture operation or a screen record operation.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. 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, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the resource sharing method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the resource sharing method embodiment, and achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A resource sharing method applied to a first electronic device is provided,
receiving a target application access request sent by second electronic equipment under the condition that the first electronic equipment uses running resources of a target application to run the target application, wherein standby resources of the running resources are stored in the first electronic equipment;
and responding to the target application access request, running the target application by using the standby resource, and synchronizing the running result of the standby resource to the second electronic equipment.
2. The method of claim 1, wherein the first electronic device runs the target application using running resources of the target application, comprising:
the first electronic equipment uses the running resources of the target application to run the target application in a foreground;
the running the target application by using the standby resource comprises:
and the background uses the standby resources to run the target application.
3. The method of claim 1, wherein prior to said receiving the target application access request sent by the second electronic device, the method further comprises:
receiving a first input;
and responding to the first input, generating a standby resource of the running resource of the target application, and storing the standby resource to a standby storage area of the first electronic equipment.
4. The method of claim 1, wherein prior to said running the target application using the standby resource in response to the target application access request, the method comprises:
and sending authorization authority information corresponding to the standby resource to the second electronic equipment, wherein the authorization authority information is used for granting the access authority of the standby resource to the second electronic equipment.
5. A resource sharing method applied to a second electronic device is provided,
sending a target application access request to first electronic equipment, wherein the target application access request is used for requesting to access a target application in the first electronic equipment;
receiving an operation result sent by the first electronic device, wherein the operation result is: when the first electronic equipment runs the target application by using the running resources of the target application, the first electronic equipment runs the target application by using the standby resources of the running resources;
and displaying the running interface of the target application according to the running result.
6. The method of claim 5, wherein prior to sending the target application access request to the first electronic device, the method further comprises:
receiving authorization authority information corresponding to the standby resource sent by the first electronic device, wherein the authorization authority information is used for granting an access authority of the standby resource to the second electronic device;
the sending of the target application access request to the first electronic device includes:
and sending a target application access request to the first electronic equipment according to the authorization authority information.
7. The method of claim 5, wherein displaying the running interface of the target application comprises:
displaying an operation interface of the target application, and adding watermark information on the operation interface;
alternatively, the first and second electrodes may be,
after the displaying the running interface of the target application according to the running result, the method further comprises:
receiving a second input;
and responding to the second input, executing target operation on the running interface to obtain target content, and adding the watermark information to the target content, wherein the target operation comprises screen capture operation or screen recording operation.
8. The resource sharing device is characterized by comprising a receiving module and an operating module;
the receiving module is used for receiving a target application access request sent by second electronic equipment under the condition that the first electronic equipment runs a target application by using a running resource of the target application, wherein the first electronic equipment stores a standby resource of the running resource;
the running module is configured to run the target application using the standby resource in response to the target application access request received by the receiving module, and synchronize a running result of the standby resource to the second electronic device.
9. The apparatus of claim 8,
the running module is specifically used for the first electronic device to run the target application by using a running resource foreground of the target application;
the running module is further specifically configured to run the target application by using the standby resource in a background.
10. The apparatus of claim 8, further comprising a storage module;
the receiving module is further used for receiving a first input;
the storage module is configured to generate a standby resource of the running resource of the target application in response to the first input received by the receiving module, and store the standby resource in a standby storage area of the first electronic device.
11. The apparatus of claim 8, further comprising a transmitting module;
the sending module is configured to send authorization right information corresponding to the standby resource to the second electronic device, where the authorization right information is used to grant an access right of the standby resource to the second electronic device.
12. The resource sharing device is characterized by comprising a sending module, a receiving module and a display module;
the sending module is used for sending a target application access request to first electronic equipment, wherein the target application access request is used for requesting to access a target application in the first electronic equipment;
the receiving module is configured to receive an operation result sent by the first electronic device, where the operation result is: when the first electronic equipment runs the target application by using the running resources of the target application, the first electronic equipment runs the target application by using the standby resources of the running resources;
and the display module is used for displaying the running interface of the target application according to the running result received by the receiving module.
13. The apparatus of claim 12,
the receiving module is further configured to receive authorization right information corresponding to the standby resource sent by the first electronic device, where the authorization right information is used to grant an access right of the standby resource to a second electronic device;
the sending module is specifically configured to send a target application access request to the first electronic device according to the authorization authority information received by the receiving module.
14. The apparatus of claim 12, further comprising an add module;
the display module is specifically used for displaying an operation interface of the target application and adding watermark information on the operation interface;
alternatively, the first and second electrodes may be,
the receiving module is further used for receiving a second input;
the adding module responds to the second input received by the receiving module, executes target operation on the running interface to obtain target content, and adds the watermark information to the target content, wherein the target operation comprises screen capture operation or screen recording operation.
15. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the resource sharing method according to any one of claims 1 to 4 or any one of claims 5 to 7.
CN202011163570.4A 2020-10-27 2020-10-27 Resource sharing method and device and electronic equipment Active CN112399216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011163570.4A CN112399216B (en) 2020-10-27 2020-10-27 Resource sharing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011163570.4A CN112399216B (en) 2020-10-27 2020-10-27 Resource sharing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112399216A true CN112399216A (en) 2021-02-23
CN112399216B CN112399216B (en) 2023-05-09

Family

ID=74597223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011163570.4A Active CN112399216B (en) 2020-10-27 2020-10-27 Resource sharing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112399216B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN104506650A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Cooperative user equipment control method, user equipment and communication system
US20150347200A1 (en) * 2014-05-29 2015-12-03 Apple Inc. Sharing extension points to allow an application to share content via a sharing extension
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
US20180006818A1 (en) * 2015-10-28 2018-01-04 Tencent Technology (Shenzhen) Company Limited Authentication method, device, server, and system, and storage medium
CN108469969A (en) * 2016-10-25 2018-08-31 中兴通讯股份有限公司 A kind of method and device by split screen display available multi-user's account
WO2018188460A1 (en) * 2017-04-12 2018-10-18 腾讯科技(深圳)有限公司 Data sharing method and device
CN111061404A (en) * 2019-11-26 2020-04-24 维沃移动通信有限公司 Control method and first electronic device
CN111124569A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111142998A (en) * 2019-12-23 2020-05-12 维沃移动通信有限公司 Sharing method of background application and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
US20150347200A1 (en) * 2014-05-29 2015-12-03 Apple Inc. Sharing extension points to allow an application to share content via a sharing extension
CN104506650A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Cooperative user equipment control method, user equipment and communication system
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
US20180006818A1 (en) * 2015-10-28 2018-01-04 Tencent Technology (Shenzhen) Company Limited Authentication method, device, server, and system, and storage medium
CN108469969A (en) * 2016-10-25 2018-08-31 中兴通讯股份有限公司 A kind of method and device by split screen display available multi-user's account
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
WO2018188460A1 (en) * 2017-04-12 2018-10-18 腾讯科技(深圳)有限公司 Data sharing method and device
CN111061404A (en) * 2019-11-26 2020-04-24 维沃移动通信有限公司 Control method and first electronic device
CN111124569A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium
CN111142998A (en) * 2019-12-23 2020-05-12 维沃移动通信有限公司 Sharing method of background application and electronic equipment

Also Published As

Publication number Publication date
CN112399216B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN112769856B (en) Application account sharing method and device and electronic equipment
CN111078325B (en) Application program running method and device, electronic equipment and storage medium
CN113569288A (en) Authority management method and device and electronic equipment
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN114042310A (en) Game operation data collection method and device, computer equipment and storage medium
CN113805703A (en) Behavior wallpaper unlocking method and device and electronic equipment
CN107346197B (en) Information display method and device
CN111817944A (en) Picture sharing method and device and electronic equipment
CN113325980B (en) Control method, control device, electronic equipment and readable storage medium
CN112399216B (en) Resource sharing method and device and electronic equipment
CN113709300B (en) Display method and device
CN112291412B (en) Application program control method and device and electronic equipment
CN111766992B (en) Information display method and device, electronic equipment and storage medium
CN112163209B (en) Application management method and device and electronic equipment
CN111565382B (en) Transmission method and electronic equipment
CN111104183B (en) Application program running method and device, electronic equipment and storage medium
CN113138786A (en) Application updating method and device
CN113300944A (en) Friend adding method and device and electronic equipment
CN115277273B (en) Resource sharing method and resource sharing device
CN113312571B (en) Page management method and device, computer equipment and storage medium
CN113783840B (en) Account login method, device, equipment and storage medium
CN116456162B (en) Live broadcasting room object display method and device, electronic equipment and storage medium
CN114491684B (en) Terminal device collaborative display method, system, terminal device and medium
CN113691439B (en) Content sharing method and device
CN114090132A (en) Application program starting method, application program starting device and equipment

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