WO2023134389A1 - 一种资源信息的共享方法、电子设备及计算机存储介质 - Google Patents

一种资源信息的共享方法、电子设备及计算机存储介质 Download PDF

Info

Publication number
WO2023134389A1
WO2023134389A1 PCT/CN2022/139493 CN2022139493W WO2023134389A1 WO 2023134389 A1 WO2023134389 A1 WO 2023134389A1 CN 2022139493 W CN2022139493 W CN 2022139493W WO 2023134389 A1 WO2023134389 A1 WO 2023134389A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
resource
information
sharing
resource information
Prior art date
Application number
PCT/CN2022/139493
Other languages
English (en)
French (fr)
Inventor
杨俊拯
梁羽平
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023134389A1 publication Critical patent/WO2023134389A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to resource information sharing technologies between electronic devices, and in particular to a resource information sharing method, electronic devices and computer storage media.
  • the first is a picture sharing method based on the network center, for example, using a network disk Store pictures and share them or use picture sharing websites to upload pictures for sharing based on Uniform Resource Locator (URL). Upload pictures to the group to share.
  • a picture sharing method based on the network center for example, using a network disk Store pictures and share them or use picture sharing websites to upload pictures for sharing based on Uniform Resource Locator (URL). Upload pictures to the group to share.
  • URL Uniform Resource Locator
  • Embodiments of the present application provide a method for sharing resource information, electronic equipment, and a computer storage medium, which can simplify the steps of sharing photo albums.
  • An embodiment of the present application provides a method for sharing resource information, and the method is applied to a first electronic device, including:
  • the second electronic device When the monitoring information of the second electronic device is received, according to the monitoring information, a content search request for the sharing setting information is sent to the second electronic device; the second electronic device is a device with a sharing function ;
  • the second resource information obtained from the content search request is updated and displayed on the first current interface in combination with the first resource information.
  • An embodiment of the present application provides a method for sharing resource information, and the method is applied to a second electronic device, including:
  • the sharing function When the sharing function is turned on, when a content search request for the shared setting information is received from the first electronic device, according to the content search request of the shared setting information, the third resource information is searched and fed back to the first electronic device;
  • the second resource information includes the third resource information.
  • An embodiment of the present application provides a first electronic device, including:
  • the first display module is configured to display the first resource information related to the sharing setting information on the first current interface of the sharing function in response to the start operation of the sharing function;
  • the sending module is configured to, when receiving the monitoring information of the second electronic device, send a content search request for the shared setting information to the second electronic device according to the monitoring information;
  • the second electronic device is Devices with sharing capabilities;
  • the second display module is configured to update and display the second resource information obtained from the content search request on the first current interface in combination with the first resource information.
  • An embodiment of the present application provides a second electronic device, including:
  • the search module is configured to search for the third content according to the content search request of the shared setting information when receiving the content search request for the shared setting information from the first electronic device when the sharing function is turned on. resource information and feed it back to the first electronic device;
  • a third display module configured to display the received first resource information and second resource information on a second current interface of the sharing function; wherein the second resource information includes the third resource information .
  • An embodiment of the present application provides an electronic device, including:
  • An embodiment of the present application provides a computer storage medium storing executable instructions.
  • the executable instructions When the executable instructions are executed by one or more processors, the processors execute the resources described in one or more embodiments. Methods of sharing information.
  • the embodiment of the present application provides a resource information sharing method, electronic equipment and computer storage medium, including: in response to the start operation of the sharing function, displaying the first information related to the sharing setting information on the first current interface of the sharing function Resource information, when receiving the monitoring information of the second electronic device, according to the monitoring information, send a content search request for the shared setting information to the second electronic device, the second electronic device is a device with a sharing function, and sends the content search request
  • the obtained second resource information is updated and displayed on the first current interface in combination with the first resource information; that is, in the embodiment of the present application, both the first electronic device and the second electronic device are electronic devices with a sharing function,
  • the first electronic device displays the first resource information related to the sharing setting information on the first current interface of the sharing function, and receives the monitoring information of the second electronic device, and sends a message to the second
  • the electronic device sends a content search request for the shared setting information, so that the resource information for the shared setting information can be obtained from the second electronic device
  • the first electronic device and the second electronic device can implement the first resource information related to the shared setting information only after receiving the start operation to enable the sharing function.
  • the sharing of the resource information and the second resource information obtained from the content search request for the shared setting information does not need to be affected by the upload quantity of the resource information and the network quality when uploading, thereby improving the sharing efficiency of the resource information.
  • FIG. 1 is a schematic structural diagram of an optional resource information sharing system provided by an embodiment of the present application.
  • FIG. 2 is a flowchart interaction diagram of an optional resource information sharing method provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of Example 1 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an optional resource information sharing system provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of Example 2 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 6 is a schematic interface diagram of Example 1 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 7 is a schematic layout diagram of Example 1 of the current interface of an optional sharing function provided by the embodiment of the present application.
  • FIG. 8 is a schematic flowchart of Example 3 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of Example 4 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 10 is a schematic layout diagram of Example 2 of the current interface of an optional sharing function provided by the embodiment of the present application.
  • FIG. 11 is a schematic interface diagram of Example 2 of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 12 is a schematic layout diagram of Example 3 of the current interface of an optional sharing function provided by the embodiment of the present application.
  • FIG. 13 is an interaction flowchart of an example of an optional resource information sharing method provided by the embodiment of the present application.
  • FIG. 14 is a schematic flow diagram of an optional sharing method provided by the embodiment of the present application.
  • FIG. 15 is a schematic flowchart of another optional sharing method provided by the embodiment of the present application.
  • FIG. 16 is a schematic flowchart of another optional sharing method provided by the embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of an optional first electronic device provided by an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of an optional second electronic device provided by an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of an optional electronic device provided by an embodiment of the present application.
  • the embodiment of the present application provides a sharing method, the method is applied to the first electronic device, including:
  • the second electronic device When the monitoring information of the second electronic device is received, according to the monitoring information, a content search request for the sharing setting information is sent to the second electronic device; the second electronic device is a device with a sharing function ;
  • the second resource information obtained from the content search request is updated and displayed on the first current interface in combination with the first resource information.
  • the second resource information is displayed in the form of abbreviated content.
  • the method also includes:
  • a request for enabling the sharing function is sent to the second electronic device.
  • the method also includes:
  • the method further includes:
  • the first operating resource In response to the first operating resource being selected in the first current interface, displaying a first resource operating menu; the first operating resource is any resource in the first resource information and the second resource information;
  • the displaying the first resource operation menu in response to the selection of the first operation resource in the first current interface includes:
  • a first menu of the first resource operation menu is displayed.
  • the displaying the first resource operation menu in response to the selection of the first operation resource in the first current interface includes:
  • the first menu of the first resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the first resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the executing the function of the submenu of the first resource operation menu in response to the selection of the submenu of the first resource operation menu includes:
  • the function of the submenu of the first menu of the first resource operation menu is executed through the first local data access service.
  • the executing the function of the submenu of the first resource operation menu in response to the selection of the submenu of the first resource operation menu includes:
  • the data access service of the second electronic device to which the selected first operation resource belongs is accessed through the first local data access service, and the first operation resource is executed.
  • a function of the submenu of the second menu of the resource operation menu is executed.
  • updating and displaying the second resource information obtained from the content search request on the first current interface in combination with the first resource information includes:
  • the second resource information obtained from the content search request is updated and displayed in the content display area on the first current interface in conjunction with the first resource information.
  • the updating and displaying the second resource information obtained from the content search request in combination with the first resource information in the content display area on the first current interface includes:
  • displaying the first resource information related to the sharing setting information on the first current interface of the sharing function includes:
  • the displaying the first resource information related to the sharing setting information on the first current interface of the sharing function includes:
  • the first resource information is displayed.
  • the receiving the monitoring information of the second electronic device includes:
  • the source of the collision information is a second electronic device with a sharing function
  • the monitoring information is the collision information.
  • the determining that the monitoring information of the second electronic device is received includes:
  • a content search request for the shared setting information is sent to the second electronic device, include:
  • registering the sharing function of the second electronic device registration includes:
  • the sharing function registered on the second electronic device is registered locally through a local registration service.
  • the method also includes:
  • each resource information sent from the second electronic device is a resource matching the shared setting information
  • the sending a content search request for the shared setting information to the second electronic device according to the monitoring information includes:
  • a content search request for the sharing setting information is sent to the second electronic device through the server.
  • the method also includes:
  • the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
  • the method also includes:
  • a first sharing function entry is displayed on the first current interface
  • an initial interface of the application program to which the sharing function of the first electronic device belongs is displayed on the first current display interface.
  • the method further includes:
  • the main display interface of the first electronic device is displayed on the first current interface.
  • the sending a content search request for the shared setting information to the second electronic device according to the monitoring information includes:
  • the monitoring information indicates that the shared setting information of the first electronic device is the same as that of the second electronic device, and the distance between the first electronic device and the second electronic device is less than When equal to the preset distance threshold, send a content search request for the shared setting information to the second electronic device.
  • the sending a content search request for the shared setting information to the second electronic device according to the monitoring information includes:
  • the monitoring information indicates that the angle between the first electronic device and the second electronic device satisfies a preset condition, and the distance between the first electronic device and the second electronic device is less than or equal to a preset
  • the distance threshold is set, send a content search request for the shared setting information to the second electronic device
  • both the first electronic device and the second electronic device have a UWB function, and the first electronic device uses the UWB function to determine the angle between the first electronic device and the second electronic device.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • the embodiment of the present application provides a sharing method, the method is applied to the second electronic device, including:
  • the sharing function When the sharing function is turned on, when a content search request for the shared setting information is received from the first electronic device, according to the content search request of the shared setting information, the third resource information is searched and fed back to the first electronic device;
  • the second resource information includes the third resource information.
  • the first resource information and the second resource information are displayed in the form of abbreviated content.
  • the method also includes:
  • the method further includes:
  • the second operating resource In response to the second operating resource being selected in the second current interface, displaying a second resource operating menu; the second operating resource is any resource in the first resource information and the second resource information;
  • the displaying the second resource operation menu in response to the selection of the second operation resource in the second current interface includes:
  • the displaying the second resource operation menu in response to the selection of the second operation resource in the second current interface includes:
  • a second menu of the second resource operation menu is displayed.
  • the first menu of the second resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the second resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the executing the function of the submenu of the second resource operation menu in response to the selection of the submenu of the second resource operation menu includes:
  • the function of the submenu of the first menu of the second resource operation menu is executed through the second local data access service.
  • the executing the function of the submenu of the second resource operation menu in response to the selection of the submenu of the second resource operation menu includes:
  • the data access service of the electronic device to which the selected operation resource belongs is accessed through the second local data access service, and the second resource operation menu is executed.
  • the function of the submenu of the second menu is executed.
  • displaying the received first resource information and second resource information on the second current interface of the sharing function includes:
  • the displaying the first resource information and the second resource information in the content display area on the second current interface includes:
  • the searching to obtain third resource information according to the content search request of the shared setting information and feeding it back to the first electronic device includes:
  • a resource search related to the shared setting information is performed through the second local search service, and the third resource information is obtained and fed back to the first electronic device.
  • the obtaining the third resource information and feeding it back to the first electronic device includes:
  • the method also includes:
  • the second resource information is obtained by integrating the resource information of the electronic device received by the server;
  • the method also includes:
  • a second sharing function entry is displayed on the second current interface
  • the initial interface of the application program to which the sharing function of the second electronic device belongs is displayed on the second current interface.
  • the method further includes:
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • the embodiment of the present application provides a sharing method, the method is applied to the first electronic device, including:
  • the second resource information is updated and displayed on the first current interface in combination with the first resource information; wherein, the second resource information is the second electronic device Content related to the sharing setting information in the device; the second electronic device is a device with a sharing function.
  • the embodiment of the present application provides a first electronic device, including:
  • the first display module is configured to display the first resource information related to the sharing setting information on the first current interface of the sharing function in response to the start operation of the sharing function;
  • the sending module is configured to, when receiving the monitoring information of the second electronic device, send a content search request for the shared setting information to the second electronic device according to the monitoring information;
  • the second electronic device is Devices with sharing capabilities;
  • the second display module is configured to update and display the second resource information obtained from the content search request on the first current interface in combination with the first resource information.
  • the second resource information is displayed in the form of abbreviated content.
  • the first electronic device is further configured to:
  • a request for enabling the sharing function is sent to the second electronic device.
  • the first electronic device is further configured to:
  • the first electronic device is further configured to:
  • the second resource information obtained from the content search request is updated and displayed on the first current interface in combination with the first resource information, in response to the first operation resource being selected in the first current interface , displaying a first resource operation menu;
  • the first operation resource is any resource in the first resource information and the second resource information;
  • the first electronic device displays the first resource operation menu in response to the first operation resource being selected in the first current interface, including:
  • the first electronic device displays the first resource operation menu in response to the first operation resource being selected in the first current interface, including:
  • the first menu of the first resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the first resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the first electronic device in response to the submenu of the first resource operation menu being selected, executes the functions of the submenu of the first resource operation menu, including:
  • the function of the submenu of the first menu of the first resource operation menu is executed through the first local data access service.
  • the first electronic device in response to the submenu of the first resource operation menu being selected, executes the functions of the submenu of the first resource operation menu, including:
  • the data access service of the second electronic device to which the selected first operation resource belongs is accessed through the first local data access service, and the first operation resource is executed.
  • a function of the submenu of the second menu of the resource operation menu is executed.
  • the second display module is configured to:
  • the second resource information obtained from the content search request is updated and displayed in the content display area on the first current interface in combination with the first resource information.
  • the second display module combines the second resource information obtained by the content search request with the first resource information to update and display the content display area on the first current interface , including:
  • the first display module is configured to:
  • the displaying of the first resource information related to the sharing setting information by the first display module on the first current interface of the sharing function includes:
  • the first resource information is displayed.
  • the monitoring information received by the first electronic device from the second electronic device includes:
  • the source of the collision information is a second electronic device with a sharing function
  • the monitoring information is the collision information.
  • the first electronic device determines that the interception information received by the second electronic device includes:
  • the sending module is configured to:
  • the sending module when the sending module receives the monitoring information of the second electronic device, it registers the sharing function registered by the second electronic device, including:
  • the sharing function registered on the second electronic device is registered locally through a local registration service.
  • the first electronic device is further configured to:
  • each resource information sent from the second electronic device is a resource matching the shared setting information
  • the sending module sends a content search request for the shared setting information to the second electronic device according to the monitoring information, including:
  • a content search request for the sharing setting information is sent to the second electronic device through the server.
  • the first electronic device is further configured to:
  • the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
  • the first electronic device is further configured to:
  • a first sharing function entry is displayed on the first current interface
  • an initial interface of the application program to which the sharing function of the first electronic device belongs is displayed on the first current display interface.
  • the first electronic device is further configured to:
  • the main display interface of the first electronic device is displayed on the first current interface.
  • the sending module sends a content search request for the shared setting information to the second electronic device according to the monitoring information, including:
  • the monitoring information indicates that the shared setting information of the first electronic device is the same as that of the second electronic device, and the distance between the first electronic device and the second electronic device is less than When equal to the preset distance threshold, send a content search request for the shared setting information to the second electronic device.
  • the sending module sends a content search request for the shared setting information to the second electronic device according to the monitoring information, including:
  • the monitoring information indicates that the angle between the first electronic device and the second electronic device satisfies a preset condition, and the distance between the first electronic device and the second electronic device is less than or equal to a preset
  • the distance threshold is set, send a content search request for the shared setting information to the second electronic device
  • both the first electronic device and the second electronic device have a UWB function, and the first electronic device uses the UWB function to determine the angle between the first electronic device and the second electronic device.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • the embodiment of the present application provides a second electronic device, including:
  • the search module is configured to search for the third content according to the content search request of the shared setting information when receiving the content search request for the shared setting information from the first electronic device when the sharing function is turned on. resource information and feed it back to the first electronic device;
  • a third display module configured to display the received first resource information and second resource information on a second current interface of the sharing function; wherein the second resource information includes the third resource information .
  • the first resource information and the second resource information are displayed in the form of abbreviated content.
  • the second electronic device is further configured to:
  • the second electronic device is further configured to:
  • the second operation resource is any resource in the first resource information and the second resource information
  • the second electronic device displays a second resource operation menu in response to the second operation resource being selected in the second current interface, including:
  • the second electronic device displays a second resource operation menu in response to the second operation resource being selected in the second current interface, including:
  • a second menu of the second resource operation menu is displayed.
  • the first menu of the second resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the second resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the second electronic device in response to the submenu of the second resource operation menu being selected, executes the functions of the submenu of the second resource operation menu, including:
  • the function of the submenu of the first menu of the second resource operation menu is executed through the second local data access service.
  • the second electronic device in response to the submenu of the second resource operation menu being selected, executes the functions of the submenu of the second resource operation menu, including:
  • the data access service of the electronic device to which the selected operation resource belongs is accessed through the second local data access service, and the second resource operation menu is executed.
  • the function of the submenu of the second menu is executed.
  • the third display module is configured to:
  • the third display module displays the first resource information and the second resource information in a content display area on the second current interface, including:
  • the search module obtains the third resource information by searching according to the content search request of the shared setting information and feeds it back to the first electronic device, including:
  • a resource search related to the shared setting information is performed through the second local search service, and the third resource information is obtained and fed back to the first electronic device.
  • the search module obtains the third resource information and feeds it back to the first electronic device, including:
  • the second electronic device is further configured to:
  • the second resource information is obtained by integrating the resource information of the electronic device received by the server;
  • the second electronic device is further configured to:
  • a second sharing function entry is displayed on the second current interface
  • the initial interface of the application program to which the sharing function of the second electronic device belongs is displayed on the second current interface.
  • the second electronic device is further configured to:
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • an embodiment of the present application provides an electronic device, including: a processor and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations through a communication bus, and when the When the instruction is executed by the processor, the resource information sharing method described in one or more embodiments above is executed.
  • the embodiment of the present application provides a computer storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute one or more of the above implementations.
  • FIG. 1 is a schematic structural diagram of an optional resource information sharing system provided in the embodiment of the present application, as shown in FIG. 1, the resource information sharing system may at least include: a first electronic device 11 and a second electronic device 12; wherein,
  • the first electronic device 11 is the initiating device for resource information sharing, and needs to initiate resource information sharing first. Specifically, the first electronic device 11 receives the user's activation operation on the sharing function, and responds to The start operation of the sharing function initiates the sharing of resource information, and the second electronic device 12 is a participating device for the sharing of resource information, and the sharing function is enabled through the opening request of the sharing function sent by the first electronic device 11, so as to realize the sharing function with the second electronic device 11. Resource information is shared among electronic devices 11 .
  • resource information may be any kind of resource information on the electronic device, for example, files, audio, video, pictures, etc., which is not specifically limited in this embodiment of the present application.
  • FIG. 2 is a flowchart interaction schematic diagram of an optional resource information sharing method provided by the embodiment of the present application.
  • the resource information sharing method may include :
  • the first electronic device 11 responds to the start operation of the sharing function, and displays the first resource information related to the sharing setting information on the first current interface of the sharing function;
  • the embodiment of this application provides a In the method for sharing resource information, first, the first electronic device 11 receives a start operation of the sharing function issued by the user, for example, the user clicks the icon of the application program with the sharing function on the boot interface of the first electronic device 11, thereby Make the first electronic device 11 receive the start operation of the sharing function; wherein, the icon of the application program with the sharing function may be an existing icon or a new application program icon, taking the sharing of the photo album as an example, The user can operate the entry of the sharing function in the icon of the album, so that the first electronic device 11 receives the start operation of the sharing function, and the user can also operate the icon of the new sharing function, so that the first electronic device 11 11 Receive the start operation of the sharing function, which is not specifically limited in this embodiment of the present application.
  • the first electronic device 11 After receiving the start operation of the sharing function, the first electronic device 11 responds to the start operation of the sharing function, and displays the first resource information related to the sharing setting information on the first current interface of the sharing function, that is, the first resource information related to the sharing setting information.
  • An electronic device 11 starts the sharing function after receiving the start operation of the sharing function, and displays the first resource information related to the sharing setting information on the first current interface of the sharing function, wherein the sharing setting information may be pre-set Once set, it may also be included in the start operation of the sharing function, which is not specifically limited in this embodiment of the present application.
  • the above-mentioned shared setting information may be a keyword, or may be a set range condition.
  • the above-mentioned first resource information related to the shared setting information may be obtained from the first electronic resource information based on the keyword.
  • the resource information related to the keyword is determined in the resource information of the device 11, and it is used as the first resource information.
  • the set range condition the resource information in the first electronic device that satisfies the set range condition The information is determined as the first resource information.
  • the first electronic device 11 searches for the photo album related to "Forbidden City” from the photo album, wherein, you can use Image recognition technology, find out the picture that contains the Forbidden City in the photo album, thereby determine the first resource information, when the shared setting information is a picture between 14:00-18:00, search from the photo album of the first electronic device 11 The pictures between 14:00-18:00 are displayed as the first resource information.
  • the first electronic device 11 After the first resource information related to the sharing setting information is displayed on the first current interface of the sharing function of the first electronic device 11, in order to realize the sharing of resource information with other electronic devices, only when the first electronic device 11 receives the first resource information When the second electronic device 12 monitors the information, the first electronic device 11 sends a content search request for the shared setting information to the second electronic device 12 according to the received monitoring information.
  • the above monitoring information may be the collision information of the second electronic device 12, or the angle information between the first electronic device 11 and the second electronic device 12, or the information of the angle between the first electronic device 11 and the second electronic device 12.
  • the distance information between them which is not specifically limited in this embodiment of the present application.
  • the above-mentioned second electronic device 12 is a device with a sharing function; thus, when the second electronic device 12 receives a content search request for sharing setting information, it needs to have its own sharing function turned on, it can be seen that , the second electronic device 12 must be a device with a sharing function, and when sharing, the sharing function needs to be turned on to realize the sharing of resource information.
  • the second electronic device 12 receives the content search request for the sharing setting information, searches for the third resource information according to the search request of the content sharing setting information, and The third resource information is fed back to the first electronic device 11, wherein the second electronic device 12 is searching according to the content search request of the shared setting information, and obtains the first resource information related to the shared setting information with the first electronic device 11 Similarly, for example, when the shared setting information is a keyword, the second electronic device 12 searches the local resource information for resource information related to the keyword as the third resource information, when the shared setting information is set When the condition ranges, the second electronic device 12 uses the resource information satisfying the condition range in the local resource information as the third resource information, so that the third resource information can be obtained by searching.
  • the shared setting information is a keyword
  • the second electronic device 12 searches the local resource information for resource information related to the keyword as the third resource information, when the shared setting information is set
  • the second electronic device 12 uses the resource information satisfying the condition range in the local resource information as the third resource information, so that the third resource information can be obtained
  • the second electronic device 12 After the second electronic device 12 searches for the third resource information, it feeds back the third resource information to the first electronic device 11.
  • the second electronic device 12 can directly feed back the third resource information to the first electronic device 11.
  • the electronic device 11 may also send the third resource information to the server, and then feed back the third resource information to the first electronic device 11 through the server, which is not specifically limited in this embodiment of the present application.
  • the first electronic device 11 updates and displays the second resource information obtained from the content search request in combination with the first resource information on the first current interface;
  • the first electronic device 11 may receive the second resource information obtained from the content search request, wherein the second resource information includes Third resource information; that is, when the second electronic device 12 feeds back the third resource information to the first electronic device 11, the first electronic device 11 can integrate all the third resource information obtained through the feedback to obtain the second resource information, when the second electronic device 12 feeds back the third resource information to the first electronic device 11 through the server, the server will integrate all the received third resource information to obtain the second resource information, and the second resource information The information is sent to the first electronic device 11, so that the first electronic device 11 receives the second resource information.
  • the second resource information includes Third resource information
  • the first electronic device 11 After receiving the second resource information, the first electronic device 11 updates and displays the second resource information combined with the first resource information on the first current interface, that is, the first resource related to the shared setting information in the first electronic device 11
  • the information and the second resource information obtained by searching in the second electronic device 12 are displayed together on the first current interface, so that the first current interface of the first electronic device 11 displays the resources shared by the first electronic device 11 and the second electronic device 12.
  • the output resource information so that the first electronic device 11 and the second electronic device 12 can share the resource information related to the shared setting information on the side of the first electronic device 11 .
  • the same display form can be used for display, and different display forms can also be used for display, wherein the display form can be Including: a list form, a large icon form, a thumbnail form, etc.
  • this embodiment of the present application does not specifically limit this.
  • the second electronic device 12 displays the received first resource information and second resource information on a second current interface of the sharing function.
  • the second electronic device 12 receives the first resource information and the second resource information, wherein the first resource information is sent by the first electronic device 11 to the second electronic device 12, and the second resource information may be
  • the information sent to the second electronic device 12 may also be sent to the second electronic device 12 by the server, which is not specifically limited in this embodiment of the present application.
  • the second electronic device 12 After receiving the first resource information and the second resource information, the second electronic device 12 displays the first resource information and the second resource information on the second current interface of the sharing function.
  • the above-mentioned second When the first resource information and the second resource information are displayed on the current interface, it is similar to the first current interface, and details are not repeated here.
  • the second electronic device 12 In order to realize the sharing of resource information with the first electronic device 11, the second electronic device 12 needs to enable the sharing function. In order to enable the sharing function of the second electronic device 12, in an optional embodiment, after executing the above S203 Among them, if the second electronic device does not enable the sharing function, in order to enable the second electronic device to enable the sharing function, the above method can also implement the interaction between the first electronic device and the second electronic device through the following S203a-S203b.
  • the device enables the sharing function, specifically S203a-S203b, as follows:
  • the sharing function of the second electronic device is not enabled. Then, in order to enable the sharing function of the second electronic device in time to realize the sharing of resource information between the first electronic device and the second electronic device, when When the first electronic device receives the monitoring information from the second electronic device, the first electronic device sends a request for enabling the sharing function to the second electronic device, and after receiving the request for enabling the sharing function, the second electronic device enables the sharing function, so The first electronic device sends an enabling request to the second electronic device to enable the second electronic device to enable the sharing function, so that the second electronic device can receive the content search request for the sharing setting information.
  • the second resource information is displayed in the form of thumbnail content.
  • the first resource information and the second resource information are displayed in the form of abbreviated content.
  • the second resource information when the second resource information is displayed on the first current interface of the first electronic device, it is displayed in the form of thumbnail content, so that the content of the second resource information can be known without downloading the second resource information in advance, It is beneficial for the user of the first electronic device who initiates the sharing to quickly know the content of the resource information shared by the second electronic device through the first current interface.
  • the second electronic device When the first resource information and the second resource information are displayed on the second current interface of the second electronic device, that is, the second electronic device will display all the resource information received in the form of abbreviated content, so that participating in sharing The second electronic device quickly knows the content of all shared resource information through the second current interface.
  • the first electronic device and the second electronic device display resource information in the form of abbreviated content, which can realize fast sharing, thereby improving sharing efficiency.
  • the first resource information and the second resource information received by the second electronic device can be passed.
  • S205a implements the receiving function of the second electronic device, S205a, specifically as follows:
  • S205a The first electronic device sends the second resource information and the first resource information to the second electronic device that has enabled the sharing function.
  • the first electronic device sends the first resource information related to the sharing setting information searched by itself and the received second resource information to the second electronic device that has enabled the sharing function, so that the second electronic device Participate in this sharing of setting information for sharing, so that the second electronic device can share resource information with the first electronic device.
  • the above method may also be performed by performing the following S206- S207 realizes the operation on the resource information on the first current interface, S206-S207, as follows:
  • the first electronic device displays the first resource operation menu in response to the first operation resource in the first current interface being selected;
  • the user issues an operation on the first operation resource in the first current interface to select the first operation resource, so that the first electronic device receives operation information that the first operation resource in the first current interface is selected, In response to the selection of the first operating resource in the first current interface, where the first operating resource is any resource in the first resource information and the second resource information; that is, the first electronic device responds to the first current Any resource in the first resource information and the second resource information in the interface is selected, and the first resource operation menu is displayed on the first current interface.
  • the user issues an operation on a submenu in the first resource operation menu, so that the first electronic device receives the operation information that the submenu of the first resource operation menu is selected, In response to the submenu of the first resource operation menu being selected, the first electronic device executes the function of the submenu of the first resource operation menu.
  • the first electronic device can realize the function of the submenu in the first resource operation menu in any one of the first resource information and the second resource information.
  • S206 may include:
  • the first electronic device When the first electronic device is selected in response to the first operation resource in the first current interface, and the selected first operation resource belongs to the first local content, that is, the first operation resource belongs to the local content of the first electronic device , the first electronic device displays the first menu of the first resource operation menu on the first current interface. In this way, for resources belonging to the local content of the first electronic device, the first menu of the first resource operation menu is displayed.
  • S206 may include:
  • S206b The first electronic device displays the second menu of the first resource operation menu in response to the first operation resource being selected in the first current interface and the selected first operation resource does not belong to the first local content.
  • the first electronic device displays the second menu of the first resource operation menu on the first current interface; For resources belonging to the local content of the first electronic device, the second menu of the first resource operation menu is displayed.
  • the first menu of the first resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the first menu of the first resource operation menu displayed on the first current interface may be a browse submenu, a set as wallpaper submenu, or
  • the first electronic device displays the above-mentioned first menu on the first current interface, so that the user can realize the browsing function and/or setting of the first operation resource through the first electronic device.
  • the wallpaper function For the wallpaper function.
  • the second menu of the first resource operation menu includes at least one of the following: browse submenu, set as wallpaper submenu and save to local submenu menu.
  • the second menu of the first resource operation menu displayed on the first current interface may be a browse submenu, may be set as wallpaper submenu, or may be In order to save to the local submenu, it can also be any combination of two of the above submenus, and it can also be the above three submenus.
  • the first electronic device displays the above second menu on the first current interface, so that the user can pass through the second menu.
  • An electronic device realizes the browsing function of the first operation resource, and/or the function of setting it as wallpaper, and/or the function of saving it to a local submenu.
  • S207 may include:
  • S207a In response to the selection of the submenu of the first menu of the first resource operation menu, the first electronic device executes the function of the submenu of the first menu of the first resource operation menu through the first local data access service.
  • the first electronic device when receiving an operation that a submenu in the first menu of the first resource operation menu is selected, responds to the selection of a submenu in the first menu of the first resource operation menu, and through the first electronic device
  • the local data access service of the device that is, the first local data access service executes the function of the submenu of the first menu of the first resource operation menu.
  • the first electronic device provides the first local data access service, and the local content of the first electronic device can implement the second local data access service through the first local data access service.
  • the function of a submenu of a menu is to say, for resources belonging to the local content of the first electronic device, the first electronic device provides the first local data access service, and the local content of the first electronic device can implement the second local data access service through the first local data access service.
  • S207 includes:
  • S207b In response to the submenu of the second menu of the first resource operation menu being selected, the first electronic device accesses the data access service of the second electronic device to which the selected first operation resource belongs through the first local data access service, Execute the function of the submenu of the second menu of the first resource operation menu.
  • the first electronic device when receiving an operation in which a submenu in the second menu of the first resource operation menu is selected, responds to the selection of a submenu in the second menu of the first resource operation menu, and through the first electronic device The device's local data access service, that is, the first local data access service accesses the data access service of the second electronic device to which the first operation resource belongs, so as to realize the function of executing the submenu of the second menu of the first resource operation menu.
  • the first electronic device provides the first local data access service
  • the second electronic device participating in the sharing also provides the local data access service.
  • the non-local content of the first electronic device can realize the function of the submenu of the second menu through the first local data access service and the data access service of the second electronic device to which the first operation resource belongs.
  • S204 may include:
  • S204a The first electronic device updates and displays the second resource information obtained from the content search request in combination with the first resource information in the content display area on the first current interface.
  • the first current interface of the first electronic device includes at least a content display area
  • the first electronic device updates and displays the second resource information and the first resource information in the content display area on the first current interface, so that the resource information It is displayed in an area on the first current interface, which is convenient for users to view and operate on it.
  • S204a may realize the display through the following S204a1-S204a2, S204a1-S204a2, as follows:
  • the first electronic device displays the abbreviated content of the first resource information and the first local identifier in the content display area on the first current interface;
  • the first electronic device displays the abbreviated content of the second resource information and the identifier of the second electronic device to which the resource belongs.
  • the first electronic device displays the abbreviated content of the first resource information and the first local identifier in the content display area on the first current interface, that is, displays the abbreviated content of the first resource information
  • the local identifier of the first resource information is displayed, which is the first local identifier.
  • the first resource information is displayed in the form of abbreviated content, and the first local identifier is displayed, so that the user can obtain the general content and content of the resource information through the content displayed on the first current interface. source.
  • the first electronic device displays the second resource information in the form of abbreviated content on the first current interface, and displays the identity of the second electronic device to which the second resource information belongs.
  • the general content and source of the resource information can be obtained from the content displayed on the current interface.
  • S201 may implement the display through the following S201a-S201b, S201a-S201b ,as follows:
  • the first electronic device displays an initial interface corresponding to the sharing function on the first current interface in response to the start operation of the sharing function;
  • the first electronic device receives the operation information for the initial interface corresponding to the sharing function to obtain the sharing setting information, and displays the first resource information related to the sharing setting information on the first current interface of the sharing function.
  • the first electronic device receives the operation information of the sharing function, and displays the sharing function on the first current interface in response to the start operation of the sharing function , wherein the initial interface displays an input window for sharing setting information, which is used to receive the sharing setting information input by the user, that is, the first electronic device receives the operation information on the initial interface corresponding to the sharing function to obtain the sharing setting information, then, after receiving the sharing setting information, determine the first resource information related to the sharing setting information, and display the first resource information related to the sharing setting information on the first current interface.
  • the initial interface of the sharing function is first displayed on the first current interface, then the sharing setting information is received through the initial interface, and finally the first resource information related to the sharing setting information is displayed, so that the user can realize it according to his own needs. Sharing of resource information related to different sharing setting information.
  • the first electronic device displays the same information on the first current interface of the sharing function as Sharing the first resource information related to setting information can be realized through the following S201c-S201d, S201c-S201d, as follows:
  • the first electronic device performs a resource search related to the shared setting information through the first local search service, and obtains first resource information;
  • S201d The first electronic device displays the first resource information on the first current interface.
  • the first electronic device provides a local search service, that is, the first local search service.
  • the first electronic device uses the first local search service to search for the shared device. Search for resources related to the given information, so as to obtain the first resource information, and finally, display the first resource information on the first current interface.
  • the first electronic device can search for resource information related to the shared setting information through the first local search service, so as to share the shared setting information with other electronic devices.
  • the first electronic device receives the monitoring information of the second electronic device, in an optional embodiment, in S202, the first electronic device receives the monitoring information of the second electronic device, and may pass through the following S202a
  • the collision information enables the first electronic device to determine that it has received the monitoring information of the second electronic device, S202a, as follows:
  • the first electronic device receives the collision information, and the collision information is the collision information between the first electronic device and the second electronic device, and the second electronic device is an electronic device with a sharing function, at this time, the first electronic device An electronic device determines to receive the monitoring information of the second electronic device, wherein the monitoring information is collision information.
  • the first electronic device When the first electronic device receives the collision information, which is the collision information between the first electronic device and the second electronic device, but the second electronic device does not have the sharing function, the first electronic device cannot be determined to have received the second electronic device. Monitoring information of electronic equipment.
  • the first electronic device can be determined to have received the monitoring information of the electronic device, and only when all the above conditions are met can it continue The resource information sharing of the first electronic device and the second electronic device is realized.
  • the first electronic device determines to receive the monitoring information of the second electronic device, in an optional embodiment, in S202, the first electronic device determines to receive the monitoring information of the second electronic device, which may be performed through the following S202b To realize the monitoring function of the first electronic device, S202b, as follows:
  • the first electronic device determines to receive the monitoring information of the second electronic device through a local event monitoring service.
  • the event monitoring service is provided in the first electronic device, and the first electronic device determines to receive the monitoring information of the second electronic device through the local event monitoring service, so that the first electronic device completes the monitoring in resource information sharing Function.
  • S202 may implement the following S202c-S202d to realize that the first electronic device sends a request for the shared device to the second electronic device.
  • the content search request of the given information, S202c-S202d is as follows:
  • the first electronic device When the first electronic device determines to receive the monitoring information of the second electronic device, the first electronic device first registers the sharing function registered by the second electronic device locally, that is, the first electronic device registers the sharing function for the second electronic device.
  • the sharing function is registered, and only when the registration of the sharing function registered by the second electronic device is completed, the first electronic device sends a content search request for the sharing setting information to the second electronic device according to the monitoring information.
  • the first electronic device Before the first electronic device sends a content search request for sharing setting information, it needs to register the sharing function registered with the second electronic device locally, so that the resource information sharing initiator is the first electronic device Information of all second electronic devices is registered in .
  • S202c may realize the registration function through the following S202c1, S202c1, as follows:
  • the first electronic device determines to receive the monitoring information of the second electronic device
  • the first electronic device provides a local registration service
  • the first electronic device registers the sharing function of the second electronic device through the local registration service in The local registration is performed, so that the first electronic device realizes the sharing function of registering the second electronic device locally.
  • the second resource information obtained in S204 can be realized through the following S204b-S204c, S204b-S204c, as follows:
  • S204b The first electronic device receives each resource information sent from the second electronic device;
  • S204c The first electronic device combines the resource information to obtain the second resource information.
  • each second electronic device searches for the third resource information according to the content search request, it feeds back the third resource information to the first electronic device, so that the first electronic device receives each resource information sent by the second electronic device.
  • each piece of resource information is a resource matching the sharing setting information; that is, each piece of resource information is a resource matching the sharing setting information searched by each second electronic device according to the content search request.
  • the first electronic device After the first electronic device receives the resource information sent by the second electronic device, the first electronic device combines the resource information to obtain the second resource information, that is, the second resource information is provided by the first electronic device The received resource information is combined, so that the first electronic device obtains the second resource information.
  • a server is also set in the first electronic device and the second electronic device, and the server can be used to obtain the second resource information.
  • Content search request in an optional embodiment, in S202, the first electronic device sends a content search request for shared setting information to the second electronic device according to the monitoring information, which can be realized through the following S202e, S202e ,as follows:
  • the first electronic device sends a content search request for the shared setting information to the second electronic device through the server according to the monitoring information.
  • the first electronic device does not directly send a content search request for the shared setting information to the second electronic device according to the monitoring information, but sends the content search request for the shared setting information to the server, and then the server sends the content search request for the shared setting information to the server.
  • the content search request of the setting information is then sent to the second electronic device, so that the second electronic device receives the content search request to realize the search in the second electronic device.
  • the first electronic device may also receive the second resource information fed back to the content search request through the server.
  • the second resource information obtained in S204 may be realized through the following S204b, S204b, as follows:
  • S204b The first electronic device receives second resource information fed back from the server regarding the content search request.
  • the second resource information is obtained by integrating the resource information of the second electronic device received by the server; that is, after the server receives the resource information fed back by the second electronic device, the server will The second resource information is obtained through integration, and the server then sends the second resource information to the first electronic device, so that the first electronic device receives the second resource information fed back from the server in response to the content search request.
  • the above method can also implement the exit sharing function through the following S208-S209, S208- S209, as follows:
  • the first electronic device displays a first sharing function entry on the first current interface
  • the first sharing function entry is displayed on the first current interface, and the user operates the first sharing function entry, so that the first electronic device responds to the closing operation of the first sharing function and displays The initial interface of the application program to which the sharing function of the first electronic device belongs, that is to say, the sharing function of the first electronic device belongs to an application program on the first electronic device.
  • the sharing function of the application program is enabled, the first current interface
  • the first sharing function entry is displayed on the screen, and when the closing operation of the first sharing function entry is received, the first current interface returns to the initial interface of the application program, thereby completing the exit of the sharing function.
  • the above method can also implement the exiting sharing function through the following S210, S210, as follows:
  • the first electronic device displays the main display interface of the first electronic device on the first current interface in response to the closing operation of the first sharing function entry.
  • the first sharing function entry is displayed on the first current interface, and the user operates the first sharing function entry, so that the first electronic device responds to the closing operation of the first sharing function and displays
  • the main display interface of the first electronic device that is to say, the sharing function of the first electronic device may be a separate application program.
  • the first current interface displays the first sharing function entry.
  • the first current interface returns to the main display interface of the first electronic device, thereby completing the exit of the sharing function.
  • the first electronic device sends a request to the second electronic device according to the monitoring information.
  • the electronic device sends a content search request for the shared setting information, which can be realized through the following S202f, S202f, as follows:
  • the first electronic device After the first electronic device receives the monitoring information, it analyzes the monitoring information, and after analysis, the monitoring information indicates that the sharing setting information of the first electronic device is the same as the sharing setting information of the second electronic device, and the first The distance between the electronic device and the second electronic device is less than or equal to the preset distance threshold.
  • the monitoring information may carry the shared setting information of the second electronic device, and the first electronic device detects the first electronic device by infrared distance measurement. The distance between the device and the second electronic device.
  • the first electronic device and the second electronic device when it is determined that the first electronic device and the second electronic device belong to the same shared setting information and the distance is within the preset distance threshold range, the first electronic device and the second electronic device When the device meets the sharing condition, the first electronic device sends a content search request for the sharing setting information to the second electronic device.
  • the first electronic device sends a request to the second electronic device according to the monitoring information.
  • the second electronic device sends a content search request for the shared setting information, which can be realized through the following S202g, S202g, as follows:
  • the first electronic device After the first electronic device receives the monitoring information, it analyzes the monitoring information. After analysis, the monitoring information indicates that the angle between the first electronic device and the second electronic device satisfies a preset condition, for example, it is less than or equal to a preset An angle threshold, wherein both the first electronic device and the second electronic device have an Ultra Wideband (UWB) function, and the first electronic device utilizes the UWB function to determine the angle between the first electronic device and the second electronic device; and
  • UWB Ultra Wideband
  • the distance between the first electronic device and the second electronic device is less than or equal to the preset distance threshold, for example, the first electronic device measures the distance between the first electronic device and the second electronic device through infrared ranging, so, determine When the angle between the first electronic device and the second electronic device satisfies the preset condition and the distance is within the preset distance threshold range, the first electronic device and the second electronic device meet the sharing condition, and the first electronic device sends the second electronic device
  • the device issues a
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • Wireless communication methods include at least one of the following: Wireless-Fidelity Peer to Peer (Wi-Fi P2P), Wireless-Fidelity (Wireless-Fidelity, Wi-Fi) direct connection, Bluetooth and Near Field Communication (Near Field Communication, NFC).
  • the number of the second electronic device may be one or multiple, which is not specifically limited in this embodiment of the present application.
  • the above method can also implement the second electronic device through the following S211-S212
  • the operation of resource information on the current interface, S211-S212 is as follows:
  • the second electronic device displays the second resource operation menu in response to the second operation resource being selected in the second current interface
  • S212 The second electronic device executes the function of the submenu of the second resource operation menu in response to the submenu of the second resource operation menu being selected.
  • the user issues an operation on the second operation resource in the second current interface to select the second operation resource, so that the second electronic device receives operation information that the second operation resource in the second current interface is selected, In response to the selection of the second operation resource in the second current interface, wherein the second operation resource is any resource in the first resource information and the second resource information; that is, the second electronic device responds to the second current Any resource among the first resource information and the second resource information in the interface is selected, and the second resource operation menu is displayed on the second current interface.
  • the user issues an operation on a submenu in the second resource operation menu, so that the second electronic device receives the operation information that the submenu of the second resource operation menu is selected, In response to the submenu of the second resource operation menu being selected, the second electronic device executes the function of the submenu of the second resource operation menu.
  • the second electronic device can realize the function of the submenu in the operation menu of the second resource in any resource among the first resource information and the second resource information.
  • S211 includes:
  • the second electronic device When the second electronic device is selected in response to the second operation resource in the second current interface, and the selected second operation resource belongs to the second local content, that is, the second operation resource belongs to the local content of the second electronic device , the second electronic device displays the first menu of the second resource operation menu on the second current interface. In this way, for resources belonging to the local content of the second electronic device, the first menu of the second resource operation menu is displayed.
  • S211 includes:
  • S211b The second electronic device displays a second menu of the second resource operation menu in response to the second operation resource being selected in the second current interface, and the selected second operation resource does not belong to the second local content.
  • the second electronic device displays the second menu of the second resource operation menu on the second current interface; For resources belonging to the local content of the second electronic device, the second menu of the second resource operation menu is displayed.
  • the first menu of the second resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the first menu of the second resource operation menu displayed on the second current interface may be a browse submenu, a set as wallpaper submenu, or
  • the second electronic device displays the above-mentioned first menu on the second current interface, so that the user can realize the browsing function and/or setting of the second operating resource through the second electronic device.
  • the wallpaper function For the wallpaper function.
  • the second menu of the second resource operation menu includes at least one of the following: browse submenu, set as wallpaper submenu and save to local submenu menu.
  • the second menu of the second resource operation menu displayed on the second current interface can be a browse submenu, can be set as wallpaper submenu, can be In order to save to the local submenu, it can also be any combination of two of the above submenus, and can also be the above three submenus.
  • the second electronic device displays the above second menu on the second current interface, so that the user can pass the second menu.
  • the second electronic device realizes the browsing function of the second operation resource, and/or the function of setting it as wallpaper, and/or the function of saving it to a local submenu.
  • S212 includes:
  • S212a In response to the selection of the submenu of the first menu of the second resource operation menu, the second electronic device executes the function of the submenu of the first menu of the second resource operation menu through the second local data access service.
  • the second electronic device when receiving an operation in which a submenu in the first menu of the second resource operation menu is selected, responds to the selection of a submenu in the first menu of the second resource operation menu, and through the second electronic device
  • the local data access service of the device that is, the second local data access service executes the functions of the submenus of the first menu of the second resource operation menu.
  • the second electronic device is provided with a second local data access service, and the local content of the second electronic device can realize the second local data access service through the second local data access service.
  • the function of a submenu of a menu is to say, for resources belonging to the local content of the second electronic device, the second electronic device is provided with a second local data access service, and the local content of the second electronic device can realize the second local data access service through the second local data access service.
  • S212 includes:
  • S212b In response to the submenu of the second menu of the second resource operation menu being selected, the second electronic device accesses the data access service of the electronic device to which the selected operation resource belongs through the second local data access service, and executes the second resource The function of the submenu of the second menu of the operation menu.
  • the second electronic device when receiving an operation in which a submenu in the second menu of the second resource operation menu is selected, responds to the selection of a submenu in the second menu of the second resource operation menu, and through the second electronic device
  • the local data access service of the device that is, the second local data access service accesses the data access service of the second electronic device to which the second operation resource belongs, so as to realize the function of executing the submenu of the second menu of the second resource operation menu.
  • the second electronic device provides the second local data access service, and the electronic devices participating in the sharing also provide the local data access service.
  • the second The non-local content of the electronic device can implement the submenu functions of the second menu through the second local data access service and the data access service of the electronic device to which the second operation resource belongs.
  • S205 may include:
  • S205a The second electronic device displays the first resource information and the second resource information in the content display area on the second current interface of the sharing function.
  • the second current interface of the second electronic device includes at least a content display area, and the second electronic device updates and displays the second resource information and the first resource information in the content display area on the second current interface, so that the resource information It is displayed in an area on the second current interface, which is convenient for users to view and operate on it.
  • S205a may be implemented through the following S205a1-S205a2, S205a1-S205a2, as follows:
  • the second electronic device displays the abbreviated content of the third resource information and the second local identifier in the content display area on the second current interface;
  • the second electronic device displays the abbreviated content of the first resource information, the abbreviated content of the resource information in the second resource information except the third resource information, and the identification of the electronic device to which the resource belongs.
  • the second electronic device displays the abbreviated content of the third resource information and the second local identifier in the content display area on the second current interface, that is, displays the abbreviated content of the third resource information
  • the local identifier of the third resource information is displayed, which is the second local identifier.
  • the third resource information is displayed in the form of abbreviated content, and the second local identifier is displayed, so that the user can obtain the general content and source of the resource information through the content displayed on the second current interface.
  • the second electronic device displays the first resource information and the second resource information in the form of abbreviated content on the second current interface
  • the resource information except the third resource information in the resource information and display the identification of the electronic device to which the resource information except the third resource information in the first resource information and the second resource information belongs, so that the user can pass the second current interface
  • the displayed content can obtain the approximate content and source of the resource information.
  • S203 may implement the following S203c to realize the feedback to the first electronic device, S203c, as follows:
  • the second electronic device In response to the content search request, the second electronic device searches for resources related to the shared setting information through the second local search service, obtains third resource information, and feeds it back to the first electronic device.
  • the second electronic device uses the second local search service Search for resources related to shared setting information, obtain third resource information, and feed back the third resource information to the first electronic device, so that the first electronic device can receive each resource information searched by each second electronic device .
  • the second electronic device obtains the third resource information and feeds it back to the first electronic device, It can be realized through the following S203c1, S203c1, as follows:
  • S203c1 The second electronic device returns the third resource information to the server, and feeds it back to the first electronic device through the server.
  • the second electronic device returns the third resource information obtained from the search to the server, and the server feeds back all the received third resource information, that is, the second resource information, to the first electronic device, so that the first electronic device receives the second resource information.
  • Resource information is, the third resource information obtained from the search to the server, and the server feeds back all the received third resource information, that is, the second resource information, to the first electronic device, so that the first electronic device receives the second resource information.
  • the first resource information and the second resource information received in S205 may pass through the following S205b-S205c To receive, the above method may also include:
  • S205b The second electronic device receives second resource information fed back from the server for the content search request;
  • S205c The second electronic device receives the first resource information sent from the first electronic device.
  • the server feeds back the second resource information obtained from the content search request to the second electronic device, so that the second electronic device receives the second resource information, wherein the second resource information is the information received by the server from each electronic device obtained by integrating resource information; in this way, each resource information obtained by each second electronic device searched by the server, that is, each third resource information is integrated to obtain second resource information and fed back to the second electronic device, and the first electronic device sends its own The obtained first resource information is sent to the second electronic device, so that the second electronic device receives the first resource information and the second resource information, so that resource information can be shared on the side of the second electronic device.
  • the above method can also implement the second electronic device exiting the sharing function through the following S213-215, S213-S215, as follows:
  • S213 The second electronic device displays a second sharing function entry on the second current interface
  • the second electronic device sends a logout request to the first electronic device in response to the closing operation of the second sharing function entry;
  • S215 When the second electronic device receives the response information to the logout request sent by the first electronic device, display the initial interface of the application program to which the sharing function of the second electronic device belongs on the second current interface.
  • the second sharing function entry is displayed on the second current interface, and the user operates the second sharing function entry, so that the second electronic device responds to the closing operation of the second sharing function.
  • the second electronic device needs to send a logout request to the first electronic device, and after the first electronic device receives the logout request, it will log out the second electronic device, and after the logout is completed , the first electronic device sends a response message of logout information to the second electronic device, and after receiving the response message of the logout request, the second electronic device displays the information of the application program to which the sharing function of the second electronic device belongs on the second current interface.
  • the initial interface that is to say, the sharing function of the second electronic device belongs to an application program on the second electronic device.
  • the second current interface displays a second sharing function entry.
  • the second current interface returns to the initial interface of the application program, thereby completing the exit of the sharing function.
  • the above method can also pass through the following S216-S217 To realize the exit sharing function of the second electronic device, S216-S217, as follows:
  • S216 The second electronic device sends a logout request to the first electronic device in response to the closing operation of the second sharing function entry;
  • S217 When the second electronic device receives the response information to the logout request sent by the first electronic device, display the main display interface of the second electronic device on the second current interface.
  • the second sharing function entry is displayed on the second current interface, and the user operates the second sharing function entry, so that the second electronic device responds to the closing operation of the second sharing function.
  • the device side is registered with the sharing function of the registration of the second electronic device. Therefore, here, the second electronic device needs to send a logout request to the first electronic device. After the first electronic device receives the logout request, it logs out the second electronic device. After the logout is completed, the first electronic device sends the response information of the logout information to the second electronic device, and the second electronic device displays the main display interface of the second electronic device on the second current interface after receiving the response information of the logout request, That is to say, the sharing function of the second electronic device can be a separate application program. When the application program is started, the second current interface displays the second sharing function entry. When the closing operation of the second sharing function entry is received, The second current interface returns to the main display interface of the second electronic device, thereby completing the exit of the sharing function.
  • This example is mainly based on the "touch" event to trigger the discovery between electronic devices, thereby triggering the search of album content across devices, and after merging the search results, it will be displayed on all participating devices (including the following main device and sharing device) Display and continue to allow new electronic devices to join. Once a new electronic device is found to join the sharing, initiate a search on the corresponding electronic device, continue to merge the search results, and update the current interface of the sharing function on each participating device content display area.
  • FIG. 3 is an example 1 of an optional resource information sharing method provided by the embodiment of the present application
  • the method for sharing resource information may include:
  • S301 The master device sets keywords for sharing content
  • the main device searches the local photo album according to the keywords to meet the conditions, as the search result of the main device, and displays the search result of the main device on the current interface of the main device. in the content display area.
  • S302 The master device judges whether a "touch" event occurs? If yes, execute S303; if no, continue to execute S302;
  • the sharing device searches the local photo album to obtain the search result of the sharing device
  • the sharing device receives a keyword-specific content search request from the master device, and searches for qualified content from a local photo album as a search result of the sharing device.
  • S304 The cloud device acquires search results of all shared devices
  • the cloud device may be a server for receiving search results of all shared devices.
  • S305 The cloud device distributes the search results of all the sharing devices to the main device and the sharing device, and the main device distributes the search results of the main device to each sharing device.
  • the main device and the sharing device can share the album with the same keyword, and the album can be shared without uploading pictures, which improves the efficiency of album sharing.
  • Figure 4 is a schematic diagram of the architecture of an optional resource information sharing system provided by the embodiment of the present application.
  • the main device and The sharing device mainly includes: application layer, exploration service module, service registration module, event monitoring module, data access service module (mainly for thumbnail data access service), in addition, the main device is also responsible for scheduling tasks, including application agent Module and device discovery module, taking photo album sharing as an example, the specific function implementation steps are as follows:
  • the main device starts the sharing function, and the main device triggers its own search service module to search locally to complete the content search of shared topics/keywords, and obtain the search results of the main device; the task scheduling of the main device starts the "touch" event monitoring; when there is a device When a new member is added through "Touch", the main device starts the corresponding sharing function on the sharing device through the application agent module, and the main device triggers task scheduling to start the search service module on the corresponding sharing device to return the topic/keyword matching this sharing
  • the search results of shared devices that is, the search results of shared devices; the main device integrates the search results of each shared device after receiving the search results of shared devices, and obtains the search results of all shared devices.
  • the search results of the device and the search results of all shared devices are distributed to each joined shared device.
  • the sharing device receives the search results sent by the main device, and displays the thumbnails of the search results in the content display area of the current interface of the sharing function of the sharing device, and uses the local data access service module to directly access its own search results, using local data
  • the access service module accesses the data of the device to which the selected thumbnail belongs.
  • the access service module implements access to the selected thumbnail. For example, when the user selects the "save to local" or "browse details ” operation, the sharing device that responds to the user’s operation uses the local data access service module to directly access the data access service module of the device corresponding to the thumbnail, find the original picture or original video, save/display the original picture or play the movie.
  • Figure 5 shows the flow of Example 2 of an optional sharing method provided by the embodiment of this application Schematic diagram, as shown in Figure 5, the method may include:
  • the main device After the main device sets the keywords of the shared content, it initiates a local search, obtains the search results of the main device, and sends the keywords to the device in charge of service scheduling.
  • the service scheduling here can be in charge of the main device or a server.
  • the server is responsible for the service scheduling as an example.
  • Send a trigger signal (dispatch) and after receiving the trigger signal, sharing device 1 and sharing device 2 initiate a local search according to keywords, and return the obtained search results to the server;
  • the server After receiving the search results returned by sharing device 1 and sharing device 2, the server merges all the search results and distributes the merged search results to the main device, sharing device 1 and sharing device 2; the main device sends the search results of the main device Send to sharing device 1 and sharing device 2.
  • the main device updates the content in the content display area on the current interface of the sharing function of the main device according to the received combined search results and the search results of the main device, for example, the current interface of the sharing function of the main device is a user who shares an album Interface (User Interface, UI), sharing device 1 updates the content in the content display area on the current interface of the sharing function of sharing device 1 according to the received search result of the merged search result master device, sharing device 2 and sharing device 1 Similar, here, no more details.
  • the current interface of the sharing function of the main device is a user who shares an album Interface (User Interface, UI)
  • sharing device 1 updates the content in the content display area on the current interface of the sharing function of sharing device 1 according to the received search result of the merged search result master device, sharing device 2 and sharing device 1 Similar, here, no more details.
  • all the above search results include source device information, and the application layer of each device can easily make source judgment based on this information, so as to realize whether the shared content can be saved locally, how to access the original data of the shared content, and save the original Data and other business functions.
  • the sharing of the photo album is always initiated by a main device, and the other shared devices are respectively close to the main device to "touch" (including but not limited to close together, back to back and other contact methods or links sent by SMS)
  • the sharing method take one sharing device as an example, and introduce album sharing from the layout of the interface of the main device and the sharing device.
  • Figure 6 is an example of an optional resource information sharing method provided by the embodiment of this application. A schematic diagram of the interface, as shown in Figure 6:
  • the main device After the main device starts the album sharing application, it receives the theme/keyword set for sharing, and the content display area of the current interface of the sharing function of the main device displays the album content in the main device that matches the theme/keyword;
  • the content display area of the current interface of the sharing function of the main device will display the content that matches the theme/keywords in the albums on the two devices; at the same time, when the sharing device starts and the main device A photo album sharing application with the same device, and display content that matches the theme/keywords in the photo albums on the two devices on the content display area of the current interface of the sharing function;
  • the second sharing device when the second sharing device "touches" with the main device, similarly, the second sharing device will also start the same photo album sharing application as the main device, and in the current state of its own sharing function
  • the content display area of the interface displays the content of all albums on the three devices (main device and two sharing devices) that match the theme/keywords, and the content display area of the current interface of the sharing function on the main device and the first sharing device
  • the content on the screen will also be updated, and the eligible content in the album on the second sharing device will appear.
  • FIG. 7 shows the embodiment of this application
  • a schematic layout diagram of Example 1 of the current interface of an optional sharing function is provided, as shown in FIG. 7 , the current interface of the sharing function is composed of an information list of devices participating in sharing, a content display area, and a page control area.
  • FIG. 8 is a schematic flowchart of Example 3 of an optional resource information sharing method provided by the embodiment of the present application. As shown in FIG. 8, the method may include:
  • the devices participating in the sharing include the above-mentioned master device and the above-mentioned sharing device.
  • S802 The device participating in the sharing determines whether the content in the received search result belongs to local content? If yes, execute S803; if no, execute S804;
  • S803 The devices participating in the sharing display two options of "browse” and “set as wallpaper”;
  • S804 The devices participating in the sharing display three options of "browse”, “save to local” and “set as wallpaper”.
  • FIG. 9 is a possible A schematic flow diagram of Example 4 of the method for sharing resource information selected, as shown in FIG. 9 , the method may include:
  • S901 Display content display area of devices participating in sharing
  • S902 The device participating in the sharing determines whether the content in the received search result is local content? If yes, execute S903, if no, execute S904;
  • S903 The device participating in the sharing identifies the content list item as a local identifier
  • S904 The devices participating in the sharing identify the content list item as source device information.
  • the content display area includes at least one content list item.
  • the local search service module of each sharing device responds to the service scheduling module and completes the search, then completes the data merging and sorting via the service scheduling module and returns to each sharing device to update the shared content.
  • Figure 10 is a schematic layout diagram of Example 2 of the current interface of an optional sharing function provided by the embodiment of the present application.
  • the information list of the devices participating in the sharing the user can click it to realize the display area.
  • Figure 11 is a schematic interface diagram of Example 2 of an optional resource information sharing method provided by the embodiment of the present application.
  • Figure a in Figure 11 is a thumbnail of a list item clicked by the user, and Figure b Display the menu for the selected thumbnail, including: preview, save to local and set as wallpaper;
  • Figure c shows the current interface displaying picture information after the image preview function is executed, and
  • Figure d shows the current image sharing function after the video preview function is executed
  • the interface displays video information; for the content display area, the display list items are thumbnails of specific content.
  • the display list item will identify whether it is a picture/video of the machine, so as to avoid confusion to the user.
  • the user can select a specific item to view the details, download and save it locally, or directly set it as the wallpaper of the machine.
  • Figure 12 is a schematic layout diagram of Example 3 of the current interface of an optional sharing function provided by the embodiment of the present application, as shown in Figure 12:
  • the user can display and hide the search results of the device by clicking "Information List of Devices Participated in Sharing";
  • Information list of devices participating in sharing displays a list of devices participating in sharing. If there are too many display list items in the display content area, users can view them by scrolling the list;
  • the user can click the selected item in the "information list of devices participating in sharing” again to cancel this filtering.
  • the range displayed in the "content display area” is the content shared by the target device.
  • This example provides a cross-device photo album sharing mechanism, which allows users to get rid of the traditional method of sharing pictures/videos based on centralized file storage, and allows multiple users to easily and quickly create shared photo albums without having to Individuals use local storage space to save the album data shared by others before browsing.
  • the sharing device includes sharing device 1 and sharing device 2 as an example to illustrate the interaction process of the resource information sharing method above.
  • Figure 13 is an optional resource information sharing method provided by the embodiment of this application The interactive flowchart of the instance of , as shown in Figure 13:
  • the main device performs a local search in the local photo album according to the shared keyword, and obtains the search result of the main device;
  • the main device searches the local photo album through the local search service module, obtains the search result of the main device, and displays it in the display area of the current interface of the sharing function of the main device.
  • the master device receives the collision information of the sharing device 1 and the collision information of the sharing device 2 respectively;
  • the sharing device 1 and the sharing device 2 respectively receive a request for enabling the sharing function from the master device, and enable the sharing function;
  • the main device After receiving the collision information, the main device checks whether the received collision information meets the preset conditions, for example, whether the distance between the main device and the sharing device 1 and sharing device 2 is less than or equal to the preset distance threshold, If it is smaller than sharing device 1 and sharing device 2, the request for enabling the sharing function from the master device will be received.
  • the preset conditions for example, whether the distance between the main device and the sharing device 1 and sharing device 2 is less than or equal to the preset distance threshold, If it is smaller than sharing device 1 and sharing device 2, the request for enabling the sharing function from the master device will be received.
  • the sharing device 1 and the sharing device 2 respectively receive the content search request of the sharing keyword from the master device, perform a local search in the local photo album according to the content search request, and obtain the search results of the sharing device 1 and the search results of the sharing device 2;
  • sharing device 1 and sharing device 2 need to register their own sharing functions with the main device. Only when they are successfully registered with the main device can they receive the content search request from the main device.
  • the sharing device 1 and the sharing device 2 also use their own local search service modules to realize local search.
  • the main device receives the search results from the sharing device 1 and the search result from the sharing device 2 respectively, and integrates the search results of the sharing device 1 and the search results of the sharing device 2 to obtain the search results of the sharing device;
  • the main device displays the search results of the main device and the search results of the sharing device in the content display area of the current interface of the sharing function of the main device;
  • the sharing device 1 receives the search results of the master device and the search results of the sharing device from the master device, and displays them in the content display area of the current interface of the sharing function of the sharing device 1;
  • the sharing device 2 receives the search results of the main device and the search results of the sharing device from the master device, and displays them in the content display area of the current interface of the sharing function of the sharing device 2 .
  • sharing device 1 and sharing device 2 can be displayed as thumbnails when displaying, and in addition, source information can be marked for each thumbnail.
  • album sharing for sharing keywords between the main device, the sharing device 1 and the sharing device 2 can be realized through the above method.
  • the mechanism that can quickly limit the sharing range of album data based on topics and keywords solves the problem of accidental leakage of personal private pictures/videos that have nothing to do with the purpose of sharing when multiple users share albums with each other. And it also saves users the tedious and time-consuming screening time of pictures/videos in traditional sharing; based on the unique search mechanism, pictures/videos can be aggregated by location and arranged in order of shooting time, which is convenient for users to find and browse.
  • near-field communication methods such as: Bluetooth, Wi-Fi P2P, etc.
  • Bluetooth can be used to relieve users' concerns that data may be stored in the third-party cloud, and at the same time solve the problem of data in scenarios without Internet connection Transmission problem.
  • An embodiment of the present application provides a resource information sharing method, including: in response to the start operation of the sharing function, displaying the first resource information related to the sharing setting information on the first current interface of the sharing function, and when receiving the first
  • the second electronic device is a device with a sharing function, and the second resource information obtained by the content search request, It is updated and displayed on the first current interface in conjunction with the first resource information; that is, in the embodiment of the present application, both the first electronic device and the second electronic device are electronic devices with a sharing function, and the first electronic device responds to The start-up operation of the sharing function displays the first resource information related to the sharing setting information on the first current interface of the sharing function, and sends the second electronic device to the second electronic device by receiving the monitoring information of the second electronic device.
  • the resource information for the shared setting information can be obtained from the second electronic device, that is, the second resource information obtained by the content search request, and finally, the second resource information combined with the first resource information is updated and displayed On the first current interface, in this way, only after receiving the activation operation of enabling the sharing function, the first electronic device and the second electronic device can realize the first resource information related to the sharing setting information and the sharing setting
  • the sharing of the second resource information obtained by the content search request of the information does not need to be affected by the quantity of resource information uploaded and the quality of the network when uploading, thereby improving the sharing efficiency of the resource information.
  • the resource information sharing method is described with the first electronic device side.
  • FIG. 14 is a schematic flowchart of an optional resource information sharing method provided in the embodiment of the present application, as shown in FIG. 14
  • the resource information sharing methods may include:
  • S1401 In response to the start operation of the sharing function, display the first resource information related to the sharing setting information on the first current interface of the sharing function;
  • S1402 When receiving the monitoring information of the second electronic device, send a content search request for the shared setting information to the second electronic device according to the monitoring information;
  • the second electronic device is a device with a sharing function
  • S1403 Update and display the second resource information obtained from the content search request in conjunction with the first resource information on the first current interface.
  • the second resource information is displayed in the form of abbreviated content.
  • the above method may also include:
  • a request for enabling the sharing function is sent to the second electronic device.
  • the above method also includes:
  • S1403 may include:
  • the first operation resource In response to the first operation resource in the first current interface being selected, display the first resource operation menu; the first operation resource is any resource in the first resource information and the second resource information;
  • the function of the submenu of the first resource operation menu is executed. .
  • displaying the first resource operation menu includes:
  • displaying the first resource operation menu includes:
  • the second menu of the first resource operation menu is displayed.
  • the first menu of the first resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the first resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • executing the function of the submenu of the first resource operation menu includes:
  • the function of the submenu of the first menu of the first resource operation menu is executed through the first local data access service.
  • executing the function of the submenu of the first resource operation menu includes:
  • S1403 may include:
  • the second resource information obtained from the content search request is updated and displayed in the content display area on the first current interface in combination with the first resource information.
  • updating and displaying the second resource information obtained from the content search request in combination with the first resource information in the content display area on the first current interface includes:
  • S1401 may include:
  • an initial interface corresponding to the sharing function is displayed on the first current interface
  • the first resource information related to the sharing setting information is displayed on the first current interface of the sharing function, including:
  • the first resource information is displayed.
  • receiving the monitoring information of the second electronic device includes:
  • the collision information When the collision information is received and the source of the collision information is the second electronic device with sharing function, it is determined that the monitoring information of the second electronic device is received; the monitoring information is the collision information.
  • determining that the monitoring information of the second electronic device is received includes:
  • S1402 may include:
  • registering the sharing function registered by the second electronic device includes:
  • the sharing function registered with the second electronic device is registered locally through the local registration service.
  • the above method also includes:
  • each resource information sent from the second electronic device is a resource matching the shared setting information
  • the resource information is combined to obtain the second resource information.
  • sending a content search request for shared setting information to the second electronic device according to the monitoring information includes:
  • a content search request for the shared setting information is sent to the second electronic device through the server.
  • the method also includes:
  • the second resource information fed back from the server for the content search request is received; the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
  • the above method also includes:
  • the first sharing function entry is displayed on the first current interface
  • the initial interface of the application program to which the sharing function of the first electronic device belongs is displayed on the first current display interface.
  • the above method further includes:
  • the main display interface of the first electronic device is displayed on the first current interface.
  • sending a content search request for shared setting information to the second electronic device according to the monitoring information includes:
  • the listening information indicates that the shared setting information of the first electronic device is the same as that of the second electronic device, and the distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold
  • the The second electronic device sends a content search request for the shared setting information.
  • sending a content search request for shared setting information to the second electronic device according to the monitoring information includes:
  • the second electronic device When the monitoring information indicates that the angle between the first electronic device and the second electronic device satisfies the preset condition, and the distance between the first electronic device and the second electronic device is less than or equal to the preset distance threshold, the second electronic device The device sends a content search request for shared setting information;
  • both the first electronic device and the second electronic device have a UWB function, and the first electronic device uses the UWB function to determine an included angle between the first electronic device and the second electronic device.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • FIG. 15 is a schematic flowchart of another optional method for sharing resource information provided in the embodiment of the present application, as shown in FIG. 15
  • the resource information sharing method may include:
  • S1502 Display the received first resource information and second resource information on the second current interface of the sharing function
  • the second resource information includes the third resource information.
  • the first resource information and the second resource information are displayed in the form of abbreviated content.
  • the above method also includes:
  • the above method may further include:
  • the second operating resource is any resource in the first resource information and the second resource information;
  • displaying the second resource operation menu includes:
  • the first menu of the second resource operation menu is displayed.
  • displaying the second resource operation menu includes:
  • a second menu of the second resource operation menu is displayed.
  • the above method also includes:
  • the first menu of the second resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the second resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • executing the function of the submenu of the second resource operation menu includes:
  • the function of the submenu of the first menu of the second resource operation menu is executed through the second local data access service.
  • executing the function of the submenu of the second resource operation menu includes:
  • S1502 may include:
  • displaying the first resource information and the second resource information in the content display area on the second current interface includes:
  • the third resource information is searched and fed back to the first electronic device, including:
  • a resource search related to the shared setting information is performed through the second local search service, and the third resource information is obtained and fed back to the first electronic device.
  • obtaining the third resource information and feeding it back to the first electronic device includes:
  • the third resource information is returned to the server, and fed back to the first electronic device through the server.
  • the above method also includes:
  • the second resource information is obtained by integrating the resource information of the electronic device received by the server;
  • the first resource information sent from the first electronic device is received.
  • the above method also includes:
  • the second sharing function entrance is displayed on the second current interface
  • the initial interface of the application program to which the sharing function of the second electronic device belongs is displayed on the second current interface.
  • the above method further includes:
  • the main display interface of the second electronic device is displayed on the second current interface.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • the above resource information sharing method is also described on the side of the first electronic device.
  • FIG. 16 is a schematic flowchart of another optional resource information sharing method provided in the embodiment of the present application, as shown in FIG. 16 As shown, the resource information sharing method may include:
  • S1601 In response to the start operation of the sharing function, display the first resource information related to the sharing setting information on the first current interface of the sharing function;
  • S1602 When receiving the monitoring information of the second electronic device, update and display the second resource information combined with the first resource information on the first current interface;
  • the second resource information is content related to the sharing setting information in the second electronic device; the second electronic device is a device with a sharing function.
  • embodiments of the present application provide a first electronic device, which is consistent with the first electronic device provided in one or more embodiments above.
  • Fig. 17 is a schematic structural diagram of an optional first electronic device provided by the embodiment of the present application. As shown in Fig. 17, the first electronic device includes:
  • the first display module 171 is configured to display the first resource information related to the sharing setting information on the first current interface of the sharing function in response to the start operation of the sharing function;
  • the sending module 172 is configured to, when receiving the monitoring information of the second electronic device, send a content search request for the shared setting information to the second electronic device according to the monitoring information;
  • the second electronic device is a device with a sharing function
  • the second display module 173 is configured to update and display the second resource information obtained from the content search request in combination with the first resource information on the first current interface.
  • the second resource information is displayed in the form of abbreviated content.
  • the first electronic device is further configured to:
  • a request for enabling the sharing function is sent to the second electronic device.
  • the first electronic device is further configured to:
  • the first electronic device is further configured to:
  • the first The operation resource is any resource in the first resource information and the second resource information
  • the first electronic device in response to the first operation resource being selected in the first current interface, displays the first resource operation menu, including:
  • the first electronic device in response to the first operation resource being selected in the first current interface, displays the first resource operation menu, including:
  • the second menu of the first resource operation menu is displayed.
  • the first menu of the first resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the first resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the first electronic device responds to the selection of the submenu of the first resource operation menu, and executes the functions of the submenu of the first resource operation menu, including:
  • the function of the submenu of the first menu of the first resource operation menu is executed through the first local data access service.
  • the first electronic device responds to the selection of the submenu of the first resource operation menu, and executes the functions of the submenu of the first resource operation menu, including:
  • the second display module 173 is configured to:
  • the second resource information obtained from the content search request is updated and displayed in the content display area on the first current interface in combination with the first resource information.
  • the second display module 173 updates and displays the second resource information obtained from the content search request in combination with the first resource information in the content display area on the first current interface, including:
  • the first display module 171 is configured to:
  • an initial interface corresponding to the sharing function is displayed on the first current interface
  • the first display module 171 displays the first resource information related to the sharing setting information on the first current interface of the sharing function, including:
  • the first resource information is displayed.
  • the monitoring information received by the first electronic device from the second electronic device includes:
  • the collision information When the collision information is received and the source of the collision information is the second electronic device with sharing function, it is determined that the monitoring information of the second electronic device is received; the monitoring information is the collision information.
  • the determining that the first electronic device receives the monitoring information of the second electronic device includes:
  • the sending module 172 is configured to:
  • the sending module 172 when receiving the monitoring information of the second electronic device, registers the sharing function registered by the second electronic device, including:
  • the sharing function registered with the second electronic device is registered locally through the local registration service.
  • the first electronic device is further configured to:
  • each resource information sent from the second electronic device is a resource matching the shared setting information
  • the resource information is combined to obtain the second resource information.
  • the sending module 172 sends a content search request for shared setting information to the second electronic device according to the monitoring information, including:
  • a content search request for the shared setting information is sent to the second electronic device through the server.
  • the first electronic device is further configured to:
  • the second resource information fed back from the server for the content search request is received; the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
  • the first electronic device is further configured to:
  • the first sharing function entry is displayed on the first current interface
  • the initial interface of the application program to which the sharing function of the first electronic device belongs is displayed on the first current display interface.
  • the first electronic device is further configured to:
  • the main display interface of the first electronic device is displayed on the first current interface.
  • the sending module 172 sends a content search request for shared setting information to the second electronic device according to the monitoring information, including:
  • the listening information indicates that the shared setting information of the first electronic device is the same as that of the second electronic device, and the distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold
  • the The second electronic device sends a content search request for the shared setting information.
  • the sending module 172 sends a content search request for shared setting information to the second electronic device according to the monitoring information, including:
  • the second electronic device When the monitoring information indicates that the angle between the first electronic device and the second electronic device satisfies the preset condition, and the distance between the first electronic device and the second electronic device is less than or equal to the preset distance threshold, the second electronic device The device sends a content search request for shared setting information;
  • both the first electronic device and the second electronic device have a UWB function, and the first electronic device uses the UWB function to determine an included angle between the first electronic device and the second electronic device.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • first display module 171, sending module 172 and second display module 173 can be implemented by a processor located on the first electronic device, specifically a central processing unit (CPU, Central Processing Unit), a microprocessor ( MPU, Microprocessor Unit), digital signal processor (DSP, Digital Signal Processing) or field programmable gate array (FPGA, Field Programmable Gate Array) and other implementations.
  • CPU Central Processing Unit
  • MPU Microprocessor Unit
  • DSP Digital Signal Processing
  • FPGA Field Programmable Gate Array
  • An embodiment of the present application provides a second electronic device, which is consistent with the second electronic device described in one or more embodiments above.
  • Fig. 18 is a schematic structural diagram of an optional second electronic device provided in the embodiment of the present application. As shown in Fig. 18, the second electronic device includes:
  • the search module 181 is configured to search for the third resource information and obtain the third resource information according to the content search request of the shared setting information when receiving a content search request for the shared setting information from the first electronic device when the sharing function is turned on. feedback to the first electronic device;
  • the third display module 182 is configured to display the received first resource information and second resource information on the second current interface of the sharing function
  • the second resource information includes third resource information.
  • the first resource information and the second resource information are displayed in the form of abbreviated content.
  • the second electronic device is further configured to:
  • the second electronic device is further configured to:
  • the second operation is any resource in the first resource information and the second resource information
  • the second electronic device responds to the selection of the second operation resource in the second current interface, and displays the operation menu of the second resource, including:
  • the first menu of the second resource operation menu is displayed.
  • the second electronic device responds to the selection of the second operation resource in the second current interface, and displays the operation menu of the second resource, including:
  • a second menu of the second resource operation menu is displayed.
  • the first menu of the second resource operation menu includes at least one of the following: a browse submenu and a set as wallpaper submenu.
  • the second menu of the second resource operation menu includes at least one of the following: a browse submenu, a set as wallpaper submenu, and a save to local submenu.
  • the second electronic device executes a function of a submenu of the second resource operation menu in response to the submenu of the second resource operation menu being selected, including:
  • the function of the submenu of the first menu of the second resource operation menu is executed through the second local data access service.
  • the second electronic device executes a function of a submenu of the second resource operation menu in response to the submenu of the second resource operation menu being selected, including:
  • the third display module 183 is configured to:
  • the third display module 183 displays the first resource information and the second resource information in the content display area on the second current interface, including:
  • the search module 181 searches for the third resource information according to the content search request of the shared setting information and feeds it back to the first electronic device, including:
  • a resource search related to the shared setting information is performed through the second local search service, and the third resource information is obtained and fed back to the first electronic device.
  • the search module 181 obtains the third resource information and feeds it back to the first electronic device, including:
  • the third resource information is returned to the server, and fed back to the first electronic device through the server.
  • the second electronic device is further configured to:
  • the second resource information is obtained by integrating the resource information of the electronic device received by the server;
  • the first resource information sent from the first electronic device is received.
  • the second electronic device is further configured to:
  • the second sharing function entrance is displayed on the second current interface
  • the initial interface of the application program to which the sharing function of the second electronic device belongs is displayed on the second current interface.
  • the second electronic device is further configured to:
  • the main display interface of the second electronic device is displayed on the second current interface.
  • data is transmitted between the first electronic device and the second electronic device through wireless communication.
  • the wireless communication method includes at least one of the following:
  • Wi-Fi peer-to-peer Wi-Fi P2P Wi-Fi Wi-Fi Direct
  • Bluetooth Wi-Fi Wi-Fi Direct
  • the above search module 171 and the third display module 172 may be implemented by a processor located on the second electronic device, specifically a CPU, MPU, DSP, or FPGA.
  • FIG. 19 is a schematic structural diagram of an optional electronic device provided by the embodiment of the present application. As shown in FIG. 19 , the embodiment of the present application provides an electronic device 1900, including:
  • the communication bus 193 is used to realize connection and communication between these components.
  • the communication bus 193 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as communication bus 193 in FIG. 19 for clarity of illustration.
  • An embodiment of the present application provides a computer storage medium, which stores executable instructions.
  • the processors execute the first step in the above one or more embodiments.
  • the sharing method executed by an electronic device, or the sharing method executed by a second electronic device in one or more embodiments above.
  • the computer-readable storage medium may be a magnetic random access memory (ferromagnetic random access memory, FRAM), a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read-Only Memory, PROM), programmable Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash Memory, Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory, CD-ROM) and other storage.
  • FRAM magnetic random access memory
  • ROM read-only memory
  • PROM programmable Read-only memory
  • EPROM programmable Erasable Programmable Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • Flash Memory Magnetic Surface Memory
  • CD Compact Disc Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
  • a computer-usable storage media including but not limited to disk storage, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • the embodiment of the present application provides a resource information sharing method, an electronic device, and a computer storage medium. Only after receiving the startup operation of enabling the sharing function, the first electronic device and the second electronic device can realize the shared setting The sharing of information-related first resource information and second resource information obtained from a content search request for shared setting information does not need to be affected by the number of uploaded resource information and the quality of the network when uploading, thereby improving the sharing efficiency of resource information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开了一种资源信息的共享方法,该方法应用于第一电子设备中,包括:响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,当接收到第二电子设备的监听信息时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,第二电子设备为具有分享功能的设备,将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上。本申请实施例还同时提供了一种电子设备及计算机存储介质。

