Resource sharing method and resource sharing device
By creating a resource list in the target application and using communication connections to obtain resource information, the problem of a single existing resource sharing solution is solved, the convenience and efficiency of resource sharing are achieved, and the effective acquisition and sharing experience of resources is ensured.
Patent Information
- Application Number
- CN202111177595.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-09
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-10-09
AI Technical Summary
The existing resource sharing plan is single in form and cannot meet the current demand for resource sharing, especially when sharing music, which lacks convenience and effectiveness.
By creating a resource list in the target application, using communication connections to realize the sharing of the resource list, and obtaining resource information in the online database of the target application. If the resource exists, download it. If it does not exist, obtain it from the first terminal to ensure the effectiveness of the resource share.
It improves the convenience and success rate of resource sharing, reduces resource sharing time, and ensures the integrity and effectiveness of resources.
Smart Images

Figure CN113938479B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information processing, and specifically relates to a resource sharing method and a resource sharing device. Background Art
[0002] In the related technical solutions, when music needs to be shared, the Bluetooth module on the handheld terminal is usually used to directly send the music file to the user to be shared, so that the user can play it.
[0003] Technical personnel in this field have found that the existing resource sharing solutions are single in form and cannot meet the current sharing needs for resource sharing. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a resource sharing method and a resource sharing device, which can solve the problem that the existing resource sharing solutions are single in form and cannot meet the current sharing needs for resource sharing.
[0005] In a first aspect, an embodiment of the present application provides a resource sharing method, the method comprising: when establishing a communication connection with a first terminal, receiving a resource list shared by the first terminal, wherein the resource list includes at least one resource information; based on the at least one resource information, determining a target application from multiple applications; creating a resource list in the target application; when a resource corresponding to the first resource information is searched in the target application, downloading the resource corresponding to the first resource information; when a resource corresponding to the first resource information is not searched in the target application, sending resource request information to the first terminal and receiving the resource corresponding to the first resource information sent by the first terminal, wherein the first resource information is any one of the at least one resource information.
[0006] In a second aspect, an embodiment of the present application provides a resource sharing device, comprising: a receiving unit, for receiving a resource list shared by the first terminal when a communication connection is established with the first terminal, wherein the resource list includes at least one resource information; a determining unit, for determining a target application from multiple applications based on at least one resource information; a creating unit, for creating a resource list in the target application; when a resource corresponding to the first resource information is searched in the target application, downloading the resource corresponding to the first resource information; when a resource corresponding to the first resource information is not searched in the target application, sending resource request information to the first terminal; receiving the resource corresponding to the first resource information sent by the first terminal, wherein the first resource information is any resource information among the at least one resource information.
[0007] In a third aspect, an embodiment of the present application provides one of the electronic devices, including a resource sharing device as in any of the above embodiments.
[0008] In a fourth aspect, an embodiment of the present application provides a second electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the resource sharing method of the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the resource sharing method of the first aspect are implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the resource sharing method as in the first aspect.
[0011] In an embodiment of the present application, a resource sharing method is proposed. In the resource sharing method, a communication connection is used to realize the sharing of a resource list, and a resource list is created in a target application. The above-mentioned resource sharing scheme converts offline resource sharing into online file sharing, and uses the target application to obtain the resources corresponding to the resource list, innovatively constructing a sharing strategy that uses a communication connection to transmit a resource list, uses the online database of the target application to obtain resource information, or uses a communication connection to obtain resources.
[0012] When applying the above resource sharing method, if the resource corresponding to the first resource information is searched in the target application, it is not necessary to obtain the resource from the first terminal, thereby reducing the time spent on resource sharing; and if the resource corresponding to the first resource information is not searched in the target application, the first terminal is used to obtain the resource to ensure effective resource sharing. In the above process, the convenience of resource sharing and the resource sharing experience are improved.
[0013] In addition, by limiting at least one resource information contained in the resource list, so as to determine the target application among multiple applications based on at least one resource information, the application that creates the resource list can adapt to the resource list, ensuring the effective acquisition of the resources corresponding to the resource list, reducing the occurrence of resources that cannot be acquired, and increasing the probability of successful resource sharing. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a flowchart of a resource sharing method in an embodiment of the present application;
[0015] Figure 2 is a schematic diagram of turning on and off the Bluetooth and NFC functions in an embodiment of the present application;
[0016] Figure 3is a schematic diagram of a user of a first terminal in an embodiment of the present application selecting a music list to be shared with a current terminal through online music software;
[0017] Figure 4 is a schematic block diagram of a resource sharing device in an embodiment of the present application;
[0018] Figure 5 It is one of the schematic block diagrams of the electronic device in the embodiment of the present application;
[0019] Figure 6 This is the second schematic block diagram of the electronic device in the embodiment of the present application;
[0020] Figure 7 It is a schematic diagram of the hardware structure of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0023] The resource sharing method and resource sharing device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0024] In one embodiment, if Figure 1 As shown, a resource sharing method is proposed, including:
[0025] Step 102, when a communication connection is established with the first terminal, receiving a resource list shared by the first terminal, wherein the resource list includes at least one resource information;
[0026] Step 104, determining a target application from a plurality of applications according to at least one resource information;
[0027] Step 106, creating a resource list in the target application;
[0028] Step 108, when a resource corresponding to the first resource information is searched in the target application, download the resource corresponding to the first resource information;
[0029] Step 110, when the resource corresponding to the first resource information is not found in the target application, sending resource request information to the first terminal;
[0030] Step 112: Receive resources corresponding to first resource information sent by the first terminal.
[0031] The first resource information is any resource information among the at least one resource information.
[0032] In this embodiment, a resource sharing method is proposed. In this resource sharing method, a communication connection is used to share a resource list, and a resource list is created in a target application. The above resource sharing solution converts offline resource sharing into online file sharing, and uses the target application to obtain the resources corresponding to the resource list. An innovative sharing strategy is constructed that uses a communication connection to transmit a resource list, uses the target application's online database to obtain resource information, or uses a communication connection to obtain resources.
[0033] When applying the resource sharing method, if the resource corresponding to the first resource information is searched in the target application, it is not necessary to obtain the resource from the first terminal, thereby reducing the time spent on resource sharing; and if the resource corresponding to the first resource information is not searched in the target application, the resource is obtained using the first terminal to ensure effective resource sharing. In the above process, the convenience and sharing experience of resource sharing are improved.
[0034] In addition, by limiting at least one resource information contained in the resource list, so as to determine the target application among multiple applications based on at least one resource information, the application that creates the resource list can adapt to the resource list, ensuring the effective acquisition of the resources corresponding to the resource list, reducing the occurrence of resources that cannot be acquired, and increasing the probability of successful resource sharing.
[0035] In some of the embodiments, it also includes: determining a target application among multiple applications based on at least one resource information, including: determining search results of at least one resource information in an online database corresponding to each application, wherein the search results include a quantity value of the resource information that can be searched; determining an application corresponding to a maximum quantity value; and using the application corresponding to the maximum quantity value as the target application.
[0036] In this embodiment, the target application selection process is defined. Specifically, at least one resource information is searched in each of multiple applications. If the resource information is found in the application, it is determined that the application has a certain degree of compatibility with the resource list. The search results of multiple applications are counted so that the search results can be used as an indicator for screening the target application. In this process, an indicator for screening the target application is given, and the target application is screened based on the indicator to ensure the compatibility of the target application with the resource list, reduce the occurrence of the situation where the resource cannot be obtained, and increase the probability of successful resource sharing.
[0037] By taking the application corresponding to the maximum number of the number values that can be searched for at least one resource information as the target application, it is ensured that the resources corresponding to most of the resource information can be obtained in the target application, so that the current user can restore the resources shared by the first terminal to the greatest extent, and reduce the probability of some resources in the shared resource list not being found.
[0038] For example, when the resource list contains 10 resource information and there are 4 applications, the 10 resource information are searched in the 4 applications respectively, and the search results are: 8 resource information are searched in the first application, 9 resource information are searched in the second application, 3 resource information are searched in the third application, and 10 resource information are searched in the fourth application. The fourth application is selected as the target application so that the current user can restore the resources shared by the first terminal to the greatest extent.
[0039] In one of the embodiments, a target application is determined among multiple applications based on at least one resource information, including: determining search results of at least one resource information in a local database corresponding to each application, wherein the search results include quantity values of resources corresponding to the resource information contained in the local database; determining an application corresponding to a maximum quantity value; and using the application corresponding to the maximum quantity value as the target application.
[0040] In this embodiment, another solution for determining the target application is proposed. Generally, each application corresponds to a local database, wherein the local database is a database downloaded from the cloud and stored locally during the use of the application. Considering that if all resources corresponding to the resource information in the resource list are obtained by downloading, the download volume of the above resources will be very large, which is very likely to cause congestion in the current user's data upload and / or download channel.
[0041] In order to reduce the occurrence of the above situation, in this embodiment, when determining the target application, the number of resource information contained in the application is used as a reference, and the application containing the most resource information is selected as the target application, so as to reduce the download amount and reduce the probability of congestion in the data upload and / or download channel.
[0042] For example, when the resource list contains 10 resource information and there are 4 applications, there are 8 resources corresponding to the resource information in the first application, 9 resources corresponding to the resource information in the second application, 3 resources corresponding to the resource information in the third application, and 10 resources corresponding to the resource information in the fourth application. The fourth application is selected as the target application. At this time, the resource list can be restored without downloading, reducing the chance of congestion in the data upload and / or download channels.
[0043] In some of the embodiments, after creating the resource list in the target application, the method further includes: receiving a first input for the resource list in the target application; and playing the resource corresponding to the resource list in response to the first input.
[0044] In this embodiment, after the resource list is created in the target application, a response is further made to the received first input to play the resource in the resource list so that the current user can view or share the resource.
[0045] In one embodiment, the first input may be any one of voice input, keyboard input, and touch input.
[0046] In one of the embodiments, based on searching for resources corresponding to the first resource information in the target application, the resources corresponding to the first resource information are downloaded; based on not searching for resources corresponding to the first resource information in the target application, first information is sent to the first terminal so that the first terminal feeds back the resources corresponding to the first resource information; and the resources corresponding to the first resource information are received, wherein the first resource information is any one of at least one resource information.
[0047] In this embodiment, after creating a resource list in the target application, a solution for obtaining the resources corresponding to the resource list is defined. Specifically, at least one resource information is searched in the target application. For any resource information, such as the first resource information, if the corresponding resource is found in the target application, the resource corresponding to the first resource information is downloaded to obtain the resource.
[0048] If the resource corresponding to the first resource information is not searched in the target application, it is determined that the resource has not been included in the target application. In this case, the first information can be sent to the first terminal so that after receiving the first information, the first terminal shares the resource corresponding to the first resource information with the current user, so that the current user can fully obtain the resources involved in the sharing list, thereby ensuring the integrity of the shared resources.
[0049] In one embodiment, the first information includes first resource information. Specifically, since the first information is sent when the first resource information is not found in the target application, in other words, the purpose of sending the first information is to obtain the resources corresponding to the first resource information. By limiting the first information to include the first resource information, the first terminal can determine the resources that need to be transmitted after receiving the first information, thereby reducing the probability of the resources sent by the first terminal being inconsistent with the actually required resources.
[0050] In some embodiments, after receiving the first information, the first terminal searches for local resources, and outputs a first reminder message if the resource corresponding to the first resource information is not found in the local resources, wherein the first reminder message is used to instruct the user of the first terminal whether to download the resource corresponding to the first resource information; if a second input from the user is received, wherein the second input is used to indicate agreement to download the resource corresponding to the first resource information, then the resource corresponding to the first resource information is downloaded and the resource corresponding to the first resource information is sent; if a third input from the user is received, wherein the third input is used to indicate disagreement to download the resource corresponding to the first resource information, the download is canceled and no response is made to the first information.
[0051] In some of the embodiments, the resource list shared by the first terminal further includes resource list information: creating the resource list in the target application includes: creating the resource list according to the resource list information.
[0052] In this embodiment, it is defined how to create a resource list in the target application, by defining the resource list shared by the first terminal to also include resource list information, and creating a resource list based on the resource list information, so as to ensure that the resource list shared by the first terminal is the same as the resource list created in the target application, thereby reducing the probability of inconsistency between the two.
[0053] In one of the embodiments, the resource list information includes at least one of the following: a name of the resource list, a cover image of the resource list, and an arrangement order of at least one resource information.
[0054] In this embodiment, the content included in the resource list information is limited. By limiting the resource list information to include content such as the name of the resource list, the cover image of the resource list, and the arrangement order of at least one resource information, it is ensured that the resource list shared by the first terminal is the same as the resource list created in the target application, thereby reducing the probability of inconsistency between the two.
[0055] In one of the embodiments, a communication connection is established with the first terminal through one or more of NFC, Android Beam, Bluetooth transmission, and infrared transmission.
[0056] In this embodiment, the communication means used for the communication connection is defined, wherein NFC (Near Field Communication) is a short-range high-frequency wireless communication technology that allows contactless point-to-point data transmission between electronic devices and the exchange of data within ten centimeters.
[0057] Among them, Android Beam is a new feature based on near-field communication. It is an application designed to make the most of NFC technology, allowing users to share almost anything, whether it is contacts, pictures, web links or video links.
[0058] Among them, Bluetooth transmission, that is, transmission based on Bluetooth technology, wherein Bluetooth technology is an open global specification for wireless data and voice communications. It is a special short-range wireless technology connection based on low-cost short-range wireless connection to establish a communication environment for fixed and mobile devices.
[0059] Among them, infrared transmission, that is, transmitting data in the form of infrared rays, can easily achieve wireless connection in an office environment.
[0060] In one embodiment, the types corresponding to the resource information include but are not limited to: one or more of audio, video, and document, and may also include pictures, compressed packages, applications, link packages, etc.
[0061] In one of the embodiments, the resource information includes at least one of the following: the name of any resource information, the name of the author of any resource information, and the name of the album to which any resource sub-information belongs.
[0062] In one of the embodiments, since one or more of NFC, Android Beam, Bluetooth transmission, and infrared transmission are used to establish short-range wireless communication with the first terminal, before receiving the resource list shared by the first terminal, it is necessary to propose communication with the first terminal, and the specific process includes:
[0063] (1) Enable one or more of NFC, Android Beam, Bluetooth transmission, and infrared transmission on the user terminal and the first terminal.
[0064] For example, the user terminal and the first terminal have Bluetooth and NFC. Figure 2 As shown, the Bluetooth and NFC functions are turned on and off by using the Bluetooth and NFC function buttons.
[0065] (2) If the user terminal and the first terminal both have NFC turned on, they can exchange connection information by "touching" each other to determine that the other party is the object to be shared; if the user terminal and the first terminal both have Bluetooth turned on, they can search for Bluetooth to determine that the other party is the object to be shared, and after determining that the other party is the object to be shared, select the object to establish communication.
[0066] Here, “touch and pay” may be understood as that the distance between the NFC of the user terminal and the NFC of the first terminal is less than ten centimeters.
[0067] In one embodiment, the resource list shared by the first terminal may be a list selected under a certain application, wherein the certain application may be online music software, online video software, and online social software.
[0068] For example, a certain application is an online music software. The user of the first terminal selects a music list to be shared with the current terminal through the online music software. The selection process is as follows: Figure 3 shown.
[0069] For example, an application is an online social software. When a user of a first terminal browses social dynamics through the online social software, he finds that a resource list contained in a social dynamic is a resource that suits his preferences, so he collects and / or downloads it. When communication is established between the user terminal and the first terminal, the resource list is sent to the user terminal to achieve resource sharing.
[0070] It should be noted that the resource sharing method provided in the embodiment of the present application can be executed by a resource sharing device or a control module in the resource sharing device for executing the resource sharing method. In the embodiment of the present application, the resource sharing device provided in the embodiment of the present application is described by taking the resource sharing method executed by the resource sharing device as an example.
[0071] In one embodiment, if Figure 4As shown, a resource sharing device 400 is proposed, including: a receiving unit 402, used to receive a resource list shared by the first terminal when a communication connection is established with the first terminal, wherein the resource list includes at least one resource information; a determining unit 404, used to determine a target application from multiple applications based on at least one resource information; a creating unit 406, used to create a resource list in the target application; in case the resource corresponding to the first resource information is searched in the target application, the resource corresponding to the first resource information is downloaded; in case the resource corresponding to the first resource information is not searched in the target application, resource request information is sent to the first terminal; and the resource corresponding to the first resource information sent by the first terminal is received, wherein the first resource information is any resource information among the at least one resource information.
[0072] In this embodiment, a resource sharing device 400 is proposed. In this resource sharing method, a communication connection is used to share a resource list, and a resource list is created in a target application. The above resource sharing solution converts offline resource sharing into online file sharing, and uses the target application to obtain the resources corresponding to the resource list, innovatively constructing a sharing strategy that uses a communication connection to transmit a resource list, uses the target application's online database to obtain resource information, or uses a communication connection to obtain resources.
[0073] When the resource sharing device 400 is applied, if the resource corresponding to the first resource information is searched in the target application, it is not necessary to obtain the resource from the first terminal, thereby reducing the time spent on resource sharing; and if the resource corresponding to the first resource information is not searched in the target application, the resource is obtained using the first terminal to ensure effective resource sharing. In the above process, the convenience and sharing experience of resource sharing are improved.
[0074] In addition, by limiting at least one resource information contained in the resource list, so as to determine the target application among multiple applications based on at least one resource information, the application that creates the resource list can adapt to the resource list, thereby improving the acquisition of resources corresponding to the resource list, reducing the occurrence of resources that cannot be acquired, and increasing the probability of successful resource sharing.
[0075] In one of the embodiments, the determination unit 404 is further used to determine the search results of at least one resource information in the online database corresponding to each application, wherein the search results include the quantity value of the resource information that can be searched; determine the application corresponding to the maximum quantity value; and use the application corresponding to the maximum quantity value as the target application.
[0076] In this embodiment, the target application selection process is defined. Specifically, at least one resource information is searched in each of multiple applications. If the resource information is found in the application, it is determined that the application has a certain degree of compatibility with the resource list. The search results of multiple applications are counted so that the search results can be used as an indicator for screening the target application. In this process, an indicator for screening the target application is given, and the target application is screened based on the indicator to ensure the compatibility of the target application with the resource list, reduce the occurrence of the situation where the resource cannot be obtained, and increase the probability of successful resource sharing.
[0077] By taking the application corresponding to the maximum number of the number values that can be searched for at least one resource information as the target application, it is ensured that the resources corresponding to most of the resource information can be obtained in the target application, so that the current user can restore the resources shared by the first terminal to the greatest extent, and reduce the probability of some resources in the shared resource list not being found.
[0078] In one of the embodiments, the determination unit 404 is further used to determine the search results of at least one resource information in the local database corresponding to each application, wherein the search results include the quantity value of the resources corresponding to the resource information contained in the local database; determine the application corresponding to the maximum quantity value; and use the application corresponding to the maximum quantity value as the target application.
[0079] In this embodiment, another solution for determining the target application is proposed. Generally, each application corresponds to a local file, wherein the local file is a file downloaded from the cloud and saved locally during the use of the application. Considering that if all resources corresponding to the resource information in the resource list are obtained by downloading, the download volume of the above resources will be very large, which is very likely to cause congestion in the current user's data upload and / or download channel.
[0080] In order to reduce the occurrence of the above situation, in this embodiment, when determining the target application, the number of resource information contained in the application is used as a reference, and the application containing the most resource information is selected as the target application, so as to reduce the download amount and reduce the probability of congestion in the data upload and / or download channel.
[0081] In one embodiment, the receiving unit 402 is further configured to receive a first input of a resource list in the target application; and in response to the first input, play the resource corresponding to the resource list.
[0082] In this embodiment, after the resource list is created in the target application, a response is further made to the received first input to play the resource in the resource list so that the current user can view or share the resource.
[0083] In one of the embodiments, the creation unit 406 is also used to download the resources corresponding to the first resource information based on searching the resources corresponding to the first resource information in the target application; send the first information to the first terminal based on not searching the resources corresponding to the first resource information in the target application, so that the first terminal can feedback the resources corresponding to the first resource information; receive the resources corresponding to the first resource information, wherein the first resource information is any resource information of at least one resource information.
[0084] In this embodiment, after creating a resource list in the target application, a solution for obtaining the resources corresponding to the resource list is defined. Specifically, at least one resource information is searched in the target application. For any resource information, such as the first resource information, if the corresponding resource is found in the target application, the resource corresponding to the first resource information is downloaded to obtain the resource.
[0085] If the resource corresponding to the first resource information is not searched in the target application, it is determined that the resource has not been included in the target application. In this case, the first information can be sent to the first terminal so that after receiving the first information, the first terminal shares the resource corresponding to the first resource information with the current user, so that the current user can fully obtain the resources involved in the sharing list, thereby ensuring the integrity of the shared resources.
[0086] In one of the embodiments, the resource list shared by the first terminal further includes resource list information: the creation unit 406 is further configured to create a resource list according to the resource list information.
[0087] In this embodiment, it is defined how to create a resource list in the target application, by defining the resource list shared by the first terminal to also include resource list information, and creating a resource list based on the resource list information, so as to ensure that the resource list shared by the first terminal is the same as the resource list created in the target application, thereby reducing the probability of inconsistency between the two.
[0088] In one of the embodiments, the resource list information includes at least one of the following: a name of the resource list, a cover image of the resource list, and an arrangement order of at least one resource information.
[0089] In one of the embodiments, short-range wireless communication is established with the first terminal through one or more of NFC, Android Beam, Bluetooth transmission, and infrared transmission.
[0090] In one embodiment, the type corresponding to the resource information includes: one or more of audio, video, and document.
[0091] In one of the embodiments, the resource information includes at least one of the following: the name of any resource information, the name of the author of any resource information, and the name of the album to which any resource sub-information belongs.
[0092] The resource sharing device 400 in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0093] The resource sharing device 400 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0094] The resource sharing device 400 provided in the embodiment of the present application can realize Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0095] In one embodiment, if Figure 5 As shown, an electronic device 500 is proposed, comprising the resource sharing device 400 in any of the above embodiments.
[0096] In one embodiment, if Figure 6 As shown, an electronic device 600 is proposed, including a processor 602, a memory 604, and a program or instruction stored in the memory 604 and executable on the processor 602. When the program or instruction is executed by the processor 602, each process of the above-mentioned resource sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0097] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0098] Figure 7A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0099] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
[0100] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0101] Processor 710 is used to receive a resource list shared by the first terminal when a communication connection is established with the first terminal, wherein the resource list includes at least one resource information; determine a target application from multiple applications based on the at least one resource information; create a resource list in the target application; download the resource corresponding to the first resource information when the resource corresponding to the first resource information is searched in the target application; send resource request information to the first terminal when the resource corresponding to the first resource information is not searched in the target application; receive the resource corresponding to the first resource information sent by the first terminal, wherein the first resource information is any resource information among the at least one resource information.
[0102] A resource sharing method is proposed. In the resource sharing method, a communication connection is used to share a resource list, and a resource list is created in a target application. The above resource sharing scheme converts offline resource sharing into online file sharing, and uses the target application to obtain the resources corresponding to the resource list. An innovative sharing strategy is constructed, which uses a communication connection to transmit a resource list, uses the online database of the target application to obtain resource information, or uses a communication connection to obtain resources.
[0103] When applying the resource sharing method, if the resource corresponding to the first resource information is searched in the target application, it is not necessary to obtain the resource from the first terminal, thereby reducing the time spent on resource sharing; and if the resource corresponding to the first resource information is not searched in the target application, the resource is obtained using the first terminal to ensure effective resource sharing. In the above process, the convenience and sharing experience of resource sharing are improved.
[0104] In addition, by limiting at least one resource information contained in the resource list, so as to determine the target application among multiple applications based on at least one resource information, the application that creates the resource list can adapt to the resource list, ensuring the effective acquisition of the resources corresponding to the resource list, reducing the occurrence of resources that cannot be acquired, and increasing the probability of successful resource sharing.
[0105] In one embodiment, the processor 710 is further used to determine the search results of at least one resource information in the online database corresponding to each application, wherein the search results include the quantity value of the resource information that can be searched; determine the application corresponding to the maximum quantity value; and use the application corresponding to the maximum quantity value as the target application.
[0106] In one embodiment, the processor 710 is further used to determine the search results of at least one resource information in the local database corresponding to each application, wherein the search results include the quantity value of the resources corresponding to the resource information contained in the local database; determine the application corresponding to the maximum quantity value; and use the application corresponding to the maximum quantity value as the target application.
[0107] In one of the embodiments, after creating the resource list in the target application, the processor 710 is further configured to receive a first input for the resource list in the target application; and in response to the first input, play the resource corresponding to the resource list.
[0108] In one embodiment, the processor 710 is further used to download the resources corresponding to the first resource information based on searching the resources corresponding to the first resource information in the target application; send the first information to the first terminal based on not searching the resources corresponding to the first resource information in the target application, so that the first terminal can feedback the resources corresponding to the first resource information; receive the resources corresponding to the first resource information, wherein the first resource information is any resource information of at least one resource information.
[0109] In one of the embodiments, the resource list shared by the first terminal further includes resource list information: the processor 710 is further configured to: create a resource list according to the resource list information.
[0110] In one of the embodiments, the resource list information includes at least one of the following: a name of the resource list, a cover image of the resource list, and an arrangement order of at least one resource information.
[0111] In one of the embodiments, short-range wireless communication is established with the first terminal through one or more of NFC, Android Beam, Bluetooth transmission, and infrared transmission.
[0112] In one embodiment, the type corresponding to the resource information includes: one or more of audio, video, and document.
[0113] In one of the embodiments, the resource information includes at least one of the following: the name of any resource information, the name of the author of any resource information, and the name of the album to which any resource sub-information belongs.
[0114] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 709 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 710 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 710.
[0115] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned resource sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0116] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0117] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned resource sharing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0118] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0119] It should be noted that, in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0121] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A resource sharing method, characterized in that: include: In a case where a communication connection is established with a first terminal, receiving a resource list shared by the first terminal, wherein the resource list includes at least one resource information; Determine the search results of the at least one resource information in the online database corresponding to each application, wherein the search results include the quantity value of the resource information that can be searched; determine the application corresponding to the maximum quantity value; The application corresponding to the maximum number value is taken as the target application; Creating the resource list in the target application; If a resource corresponding to the first resource information is searched in the target application, downloading the resource corresponding to the first resource information; If the resource corresponding to the first resource information is not found in the target application, sending resource request information to the first terminal, and receiving the resource corresponding to the first resource information sent by the first terminal; The first resource information is any resource information among the at least one resource information.
2. The resource sharing method according to claim 1, characterized in that: Also includes: Determine a search result of the at least one resource information in a local database corresponding to each application, wherein the search result includes a quantity value of resources corresponding to the resource information contained in the local database; determine an application corresponding to a maximum quantity value; The application corresponding to the maximum number value is used as the target application.
3. The resource sharing method according to claim 1 or 2, characterized in that: The resource list shared by the first terminal also includes resource list information: The creating the resource list in the target application includes: The resource list is created according to the resource list information.
4. The resource sharing method according to claim 1 or 2, characterized in that: The resource information includes at least one of the following: The name of any of the resource information, the name of the author of any of the resource information, and the name of the album to which any of the resource sub-information belongs.
5. A resource sharing device, characterized in that: include: A receiving unit, configured to receive a resource list shared by a first terminal when a communication connection is established with the first terminal, wherein the resource list includes at least one resource information; a determination unit, configured to determine a search result of the at least one resource information in an online database corresponding to each application, wherein the search result includes a quantity value of the resource information that can be searched; determine an application corresponding to a maximum quantity value; and use the application corresponding to the maximum quantity value as a target application; A creation unit, used for creating the resource list in the target application; If a resource corresponding to the first resource information is searched in the target application, downloading the resource corresponding to the first resource information; If the resource corresponding to the first resource information is not found in the target application, sending resource request information to the first terminal, and receiving the resource corresponding to the first resource information sent by the first terminal; The first resource information is any resource information among the at least one resource information.
6. The resource sharing device according to claim 5, characterized in that: The determining unit is further configured to: Determine a search result of the at least one resource information in a local database corresponding to each application, wherein the search result includes a quantity value of resources corresponding to the resource information contained in the local database; Determine the application corresponding to the maximum quantity value; The application corresponding to the maximum number value is used as the target application.
7. The resource sharing device according to claim 5 or 6, characterized in that: The resource list shared by the first terminal also includes resource list information, and the creating unit is specifically used to: The resource list is created according to the resource list information.
8. The resource sharing device according to claim 5 or 6, characterized in that: The resource information includes at least one of the following: The name of any of the resource information, the name of the author of any of the resource information, and the name of the album to which any of the resource sub-information belongs.