Description

一种资源信息的共享方法、电子设备及计算机存储介质
相关申请的交叉引用
本申请基于申请号为202210034657.4、申请日为2022年01月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引用的方式引入本申请。
技术领域
本申请涉及电子设备之间的资源信息的共享技术,尤其涉及一种资源信息的共享方法、电子设备及计算机存储介质。
背景技术
目前,针对电子设备进行资源共享的相关技术中,以资源信息为图片为例来说,主要可以通过以下两种方式实现:第一种是基于网络中心点的图片分享方式,比如,利用网盘存放图片并分享或者利用图片分享网站上传图片进行基于统一资源定位符(Uniform Resource Locator,URL)的分享,第二种,基于社交软件的群组模式的分享方式,参与分享的人把自己想分享的图片上传到群里来分享。
然而,上述都是基于某个中心集(网盘/网站/社交软件的群组模式)中接收到来自参与分享的设备发送的图片才可实现与其他参与分享的设备的图片共享,也就是说,只有参与分享的设备将需要分享的图片上传才可实现与其他参与分享的设备的共享,那么,该共享方法的效率与用户上传的图片的数量和网络的质量相关,显然,当共享的图片数量较多或者网络质量欠佳时,都会影响共享效率;由此可以看出,现有的资源信息的共享方法中存在效率低下的技术问题。
发明内容
本申请实施例提供一种资源信息的共享方法、电子设备及计算机存储介质,能够简化相册共享的步骤。
本申请的技术方案是这样实现的:
本申请实施例提供一种资源信息的共享方法,所述方法应用于第一电子设备中,包括:
响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
本申请实施例提供一种资源信息的共享方法,所述方法应用于第二电子设备中,包括:
当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
本申请实施例提供一种第一电子设备,包括:
第一显示模块,配置成响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
发送模块,配置成当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
第二显示模块,配置成将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
本申请实施例提供一种第二电子设备,包括:
搜索模块,配置成当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
第三显示模块,配置成将接收到的所述第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
本申请实施例提供一种电子设备,包括:
处理器以及存储有所述处理器可执行指令的存储介质,所述存储介质通过通信总线依赖所述处理器执行操作,当所述指令被所述处理器执行时,执行上述一个或多个实施例中所述的资源信息的共享方法。
本申请实施例提供一种计算机存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行如一个或多个实施例所述的资源信息的共享方法。
本申请实施例提供了一种资源信息的共享方法、电子设备及计算机存储介质,包括:响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,当接收到第二电子设备的监听信息时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,第二电子设备为具有分享功能的设备,将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上;也就是说,在本申请实施例中,第一电子设备和第二电子设备均为具有分享功能的电子设备,第一电子设备通过响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,并通过接收到第二电子设备的监听信息,向第二电子设备发出针对共享设动信息的内容搜索请求,这样,能够从第二电子设备中得到针对共享设定信息的资源信息,即内容搜索请求得到的第二资源信息,最后,将第二资源信息结合第一资源信息更新显示在第一当前界面上,如此,只需要在接收到开启分享功能的启动操作之后,第一电子设备与第二电子设备就可以实现针对共享设定信息相关的第一资源信息和针对共享设定信息的内容搜索请求得到的第二资源信息的共享,无需受到资源信息的上传数量和上传时网络质量的影响,从而提高了资源信息的共享效率。
附图说明
图1为本申请实施例提供的一种可选的资源信息的共享系统的结构示意图;
图2为本申请实施例提供的一种可选的资源信息的共享方法的流程交互示意图;
图3为本申请实施例提供的一种可选的资源信息的共享方法的实例一的流程示意图;
图4为本申请实施例提供的一种可选的资源信息的共享系统的架构示意图;
图5为本申请实施例提供的一种可选的资源信息的共享方法的实例二的流程示意图;
图6为本申请实施例提供的一种可选的资源信息的共享方法的实例一的界面示意图;
图7为本申请实施例提供的一种可选的分享功能的当前界面的实例一的排布示意图;
图8为本申请实施例提供的一种可选的资源信息的共享方法的实例三的流程示意图;
图9为本申请实施例提供的一种可选的资源信息的共享方法的实例四的流程示意图;
图10为本申请实施例提供的一种可选的分享功能的当前界面的实例二的排布示意图;
图11为本申请实施例提供的一种可选的资源信息的共享方法的实例二的界面示意图;
图12为本申请实施例提供的一种可选的分享功能的当前界面的实例三的排布示意图;
图13为本申请实施例提供的一种可选的资源信息的共享方法的实例的交互流程图;
图14为本申请实施例提供的一种可选的共享方法的流程示意图;
图15为本申请实施例提供的另一种可选的共享方法的流程示意图;
图16为本申请实施例提供的再一种可选的共享方法的流程示意图;
图17为本申请实施例提供的一种可选的第一电子设备的结构示意图;
图18为本申请实施例提供的一种可选的第二电子设备的结构示意图;
图19为本申请实施例提供的一种可选的电子设备的结构示意图。
具体实施方式
第一方面,本申请实施例提供了一种共享方法,所述方法应用于第一电子设备中,包括:
响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
在一种可选的实施例中,所述第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,所述方法还包括:
当接收到第二电子设备的监听信息时,向所述第二电子设备发送分享功能的开启请求。
在一种可选的实施例中,所述方法还包括:
将所述第二资源信息和所述第一资源信息发送至开启分享功能的所述第二电子设备。
在一种可选的实施例中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上之后,所述方法还包括:
响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;所述第一操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
响应于所述第一资源操作菜单的子菜单被选中,执行所述第一资源操作菜单的子菜单的功能。
在一种可选的实施例中,所述响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源属于第一本地内容时,显示所述第一资源操作菜单的第一菜单。
在一种可选的实施例中,所述响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源不属于第一本地内容时,显示所述第一资源操作菜单的第二菜单。
在一种可选的实施例中,所述第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,所述第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,所述响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能,包括:
响应于所述第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行所述第一资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,所述响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能,包括:
响应于所述第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行所述第一资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上,包括:
将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中。
在一种可选的实施例中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中,包括:
在所述第一当前界面上的内容显示区域中,显示所述第一资源信息的缩略内容以及第一本地标识;
显示所述第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
在一种可选的实施例中,所述响应于对分享功能的启动操作,在所述分享功能的第一当前界面 显示与共享设定信息相关的第一资源信息,包括:
响应于对分享功能的启动操作,在所述第一当前界面显示所述分享功能对应的初始界面;
接收针对所述分享功能对应的初始界面的操作信息得到所述共享设定信息,在所述分享功能的所述第一当前界面显示与共享设定信息相关的所述第一资源信息。
在一种可选的实施例中,所述在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息,包括:
通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第一资源信息;
在所述第一当前界面,显示所述第一资源信息。
在一种可选的实施例中,所述接收到第二电子设备的监听信息,包括:
当接收到碰撞信息,且所述碰撞信息的来源为具有分享功能的第二电子设备时,确定接收到所述第二电子设备的监听信息;所述监听信息为所述碰撞信息。
在一种可选的实施例中,所述确定接收到所述第二电子设备的监听信息,包括:
通过本地的事件监听服务确定接收到所述第二电子设备的监听信息。
在一种可选的实施例中,所述当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
当接收到所述第二电子设备的监听信息时,将所述第二电子设备注册的分享功能在本地进行注册;
当所述第二电子设备注册的分享功能注册完成时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述当接收到第二电子设备的监听信息时,将所述第二电子设备注册的分享功能进行注册,包括:
当接收到所述第二电子设备的所述监听信息时,通过本地的注册服务对所述第二电子设备注册的分享功能在本地进行注册。
在一种可选的实施例中,所述方法还包括:
接收来自所述第二电子设备发送的各个资源信息;所述各个资源信息为与共享设定信息匹配的资源;
将所述各个资源信息进行合并,得到所述第二资源信息。
在一种可选的实施例中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
根据所述监听信息,通过服务器向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述方法还包括:
接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的第二电子设备的各个资源信息整合得到的。
在一种可选的实施例中,所述方法还包括:
在所述第一当前界面上显示有第一分享功能入口;
响应于所述第一分享功能入口的关闭操作,在所述第一当前显示界面显示所述第一电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,在所述第一当前界面上显示有第一分享功能入口之后,所述方法还包括:
响应于所述第一分享功能入口的关闭操作,在所述第一当前界面上显示所述第一电子设备的主显示界面。
在一种可选的实施例中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
当所述监听信息指示所述第一电子设备的共享设定信息与所述第二电子设备的共享设定信息相同,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
当所述监听信息指示所述第一电子设备与所述第二电子设备之间的夹角满足预设条件,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发 出针对所述共享设定信息的内容搜索请求;
其中,所述第一电子设备和所述第二电子设备均具有UWB功能,所述第一电子设备利用UWB功能确定所述第一电子设备与所述第二电子设备之间的夹角。
在一种可选的实施例中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,所述无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
第二方面,本申请实施例提供了一种共享方法,所述方法应用于第二电子设备中,包括:
当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
在一种可选的实施例中,所述第一资源信息和所述第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,所述方法还包括:
当接收到来自第一电子设备发送的分享功能的开启请求时,开启分享功能。
在一种可选的实施例中,所述将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上之后,所述方法还包括:
响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;所述第二操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作的子菜单的功能。
在一种可选的实施例中,所述响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源属于第二本地内容时,显示所述第二资源操作菜单的第一菜单。
在一种可选的实施例中,所述响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源不属于第二本地内容时,显示所述第二资源操作菜单的第二菜单。
在一种可选的实施例中,所述第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,所述第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,所述响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能,包括:
响应于所述第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行所述第二资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,所述响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能,包括:
响应于所述第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行所述第二资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,所述将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上,包括:
将所述第一资源信息和所述第二资源信息显示在所述分享功能的第二当前界面上的内容显示区域中。
在一种可选的实施例中,所述将所述第一资源信息和第二资源信息显示在所述第二当前界面上的内容显示区域中,包括:
在所述第二当前界面上的内容显示区域中,显示所述第三资源信息的缩略内容以及第二本地标识;
显示所述第一资源信息的缩略内容和所述第二资源信息中除了所述第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
在一种可选的实施例中,所述根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备,包括:
响应于所述内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第三资源信息并反馈给所述第一电子设备。
在一种可选的实施例中,所述得到第三资源信息并反馈给所述第一电子设备,包括:
将所述第三资源信息返回至服务器,并通过所述服务器反馈至所述第一电子设备。
在一种可选的实施例中,所述方法还包括:
接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的电子设备的各个资源信息整合得到的;
接收来自所述第一电子设备发送的所述第一资源信息。
在一种可选的实施例中,所述方法还包括:
在所述第二当前界面上显示有第二分享功能入口;
响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面显示所述第二电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,在所述第二当前界面上显示有第二分享功能入口之后,所述方法还包括:
响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面上显示所述第二电子设备的主显示界面。
在一种可选的实施例中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,,所述无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
第三方面,本申请实施例提供了一种共享方法,所述方法应用于第一电子设备中,包括:
响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
当接收到第二电子设备的监听信息时,将第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上;其中,所述第二资源信息为所述第二电子设备中与所述共享设定信息相关的内容;所述第二电子设备为具有分享功能的设备。
第四方面,本申请实施例提供一种第一电子设备,包括:
第一显示模块,配置成响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
发送模块,配置成当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
第二显示模块,配置成将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
在一种可选的实施例中,所述第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,所述第一电子设备,还配置成:
当接收到第二电子设备的监听信息时,向所述第二电子设备发送分享功能的开启请求。
在一种可选的实施例中,所述第一电子设备,还配置成:
将所述第二资源信息和所述第一资源信息发送至开启分享功能的所述第二电子设备。
在一种可选的实施例中,所述第一电子设备,还配置成:
所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上之后,响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;所述第一操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
响应于所述第一资源操作菜单的子菜单被选中,执行所述第一资源操作菜单的子菜单的功能。
在一种可选的实施例中,所述第一电子设备响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单中,包括:
响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源属于第一本 地内容时,显示所述第一资源操作菜单的第一菜单。
在一种可选的实施例中,所述第一电子设备响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单中,包括:
响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源不属于第一本地内容时,显示所述第一资源操作菜单的第二菜单。
在一种可选的实施例中,所述第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,所述第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,所述第一电子设备响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能中,包括:
响应于所述第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行所述第一资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,所述第一电子设备响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能中,包括:
响应于所述第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行所述第一资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,所述第二显示模块,配置成:
将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中。
在一种可选的实施例中,所述第二显示模块将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中,包括:
在所述第一当前界面上的内容显示区域中,显示所述第一资源信息的缩略内容以及第一本地标识;
显示所述第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
在一种可选的实施例中,所述第一显示模块,配置成:
响应于对分享功能的启动操作,在所述第一当前界面显示所述分享功能对应的初始界面;
接收针对所述分享功能对应的初始界面的操作信息得到所述共享设定信息,在所述分享功能的所述第一当前界面显示与共享设定信息相关的所述第一资源信息。
在一种可选的实施例中,所述第一显示模块在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息中,包括:
通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第一资源信息;
在所述第一当前界面,显示所述第一资源信息。
在一种可选的实施例中,所述第一电子设备接收到第二电子设备的监听信息中,包括:
当接收到碰撞信息,且所述碰撞信息的来源为具有分享功能的第二电子设备时,确定接收到所述第二电子设备的监听信息;所述监听信息为所述碰撞信息。
在一种可选的实施例中,所述第一电子设备确定接收到所述第二电子设备的监听信息中,包括:
通过本地的事件监听服务确定接收到所述第二电子设备的监听信息。
在一种可选的实施例中,所述发送模块,配置成:
当接收到所述第二电子设备的监听信息时,将所述第二电子设备注册的分享功能在本地进行注册;
当所述第二电子设备注册的分享功能注册完成时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述发送模块当接收到第二电子设备的监听信息时,将所述第二电子设备注册的分享功能进行注册中,包括:
当接收到所述第二电子设备的所述监听信息时,通过本地的注册服务对所述第二电子设备注册的分享功能在本地进行注册。
在一种可选的实施例中,所述第一电子设备,还配置成:
接收来自所述第二电子设备发送的各个资源信息;所述各个资源信息为与共享设定信息匹配的资源;
将所述各个资源信息进行合并,得到所述第二资源信息。
在一种可选的实施例中,所述发送模块根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求中,包括:
根据所述监听信息,通过服务器向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述第一电子设备,还配置成:
接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的第二电子设备的各个资源信息整合得到的。
在一种可选的实施例中,所述第一电子设备,还配置成:
在所述第一当前界面上显示有第一分享功能入口;
响应于所述第一分享功能入口的关闭操作,在所述第一当前显示界面显示所述第一电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,所述第一电子设备,还配置成:
在所述第一当前界面上显示有第一分享功能入口之后,响应于所述第一分享功能入口的关闭操作,在所述第一当前界面上显示所述第一电子设备的主显示界面。
在一种可选的实施例中,所述发送模块根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求中,包括:
当所述监听信息指示所述第一电子设备的共享设定信息与所述第二电子设备的共享设定信息相同,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
在一种可选的实施例中,所述发送模块根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求中,包括:
当所述监听信息指示所述第一电子设备与所述第二电子设备之间的夹角满足预设条件,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;
其中,所述第一电子设备和所述第二电子设备均具有UWB功能,所述第一电子设备利用UWB功能确定所述第一电子设备与所述第二电子设备之间的夹角。
在一种可选的实施例中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,所述无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
第五方面,本申请实施例提供一种第二电子设备,包括:
搜索模块,配置成当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
第三显示模块,配置成将接收到的所述第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
在一种可选的实施例中,所述第一资源信息和所述第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,所述第二电子设备,还配置成:
当接收到来自第一电子设备发送的分享功能的开启请求时,开启分享功能。
在一种可选的实施例中,所述第二电子设备,还配置成:
将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上之后,响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;所述第二操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作的子菜单的功能。
在一种可选的实施例中,所述第二电子设备响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单中,包括:
响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源属于第二本地内容时,显示所述第二资源操作菜单的第一菜单。
在一种可选的实施例中,所述第二电子设备响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单中,包括:
响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源不属于第二本地内容时,显示所述第二资源操作菜单的第二菜单。
在一种可选的实施例中,所述第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,所述第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,所述第二电子设备响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能中,包括:
响应于所述第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行所述第二资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,所述第二电子设备响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能中,包括:
响应于所述第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行所述第二资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,第三显示模块,配置成:
将所述第一资源信息和所述第二资源信息显示在所述分享功能的第二当前界面上的内容显示区域中。
在一种可选的实施例中,所述第三显示模块将所述第一资源信息和第二资源信息显示在所述第二当前界面上的内容显示区域中,包括:
在所述第二当前界面上的内容显示区域中,显示所述第三资源信息的缩略内容以及第二本地标识;
显示所述第一资源信息的缩略内容和所述第二资源信息中除了所述第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
在一种可选的实施例中,所述搜索模块根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备中,包括:
响应于所述内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第三资源信息并反馈给所述第一电子设备。
在一种可选的实施例中,所述搜索模块得到第三资源信息并反馈给所述第一电子设备中,包括:
将所述第三资源信息返回至服务器,并通过所述服务器反馈至所述第一电子设备。
在一种可选的实施例中,所述第二电子设备,还配置成:
接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的电子设备的各个资源信息整合得到的;
接收来自所述第一电子设备发送的所述第一资源信息。
在一种可选的实施例中,所述第二电子设备,还配置成:
在所述第二当前界面上显示有第二分享功能入口;
响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面显示所述第二电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,所述第二电子设备,还配置成:
在所述第二当前界面上显示有第二分享功能入口之后,响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面上显示所述第二电子设备的主显示界面。
在一种可选的实施例中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,所述无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
第六方面,本申请实施例提供一种电子设备,包括:处理器以及存储有所述处理器可执行指令的存储介质;所述存储介质通过通信总线依赖所述处理器执行操作,当所述指令被所述处理器执行时,执行上述一个或多个实施例所述的资源信息的共享方法。
第四方面,本申请实施例提供了一种计算机存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行上述一个或多个实施例所述资源信息的共享方法。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
本申请实施例提供了一种资源信息的共享方法,该方法应用于资源信息的共享系统中,图1为本申请实施例提供的一种可选的资源信息的共享系统的结构示意图,如图1所示,该资源信息的共享系统至少可以包括:第一电子设备11和第二电子设备12;其中,
在资源信息的共享的过程中,第一电子设备11为资源信息共享的发起设备,需要先发起资源信息的共享,具体地,第一电子设备11接收到用户对分享功能的启动操作,响应于对分享功能的启动操作,发起对资源信息的共享,第二电子设备12为资源信息的共享的参与设备,通过第一电子设备11发送的分享功能的开启请求来开启分享功能,以实现与第一电子设备11之间进行资源信息的共享。
需要说明的是,上述资源信息可以为电子设备上的任一种资源信息,例如,文件,音频,视频,图片等等,这里,本申请实施例对此不作具体限定。
基于上述图1提供的资源信息的共享系统,图2为本申请实施例提供的一种可选的资源信息的共享方法的流程交互示意图,如图2所示,该资源信息的共享方法可以包括:
S201:第一电子设备11响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关第一资源信息;
目前,由于现有的资源信息的共享方法的共享效率与用户上传资源信息的数量和网络的质量相关,从而影响资源信息的共享效率,为了提高资源信息的共享效率,本申请实施例提供一种资源信息的共享方法,首先,第一电子设备11接收到用户发出的共享功能的启动操作,例如,用户对第一电子设备11的开机界面上具有共享功能的应用程序的图标发出点击操作,从而使得第一电子设备11接收到分享功能的启动操作;其中,具有共享功能的应用程序的图标可以为现有的图标,也可以为新的应用程序的图标,以相册的共享为例来说,用户可以对相册的图标中的分享功能的入口进行操作,以使得第一电子设备11接收到分享功能的启动操作,还可以是用户对新的分享功能的图标进行操作,以使得第一电子设备11接收到分享功能的启动操作,这里,本申请实施例对此不作具体限定。
第一电子设备11在接收到分享功能的启动操作之后,响应该分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,也就是说,第一电子设备11在接收到分享功能的启动操作之后,开启分享功能,将共享设定信息相关的第一资源信息显示在分享功能的第一当前界面上,其中,上述共享设定信息可以是预先设置好的,也可以包含在分享功能的启动操作中,这里,本申请实施例对此不作具体限定。
其中,上述共享设定信息可以为关键字,也可以为设置好的范围条件,例如,针对关键字来说,上述与共享设定信息相关的第一资源信息可以为根据关键字从第一电子设备11的资源信息中确定出与关键字相关的资源信息,将其作为第一资源信息,针对设置好的范围条件,是将第一电子设备中的资源信息中满足设置好的范围条件的资源信息确定为第一资源信息,示例性地,针对相册来说,当共享设定信息为“故宫”时,第一电子设备11从相册中查找出与“故宫”相关的相册,其中,可以利用图像识别技术,查找出相册中含有故宫的图片,从而确定出第一资源信息,当共享设定信息为14:00-18:00之间的图片时,从第一电子设备11的相册中查找出14:00-18:00这一时段间的图片,作为第一资源信息。
S202:当第一电子设备11接收到第二电子设备的监听信息时,第一电子设备11根据监听信息,向第二电子设备12发出针对共享设定信息的内容搜索请求;
第一电子设备11的分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息之后,为了实现与其他电子设备针对资源信息的共享,只有当第一电子设备11接收到第二电子设备12的监听信息时,第一电子设备11根据接收到的监听信息,向第二电子设备12发出针对共享设定信息的内容搜索请求。
其中,上述监听信息可以为第二电子设备12的碰撞信息,也可以为第一电子设备11与第二电子设备12的夹角信息,还可以为第一电子设备11与第二电子设备12之间的距离信息,这里,本申请实施例对此不作具体限定。
另外,需要说明的是,上述第二电子设备12为具有分享功能的设备;如此,在第二电子设备12在接收针对共享设定信息的内容搜索请求时,需要自身的分享功能已经开启,可见,第二电子设备12必须为具有分享功能的设备,并且,在分享时需要将分享功能打开才可以实现资源信息的共享。
S203:当第二电子设备12在分享功能开启时,第二电子设备12接收到来自第一电子设备11发 出的针对共享设定信息的内容搜索请求时,根据共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给第一电子设备11;
这里,只有当第二电子设备12在分享功能开启时,第二电子设备12接收针对共享设定信息的内容搜索请求时,根据内容共享设定信息的搜索请求搜索得到第三资源信息,并将第三资源信息反馈给第一电子设备11,其中,第二电子设备12根据共享设定信息的内容搜索请求进行搜索中,与第一电子设备11获取与共享设定信息相关的第一资源信息类似,例如,当共享设定信息为关键字时,第二电子设备12在本地的资源信息中搜索出于关键字相关的资源信息,作为第三资源信息,当共享设定信息为设置好的条件范围时,第二电子设备12将本地的资源信息中满足条件范围的资源信息作为第三资源信息,如此,可以搜索得到第三资源信息。
在第二电子设备12搜索得到第三资源信息之后,将第三资源信息反馈给第一电子设备11,这里,需要说明的是,第二电子设备12可以直接将第三资源信息反馈给第一电子设备11,也可以将第三资源信息发送至服务器,然后通过服务器将第三资源信息反馈给第一电子设备11,这里,本申请实施例对此不作具体限定。
S204:第一电子设备11将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上;
可见,当第二电子设备12将搜索得到的第三资源信息反馈给第一电子设备11之后,第一电子设备11可以接收到内容搜索请求得到的第二资源信息,其中,第二资源信息包括第三资源信息;也就是说,当第二电子设备12将第三资源信息反馈至第一电子设备11时,第一电子设备11可以将反馈得到的所有第三资源信息进行整合得到第二资源信息,当第二电子设备12将第三资源信息通过服务器反馈至第一电子设备11时,服务器会将接收到的所有的第三资源信息进行整合得到第二资源信息,并将第二资源信息发送至第一电子设备11,使得第一电子设备11接收到第二资源信息。
第一电子设备11在接收到第二资源信息之后,将第二资源信息结合第一资源信息更新显示在第一当前界面上,即将第一电子设备11中与共享设定信息相关的第一资源信息和第二电子设备12中搜索得到的第二资源信息一起显示在第一当前界面上,使得第一电子设备11的第一当前界面上显示第一电子设备11和第二电子设备12所分享出的资源信息,从而在第一电子设备11侧实现第一电子设备11和第二电子设备12针对共享设定信息相关的资源信息的共享。
这里,需要指出的是,上述第一当前界面上在显示第一资源信息和第二资源信息时,可以采用相同的显示形式进行显示,还可以采用不同的显示方式进行显示,其中,显示形式可以包括:列表形式,大图标形式,缩略图形式等等,这里,本申请实施例对此不作具体限定。
S205:第二电子设备12将接收到的第一资源信息和第二资源信息显示在分享功能的第二当前界面上。
另外,第二电子设备12接收第一资源信息和第二资源信息,其中,第一资源信息为第一电子设备11发送至第二电子设备12的,第二资源信息可以为第一电子设备11发送至第二电子设备12的,也可以为服务器发送给第二电子设备12的,这里,本申请实施例对此不作具体限定。
第二电子设备12在接收到第一资源信息和第二资源信息之后,将第一资源信息和第二资源信息显示在分享功能的第二当前界面上,这里,需要指出的是,上述第二当前界面上在显示第一资源信息和第二资源信息时,与第一当前界面类似,这里,不再赘述。
第二电子设备12为了实现与第一电子设备11的资源信息的共享,需要开启分享功能,为了将第二电子设备12的分享功能开启,在一种可选的实施例中,在执行上述S203中,若第二电子设备没有开启分享功能,为了使得第二电子设备开启分享功能,上述方法还可以通过下述S203a-S203b来实现通过第一电子设备与第二电子设备的交互实现第二电子设备开启分享功能,具体S203a-S203b,如下:
S203a:当第一电子设备接收到第二电子设备的监听信息时,第一电子设备向第二电子设备发送分享功能的开启请求;
S203b:当第二电子设备接收到来自第一电子设备发送的分享功能的开启请求时,第二电子设备开启分享功能。
通常情况下,第二电子设备的分享功能处于未开启的状态,那么,为了将第二电子设备的分享功能及时地开启,以实现第一电子设备与第二电子设备针对资源信息的共享,当第一电子设备在接收到第二电子设备的监听信息时,第一电子设备向第二电子设备发送分享功能的开启请求,第二电子设备接收到分享功能的开启请求之后,开启分享功能,如此,通过第一电子设备向第二电子设备发送开启请求使得第二电子设备开启分享功能,这样,第二电子设备才能够接收到针对共享设定信 息的内容搜索请求。
为了提高共享效率,针对第一电子设备和第二电子设备来说,在一种可选的实施例中,在第一电子设备中,第二资源信息以缩略图内容的形式进行显示。
在第二电子设备中,第一资源信息和第二资源信息以缩略内容的形式进行显示。
也就是说,在第一电子设备的第一当前界面上显示第二资源信息时,是以缩略图内容的形式显示,如此,无需预先下载第二资源信息就可以知晓第二资源信息的内容,有利于发起分享的第一电子设备的用户快速地通过第一当前界面知晓第二电子设备所共享的资源信息的内容。
在第二电子设备的第二当前界面上显示第一资源信息和第二资源信息时,即第二电子设备将接收到的所有的资源信息都以缩略内容的形式进行显示,如此,参与分享的第二电子设备通过第二当前界面快速地知晓全部分享出的资源信息的内容。
可见,第一电子设备和第二电子设备通过缩略内容的形式将资源信息进行显示,可以实现快速共享,从而提高了共享效率。
为了使得第二电子设备参与至本次针对共享设定信息的共享中,在一种可选的实施例中,在S205中第二电子设备接收到的第一资源信息和第二资源信息可以通过下述S205a来实现第二电子设备的接收功能,S205a,具体如下:
S205a:第一电子设备将第二资源信息和第一资源信息发送至开启分享功能的第二电子设备。
也就是说,第一电子设备将自身搜索得到的与共享设定信息相关的第一资源信息和接收到的第二资源信息发送至已经开启分享功能的第二电子设备中,使得第二电子设备参与到本次针对共享设定信息的共享中,以使得第二电子设备与第一电子设备实现资源信息的共享。
当第一电子设备将第二资源信息结合第一资源信息更新显示在第一当前界面上时,在一种可选的实施例中,在执行S204之后,上述方法还可以通过执行下述S206-S207实现对第一当前界面上的资源信息的操作,S206-S207,如下:
S206:第一电子设备响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;
S207:第一电子设备响应于第一资源操作菜单的子菜单被选中,执行第一资源操作菜单的子菜单的功能。
可选的,用户发出针对第一当前界面中的第一操作资源的操作,以选中第一操作资源,使得第一电子设备接收到第一当前界面中的第一操作资源被选中的操作信息,响应于第一当前界面中的第一操作资源被选中,其中,第一操作资源为第一资源信息和第二资源信息中的任意一个资源;也就是说,第一电子设备响应于第一当前界面中的第一资源信息和第二资源信息中的任意一个资源被选中,在第一当前界面上显示第一资源操作菜单。
当第一当前界面上显示第一资源操作菜单时,用户发出针对第一资源操作菜单中的子菜单的操作,使得第一电子设备接收到第一资源操作菜单的子菜单被选中的操作信息,响应于第一资源操作菜单的子菜单被选中,第一电子设备执行第一资源操作菜单的子菜单的功能。
如此,第一电子设备能够实现第一资源信息和第二资源信息中能够的任意一个资源中的第一资源操作菜单中的子菜单的功能。
进一步地,针对第一当前界面中的第一资源信息和第二资源信息中的任意一个资源来说,在一种可选的实施例中,S206,可以包括:
S206a:第一电子设备响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源属于第一本地内容时,显示第一资源操作菜单的第一菜单。
第一电子设备响应于第一当前界面中的第一操作资源被选中,并且被选中的第一操作资源属于第一本地内容时,也就是说,第一操作资源属于第一电子设备的本地内容时,第一电子设备在第一当前界面上显示第一资源操作菜单的第一菜单。这样,针对属于第一电子设备的本地内容的资源来说,显示的是第一资源操作菜单的第一菜单。
针对不属于第一电子设备的本地内容的资源来说,在一种可选的实施例中,S206,可以包括:
S206b:第一电子设备响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源不属于第一本地内容时,显示第一资源操作菜单的第二菜单。
也就是说,当第一电子设备中不属于第一电子设备的本地内容的资源被选中时,第一电子设备在第一当前界面上显示第一资源操作菜单的第二菜单;如此,针对不属于第一电子设备的本地内容的资源来说,显示的是第一资源操作菜单的第二菜单。
如此,在第一电子设备中,针对不同来源的第一操作资源,在第一当前界面上显示不同的菜单,使得针对不同来源的第一操作资源用户可实现不同的菜单功能。
针对第一资源操作菜单的第一菜单,在一种可选的实施例中,第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
也就是说,针对属于第一电子设备的本地内容的来说,在第一当前界面上显示的第一资源操作菜单的第一菜单可以为浏览子菜单,可以为设为壁纸子菜单,还可以为浏览子菜单和设为壁纸子菜单,这样,第一电子设备在第一当前界面上显示上述第一菜单,使得用户可以通过第一电子设备实现对第一操作资源的浏览功能和/或设为壁纸的功能。
针对第一资源操作菜单的第二菜单,在一种可选的实施例中,第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
也就是说,针对不属于第一电子设备的本地内容的来说,在第一当前界面上显示的第一资源操作菜单的第二菜单可以为浏览子菜单,可以为设为壁纸子菜单,可以为保存至本地子菜单,还可以为上述子菜单的任意两种组合,还可以为上述三种子菜单,这样,第一电子设备在第一当前界面上显示上述第二菜单,使得用户可以通过第一电子设备实现对第一操作资源的浏览功能,和/或设为壁纸的功能,和/或保存至本地子菜单的功能。
针对属于第一电子设备的本地内容的第一操作资源来说,在一种可选的实施例中,S207,可以包括:
S207a:第一电子设备响应于第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行第一资源操作菜单的第一菜单的子菜单的功能。
可选的,当接收到第一资源操作菜单的第一菜单中的子菜单被选中的操作时,第一电子设备响应于第一资源操作的第一菜单的子菜单被选中,通过第一电子设备的本地数据访问服务,即第一本地数据访问服务执行第一资源操作菜单的第一菜单的子菜单的功能。
也就是说,针对属于第一电子设备的本地内容的资源来说,第一电子设备中提供有第一本地数据访问服务,第一电子设备的本地内容可以通过第一本地数据访问服务来实现第一菜单的子菜单的功能。
针对不属于第一电子设备的本地内容的第一操作资源来说,在一种可选的实施例中,S207,包括:
S207b:第一电子设备响应于第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行第一资源操作菜单的第二菜单的子菜单的功能。
可选的,当接收到第一资源操作菜单的第二菜单中的子菜单被选中的操作时,第一电子设备响应于第一资源操作的第二菜单的子菜单被选中,通过第一电子设备的本地数据访问服务,即第一本地数据访问服务访问,第一操作资源所属的第二电子设备的数据访问服务,从而实现执行第一资源操作菜单的第二菜单的子菜单的功能。
也就是说,针对不属于第一电子设备的本地内容的资源来说,第一电子设备中提供有第一本地数据访问服务,参与分享的第二电子设备也提供有本地数据访问服务,这样,第一电子设备的非本地内容可以通过第一本地数据访问服务和第一操作资源所属的第二电子设备的数据访问服务,来实现第二菜单的子菜单的功能。
针对第一当前界面来说,为了实现将第二资源信息结合第一资源信息更新显示在第一当前界面上,在一种可选的实施例中,S204可以包括:
S204a:第一电子设备将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上的内容显示区域中。
这里,第一电子设备的第一当前界面至少包括内容显示区域,第一电子设备将第二资源信息和第一资源信息更新显示在第一当前界面上的内容显示区域中,这样,将资源信息显示在第一当前界面上的一个区域中,有利于用户查看并对其进行操作。
进一步地,第一电子设备为了更好地实现对资源信息的显示,在一种可选的实施例中,S204a可以通过下述S204a1-S204a2来实现显示,S204a1-S204a2,如下:
S204a1:第一电子设备在第一当前界面上的内容显示区域中,显示第一资源信息的缩略内容以及第一本地标识;
S204a2:第一电子设备显示第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
具体来说,针对第一资源信息,第一电子设备在第一当前界面上的内容显示区域中显示第一资源信息的缩略内容和第一本地标识,即将第一资源信息的缩略内容显示在第一当前界面的内容显示区域,并显示第一资源信息的本地标识,即为第一本地标识。那么,在本申请实施例中,针对第一 资源信息以缩略内容的形式显示,并显示第一本地标识,使得用户能够通过第一当前界面所显示的内容即可获取资源信息的大致内容和来源。
针对第二资源信息,第一电子设备在第一当前界面上以缩略内容的形式显示第二资源信息,并显示第二资源信息所属的第二电子设备的标识,如此,使得用户能够通过第一当前界面所显示的内容即可获取资源信息的大致内容和来源。
第一电子设备为了实现在第一当前界面上显示与共享设定信息相关的第一资源信息,在一种可选的实施例中,S201可以通过下述S201a-S201b来实现显示,S201a-S201b,如下:
S201a:第一电子设备响应于对分享功能的启动操作,在第一当前界面显示分享功能对应的初始界面;
S201b:第一电子设备接收针对分享功能对应的初始界面的操作信息得到共享设定信息,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息。
具体来说,用于对第一电子设备发出对分享功能的启动操作,使得第一电子设备接收到对分享功能的操作信息,响应于分享功能的启动操作,在第一当前界面上显示分享功能的初始界面,其中,初始界面上显示有共享设定信息的输入窗口,用于接收用户输入的共享设定信息,即第一电子设备接收针对分享功能对应的初始界面的操作信息得到共享设定信息,那么,在接收到共享设定信息之后,确定出与共享设定信息相关的第一资源信息,并在第一当前界面上显示与共享设定信息相关的第一资源信息。
如此,先在第一当前界面上显示分享功能的初始界面,然后通过初始界面接收得到共享设定信息,最后在显示共享设定信息相关的第一资源信息,使得用户能够根据自身的需求来实现不同共享设定信息相关的资源信息的共享。
进一步地,为了在第一当前界面上显示与共享设定信息相关的第一资源信息,在一种可选的实施例中,在S201中第一电子设备在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息,可以通过下述S201c-S201d来实现,S201c-S201d,如下:
S201c:第一电子设备通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到第一资源信息;
S201d:第一电子设备在第一当前界面,显示第一资源信息。
具体来说,第一电子设备中提供有本地搜索服务,即第一本地搜索服务,为了得到与共享设定信息相关的第一资源信息,第一电子设备通过第一本地搜索服务进行针对共享设定信息相关的资源的搜索,从而搜索得到第一资源信息,最后,在第一当前界面上显示第一资源信息。
这里,第一电子设备通过第一本地搜索服务可以实现对于共享设定信息相关的资源信息的搜索,从而实现与其他电子设备针对共享设定信息的共享。
第一电子设备在接收到第二电子设备的监听信息中,在一种可选的实施例中,在S202中第一电子设备接收到第二电子设备的监听信息,可以通过下述S202a来通过碰撞信息实现第一电子设备确定接收到第二电子设备的监听信息,S202a,如下:
S202a:当第一电子设备接收到碰撞信息,且碰撞信息的来源为具有分享功能的第二电子设备时,第一电子设备确定接收到第二电子设备的监听信息。
也就是说,当第一电子设备接收到碰撞信息,并且该碰撞信息为第一电子设备与第二电子设备的碰撞信息,并且,第二电子设备为具有分享功能的电子设备,此时,第一电子设备确定接收到第二电子设备的监听信息,其中,监听信息为碰撞信息。
当第一电子设备接收到碰撞信息,该碰撞信息为第一电子设备与第二电子设备的碰撞信息,但是第二电子设备并不具有分享功能时,第一电子设备不能确定为接收到第二电子设备的监听信息。
可见,只有第一电子设备接收到具有分享功能的第二电子设备与第一电子设备的碰撞信息时,第一电子设备才可确定为接收到电子设备的监听信息,只有满足上述所有条件才能继续实现第一电子设备与第二电子设备的资源信息的共享。
第一电子设备在确定接收到第二电子设备的监听信息中,在一种可选的实施例中,在S202中第一电子设备确定接收到第二电子设备的监听信息,可以通过下述S202b来实现第一电子设备的监听功能,S202b,如下:
S202b:第一电子设备通过本地的事件监听服务确定接收到第二电子设备的监听信息。
也就是说,第一电子设备中提供有事件监听服务,第一电子设备通过本地的事件监听服务来确定接收到第二电子设备的监听信息,从而使得第一电子设备完成资源信息共享中的监听功能。
为了实现第一电子设备与第二电子设备中的资源信息的共享,在一种可选的实施例中,S202可 以通过下述S202c-S202d实现第一电子设备向第二电子设备发出针对共享设定信息的内容搜索请求,S202c-S202d,如下:
S202c:当第一电子设备接收到第二电子设备的监听信息时,第一电子设备将第二电子设备注册的分享功能在本地进行注册;
S202d:当第二电子设备注册的分享功能注册完成时,第一电子设备根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求。
当第一电子设备确定接收到第二电子设备的监听信息时,第一电子设备先对第二电子设备注册的分享功能在本地进行注册,即在第一电子设备中针对第二电子设备注册的分享功能进行注册,只有当第二电子设备注册的分享功能注册完成时,第一电子设备根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求。
也就是说,第一电子设备在发出共享设定信息的内容搜索请求之前,需要对第二电子设备注册好的分享功能在本地进行注册,如此,使得资源信息的共享发起者即第一电子设备中注册有所有第二电子设备的信息。
第一电子设备为了实现对第二电子设备注册的分享功能在本地的注册,在一种可选的实施例中,S202c可以通过下述S202c1实现注册功能,S202c1,如下:
S202c1:当第一电子设备接收到第二电子设备的监听信息时,第一电子设备通过本地的注册服务对第二电子设备注册的分享功能在本地进行注册。
这里,当第一电子设备确定接收到第二电子设备的监听信息时,第一电子设备中提供有本地的注册服务,第一电子设备通过本地的注册服务对第二电子设备注册的分享功能在本地进行注册,如此,使得第一电子设备实现了在本地注册第二电子设备注册的分享功能。
第一电子设备为了得到第二资源信息,在一种可选的实施例中,S204中得到的第二资源信息可以通过下述S204b-S204c来实现,S204b-S204c,如下:
S204b:第一电子设备接收来自第二电子设备发送的各个资源信息;
S204c:第一电子设备将各个资源信息进行合并,得到第二资源信息。
具体来说,每个第二电子设备根据内容搜索请求搜索得到第三资源信息之后,将第三资源信息反馈至第一电子设备,使得第一电子设备接收到第二电子设备发送的各个资源信息,其中,各个资源信息为与共享设定信息匹配的资源;也就是说,各个资源信息为各个第二电子设备根据内容搜索请求搜索得到的与共享设定信息匹配的资源。
第一电子设备在接收到来自第二电子设备发送的各个资源信息之后,第一电子设备将各个资源信息进行合并,得到第二资源信息,也就是说,第二资源信息是由第一电子设备接收到的各个资源信息合并到的,如此,使得第一电子设备得到第二资源信息。
另外,在第一电子设备与第二电子设备中还设置有一个服务器,该服务器可用于得到第二资源信息,基于此,第一电子设备为了实现向第二电子设备发出针对共享设定信息的内容搜索请求,在一种可选的实施例中,在S202中第一电子设备根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,可以通过下述S202e来实现,S202e,如下:
S202e:第一电子设备根据监听信息,通过服务器向第二电子设备发出针对共享设定信息的内容搜索请求。
这里,第一电子设备根据监听信息,不直接向第二电子设备发出针对共享设定信息的内容搜索请求,而是将针对共享设定信息的内容搜索请求发送至服务器,然后,服务器将针对共享设定信息的内容搜索请求再发送至第二电子设备,使得第二电子设备接收到内容搜索请求以实现在第二电子设备中的搜索。
第一电子设备还可以通过服务器接收针对内容搜索请求反馈的第二资源信息,在一种可选的实施例中,S204中得到的第二资源信息可以通过下述S204b来实现,S204b,如下:
S204b:第一电子设备接收来自服务器针对内容搜索请求反馈的第二资源信息。
其中,第二资源信息是由服务器接收到的第二电子设备的各个资源信息整合得到的;也就是说,服务器在接收到第二电子设备反馈的各个资源信息之后,将接收到的各个资源信息进行整合得到第二资源信息,服务器再将第二资源信息发送至第一电子设备,使得第一电子设备接收到来自服务器针对内容搜索请求反馈的第二资源信息。
在第一电子设备与第二电子设备完成资源信息的共享之后,为了退出分享功能,在一种可选的实施例中,上述方法还可以通过下述S208-S209来实现退出分享功能,S208-S209,如下:
S208:第一电子设备在第一当前界面上显示有第一分享功能入口;
S209:第一电子设备响应于第一分享功能入口的关闭操作,在第一当前显示界面显示第一电子设备的分享功能所属的应用程序的初始界面。
具体来说,在第一当前界面上显示有第一分享功能入口,用户对第一分享功能入口进行操作,使得第一电子设备响应于第一分享功能的关闭操作,在第一当前界面上显示第一电子设备的分享功能所属的应用程序的初始界面,也就是说,第一电子设备的分享功能属于第一电子设备上的一个应用程序,该应用程序的分享功能开启时,第一当前界面上显示有第一分享功能入口,当接收到第一分享功能入口的关闭操作,第一当前界面返回至应用程序的初始界面,从而完成分享功能的退出。
另外,第一电子设备为了退出分享功能,在一种可选的实施例中,在S208之后,上述方法还可以通过下述S210实现退出分享功能,S210,如下:
S210:第一电子设备响应于第一分享功能入口的关闭操作,在第一当前界面上显示第一电子设备的主显示界面。
具体来说,在第一当前界面上显示有第一分享功能入口,用户对第一分享功能入口进行操作,使得第一电子设备响应于第一分享功能的关闭操作,在第一当前界面上显示第一电子设备的主显示界面,也就是说,第一电子设备的分享功能可以是一个单独的应用程序,该应用程序开启时,第一当前界面上显示有第一分享功能入口,当接收到第一分享功能入口的关闭操作,第一当前界面返回至第一电子设备的主显示界面,从而完成分享功能的退出。
另外,第一电子设备为了实现根据监听信息向第二电子设备发出针对共享设定信息的内容搜索请求,在一种可选的实施例中,在S202中第一电子设备根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,可以通过下述S202f来实现,S202f,如下:
S202f:当监听信息指示第一电子设备的共享设定信息与第二电子设备的共享设定信息相同,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,第一电子设备向第二电子设备发出针对共享设定信息的内容搜索请求。
具体来说,当第一电子设备接收到监听信息之后,解析监听信息,经过解析,监听信息中指示第一电子设备的共享设定信息与第二电子设备的共享设定信息相同,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值,例如,监听信息中可以携带有第二电子设备的共享设定信息,第一电子设备通过红外测距测得第一电子设备与第二电子设备之间的距离,如此,确定出第一电子设备与第二电子设备属于相同共享设定信息且距离在预设的距离阈值范围内时,第一电子设备与第二电子设备达到共享条件,第一电子设备向第二电子设备发出针对共享设定信息的内容搜索请求。
还有,第一电子设备为了实现根据监听信息向第二电子设备发出针对共享设定信息的内容搜索请求,在一种可选的实施例中,在S202中第一电子设备根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,可以通过下述S202g来实现,S202g,如下:
S202g:当监听信息指示第一电子设备与第二电子设备之间的夹角满足预设条件,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,第一电子设备向第二电子设备发出针对共享设定信息的内容搜索请求。
具体来说,当第一电子设备接收到监听信息之后,解析监听信息,经过解析,监听信息中指示第一电子设备与第二电子设备的夹角满足预设条件,例如,小于等于预设的角度阈值,其中,第一电子设备和第二电子设备均具有超宽带(Ultra Wideband,UWB)功能,第一电子设备利用UWB功能确定第一电子设备与第二电子设备之间的夹角;并且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值,例如,第一电子设备通过红外测距测得第一电子设备与第二电子设备之间的距离,如此,确定出第一电子设备与第二电子设备的夹角满足预设条件且距离在预设的距离阈值范围内时,第一电子设备与第二电子设备达到共享条件,第一电子设备向第二电子设备发出针对共享设定信息的内容搜索请求。
为了实现第一电子设备与第二电子设备之间的数据传输,在一种可选的实施例中,第一电子设备与第二电子设备之间通过无线通信方式传输数据。
也就是说,第一电子设备与第二电子设备之间建立由无线通信连接,第一电子设备与第二电子设备通过建立的无线通信连接来传输数据,在一种可选的实施例中,无线通信方式包括以下至少一项:无线保真点对点(Wireless-Fidelity Peer to Peer,Wi-Fi P2P)、无线保真(Wireless-Fidelity,Wi-Fi)直连、蓝牙和近场通信(Near Field Communication,NFC)。
针对第二电子设备来说,第二电子设备的数目可以为一个,也可以为多个,这里,本申请实施例对此不作具体限定。在第二电子设备侧,为了实现针对共享设定信息的相关的资源信息的共享, 在一种可选的实施例中,在S205之后,上述方法还可以通过下述S211-S212实现对第二当前界面的资源信息的操作,S211-S212,如下:
S211:第二电子设备响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;
S212:第二电子设备响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作的子菜单的功能。
可选的,用户发出针对第二当前界面中的第二操作资源的操作,以选中第二操作资源,使得第二电子设备接收到第二当前界面中的第二操作资源被选中的操作信息,响应于第二当前界面中的第二操作资源被选中,其中,第二操作资源为第一资源信息和第二资源信息中的任意一个资源;也就是说,第二电子设备响应于第二当前界面中的第一资源信息和第二资源信息中的任意一个资源被选中,在第二当前界面上显示第二资源操作菜单。
当第二当前界面上显示第二资源操作菜单时,用户发出针对第二资源操作菜单中的子菜单的操作,使得第二电子设备接收到第二资源操作菜单的子菜单被选中的操作信息,响应于第二资源操作菜单的子菜单被选中,第二电子设备执行第二资源操作菜单的子菜单的功能。
如此,第二电子设备能够实现第一资源信息和第二资源信息中能够的任意一个资源中的第二资源操作菜单中的子菜单的功能。
进一步地,针对第二当前界面中的第一资源信息和第二资源信息中的任意一个资源来说,在一种可选的实施例中,S211,包括:
S211a:第二电子设备响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源属于第二本地内容时,显示第二资源操作菜单的第一菜单。
第二电子设备响应于第二当前界面中的第二操作资源被选中,并且被选中的第二操作资源属于第二本地内容时,也就是说,第二操作资源属于第二电子设备的本地内容时,第二电子设备在第二当前界面上显示第二资源操作菜单的第一菜单。这样,针对属于第二电子设备的本地内容的资源来说,显示的是第二资源操作菜单的第一菜单。
针对不属于第二电子设备的本地内容的资源来说,在一种可选的实施例中,S211,包括:
S211b:第二电子设备响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源不属于第二本地内容时,显示第二资源操作菜单的第二菜单。
也就是说,当第二电子设备中不属于第二电子设备的本地内容的资源被选中时,第二电子设备在第二当前界面上显示第二资源操作菜单的第二菜单;如此,针对不属于第二电子设备的本地内容的资源来说,显示的是第二资源操作菜单的第二菜单。
如此,在第二电子设备中,针对不同来源的第二操作资源,在第二当前界面上显示不同的菜单,使得针对不同来源的第二操作资源用户可实现不同的菜单功能。
针对第二资源操作菜单的第一菜单,在一种可选的实施例中,第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
也就是说,针对属于第二电子设备的本地内容的来说,在第二当前界面上显示的第二资源操作菜单的第一菜单可以为浏览子菜单,可以为设为壁纸子菜单,还可以为浏览子菜单和设为壁纸子菜单,这样,第二电子设备在第二当前界面上显示上述第一菜单,使得用户可以通过第二电子设备实现对第二操作资源的浏览功能和/或设为壁纸的功能。
针对第二资源操作菜单的第二菜单,在一种可选的实施例中,第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
也就是说,针对不属于第二电子设备的本地内容的来说,在第二当前界面上显示的第二资源操作菜单的第二菜单可以为浏览子菜单,可以为设为壁纸子菜单,可以为保存至本地子菜单,还可以为上述子菜单的任意两种组合,还可以为上述三种子菜单,这样,第二电子设备在第二当前界面上显示上述第二菜单,使得用户可以通过第二电子设备实现对第二操作资源的浏览功能,和/或设为壁纸的功能,和/或保存至本地子菜单的功能。
针对属于第二电子设备的本地内容的第二操作资源来说,在一种可选的实施例中,S212,包括:
S212a:第二电子设备响应于第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行第二资源操作菜单的第一菜单的子菜单的功能。
可选的,当接收到第二资源操作菜单的第一菜单中的子菜单被选中的操作时,第二电子设备响应于第二资源操作的第一菜单的子菜单被选中,通过第二电子设备的本地数据访问服务,即第二本地数据访问服务执行第二资源操作菜单的第一菜单的子菜单的功能。
也就是说,针对属于第二电子设备的本地内容的资源来说,第二电子设备中提供有第二本地数 据访问服务,第二电子设备的本地内容可以通过第二本地数据访问服务来实现第一菜单的子菜单的功能。
针对不属于第二电子设备的本地内容的第二操作资源来说,在一种可选的实施例中,S212,包括:
S212b:第二电子设备响应于第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行第二资源操作菜单的第二菜单的子菜单的功能。
可选的,当接收到第二资源操作菜单的第二菜单中的子菜单被选中的操作时,第二电子设备响应于第二资源操作的第二菜单的子菜单被选中,通过第二电子设备的本地数据访问服务,即第二本地数据访问服务访问,第二操作资源所属的第二电子设备的数据访问服务,从而实现执行第二资源操作菜单的第二菜单的子菜单的功能。
也就是说,针对不属于第二电子设备的本地内容的资源来说,第二电子设备中提供有第二本地数据访问服务,参与分享的电子设备也提供有本地数据访问服务,这样,第二电子设备的非本地内容可以通过第二本地数据访问服务和第二操作资源所属的电子设备的数据访问服务,来实现第二菜单的子菜单的功能。
针对第二当前界面来说,为了实现将第二资源信息结合第一资源信息更新显示在第二当前界面上,在一种可选的实施例中,S205可以包括:
S205a:第二电子设备将第一资源信息和第二资源信息显示在分享功能的第二当前界面上的内容显示区域中。
这里,第二电子设备的第二当前界面至少包括内容显示区域,第二电子设备将第二资源信息和第一资源信息更新显示在第二当前界面上的内容显示区域中,这样,将资源信息显示在第二当前界面上的一个区域中,有利于用户查看并对其进行操作。
进一步地,第二电子设备为了更好地实现对资源信息的显示,在一种可选的实施例中,S205a可以通过下述S205a1-S205a2来实现,S205a1-S205a2,如下:
S205a1:第二电子设备在第二当前界面上的内容显示区域中,显示第三资源信息的缩略内容以及第二本地标识;
S205a2:第二电子设备显示第一资源信息的缩略内容和第二资源信息中除了第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
具体来说,针对第三资源信息,第二电子设备在第二当前界面上的内容显示区域中显示第三资源信息的缩略内容和第二本地标识,即将第三资源信息的缩略内容显示在第二当前界面的内容显示区域,并显示第三资源信息的本地标识,即为第二本地标识。那么。在本申请实施例中,针对第三资源信息以缩略内容的形式显示,并显示第二本地标识,使得用户能够通过第二当前界面所显示的内容即可获取资源信息的大致内容和来源。
针对第一资源信息和第二资源信息中除了第三资源信息以外的资源信息来说,第二电子设备在第二当前界面上显示以缩略内容的形式显示第一资源信息和第二资源信息中除了第三资源信息以外的资源信息,并显示第一资源信息和第二资源信息中除了第三资源信息以外的资源信息所属的电子设备的标识,如此,使得用户能够通过第二当前界面所显示的内容即可获取资源信息的大致内容和来源。
第二电子设备搜索得到第三资源信息,在一种可选的实施例中,S203可以通过下述S203c来实现向第一电子设备的反馈,S203c,如下:
S203c:第二电子设备响应于内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到第三资源信息并反馈给第一电子设备。
也就是说,第二电子设备接收到共享设定信息的搜索请求之后,由于第二电子设备中提供有本地搜索服务,即第二本地搜索服务,因此,第二电子设备通过第二本地搜索服务进行针对共享设定信息相关的资源搜索,得到第三资源信息,并将第三资源信息反馈给第一电子设备,以使得第一电子设备能够接收到各个第二电子设备搜索得到的各个资源信息。
当第一电子设备与第二电子设备之间设置有服务器时,在一种可选的实施例中,在S203或者S203c中,第二电子设备得到第三资源信息并反馈给第一电子设备,可以通过下述S203c1来实现,S203c1,如下:
S203c1:第二电子设备将第三资源信息返回至服务器,并通过服务器反馈至第一电子设备。
第二电子设备将搜索得到的第三资源信息返回至服务器,服务器将接收到的所有的第三资源信 息,即第二资源信息,反馈至第一电子设备中,使得第一电子设备接收到第二资源信息。
基于第一电子设备与第二电子设备之间的所设置的服务器,在一种可选的实施例中,在S205中接收到的第一资源信息和第二资源信息可以通过下述S205b-S205c来接收,上述方法还可以包括:
S205b:第二电子设备接收来自服务器针对内容搜索请求反馈的第二资源信息;
S205c:第二电子设备接收来自第一电子设备发送的第一资源信息。
具体来说,服务器将内容搜索请求得到的第二资源信息反馈至第二电子设备,使得第二电子设备接收到第二资源信息,其中,第二资源信息是由服务器接收到的电子设备的各个资源信息整合得到的;如此,经过服务器将各个第二电子设备搜索得到的各个资源信息,即各个第三资源信息进行整合得到第二资源信息反馈至第二电子设备,并且第一电子设备将自身得到的第一资源信息发送至第二电子设备,从而使得第二电子设备接收到第一资源信息和第二资源信息,从而在第二电子设备侧实现资源信息的共享。
第二电子设备为了退出分享功能,在一种可选的实施例中,上述方法还可以通过下述S213-215实现第二电子设备退出分享功能,S213-S215,如下:
S213:第二电子设备在第二当前界面上显示有第二分享功能入口;
S214:第二电子设备响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
S215:第二电子设备接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面显示第二电子设备的分享功能所属的应用程序的初始界面。
具体来说,在第二当前界面上显示有第二分享功能入口,用户对第二分享功能入口进行操作,使得第二电子设备响应于第二分享功能的关闭操作,由于第一电子设备侧注册有第二电子设备注册的分享功能,所以,这里,第二电子设备需要向第一电子设备发送注销请求,第一电子设备接收到注销请求之后,对第二电子设备进行注销,在注销完成之后,第一电子设备向第二电子设备发送注销信息的应答消息,第二电子设备在接收到注销请求的应答信息之后,在第二当前界面上显示第二电子设备的分享功能所属的应用程序的初始界面,也就是说,第二电子设备的分享功能属于第二电子设备上的一个应用程序,该应用程序的分享功能开启时,第二当前界面上显示有第二分享功能入口,当接收到第二分享功能入口的关闭操作,并完成在第一电子设备内的注销之后,第二当前界面返回至应用程序的初始界面,从而完成分享功能的退出。
另外,第一电子设备为了退出分享功能,在一种可选的实施例中,第二电子设备在第二当前界面上显示有第二分享功能入口之后,上述方法还可以通过下述S216-S217来实现第二电子设备退出分享功能,S216-S217,如下:
S216:第二电子设备响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
S217:第二电子设备接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面上显示第二电子设备的主显示界面。
具体来说,在第二当前界面上显示有第二分享功能入口,用户对第二分享功能入口进行操作,使得第二电子设备响应于第二分享功能的关闭操作,同样地,由于第一电子设备侧注册有第二电子设备注册的分享功能,所以,这里,第二电子设备需要向第一电子设备发送注销请求,第一电子设备接收到注销请求之后,对第二电子设备进行注销,在注销完成之后,第一电子设备向第二电子设备发送注销信息的应答信息,第二电子设备在接收到注销请求的应答信息之后,在第二当前界面上显示第二电子设备的主显示界面,也就是说,第二电子设备的分享功能可以是一个单独的应用程序,该应用程序开启时,第二当前界面上显示有第二分享功能入口,当接收到第二分享功能入口的关闭操作,第二当前界面返回至第二电子设备的主显示界面,从而完成分享功能的退出。
下面举实例来对上述一个或多个实施例中的所述的资源信息的共享方法进行描述。
本实例主要基于“碰一碰”事件触发电子设备间的发现,从而触发跨设备的相册内容搜索,并将搜索结果合并后,在所有参与分享的设备(包括下述主设备和分享设备)上显示,并且持续允许新的电子设备加入,一旦发现有新的电子设备加入分享,则发起在相应的电子设备上的搜索,继续合并搜索结果,更新各个参与分享的设备上的分享功能的当前界面的内容显示区域。
需要说明的是,下述的主设备相当于上述第一电子设备,分享设备相当于上述第二电子设备;图3为本申请实施例提供的一种可选的资源信息的共享方法的实例一的流程示意图,如图3所示,该资源信息的共享方法可以包括:
S301:主设备设定分享内容的关键词;
其中,主设备的用户在输入分享内容的关键词之后,主设备根据关键词搜索本地相册符合条件的内容,作为主设备的搜索结果,并将主设备的搜索结果显示在主设备的当前界面的内容显示区域 中。
S302:主设备判断是否发生“碰一碰”事件?若为是,执行S303;若为否,继续执行S302;
其中,经过判断,若发生“碰一碰”事件,则把与主设备发生“碰一碰”事件的设备确定为分享设备,否则,继续执行S302。
S303:分享设备从本地相册中搜索得到分享设备的搜索结果;
其中,分享设备接收到来自主设备发出的针对关键词的内容搜索请求,从本地相册中搜索符合条件的内容,作为分享设备的搜索结果。
S304:云端设备获取所有分享设备的搜索结果;
其中,云端设备可以为一个服务器,用于接收所有分享设备的搜索结果。
S305:云端设备将所有分享设备的搜索结果分发到主设备和分享设备,主设备将主设备的搜索结果分发至各个分享设备。
通过上述实例,通过主设备与分享设备发生“碰一碰”事件,即可实现主设备和分享设备就同一关键词对相册的分享,无需上传图片就可以实现相册分享,提高了相册分享效率。
下面以图4为例,就所有分享设备的内部架构进行举例说明,图4为本申请实施例提供的一种可选的资源信息的共享系统的架构示意图,如图4所示,主设备与分享设备上主要包括:应用层,探索服务模块,服务注册模块,事件监听模块,数据访问服务模块(主要是针对缩略图的数据访问服务),另外,主设备上还负责调度任务,包括应用代理模块和设备发现模块,以相册共享为例,具体功能实现步骤如下所示:
主设备启动分享功能,主设备触发自身的搜索服务模块本地搜索完成分享主题/关键词的内容搜索,得到主设备的搜索结果;主设备的任务调度启动“碰一碰”事件监听;当有设备通过“碰一碰”新加入时,主设备通过应用代理模块启动该分享设备上对应的分享功能,主设备触发任务调度启动对应的分享设备上的搜索服务模块返回匹配本次分享主题/关键词的搜索结果,即分享设备的搜索结果;主设备收到分享设备的搜索结果后对各个分享设备的搜索结果进行整合,得到所有分享设备的搜索结果,对于此次新加入的分享设备,将主设备的搜索结果和所有分享设备的搜索结果分发给各个已加入的分享设备。
分享设备接收到来自主设备发出的搜索结果,在分享设备的分享功能的当前界面的内容显示区域显示搜索结果的缩略图,利用本地的数据访问服务模块可以直接访问自身的搜索结果,利用本地的数据访问服务模块访问被选中的缩略图所属的设备的数据访问服务模块实现对被选中的缩略图进行访问,例如,当用户选择内容列表区域内的一个缩略图的“保存到本地”或者“浏览详情”操作时,响应用户操作的分享设备利用本地的数据访问服务模块直接访问该缩略图对应的设备的数据访问服务模块,查找原始图片或者原始视频,保存/展示原始图片或者播放影片。
基于上述图4示出的参与分享的设备的内部架构,以分享设备包括分享设备1和分享设备2为例,图5为本申请实施例提供的一种可选的共享方法的实例二的流程示意图,如图5所示,该方法可以包括:
首先,主设备设定好分享内容的关键词之后,发起本地搜索,得到主设备的搜索结果,并将关键词发送至负责服务调度的设备。
这里的服务调度可以由主设备来负责,也可以有一个服务器来负责,这里,为了描述方便,以服务器来负责服务调度为例,服务器接收到关键词之后,给分享设备1和分享设备2分别发送触发信号(dispatch),分享设备1和分享设备2在接收到触发信号之后,根据关键词发起本地搜索,并将得到的搜索结果返回给服务器;
服务器在接收到分享设备1和分享设备2返回的搜索结果,合并所有的搜索结果,并将合并后的搜索结果分发至主设备,分享设备1和分享设备2;主设备将主设备的搜索结果发送至分享设备1和分享设备2。
主设备根据接收到的合并后的搜索结果和主设备的搜索结果更新主设备的分享功能的当前界面上的内容显示区域中的内容,例如,主设备的分享功能的当前界面为共享相册的用户界面(User Interface,UI),分享设备1根据接收到的合并后搜索结果主设备的搜索结果更新分享设备1的分享功能的当前界面上的内容显示区域中的内容,分享设备2与分享设备1类似,这里,不再赘述。
其中,上述所有的搜索结果中包含来源设备信息,每个设备的应用层可以方便地基于此信息做来源判断,从而实现判断分享的内容是否可以保存本地、如何访问分享内容原始数据,以及保存原始数据等业务功能。
在本实例中,相册的共享总是由一个主设备发起,其他分享设备分别和主设备靠近“碰一碰” (包括但不限于挨一起、背贴背等接触方式或者短信发送的链接)的方式进入分享的,以分享设备为1个为例,从主设备和分享设备的界面排布上来介绍相册共享,图6为本申请实施例提供的一种可选的资源信息的共享方法的实例一的界面示意图,如图6所示:
1、主设备启动相册分享应用后,接收到设定分享的主题/关键词,主设备的分享功能的当前界面的内容显示区域显示主设备中符合主题/关键词的相册内容;
2、分享设备和主设备“碰一碰”后,主设备的分享功能的当前界面的内容显示区域上显示两个设备上的相册中符合主题/关键词的内容;同时,分享设备启动和主设备一样的相册分享应用并在分享功能的当前界面的内容显示区域上显示两个设备上的相册中符合主题/关键词的内容;
需要说明的是,当第二个分享设备和主设备“碰一碰”后,同理,第二个分享设备上也会启动和主设备一样的相册分享应用,并在自身的分享功能的当前界面的内容显示区域上显示三个设备(主设备和两个分享设备)上所有相册符合主题/关键词的内容,同时主设备和第一个分享设备上的分享功能的当前界面的内容显示区域上内容也会更新,出现第二个分享设备上的相册中符合条件的内容。
在相册的共享中,主设备作为相册共享的发起者,其界面排布在相册共享中也发生的变化,下面针对相册共享中主设备侧的界面排布进行说明,图7为本申请实施例提供的一种可选的分享功能的当前界面的实例一的排布示意图,如图7所示,分享功能的当前界面由参与分享的设备的信息列表、内容显示区域、页面控制区域组成。
其中,当主设备和分享设备的分享功能的当前界面的内容显示区域上显示接收到的搜索结果中,当用户选择具体的图片/视频时,展开的操作菜单会针对其来源设备属性判断是否提供保存到本地的选项;图8为本申请实施例提供的一种可选的资源信息的共享方法的实例三的流程示意图,如图8所示,该方法可以包括:
S801:参与分享的设备展开具体内容项的操作菜单;
其中,参与分享的设备包括上述主设备和上述分享设备。
S802:参与分享的设备判断接收到的搜索结果中的内容是否属于本地内容?若为是,执行S803;若为否,执行S804;
S803:参与分享的设备显示“浏览”和“设为壁纸”两个选项;
S804:参与分享的设备显示“浏览”、“保存到本地”和“设为壁纸”三个选项。
另外,对于搜索结果呈现为列表展示时,界面交互会对具体内容项的来源设备属性进行判断,辨识是本地内容还是其他设备上的相册的内容,图9为本申请实施例提供的一种可选的资源信息的共享方法的实例四的流程示意图,如图9所示,该方法可以包括:
S901:参与分享的设备显示内容显示区域;
S902:参与分享的设备判断接收到的搜索结果中的内容是否为本地内容?若为是,执行S903,若为否,执行S904;
S903:参与分享的设备将内容列表项标识为本地标识;
S904:参与分享的设备将内容列表项标识为来源设备信息。
其中,上述内容显示区域中包括至少一个内容列表项。
还有,主设备发起搜索,各个分享设备的本地搜索服务模块响应服务调度模块并完成搜索后,经由服务调度模块完成数据合并排序再返回给各个分享设备完成分享内容的更新。
图10为本申请实施例提供的一种可选的分享功能的当前界面的实例二的排布示意图,如图10所示,参与分享的设备的信息列表:用户可以通过点击它实现显示区域中显示列表项的显示和隐藏,内容显示区域:显示内容为所有参与分享的设备所分享的内容;页面控制区域:内容列表区域向前/向后翻页的控制器,以及总页数、当前页数的指示器。
图11为本申请实施例提供的一种可选的资源信息的共享方法的实例二的界面示意图,如图11所示,图11中的图a为用户点击显示列表项的缩略图,图b为被选中的缩略图显示菜单,包括:预览,保存至本地和设为壁纸;图c为图片执行预览功能后分享功能的当前界面显示图片信息,图d为视频执行预览功能后分享功能的当前界面显示视频信息;针对内容显示区域,其显示列表项为具体内容的缩略图。显示列表项会标识是否是本机的图片/视频,避免对用户造成疑惑,用户可以选中其中具体一项查看详情或者是下载保存到本地、或者直接设置为本机壁纸。
图12为本申请实施例提供的一种可选的分享功能的当前界面的实例三的排布示意图,如图12所示:
1、用户点击“参与分享的设备的信息列表”可显示和隐藏设备的搜索结果;
2、“参与分享的设备的信息列表”显示参与分享的设备的列表,如果显示内容区域的显示列表 项太多,用户可以通过滚动列表的方式来查看;
3、用户点击其中一项时,即为过滤内容显示区域的内容,只显示点击项对应的设备分享出的相册的内容,即控制图7的主界面元素说明中“内容显示区域”显示的范围,只显示选中设备分享的内容。
同理,用户可以再次点击选中的“参与分享的设备的信息列表”中的项来取消这种过滤,此时“内容显示区域”中显示的范围为目标设备分享的内容。
本实例提供了一种跨设备的相册分享机制,让用户摆脱了传统的、基于文件集中存储后才能共享图片/视频的方式,让多个用户可以便捷、快速地建立共享相册集,而不用每个人都使用本地存储空间保存其他人分享的相册数据后才可浏览。
下面针对相册共享,分享设备包括分享设备1和分享设备2为例来说上述资源信息的共享方法的交互流程进行说明,图13为本申请实施例提供的一种可选的资源信息的共享方法的实例的交互流程图,如图13所示:
S1301:主设备根据分享关键词在本地相册中进行本地搜索,得到主设备的搜索结果;
其中,主设备通过本地搜索服务模块实现对本地相册的搜索,得到主设备的搜索结果,并将其显示在主设备的分享功能的当前界面上的显示区域中。
S1302:主设备分别接收到分享设备1的碰撞信息和分享设备2的碰撞信息;
S1303:分享设备1和分享设备2分别接收到来自主设备针对分享功能的开启请求,开启分享功能;
这里,主设备在接接收到碰撞信息之后,查看接收到的碰撞信息是否满足预设条件,例如,主设备分别与分享设备1和分享设备2之间的距离是否小于等于预设的距离阈值,若小于分享设备1和分享设备2才会接收到来自主设备针对分享功能的开启请求。
S1304:分享设备1和分享设备2分别接收到来自主设备的分享关键字的内容搜索请求,根据内容搜索请求在本地相册中进行本地搜索,得到分享设备1的搜索结果和分享设备2的搜索结果;
需要说明的是,分享设备1和分享设备2在接收内容搜索请求之前,需要将自身的分享功能注册至主设备中,只有成功注册至主设备,才能接收到来自主设备的内容搜索请求。
其中,分享设备1和分享设备2同样也是利用自身本地搜索服务模块来实现本地搜索的。
S1305:主设备接收到分别来自分享设备1的搜索结果和分享设备2的搜索结果,将分享设备1的搜索结果和分享设备2的搜索结果进行整合得到分享设备的搜索结果;
S1306:主设备将主设备的搜索结果和分享设备的搜索结果显示在主设备的分享功能的当前界面的内容显示区域中;
S1307:分享设备1接收到来自主设备的主设备的搜索结果和分享设备的搜索结果,将其显示在分享设备1的分享功能的当前界面的内容显示区域中;
S1308:分享设备2接收到来自主设备的主设备的搜索结果和分享设备的搜索结果,将其显示在分享设备2的分享功能的当前界面的内容显示区域中。
需要说明的是,上述主设备,分享设备1和分享设备2在进行显示时可以以缩略图进行显示,另外还可以对每个缩略图标注出来源信息。
如此,通过上述方式就可以实现主设备,分享设备1和分享设备2之间针对分享关键词的相册共享。
本实例中,能够快速的基于主题、关键词来限定相册数据的分享范围的机制,解决了在多个用户相互分享相册时可能导致和分享目的无关的个人隐私图片/视频的意外泄露的问题,并且也节省了用户在传统分享时繁琐、耗时的图片/视频筛选时间;基于特有的搜索机制,对于图片/视频可按地点聚合,并且按拍摄时间顺序排列,方便用户查找和浏览。
最后,对于分享的内容可以向用户标识是否是本机相册的内容,避免用户把自己本地的相册内容重复保存在本地,并且在浏览过程中也可以看到明确的信息提示是否是本机的相册内容。
需要说明的是,对于组网的“碰一碰”方式,可以扩展其他的智能发现方式,完成特定范围设备内具有同样分享主题的设备的之间自动连接组网完成设备的发现和内容分享。比如:用户可以设置分享的主题(比如:峨眉风景)以及分享的范围(比如:主设备附近200米内),一旦在其范围内出现其他用户也设置了同样的主题分享,那所有的分享设备就可以相互查看到对方的分享内容。
对于文件的传输方式,可以使用近场通讯方式(比如:蓝牙、Wi-Fi P2P等),解除用户对于数据可能会被第三方云端存储的顾虑的同时,也解决了没有互联网连接场景下的数据传输问题。
对于分享的方式,可以引入类似UWB这样的更简便、方向性更高的感知技术,实现更自然的 指定人群的分享方式:比如两人相距一定距离,但是通过分享者手机指向被分享者,便可把相册只分享给此人,而附近的人都无法查看到分享内容。
本申请实施例提供了一种资源信息的共享方法,包括:响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,当接收到第二电子设备的监听信息时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,第二电子设备为具有分享功能的设备,将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上;也就是说,在本申请实施例中,第一电子设备和第二电子设备均为具有分享功能的电子设备,第一电子设备通过响应于分享功能的启动操作,在分享功能的第一当前界面上显示与共享设定信息相关的第一资源信息,并通过接收到第二电子设备的监听信息,向第二电子设备发出针对共享设动信息的内容搜索请求,这样,能够从第二电子设备中得到针对共享设定信息的资源信息,即内容搜索请求得到的第二资源信息,最后,将第二资源信息结合第一资源信息更新显示在第一当前界面上,如此,只需要在接收到开启分享功能的启动操作之后,第一电子设备与第二电子设备就可以实现针对共享设定信息相关的第一资源信息和针对共享设定信息的内容搜索请求得到的第二资源信息的共享,无需受到资源信息的上传数量和上传时网络质量的影响,从而提高了资源信息的共享效率。
实施例二
下面以资源信息的共享系统中所部属的各个设备侧对上述资源信息的共享方法进行说明。
首先,以第一电子设备侧对资源信息的共享方法进行描述。
本申请实施例提供一种资源信息的共享方法,该方法应用于第一电子设备中,图14为本申请实施例提供的一种可选的资源信息的共享方法的流程示意图,如图14所示,该资源信息的共享方法可以包括:
S1401:响应于对分享功能的启动操作,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
S1402:当接收到第二电子设备的监听信息时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求;
其中,第二电子设备为具有分享功能的设备;
S1403:将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上。
在一种可选的实施例中,第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,上述方法还可以包括:
当接收到第二电子设备的监听信息时,向第二电子设备发送分享功能的开启请求。
在一种可选的实施例中,上述方法还包括:
将第二资源信息和第一资源信息发送至开启分享功能的第二电子设备。
在一种可选的实施例中,S1403,可以包括:
响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;第一操作资源为第一资源信息和第二资源信息中的任意一个资源;
响应于第一资源操作菜单的子菜单被选中,执行第一资源操作菜单的子菜单的功能。。
在一种可选的实施例中,响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源属于第一本地内容时,显示第一资源操作菜单的第一菜单。
在一种可选的实施例中,响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源不属于第一本地内容时,显示第一资源操作菜单的第二菜单。
在一种可选的实施例中,第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,响应于第一资源操作菜单的子菜单的被选中,执行第一资源操作菜单的子菜单的功能,包括:
响应于第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行第一 资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,响应于第一资源操作菜单的子菜单的被选中,执行第一资源操作菜单的子菜单的功能,包括:
响应于第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行第一资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,S1403,可以包括:
将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上的内容显示区域中。
在一种可选的实施例中,将所述内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上的内容显示区域中,包括:
在第一当前界面上的内容显示区域中,显示第一资源信息的缩略内容以及第一本地标识;
显示第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
在一种可选的实施例中,S1401,可以包括:
响应于对分享功能的启动操作,在第一当前界面显示分享功能对应的初始界面;
接收针对分享功能对应的初始界面的操作信息得到共享设定信息,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息。
在一种可选的实施例中,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息,包括:
通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到第一资源信息;
在第一当前界面,显示第一资源信息。
在一种可选的实施例中,接收到第二电子设备的监听信息,包括:
当接收到碰撞信息,且碰撞信息的来源为具有分享功能的第二电子设备时,确定接收到第二电子设备的监听信息;监听信息为所述碰撞信息。
在一种可选的实施例中,确定接收到第二电子设备的监听信息,包括:
通过本地的事件监听服务确定接收到第二电子设备的监听信息。
在一种可选的实施例中,S1402,可以包括:
当接收到第二电子设备的监听信息时,将第二电子设备注册的分享功能在本地进行注册;
当第二电子设备注册的分享功能注册完成时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,当接收到第二电子设备的监听信息时,将第二电子设备注册的分享功能进行注册,包括:
当接收到第二电子设备的监听信息时,通过本地的注册服务对第二电子设备注册的分享功能在本地进行注册。
在一种可选的实施例中,上述方法还包括:
接收来自第二电子设备发送的各个资源信息;各个资源信息为与共享设定信息匹配的资源;
将各个资源信息进行合并,得到第二资源信息。
在一种可选的实施例中,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,包括:
根据监听信息,通过服务器向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,所述方法还包括:
接收来自服务器针对内容搜索请求反馈的第二资源信息;第二资源信息是由服务器接收到的第二电子设备的各个资源信息整合得到的。
在一种可选的实施例中,上述方法还包括:
在第一当前界面上显示有第一分享功能入口;
响应于第一分享功能入口的关闭操作,在第一当前显示界面显示第一电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,在第一当前界面上显示有第一分享功能入口之后,上述方法还包括:
响应于第一分享功能入口的关闭操作,在第一当前界面上显示第一电子设备的主显示界面。
在一种可选的实施例中,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,包括:
当监听信息指示第一电子设备的共享设定信息与第二电子设备的共享设定信息相同,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求,包括:
当监听信息指示第一电子设备与第二电子设备之间的夹角满足预设条件,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,向第二电子设备发出针对共享设定信息的内容搜索请求;
其中,第一电子设备和第二电子设备均具有UWB功能,第一电子设备利用UWB功能确定第一电子设备与第二电子设备之间的夹角。
在一种可选的实施例中,第一电子设备与第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
其次,以第二电子设备侧对上述资源信息的共享方法进行描述。
本申请实施例提供一种资源信息的共享方法,该方法应用于第二电子设备中,图15为本申请实施例提供的另一种可选的资源信息的共享方法的流程示意图,如图15所示,该资源信息的共享方法可以包括:
S1501:当在分享功能开启时,接收到来自第一电子设备发出的针对共享设定信息的内容搜索请求时,根据共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给第一电子设备;
S1502:将接收到的第一资源信息和第二资源信息显示在分享功能的第二当前界面上;
其中,第二资源信息包括所述第三资源信息。
在一种可选的实施例中,第一资源信息和第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,上述方法还包括:
当接收到来自第一电子设备发送的分享功能的开启请求时,开启分享功能。
在一种可选的实施例中,S1502之后,上述方法还可以包括:
响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;第二操作资源为第一资源信息和第二资源信息中的任意一个资源;
响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作的子菜单的功能。
在一种可选的实施例中,响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源属于第二本地内容时,显示第二资源操作菜单的第一菜单。
在一种可选的实施例中,响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源不属于第二本地内容时,显示第二资源操作菜单的第二菜单。
在一种可选的实施例中,上述方法还包括:
第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作菜单的子菜单的功能,包括:
响应于第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行第二资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,响应于所述第二资源操作菜单的子菜单的被选中,执行第二资源操作菜单的子菜单的功能,包括:
响应于第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行第二资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,S1502可以包括:
将第一资源信息和第二资源信息显示在分享功能的第二当前界面上的内容显示区域中。
在一种可选的实施例中,将所述第一资源信息和第二资源信息显示在第二当前界面上的内容显 示区域中,包括:
在第二当前界面上的内容显示区域中,显示第三资源信息的缩略内容以及第二本地标识;
显示第一资源信息的缩略内容和第二资源信息中除了第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
在一种可选的实施例中,根据共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给第一电子设备,包括:
响应于内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到第三资源信息并返反馈给第一电子设备。
在一种可选的实施例中,得到第三资源信息并反馈给第一电子设备,包括:
将第三资源信息返回至服务器,并通过服务器反馈至第一电子设备。
在一种可选的实施例中,上述方法还包括:
接收来自服务器针对内容搜索请求反馈的第二资源信息;第二资源信息是由服务器接收到的电子设备的各个资源信息整合得到的;
接收来自第一电子设备发送的第一资源信息。
在一种可选的实施例中,上述方法还包括:
在第二当前界面上显示有第二分享功能入口;
响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面显示第二电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,在第二当前界面上显示有第二分享功能入口之后,上述方法还包括:
响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面上显示第二电子设备的主显示界面。
在一种可选的实施例中,第一电子设备与第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,上述无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
还是站在第一电子设备侧对上述资源信息的共享方法进行描述。
本申请实施例提供一种资源信息的共享方法,该方法应用于第一电子设备中,图16为本申请实施例提供的再一种可选的资源信息的共享方法的流程示意图,如图16所示,该资源信息的共享方法可以包括:
S1601:响应于对分享功能的启动操作,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
S1602:当接收到第二电子设备的监听信息时,将第二资源信息,结合第一资源信息更新显示在第一当前界面上;
其中,第二资源信息为第二电子设备中与共享设定信息相关的内容;第二电子设备为具有分享功能的设备。
另外,基于前述实施例相同的发明构思,本申请实施例提供一种第一电子设备,与上述一个或多个实施例提供的所述第一电子设备一致。
图17为本申请实施例提供的一种可选的第一电子设备的结构示意图,如图17所示,该第一电子设备包括:
第一显示模块171,配置成响应于对分享功能的启动操作,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
发送模块172,配置成当接收到第二电子设备的监听信息时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求;
第二电子设备为具有分享功能的设备;
第二显示模块173,配置成将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上。
在一种可选的实施例中,第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,第一电子设备还配置成:
当接收到第二电子设备的监听信息时,向第二电子设备发送分享功能的开启请求。
在一种可选的实施例中,第一电子设备,还配置成:
将第二资源信息和第一资源信息发送至开启分享功能的第二电子设备。
在一种可选的实施例中,第一电子设备还配置成:
将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上之后,响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;第一操作资源为第一资源信息和第二资源信息中的任意一个资源;
响应于第一资源操作菜单的子菜单被选中,执行第一资源操作菜单的子菜单的功能。
在一种可选的实施例中,第一电子设备响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单中,包括:
响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源属于第一本地内容时,显示第一资源操作菜单的第一菜单。
在一种可选的实施例中,第一电子设备响应于第一当前界面中的第一操作资源被选中,显示第一资源操作菜单中,包括:
响应于第一当前界面中的第一操作资源被选中,且被选中的第一操作资源不属于第一本地内容时,显示第一资源操作菜单的第二菜单。
在一种可选的实施例中,第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,第一电子设备响应于第一资源操作菜单的子菜单的被选中,执行第一资源操作菜单的子菜单的功能中,包括:
响应于第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行第一资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,第一电子设备响应于第一资源操作菜单的子菜单的被选中,执行第一资源操作菜单的子菜单的功能中,包括:
响应于第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行第一资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,第二显示模块173,配置成:
将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上的内容显示区域中。
在一种可选的实施例中,第二显示模块173将内容搜索请求得到的第二资源信息,结合第一资源信息更新显示在第一当前界面上的内容显示区域中,包括:
在第一当前界面上的内容显示区域中,显示第一资源信息的缩略内容以及第一本地标识;
显示第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
在一种可选的实施例中,第一显示模块171,配置成:
响应于对分享功能的启动操作,在第一当前界面显示分享功能对应的初始界面;
接收针对分享功能对应的初始界面的操作信息得到共享设定信息,在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息。
在一种可选的实施例中,第一显示模块171在分享功能的第一当前界面显示与共享设定信息相关的第一资源信息中,包括:
通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到第一资源信息;
在第一当前界面,显示第一资源信息。
在一种可选的实施例中,第一电子设备接收到第二电子设备的监听信息中,包括:
当接收到碰撞信息,且碰撞信息的来源为具有分享功能的第二电子设备时,确定接收到第二电子设备的监听信息;监听信息为碰撞信息。
在一种可选的实施例中,第一电子设备确定接收到第二电子设备的监听信息,包括:
通过本地的事件监听服务确定接收到第二电子设备的监听信息。
在一种可选的实施例中,发送模块172,配置成:
当接收到第二电子设备的监听信息时,将第二电子设备注册的分享功能在本地进行注册;
当第二电子设备注册的分享功能注册完成时,根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,发送模块172当接收到第二电子设备的监听信息时,将第二电子设备注册的分享功能进行注册中,包括:
当接收到第二电子设备的监听信息时,通过本地的注册服务对第二电子设备注册的分享功能在本地进行注册。
在一种可选的实施例中,第一电子设备还配置成:
接收来自第二电子设备发送的各个资源信息;各个资源信息为与共享设定信息匹配的资源;
将各个资源信息进行合并,得到第二资源信息。
在一种可选的实施例中,发送模块172根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求中,包括:
根据监听信息,通过服务器向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,第一电子设备还配置成:
接收来自服务器针对内容搜索请求反馈的第二资源信息;第二资源信息是由服务器接收到的第二电子设备的各个资源信息整合得到的。
在一种可选的实施例中,第一电子设备还配置成:
在第一当前界面上显示有第一分享功能入口;
响应于第一分享功能入口的关闭操作,在第一当前显示界面显示第一电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,第一电子设备还配置成:
在第一当前界面上显示有第一分享功能入口之后,响应于第一分享功能入口的关闭操作,在第一当前界面上显示第一电子设备的主显示界面。
在一种可选的实施例中,发送模块172根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求中,包括:
当监听信息指示第一电子设备的共享设定信息与第二电子设备的共享设定信息相同,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,向第二电子设备发出针对共享设定信息的内容搜索请求。
在一种可选的实施例中,发送模块172根据监听信息,向第二电子设备发出针对共享设定信息的内容搜索请求中,包括:
当监听信息指示第一电子设备与第二电子设备之间的夹角满足预设条件,且第一电子设备与第二电子设备之间的距离小于等于预设的距离阈值时,向第二电子设备发出针对共享设定信息的内容搜索请求;
其中,第一电子设备和第二电子设备均具有UWB功能,第一电子设备利用UWB功能确定第一电子设备与第二电子设备之间的夹角。
在一种可选的实施例中,第一电子设备与第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
在实际应用中,上述第一显示模块171、发送模块172和第二显示模块173可由位于第一电子设备上的处理器实现,具体为中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Microprocessor Unit)、数字信号处理器(DSP,Digital Signal Processing)或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。
本申请实施例提供一种第二电子设备,与上述一个或者多个实施例中所述的第二电子设备一致。
图18为本申请实施例提供的一种可选的第二电子设备的结构示意图,如图18所示,该第二电子设备包括:
搜索模块181,配置成当在分享功能开启时,接收到来自第一电子设备发出的针对共享设定信息的内容搜索请求时,根据共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给第一电子设备;
第三显示模块182,配置成将接收到的第一资源信息和第二资源信息显示在分享功能的第二当前界面上;
其中,第二资源信息包括第三资源信息。
在一种可选的实施例中,第一资源信息和第二资源信息以缩略内容的形式进行显示的。
在一种可选的实施例中,第二电子设备还配置成:
当接收到来自第一电子设备发送的分享功能的开启请求时,开启分享功能。
在一种可选的实施例中,第二电子设备,还配置成:
将接收到的第一资源信息和第二资源信息显示在分享功能的第二当前界面上之后,响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;第二操作资源为第一资源信息和第二资源信息中的任意一个资源;
响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作的子菜单的功能。
在一种可选的实施例中,第二电子设备响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单中,包括:
响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源属于第二本地内容时,显示第二资源操作菜单的第一菜单。
在一种可选的实施例中,第二电子设备响应于第二当前界面中的第二操作资源被选中,显示第二资源操作菜单中,包括:
响应于第二当前界面中的第二操作资源被选中,且被选中的第二操作资源不属于第二本地内容时,显示第二资源操作菜单的第二菜单。
在一种可选的实施例中,第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
在一种可选的实施例中,第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
在一种可选的实施例中,第二电子设备响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作菜单的子菜单的功能,包括:
响应于第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行第二资源操作菜单的第一菜单的子菜单的功能。
在一种可选的实施例中,第二电子设备响应于第二资源操作菜单的子菜单的被选中,执行第二资源操作菜单的子菜单的功能,包括:
响应于第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行第二资源操作菜单的第二菜单的子菜单的功能。
在一种可选的实施例中,第三显示模块183,配置成:
将第一资源信息和第二资源信息显示在分享功能的第二当前界面上的内容显示区域中。
在一种可选的实施例中,第三显示模块183将第一资源信息和第二资源信息显示在第二当前界面上的内容显示区域中,包括:
在第二当前界面上的内容显示区域中,显示第三资源信息的缩略内容以及第二本地标识;
显示第一资源信息的缩略内容和第二资源信息中除了第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
在一种可选的实施例中,搜索模块181根据共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给第一电子设备中,包括:
响应于内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到第三资源信息并反馈给第一电子设备。
在一种可选的实施例中,搜索模块181得到第三资源信息并反馈给第一电子设备中,包括:
将第三资源信息返回至服务器,并通过服务器反馈至第一电子设备。
在一种可选的实施例中,第二电子设备,还配置成:
接收来自服务器针对内容搜索请求反馈的第二资源信息;第二资源信息是由服务器接收到的电子设备的各个资源信息整合得到的;
接收来自第一电子设备发送的第一资源信息。
在一种可选的实施例中,第二电子设备,还配置成:
在第二当前界面上显示有第二分享功能入口;
响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面显示第二电子设备的分享功能所属的应用程序的初始界面。
在一种可选的实施例中,第二电子设备,还配置成:
在第二当前界面上显示有第二分享功能入口之后,响应于第二分享功能入口的关闭操作,向第一电子设备发送注销请求;
接收到来自第一电子设备发送的注销请求的应答信息时,在第二当前界面上显示第二电子设备 的主显示界面。
在一种可选的实施例中,第一电子设备与第二电子设备之间通过无线通信方式传输数据。
在一种可选的实施例中,无线通信方式包括以下至少一项:
无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
在实际应用中,上述搜索模块171和第三显示模块172可由位于第二电子设备上的处理器实现,具体为CPU、MPU、DSP或FPGA等实现。
图19为本申请实施例提供的一种可选的电子设备的结构示意图,如图19所示,本申请实施例提供了一种电子设备1900,包括:
处理器191以及存储有所述处理器191可执行指令的存储介质192,所述存储介质192通过通信总线193依赖所述处理器191执行操作,当所述指令被所述处理器191执行时,执行上述一个或多个实施例中第一电子设备或者第二电子设备所执行的所述共享方法。
需要说明的是,实际应用时,终端中的各个组件通过通信总线193耦合在一起。可理解,通信总线193用于实现这些组件之间的连接通信。通信总线193除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图19中将各种总线都标为通信总线193。
本申请实施例提供了一种计算机存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行如上述一个或多个实施例中第一电子设备执行的所述的共享方法,或者如上述一个或多个实施例中第二电子设备执行的所述的共享方法。
其中,计算机可读存储介质可以是磁性随机存取存储器(ferromagnetic random access memory,FRAM)、只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等存储器。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
工业实用性
本申请实施例提供了一种资源信息的共享方法、电子设备及计算机存储介质,只需要在接收到开启分享功能的启动操作之后,第一电子设备与第二电子设备就可以实现针对共享设定信息相关的第一资源信息和针对共享设定信息的内容搜索请求得到的第二资源信息的共享,无需受到资源信息的上传数量和上传时网络质量的影响,从而提高了资源信息的共享效率。

Claims (52)

  1. 一种资源信息的共享方法,其中,所述方法应用于第一电子设备中,包括:
    响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
    当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
    将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
  2. 根据权利要求1所述的方法,其中,
    所述第二资源信息以缩略内容的形式进行显示的。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    当接收到第二电子设备的监听信息时,向所述第二电子设备发送分享功能的开启请求。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    将所述第二资源信息和所述第一资源信息发送至开启分享功能的所述第二电子设备。
  5. 根据权利要求1所述的方法,其中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上之后,所述方法还包括:
    响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单;所述第一操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
    响应于所述第一资源操作菜单的子菜单被选中,执行所述第一资源操作菜单的子菜单的功能。
  6. 根据权利要求5所述的方法,其中,所述响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
    响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源属于第一本地内容时,显示所述第一资源操作菜单的第一菜单。
  7. 根据权利要求5所述的方法,其中,所述响应于所述第一当前界面中的第一操作资源被选中,显示第一资源操作菜单,包括:
    响应于所述第一当前界面中的第一操作资源被选中,且被选中的所述第一操作资源不属于第一本地内容时,显示所述第一资源操作菜单的第二菜单。
  8. 根据权利要求6所述的方法,其中,
    所述第一资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
  9. 根据权利要求7所述的方法,其中,
    所述第一资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
  10. 根据权利要求6或8所述的方法,其中,所述响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能,包括:
    响应于所述第一资源操作菜单的第一菜单的子菜单的被选中,通过第一本地数据访问服务执行所述第一资源操作菜单的第一菜单的子菜单的功能。
  11. 根据权利要求7或9所述的方法,其中,所述响应于所述第一资源操作菜单的子菜单的被选中,执行所述第一资源操作菜单的子菜单的功能,包括:
    响应于所述第一资源操作菜单的第二菜单的子菜单的被选中,通过第一本地数据访问服务访问被选中的第一操作资源所属的第二电子设备的数据访问服务,执行所述第一资源操作菜单的第二菜单的子菜单的功能。
  12. 根据权利要求1所述的方法,其中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上,包括:
    将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中。
  13. 根据权利要求12所述的方法,其中,所述将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上的内容显示区域中,包括:
    在所述第一当前界面上的内容显示区域中,显示所述第一资源信息的缩略内容以及第一本地标 识;
    显示所述第二资源信息的缩略内容以及资源所属的第二电子设备的标识。
  14. 根据权利要求1所述的方法,其中,所述响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息,包括:
    响应于对分享功能的启动操作,在所述第一当前界面显示所述分享功能对应的初始界面;
    接收针对所述分享功能对应的初始界面的操作信息得到所述共享设定信息,在所述分享功能的所述第一当前界面显示与共享设定信息相关的所述第一资源信息。
  15. 根据权利要求14所述的方法,其中,所述在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息,包括:
    通过第一本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第一资源信息;
    在所述第一当前界面,显示所述第一资源信息。
  16. 根据权利要求1所述的方法,其中,所述接收到第二电子设备的监听信息,包括:
    当接收到碰撞信息,且所述碰撞信息的来源为具有分享功能的第二电子设备时,确定接收到所述第二电子设备的监听信息;所述监听信息为所述碰撞信息。
  17. 根据权利要求1或16所述的方法,其中,所述确定接收到所述第二电子设备的监听信息,包括:
    通过本地的事件监听服务确定接收到所述第二电子设备的监听信息。
  18. 根据权利要求1所述的方法,其中,所述当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
    当接收到所述第二电子设备的监听信息时,将所述第二电子设备注册的分享功能在本地进行注册;
    当所述第二电子设备注册的分享功能注册完成时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
  19. 根据权利要求18所述的方法,其中,所述当接收到第二电子设备的监听信息时,将所述第二电子设备注册的分享功能进行注册,包括:
    当接收到所述第二电子设备的所述监听信息时,通过本地的注册服务对所述第二电子设备注册的分享功能在本地进行注册。
  20. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收来自所述第二电子设备发送的各个资源信息;所述各个资源信息为与共享设定信息匹配的资源;
    将所述各个资源信息进行合并,得到所述第二资源信息。
  21. 根据权利要求1所述的方法,其中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
    根据所述监听信息,通过服务器向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
  22. 根据权利要求21所述的方法,其中,所述方法还包括:
    接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的第二电子设备的各个资源信息整合得到的。
  23. 根据权利要求1所述的方法,其中,所述方法还包括:
    在所述第一当前界面上显示有第一分享功能入口;
    响应于所述第一分享功能入口的关闭操作,在所述第一当前显示界面显示所述第一电子设备的分享功能所属的应用程序的初始界面。
  24. 根据权利要求23所述的方法,其中,在所述第一当前界面上显示有第一分享功能入口之后,所述方法还包括:
    响应于所述第一分享功能入口的关闭操作,在所述第一当前界面上显示所述第一电子设备的主显示界面。
  25. 根据权利要求1所述的方法,其中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
    当所述监听信息指示所述第一电子设备的共享设定信息与所述第二电子设备的共享设定信息相同,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求。
  26. 根据权利要求1所述的方法,其中,所述根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求,包括:
    当所述监听信息指示所述第一电子设备与所述第二电子设备之间的夹角满足预设条件,且所述第一电子设备与所述第二电子设备之间的距离小于等于预设的距离阈值时,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;
    其中,所述第一电子设备和所述第二电子设备均具有UWB功能,所述第一电子设备利用UWB功能确定所述第一电子设备与所述第二电子设备之间的夹角。
  27. 根据权利要求1所述的方法,其中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
  28. 根据权利要求27所述的方法,其中,所述无线通信方式包括以下至少一项:
    无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
  29. 一种资源信息的共享方法,其中,所述方法应用于第二电子设备中,包括:
    当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
    将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
  30. 根据权利要求29所述的方法,其中,
    所述第一资源信息和所述第二资源信息以缩略内容的形式进行显示的。
  31. 根据权利要求29所述的方法,其中,所述方法还包括:
    当接收到来自第一电子设备发送的分享功能的开启请求时,开启分享功能。
  32. 根据权利要求29所述的方法,其中,所述将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上之后,所述方法还包括:
    响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单;所述第二操作资源为所述第一资源信息和所述第二资源信息中的任意一个资源;
    响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作的子菜单的功能。
  33. 根据权利要求32所述的方法,其中,所述响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
    响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源属于第二本地内容时,显示所述第二资源操作菜单的第一菜单。
  34. 根据权利要求32所述的方法,其中,所述响应于所述第二当前界面中的第二操作资源被选中,显示第二资源操作菜单,包括:
    响应于所述第二当前界面中的第二操作资源被选中,且被选中的所述第二操作资源不属于第二本地内容时,显示所述第二资源操作菜单的第二菜单。
  35. 根据权利要求33所述的方法,其中,
    所述第二资源操作菜单的第一菜单包括以下至少一种:浏览子菜单和设为壁纸子菜单。
  36. 根据权利要求34所述的方法,其中,
    所述第二资源操作菜单的第二菜单包括以下至少一种:浏览子菜单、设为壁纸子菜单和保存至本地子菜单。
  37. 根据权利要求33或35所述的方法,其中,所述响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能,包括:
    响应于所述第二资源操作菜单的第一菜单的子菜单的被选中,通过第二本地数据访问服务执行所述第二资源操作菜单的第一菜单的子菜单的功能。
  38. 根据权利要求34或36所述的方法,其中,所述响应于所述第二资源操作菜单的子菜单的被选中,执行所述第二资源操作菜单的子菜单的功能,包括:
    响应于所述第二资源操作菜单的第二菜单的子菜单的被选中,通过第二本地数据访问服务访问被选中的操作资源所属的电子设备的数据访问服务,执行所述第二资源操作菜单的第二菜单的子菜单的功能。
  39. 根据权利要求29所述的方法,其中,所述将接收到的第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上,包括:
    将所述第一资源信息和所述第二资源信息显示在所述分享功能的第二当前界面上的内容显示区域中。
  40. 根据权利要求39所述的方法,其中,所述将所述第一资源信息和第二资源信息显示在所述第二当前界面上的内容显示区域中,包括:
    在所述第二当前界面上的内容显示区域中,显示所述第三资源信息的缩略内容以及第二本地标识;
    显示所述第一资源信息的缩略内容和所述第二资源信息中除了所述第三资源信息以外的资源信息的缩略内容以及资源所属的电子设备的标识。
  41. 根据权利要求29所述的方法,其中,所述根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备,包括:
    响应于所述内容搜索请求,通过第二本地搜索服务进行与共享设定信息相关的资源搜索,得到所述第三资源信息并反馈给所述第一电子设备。
  42. 根据权利要求29所述的方法,其中,所述得到第三资源信息并反馈给所述第一电子设备,包括:
    将所述第三资源信息返回至服务器,并通过所述服务器反馈至所述第一电子设备。
  43. 根据权利要求42所述的方法,其中,所述方法还包括:
    接收来自所述服务器针对内容搜索请求反馈的所述第二资源信息;所述第二资源信息是由所述服务器接收到的电子设备的各个资源信息整合得到的;
    接收来自所述第一电子设备发送的所述第一资源信息。
  44. 根据权利要求29所述的方法,其中,所述方法还包括:
    在所述第二当前界面上显示有第二分享功能入口;
    响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
    接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面显示所述第二电子设备的分享功能所属的应用程序的初始界面。
  45. 根据权利要求44所述的方法,其中,在所述第二当前界面上显示有第二分享功能入口之后,所述方法还包括:
    响应于所述第二分享功能入口的关闭操作,向所述第一电子设备发送注销请求;
    接收到来自所述第一电子设备发送的注销请求的应答信息时,在所述第二当前界面上显示所述第二电子设备的主显示界面。
  46. 根据权利要求29所述的方法,其中,所述第一电子设备与所述第二电子设备之间通过无线通信方式传输数据。
  47. 根据权利要求46所述的方法,其中,所述无线通信方式包括以下至少一项:
    无线保真点对点Wi-Fi P2P、无线保真Wi-Fi直连、蓝牙和近场通信NFC。
  48. 一种资源信息的共享方法,其中,所述方法应用于第一电子设备中,包括:
    响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
    当接收到第二电子设备的监听信息时,将第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上;其中,所述第二资源信息为所述第二电子设备中与所述共享设定信息相关的内容;所述第二电子设备为具有分享功能的设备。
  49. 一种第一电子设备,其中,包括:
    第一显示模块,配置成响应于对分享功能的启动操作,在所述分享功能的第一当前界面显示与共享设定信息相关的第一资源信息;
    发送模块,配置成当接收到第二电子设备的监听信息时,根据所述监听信息,向所述第二电子设备发出针对所述共享设定信息的内容搜索请求;所述第二电子设备为具有分享功能的设备;
    第二显示模块,配置成将所述内容搜索请求得到的第二资源信息,结合所述第一资源信息更新显示在所述第一当前界面上。
  50. 一种第二电子设备,其中,包括:
    搜索模块,配置成当在分享功能开启时,接收到来自所述第一电子设备发出的针对共享设定信息的内容搜索请求时,根据所述共享设定信息的内容搜索请求,搜索得到第三资源信息并反馈给所述第一电子设备;
    第三显示模块,配置成将接收到的所述第一资源信息和第二资源信息显示在所述分享功能的第二当前界面上;其中,所述第二资源信息包括所述第三资源信息。
  51. 一种电子设备,其中,包括:
    处理器以及存储有所述处理器可执行指令的存储介质,所述存储介质通过通信总线依赖所述处理器执行操作,当所述指令被所述处理器执行时,执行上述的权利要求1至28任一项所述的资源信息的共享方法,或者上述权利要求29至47任一项所述的资源信息的共享方法,或者权利要求48所述的资源信息的共享方法。
  52. 一种计算机存储介质,其中,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行如权利要求1至28任一项所述的资源信息的共享方法,或者如权利要求29至47任一项所述的资源信息的共享方法,或者权利要求48所述的资源信息的共享方法。
PCT/CN2022/139493 2022-01-13 2022-12-16 一种资源信息的共享方法、电子设备及计算机存储介质 WO2023134389A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210034657.4A CN114547100A (zh) 2022-01-13 2022-01-13 一种资源信息的共享方法、电子设备及计算机存储介质
CN202210034657.4 2022-01-13

Publications (1)

Publication Number Publication Date
WO2023134389A1 true WO2023134389A1 (zh) 2023-07-20

Family

ID=81671253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/139493 WO2023134389A1 (zh) 2022-01-13 2022-12-16 一种资源信息的共享方法、电子设备及计算机存储介质

Country Status (2)

Country Link
CN (1) CN114547100A (zh)
WO (1) WO2023134389A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114547100A (zh) * 2022-01-13 2022-05-27 Oppo广东移动通信有限公司 一种资源信息的共享方法、电子设备及计算机存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006834A1 (en) * 2012-05-31 2016-01-07 Nintendo Co., Ltd. Posted information sharing system, information-processing system, information processing method, storage medium, and computer platform
CN105743935A (zh) * 2014-10-21 2016-07-06 财团法人资讯工业策进会 资源共享装置及其方法
CN108616663A (zh) * 2018-05-16 2018-10-02 Oppo广东移动通信有限公司 文件分享方法、装置、移动终端及存储介质
CN109697008A (zh) * 2018-12-26 2019-04-30 努比亚技术有限公司 一种内容分享方法、终端及计算机可读存储介质
CN112423226A (zh) * 2020-11-24 2021-02-26 三星电子(中国)研发中心 一种分享文件的方法、装置和智能设备
CN113449136A (zh) * 2020-03-26 2021-09-28 华为技术有限公司 一种数据共享的方法、电子设备和系统
CN114547100A (zh) * 2022-01-13 2022-05-27 Oppo广东移动通信有限公司 一种资源信息的共享方法、电子设备及计算机存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006834A1 (en) * 2012-05-31 2016-01-07 Nintendo Co., Ltd. Posted information sharing system, information-processing system, information processing method, storage medium, and computer platform
CN105743935A (zh) * 2014-10-21 2016-07-06 财团法人资讯工业策进会 资源共享装置及其方法
CN108616663A (zh) * 2018-05-16 2018-10-02 Oppo广东移动通信有限公司 文件分享方法、装置、移动终端及存储介质
CN109697008A (zh) * 2018-12-26 2019-04-30 努比亚技术有限公司 一种内容分享方法、终端及计算机可读存储介质
CN113449136A (zh) * 2020-03-26 2021-09-28 华为技术有限公司 一种数据共享的方法、电子设备和系统
CN112423226A (zh) * 2020-11-24 2021-02-26 三星电子(中国)研发中心 一种分享文件的方法、装置和智能设备
CN114547100A (zh) * 2022-01-13 2022-05-27 Oppo广东移动通信有限公司 一种资源信息的共享方法、电子设备及计算机存储介质

Also Published As

Publication number Publication date
CN114547100A (zh) 2022-05-27

Similar Documents

Publication Publication Date Title
US11068139B2 (en) Communications devices and methods for single-mode and automatic media capture
US11489684B2 (en) Assigning participants to rooms within a virtual conferencing system
EP2868065B1 (en) Apparatus and method for selection of a device for content sharing operations
US9251506B2 (en) User interfaces for content categorization and retrieval
EP2811400B1 (en) Method for executing program and electronic device thereof
WO2022205772A1 (zh) 直播间的页面元素展示方法及装置
CN110263197B (zh) 一种图像搜索方法、装置、计算机设备和存储介质
US20160085768A1 (en) Information processing system, and information processing method
US11496428B2 (en) Method and system for sharing content on instant messaging application
US9552421B2 (en) Simplified collaborative searching through pattern recognition
KR20140134780A (ko) 전자장치에서 콘텐츠 큐레이션 서비스를 제공하기 위한 방법 및 장치
EP2577944B1 (en) Method and apparatus for identifying network functions based on user data
US11477315B2 (en) Contact information exchanging and content system and method for networking and marketing
TWI713327B (zh) 訊息發送方法及裝置和電子設備
WO2023134389A1 (zh) 一种资源信息的共享方法、电子设备及计算机存储介质
US20200104092A1 (en) Group Slideshow
JP2018536924A (ja) モバイルコンピューティング装置によってキャプチャしたメディアを電子文書に添付するための技術
KR20230074459A (ko) 인스턴트 메시징 애플리케이션을 통해 통화 중 콘텐츠를 공유하는 방법 및 시스템
KR102611680B1 (ko) 통합된 이미지 검색 시스템
JP2019536156A (ja) レイヤード・コンテンツの選択
US11063779B2 (en) Content server, information sharing system, communication control method, and non-transitory computer-readable medium
WO2023040519A1 (zh) 多媒体互动方法、系统、装置、设备、介质及计算机程序
KR20240057083A (ko) 메신저에서의 영상 추천 방법, 컴퓨터 프로그램 및 컴퓨팅 디바이스
CN116360652A (zh) 消息交互方法、装置、设备、存储介质及程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22920020

Country of ref document: EP

Kind code of ref document: A1