CN114547100A - Resource information sharing method, electronic equipment and computer storage medium - Google Patents

Resource information sharing method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN114547100A
CN114547100A CN202210034657.4A CN202210034657A CN114547100A CN 114547100 A CN114547100 A CN 114547100A CN 202210034657 A CN202210034657 A CN 202210034657A CN 114547100 A CN114547100 A CN 114547100A
Authority
CN
China
Prior art keywords
resource
sharing
information
electronic device
resource information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210034657.4A
Other languages
Chinese (zh)
Inventor
杨俊拯
梁羽平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210034657.4A priority Critical patent/CN114547100A/en
Publication of CN114547100A publication Critical patent/CN114547100A/en
Priority to PCT/CN2022/139493 priority patent/WO2023134389A1/en
Pending legal-status Critical Current

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

Abstract

The embodiment of the application discloses a resource information sharing method, which is applied to first electronic equipment and comprises the following steps: responding to the starting operation of the sharing function, displaying first resource information related to sharing setting information on a first current interface of the sharing function, sending a content searching request aiming at the sharing setting information to second electronic equipment according to monitoring information when receiving the monitoring information of the second electronic equipment, wherein the second electronic equipment is equipment with the sharing function, and updating and displaying second resource information obtained by the content searching request on the first current interface by combining the first resource information. The embodiment of the application also provides the electronic equipment and the computer storage medium.

Description

Resource information sharing method, electronic equipment and computer storage medium
Technical Field
The present application relates to a technology for sharing resource information between electronic devices, and in particular, to a method for sharing resource information, an electronic device, and a computer storage medium.
Background
At present, in the related art of resource sharing for electronic devices, taking resource information as an image as an example, the resource sharing can be mainly implemented in the following two ways: the first is a picture sharing mode based on a network center point, for example, a picture is stored and shared by using a network disk or uploaded by a picture sharing website for sharing based on Uniform Resource Locator (URL), and the second is a sharing mode based on a group mode of social software, in which a person participating in sharing uploads a picture that the person wants to share to a group for sharing.
However, the above-mentioned method is based on that pictures sent by devices participating in sharing are received in a certain central set (a group mode of a network disk/a website/social software), so that picture sharing with other devices participating in sharing can be realized, that is, sharing with other devices participating in sharing can be realized only when the devices participating in sharing upload pictures to be shared, so that the efficiency of the sharing method is related to the number of pictures uploaded by users and the quality of a network, and obviously, when the number of shared pictures is large or the quality of the network is poor, the sharing efficiency is affected; therefore, the technical problem of low efficiency exists in the conventional resource information sharing method.
Disclosure of Invention
The embodiment of the application provides a resource information sharing method, electronic equipment and a computer storage medium, which can simplify the steps of sharing an album.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a resource information sharing method, which is applied to first electronic equipment and comprises the following steps:
responding to starting operation of a sharing function, and displaying first resource information related to sharing setting information on a first current interface of the sharing function;
when monitoring information of second electronic equipment is received, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information; the second electronic equipment is equipment with a sharing function;
and updating and displaying the second resource information obtained by the content search request on the first current interface by combining the first resource information.
The embodiment of the application provides a method for sharing resource information, which is applied to a second electronic device and comprises the following steps:
when the sharing function is started and a content search request aiming at sharing setting information sent by the first electronic equipment is received, searching to obtain third resource information according to the content search request aiming at the sharing setting information and feeding the third resource information back to the first electronic equipment;
displaying the received first resource information and the 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 a first electronic device, including:
the first display module is used for responding to starting operation of a sharing function and displaying first resource information related to sharing setting information on a first current interface of the sharing function;
the sending module is used for sending a content searching request aiming at the sharing setting information to the second electronic equipment according to the monitoring information when receiving the monitoring information of the second electronic equipment; the second electronic equipment is equipment with a sharing function;
and the second display module is used for updating and displaying second resource information obtained by 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 searching module is used for searching to obtain third resource information according to a content searching request of the sharing setting information and feeding the third resource information back to the first electronic equipment when the content searching request aiming at the sharing setting information sent by the first electronic equipment is received when the sharing function is started;
the third display module is used for displaying the received first resource information and the 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:
the system comprises a processor and a storage medium storing instructions executable by the processor, wherein the storage medium depends on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the method for sharing resource information is performed.
The embodiment of the 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 the resource information sharing method according to one or more embodiments.
The embodiment of the application provides a resource information sharing method, electronic equipment and a computer storage medium, and the method comprises the following steps: responding to the starting operation of the sharing function, displaying first resource information related to sharing setting information on a first current interface of the sharing function, sending a content searching request aiming at the sharing setting information to second electronic equipment according to monitoring information when receiving the monitoring information of the second electronic equipment, wherein the second electronic equipment is equipment with the sharing function, and updating and displaying second resource information obtained by the content searching request on the first current interface by combining the first resource information; that is to say, in this embodiment of the application, both the first electronic device and the second electronic device are electronic devices having a sharing function, and the first electronic device displays, in response to a start operation of the sharing function, first resource information related to shared setting information on a first current interface of the sharing function, and sends a content search request for the shared setting information to the second electronic device by receiving monitoring information of the second electronic device, so that resource information for the shared setting information, that is, second resource information obtained by the content search request, can be obtained from the second electronic device, and finally, the second resource information is updated and displayed on the first current interface in combination with the first resource information The obtained second resource information is shared without being influenced by the uploading quantity of the resource information and the network quality during uploading, so that the sharing efficiency of the resource information is improved.
Drawings
Fig. 1 is a schematic structural diagram of an optional resource information sharing system according to an embodiment of the present disclosure;
fig. 2 is a schematic view illustrating a flow interaction of an alternative resource information sharing method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an example one of an optional resource information sharing method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an alternative resource information sharing system according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a second example of a selectable resource information sharing method according to an embodiment of the present application;
fig. 6 is a schematic interface diagram of an example one of an alternative resource information sharing method according to an embodiment of the present application;
fig. 7 is a schematic layout diagram of a first example of a current interface of an optional sharing function according to an embodiment of the present disclosure;
fig. 8 is a flowchart illustrating an example three of an optional resource information sharing method according to an embodiment of the present application;
fig. 9 is a flowchart illustrating an example four of an optional resource information sharing method according to an embodiment of the present application;
fig. 10 is a schematic layout diagram of a second example of a current interface of an optional sharing function according to an embodiment of the present disclosure;
fig. 11 is an interface schematic diagram of a second example of an optional resource information sharing method according to an embodiment of the present application;
fig. 12 is a schematic layout diagram of an example three of a current interface of an optional sharing function according to an embodiment of the present disclosure;
fig. 13 is an interaction flowchart of an example of an optional resource information sharing method according to an embodiment of the present application;
fig. 14 is a schematic flowchart of an alternative sharing method according to an embodiment of the present application;
fig. 15 is a schematic flowchart of another alternative sharing method according to the embodiment of the present application;
FIG. 16 is a schematic flow chart illustrating yet another alternative sharing method according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of an alternative first electronic device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of an alternative second electronic device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Example one
An embodiment of the present application provides a method for sharing resource information, where the method is applied to a system for sharing resource information, fig. 1 is a schematic structural diagram of a system for sharing resource information, where the system for sharing resource information is selectable, and as shown in fig. 1, the system for sharing resource information at least may include: a first electronic device 11 and a second electronic device 12; wherein the content of the first and second substances,
in the process of sharing the resource information, the first electronic device 11 is an initiating device for resource information sharing, and needs to initiate sharing of the resource information first, specifically, the first electronic device 11 receives a start operation of a user on a sharing function, and initiates sharing of the resource information in response to the start operation of the sharing function, and the second electronic device 12 is a participating device for resource information sharing, and starts the sharing function through a start request of the sharing function sent by the first electronic device 11, so as to implement sharing of the resource information with the first electronic device 11.
It should be noted that the resource information may be any resource information on the electronic device, for example, a file, audio, video, a picture, and the like, and this is not particularly limited in this embodiment of the present application.
Based on the resource information sharing system provided in fig. 1, fig. 2 is a schematic view of a flow interaction of an optional resource information sharing method provided in an embodiment of the present application, and as shown in fig. 2, the resource information sharing method may include:
s201: the first electronic device 11 responds to the starting operation of the sharing function, and displays first resource information related to the sharing setting information on a first current interface of the sharing function;
at present, since the sharing efficiency of the existing resource information sharing method is related to the quantity of resource information uploaded by a user and the quality of a network, so that the sharing efficiency of the resource information is affected, in order to improve the sharing efficiency of the resource information, an embodiment of the present application provides a resource information sharing method, first, a first electronic device 11 receives a start operation of a sharing function sent by the user, for example, the user sends a click operation to an icon of an application program having the sharing function on a start-up interface of the first electronic device 11, so that the first electronic device 11 receives the start operation of the sharing function; taking the sharing of the album as an example, the user may operate an entry of the sharing function in the icons of the album, so that the first electronic device 11 receives a start operation of the sharing function, and may also operate an icon of the new sharing function, so that the first electronic device 11 receives a start operation of the sharing function, where this is not specifically limited in this embodiment of the present application.
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, after receiving the start operation of the sharing function, the first electronic device 11 starts the sharing function, and displays the first resource information related to the sharing setting information on the first current interface of the sharing function, where the sharing setting information may be preset or included in the start operation of the sharing function, and this is not specifically limited in this embodiment of the present application.
For example, for the keyword, the first resource information related to the sharing setting information may be resource information determined from the resource information of the first electronic device 11 according to the keyword, and the resource information is used as first resource information, for the set range condition, resource information satisfying the set range condition in the resource information of the first electronic device is determined as the first resource information, for example, for an album, when the sharing setting information is "lawreck", the first electronic device 11 searches for an album related to "lawreck" from the album, wherein, when the sharing setting information is a picture between 14:00 and 18:00, an image recognition technology may be used to search for a picture containing the lawreck in the album, thereby determining the first resource information, when the sharing setting information is a picture between 14:00 and 18:00, the pictures in the period of 14:00-18:00 are found from the album of the first electronic device 11 as the first resource information.
S202: when the first electronic device 11 receives the monitoring information of the second electronic device, the first electronic device 11 sends a content search request for the sharing setting information to the second electronic device 12 according to the monitoring information;
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 implement sharing of the resource information with other electronic devices, only when the first electronic device 11 receives the monitoring information of the second electronic device 12, the first electronic device 11 sends a content search request for the sharing setting information to the second electronic device 12 according to the received monitoring information.
The monitoring information may be collision information of the second electronic device 12, or included angle information between the first electronic device 11 and the second electronic device 12, or distance information between the first electronic device 11 and the second electronic device 12, which is not specifically limited in this embodiment of the present invention.
In addition, the second electronic device 12 is a device having a sharing function; in this way, when the second electronic device 12 receives the content search request for the sharing setting information, the sharing function of the second electronic device 12 needs to be already started, and thus, the second electronic device 12 must be a device with the sharing function, and the sharing function needs to be opened during sharing to realize sharing of the resource information.
S203: when the second electronic device 12 starts the sharing function, and the second electronic device 12 receives a content search request for the sharing setting information from the first electronic device 11, the third resource information is obtained by searching according to the content search request for the sharing setting information and fed back to the first electronic device 11;
here, only when the second electronic device 12 receives a content search request for the sharing setting information when the sharing function is turned on, the second electronic device 12 obtains third resource information by searching according to the content search request for the sharing setting information, and feeds back the third resource information to the first electronic device 11, wherein the second electronic device 12 searches for the resource information related to the keyword in the local resource information as the third resource information similarly to when the first electronic device 11 obtains the first resource information related to the sharing setting information in the search according to the content search request for the sharing setting information, for example, when the sharing setting information is a keyword, the second electronic device 12 searches for the resource information related to the keyword in the local resource information as the third resource information, and when the sharing setting information is a set condition range, the second electronic device 12 takes the resource information satisfying the condition range in the local resource information as the third resource information, thus, the third resource information can be searched.
After the second electronic device 12 searches for the third resource information, the third resource information is fed back to the first electronic device 11, where it should be noted that the second electronic device 12 may directly feed back the third resource information to the first electronic device 11, or may send the third resource information to a server, and then feed back the third resource information to the first electronic device 11 through the server, where this is not specifically limited in this embodiment of the present application.
S204: the first electronic device 11 updates and displays the second resource information obtained by the content search request on the first current interface in combination with the first resource information;
it can be seen that, after the second electronic device 12 feeds back the searched third resource information to the first electronic device 11, the first electronic device 11 may receive the second resource information obtained by the content search request, where the second resource information includes the third resource information; that is to say, when the second electronic device 12 feeds back the third resource information to the first electronic device 11, the first electronic device 11 may integrate all the fed-back third resource information to obtain the second resource information, and when the second electronic device 12 feeds back the third resource information to the first electronic device 11 through the server, the server may integrate all the received third resource information to obtain the second resource information, and send the second resource information to the first electronic device 11, so that the first electronic device 11 receives the second resource information.
After receiving the second resource information, the first electronic device 11 updates and displays the second resource information on the first current interface in combination with the first resource information, that is, the first resource information related to the sharing setting information in the first electronic device 11 and the second resource information searched in the second electronic device 12 are displayed on the first current interface together, so that the resource information shared by the first electronic device 11 and the second electronic device 12 is displayed on the first current interface of the first electronic device 11, and thus, the first electronic device 11 and the second electronic device 12 share the resource information related to the sharing setting information on the first electronic device 11 side.
Here, it should be noted that, when the first resource information and the second resource information are displayed on the first current interface, the first current interface may be displayed in the same display form, and may also be displayed in different display forms, where the display forms may include: list form, large icon form, thumbnail form, etc., and this is not particularly limited in the embodiments of the present application.
S205: the second electronic device 12 displays the received first resource information and the second resource information on a second current interface of the sharing function.
In addition, the second electronic device 12 receives first resource information and second resource information, where 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 sent by the first electronic device 11 to the second electronic device 12 or sent by a server to the second electronic device 12, and this is not particularly limited in this embodiment of the present application.
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 a second current interface of the sharing function, where it is noted that, when the first resource information and the second resource information are displayed on the second current interface, the second current interface is similar to the first current interface, and here, details are not repeated.
In order to implement the sharing of the resource information with the first electronic device 11, the second electronic device 12 needs to start the sharing function, and in order to start the sharing function of the second electronic device 12, in an optional embodiment, in the step S203, if the second electronic device does not start the sharing function, in order to start the sharing function of the second electronic device, the method may further implement, through the following steps S203a to S203b, that the sharing function is started by the second electronic device through interaction between the first electronic device and the second electronic device, specifically, steps S203a to S203b are as follows:
s203 a: when first electronic equipment receives monitoring information of second electronic equipment, the first electronic equipment sends a request for starting a sharing function to the second electronic equipment;
s203 b: when the second electronic device receives the starting request of the sharing function sent by the first electronic device, the second electronic device starts the sharing function.
In general, the sharing function of the second electronic device is in an unopened state, and then, in order to timely open the sharing function of the second electronic device to implement sharing of resource information between the first electronic device and the second electronic device, when the first electronic device receives monitoring information of the second electronic device, the first electronic device sends an opening request of the sharing function to the second electronic device, and after the second electronic device receives the opening request of the sharing function, the sharing function is opened.
In order to improve the sharing efficiency, for the first electronic device and the second electronic device, in an alternative embodiment, in the first electronic device, the second resource information is displayed in the form of thumbnail content.
In the second electronic device, the first resource information and the second resource information are displayed in the form of thumbnail contents.
That is to say, when the second resource information is displayed on the first current interface of the first electronic device, the second resource information 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, and a user of the first electronic device initiating sharing can know the content of the resource information shared by the second electronic device through the first current interface quickly.
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 displays all the received resource information in the form of thumbnail content, so that the second electronic device participating in sharing can quickly know the content of all the shared resource information through the second current interface.
Therefore, the first electronic device and the second electronic device display the resource information in the form of the abbreviated content, and can realize quick sharing, so that the sharing efficiency is improved.
In order to enable the second electronic device to participate in the current sharing of the sharing setting information, in an alternative embodiment, in S205, the first resource information and the second resource information received by the second electronic device may be implemented by the following S205a, and S205a is specifically as follows:
s205 a: and the first electronic equipment sends the second resource information and the first resource information to second electronic equipment starting the sharing function.
That is to say, the first electronic device sends the first resource information related to the sharing setting information and the received second resource information, which are obtained by searching of the first electronic device, to the second electronic device which has started the sharing function, so that the second electronic device participates in the current sharing of the sharing setting information, and the second electronic device and the first electronic device realize the sharing of the resource information.
When the first electronic device displays the second resource information on the first current interface in combination with the first resource information, in an optional embodiment, after executing S204, the method may further implement an operation on the resource information on the first current interface by executing the following S206-S207, as follows:
s206: the first electronic equipment responds to the fact that a first operation resource in a first current interface is selected, and displays a first resource operation menu;
s207: and the first electronic equipment responds to the selection of the submenu of the first resource operation menu and executes the function of the submenu of the first resource operation menu.
Optionally, the user sends an operation for 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, and responds to the selection of the first operation resource in the first current interface, where the first operation resource is any one of the first resource information and the second resource information; that is, the first electronic device displays the first resource operation menu on the first current interface in response to selection of any one of the first resource information and the second resource information in the first current interface.
When the first resource operation menu is displayed on the first current interface, a user sends out an operation aiming at a submenu in the first resource operation menu, so that the first electronic equipment receives the operation information of the selected submenu of the first resource operation menu, and in response to the selection of the submenu of the first resource operation menu, the first electronic equipment executes the function of the submenu of the first resource operation menu.
In this way, the first electronic device can implement the function of the submenu in the first resource operation menu in any available one of the first resource information and the second resource information.
Further, for any one of the first resource information and the second resource information in the first current interface, in an optional embodiment, S206 may include:
s206 a: and the first electronic equipment responds to that the first operation resource in the first current interface is selected and displays a first menu of the first resource operation menu when the selected first operation resource belongs to the first local content.
The first electronic device responds to the fact that the first operation resource in the first current interface is selected, and when the selected first operation resource belongs to the first local content, namely when the first operation resource belongs to the local content of the first electronic device, the first electronic device displays a first menu of the first resource operation menu on the first current interface. Thus, for a resource belonging to the local content of the first electronic device, a first menu of the first resource operation menu is displayed.
For the resource not belonging to the local content of the first electronic device, in an optional embodiment, S206 may include:
s206 b: and the first electronic equipment displays a second menu of the first resource operation menu when responding to that the first operation resource in the first current interface is selected and the selected first operation resource does not belong to the first local content.
That is, when a resource that does not belong to the local content of the first electronic device in the first electronic device is selected, the first electronic device displays a second menu of the first resource operation menu on the first current interface; in this way, for a resource that does not belong to the local content of the first electronic device, the second menu of the first resource operation menu is displayed.
In this way, in the first electronic device, different menus are displayed on the first current interface aiming at the first operation resources from different sources, so that users can realize different menu functions aiming at the first operation resources from different sources.
For the first menu of the first resource operating menu, in an alternative embodiment, the first menu of the first resource operating menu comprises at least one of: browse submenus and set as wallpaper submenus.
That is to say, for the local content belonging to the first electronic device, the first menu of the first resource operation menu displayed on the first current interface may be a browsing sub-menu, may be a wallpaper sub-menu, and may also be a browsing sub-menu and a wallpaper sub-menu, so that the first electronic device displays the first menu on the first current interface, so that the user may implement a browsing function and/or a wallpaper function on the first operation resource through the first electronic device.
For the second menu of the first resource operating menu, in an alternative embodiment, the second menu of the first resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
That is to say, for the local content not belonging to the first electronic device, the second menu of the first resource operation menu displayed on the first current interface may be a browsing sub-menu, may be a wallpaper sub-menu, may be a save-to-local sub-menu, may be any two combinations of the above sub-menus, and may also be the above three sub-menus, so that the first electronic device displays the above second menu on the first current interface, so that the user may implement a browsing function on the first operation resource, and/or a wallpaper function, and/or a save-to-local sub-menu function through the first electronic device.
For the first operation resource belonging to the local content of the first electronic device, in an alternative embodiment, S207 may include:
s207 a: the first electronic device executes a function of a submenu of a first menu of the first resource operation menu through the first local data access service in response to selection of the submenu of the first menu of the first resource operation menu.
Optionally, when receiving an operation that a sub-menu in a first menu of the first resource operation menu is selected, the first electronic device responds to the selection of the sub-menu of the first resource operation menu, and executes a function of the sub-menu of the first resource operation menu through a local data access service of the first electronic device, that is, the first local data access service.
That is, for a resource belonging to the local content of the first electronic device, the first electronic device is provided with a first local data access service, and the local content of the first electronic device can implement the function of the sub-menu of the first menu through the first local data access service.
For the first operation resource not belonging to the local content of the first electronic device, in an optional embodiment, S207 includes:
s207 b: and the first electronic equipment responds to the selection of the submenu of the second menu of the first resource operation menu, accesses the data access service of the second electronic equipment to which the selected first operation resource belongs through the first local data access service, and executes the function of the submenu of the second menu of the first resource operation menu.
Optionally, when receiving an operation that a sub-menu in the second menu of the first resource operation menu is selected, the first electronic device responds to the selection of the sub-menu of the second menu of the first resource operation menu, and implements a function of executing the sub-menu of the second menu of the first resource operation menu by a local data access service of the first electronic device, that is, the first local data access service access, and a data access service of the second electronic device to which the first operation resource belongs.
That is to say, for the resource of the local content not belonging to the first electronic device, the first local data access service is provided in the first electronic device, and the second electronic device participating in the sharing is also provided with the local data access service, so that the non-local content of the first electronic device can implement the function of the sub-menu 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.
For the first current interface, in order to implement the update of the second resource information in combination with the first resource information to be displayed on the first current interface, in an optional embodiment, S204 may include:
s204 a: and the first electronic equipment updates and displays the second resource information obtained by the content search request in the content display area on the first current interface in combination with the first resource information.
Here, the first current interface of the first electronic device includes at least a content display area, and the first electronic device displays the second resource information and the first resource information update in the content display area on the first current interface, so that the resource information is displayed in an area on the first current interface, which is beneficial for a user to view and operate.
Further, in order to better implement the display of the resource information by the first electronic device, in an alternative embodiment, the S204a may implement the display through the following S204a1-S204a2, and the S204a1-S204a2, as follows:
s204a 1: the first electronic equipment displays the thumbnail content of the first resource information and the first local identification in a content display area on a first current interface;
s204a 2: and the first electronic equipment displays the thumbnail content of the second resource information and the identification of the second electronic equipment to which the resource belongs.
Specifically, for the first resource information, the first electronic device displays the thumbnail content and the first local identifier of the first resource information in the content display area on the first current interface, that is, the thumbnail content of the first resource information is displayed in the content display area of the first current interface, and displays the local identifier of the first resource information, that is, the first local identifier. Then, in the embodiment of the present application, 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 rough content and the source of the resource information through the content displayed by the first current interface.
And aiming at the second resource information, the first electronic equipment displays the second resource information in the form of abbreviated content on the first current interface and displays the identifier of the second electronic equipment to which the second resource information belongs, so that a user can obtain the rough content and the source of the resource information through the content displayed on the first current interface.
In order for the first electronic device to display the first resource information related to the sharing setting information on the first current interface, in an alternative embodiment, S201 may be implemented by the following S201a-S201b, S201a-S201b, as follows:
s201 a: the first electronic equipment responds to the starting operation of the sharing function, and displays an initial interface corresponding to the sharing function on a first current interface;
s201 b: the first electronic device receives operation information of an initial interface corresponding to the sharing function to obtain sharing setting information, and displays first resource information related to the sharing setting information on a first current interface of the sharing function.
Specifically, the method is used for sending a start operation of a sharing function to a first electronic device, so that the first electronic device receives operation information of the sharing function, and in response to the start operation of the sharing function, an initial interface of the sharing function is displayed on a first current interface, wherein an input window of sharing setting information is displayed on the initial interface and is used for receiving the sharing setting information input by a user, that is, the first electronic device receives the operation information of the initial interface corresponding to the sharing function to obtain the sharing setting information, and then after receiving the sharing setting information, determines first resource information related to the sharing setting information, and displays the first resource information related to the sharing setting information on the first current interface.
Therefore, the initial interface of the sharing function is displayed on the first current interface, the sharing setting information is received through the initial interface, and the first resource information related to the sharing setting information is displayed, so that a user can share the resource information related to different sharing setting information according to the requirement of the user.
Further, in order to display the first resource information related to the shared setting information on the first current interface, in an alternative embodiment, in S201, the first electronic device displays the first resource information related to the shared setting information on the first current interface of the sharing function, which may be implemented by the following S201c-S201d, S201c-S201d, as follows:
s201 c: the first electronic equipment carries out resource search related to the shared setting information through a first local search service to obtain first resource information;
s201 d: and the first electronic equipment displays the first resource information on the first current interface.
Specifically, the first electronic device is provided with a local search service, that is, a first local search service, and in order to obtain first resource information related to the shared setting information, the first electronic device searches for a resource related to the shared setting information through the first local search service, so as to obtain the first resource information, and finally, displays the first resource information on a first current interface.
Here, the first electronic device may implement a search for resource information related to the sharing setting information through the first local search service, thereby implementing sharing of the sharing setting information with other electronic devices.
In receiving the interception information of the second electronic device, in an alternative embodiment, in S202, the first electronic device receives the interception information of the second electronic device, and the determining, by the first electronic device, that the interception information of the second electronic device is received may be implemented by collision information through S202a as follows, S202a is as follows:
s202 a: when the first electronic device receives the collision information and the source of the collision information is a second electronic device with a sharing function, the first electronic device determines to receive monitoring information of the second electronic device.
That is to say, when the first electronic device receives collision information, the collision information is 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, the first electronic device determines to receive monitoring information of the second electronic device, where the monitoring information is collision information.
When the first electronic device receives collision information, which is collision information between the first electronic device and the second electronic device, but the second electronic device does not have a sharing function, the first electronic device cannot determine that monitoring information of the second electronic device is received.
As can be seen, only when the first electronic device receives the collision information between the second electronic device with the sharing function and the first electronic device, the first electronic device may determine to receive the monitoring information of the electronic device, and only if all the conditions are met, the resource information sharing between the first electronic device and the second electronic device can be continuously implemented.
In the step of the first electronic device determining to receive the interception information of the second electronic device, in an alternative embodiment, in S202, the first electronic device determines to receive the interception information of the second electronic device, the interception function of the first electronic device may be implemented through S202b as follows, S202b is as follows:
s202 b: the first electronic equipment determines to receive the monitoring information of the second electronic equipment through a local event monitoring service.
That is, the first electronic device is provided with an event monitoring service, and the first electronic device determines to receive monitoring information of the second electronic device through the local event monitoring service, so that the first electronic device completes a monitoring function in resource information sharing.
In order to implement sharing of resource information between the first electronic device and the second electronic device, in an alternative embodiment, S202 may implement that the first electronic device issues a content search request for sharing setting information to the second electronic device through the following S202c-S202d, S202c-S202d, as follows:
s202 c: when the first electronic equipment receives monitoring information of the second electronic equipment, the first electronic equipment registers the sharing function registered by the second electronic equipment locally;
s202 d: and when the sharing function registered by the second electronic equipment is registered, the first electronic equipment sends a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information.
When the first electronic device determines to receive the monitoring information of the second electronic device, the first electronic device registers the sharing function registered by the second electronic device locally, namely registers the sharing function registered by the second electronic device in the first electronic device, 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 aiming at the sharing setting information to the second electronic device according to the monitoring information.
That is to say, before the first electronic device sends a content search request for sharing setting information, the first electronic device needs to register the registered sharing function of the second electronic device locally, so that the sharing initiator of the resource information, that is, the first electronic device, registers information of all the second electronic devices.
In order for the first electronic device to implement local registration of the sharing function registered in the second electronic device, in an alternative embodiment, the S202c may implement the registration function through the following S202c1, S202c1, as follows:
s202c 1: when the first electronic device receives monitoring information of the second electronic device, the first electronic device registers the sharing function registered by the second electronic device locally through local registration service.
Here, when the first electronic device determines that the monitored information of the second electronic device is received, a local registration service is provided in the first electronic device, and the first electronic device registers the sharing function registered by the second electronic device locally through the local registration service, so that the first electronic device realizes the local registration of the sharing function registered by the second electronic device.
In order for the first electronic device to obtain the second resource information, in an alternative embodiment, the second resource information obtained in S204 may be implemented by the following S204b-S204c, S204b-S204c, as follows:
s204 b: the first electronic equipment receives the resource information sent by the second electronic equipment;
s204 c: and the first electronic equipment combines all the resource information to obtain second resource information.
Specifically, after each second electronic device searches for third resource information according to the content search request, the third resource information is fed back to the first electronic device, so that the first electronic device receives the resource information sent by the second electronic device, wherein the resource information is a resource matched with the shared setting information; that is, each resource information is a resource that is searched by each second electronic device according to the content search request and matches the sharing setting information.
After the first electronic device receives the resource information sent from 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 combined by the resource information received by the first electronic device, so that the first electronic device obtains the second resource information.
In addition, a server is further disposed in the first electronic device and the second electronic device, and the server is configured to obtain the second resource information, based on which, in order to implement issuing the content search request for the sharing setting information to the second electronic device, in an alternative embodiment, in S202, the first electronic device issues the content search request for the sharing setting information to the second electronic device according to the monitoring information, which may be implemented by the following S202e, S202e, as follows:
s202 e: and the first electronic equipment sends a content search request aiming at the sharing setting information to the second electronic equipment through the server according to the monitoring information.
Here, the first electronic device does not directly issue a content search request for the sharing setting information to the second electronic device according to the listening information, but transmits the content search request for the sharing setting information to the server, and then the server retransmits the content search request for the sharing setting information to the second electronic device so that the second electronic device receives the content search request to implement a search in the second electronic device.
The first electronic device may further receive, by the server, second resource information fed back for the content search request, and in an alternative embodiment, the second resource information obtained in S204 may be implemented by the following S204b, S204b, as follows:
s204 b: the first electronic device receives second resource information fed back by the server for the content search request.
The second resource information is obtained by integrating the resource information of the second electronic equipment received by the server; that is to say, after receiving the resource information fed back by the second electronic device, the server integrates the received resource information to obtain second resource information, and then the server sends the second resource information to the first electronic device, so that the first electronic device receives the second resource information fed back by the server according to the content search request.
After the first electronic device and the second electronic device complete the sharing of the resource information, in order to quit the sharing function, in an optional embodiment, the method may further implement the quitting of the sharing function through the following steps S208 to S209, where S208 to S209 are as follows:
s208: the first electronic equipment displays a first sharing function inlet on a first current interface;
s209: the first electronic device responds to the closing operation of the first sharing function entrance, and displays an initial interface of an application program to which the sharing function of the first electronic device belongs on a first current display interface.
Specifically, a first sharing function entry is displayed on a first current interface, and a user operates the first sharing function entry, so that the first electronic device responds to a closing operation of the first sharing function, and displays an initial interface of an application program to which a sharing function of the first electronic device belongs on the first current interface, that is, the sharing function of the first electronic device belongs to one application program on the first electronic device, and when the sharing function of the application program is opened, the first sharing function entry is displayed on the first current interface, 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, so that the sharing function is exited.
In addition, in order to quit the sharing function, in an optional embodiment, after S208, the method may further implement, through the following step S210, quitting the sharing function, step S210, as follows:
s210: and the first electronic equipment responds to the closing operation of the first shared function entrance, and displays a main display interface of the first electronic equipment on the first current interface.
Specifically, a first sharing function entry is displayed on the first current interface, and a user operates the first sharing function entry, so that the first electronic device responds to a closing operation of the first sharing function to display a main display interface of the first electronic device on the first current interface, that is, the sharing function of the first electronic device may be an individual application program, when the application program is opened, the first sharing function entry is displayed on the first current interface, and when the closing operation of the first sharing function entry is received, the first current interface returns to the main display interface of the first electronic device, thereby completing exiting of the sharing function.
In addition, in order for the first electronic device to implement issuing a content search request for the sharing setting information to the second electronic device according to the listening information, in an alternative embodiment, in S202, the first electronic device issues a content search request for the sharing setting information to the second electronic device according to the listening information, which may be implemented by the following S202f, S202f, as follows:
s202 f: when 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 distance between the first electronic device and the second electronic device is smaller than or equal to a preset distance threshold, the first electronic device sends a content search request aiming at the sharing setting information to the second electronic device.
Specifically, after the first electronic device receives the monitoring information, the monitoring information is parsed, and after parsing, the sharing configuration information indicating the first electronic device in the monitoring information is the same as the sharing configuration information 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, for example, the monitoring information may carry sharing setting information of the second electronic device, the first electronic device measures the distance between the first electronic device and the second electronic device through infrared ranging, thus, when the first electronic device and the second electronic device belong to the same sharing setting information and the distance is within the preset distance threshold range, when the first electronic device and the second electronic device reach a sharing condition, the first electronic device sends a content search request aiming at the sharing setting information to the second electronic device.
Also, in order for the first electronic device to implement issuing a content search request for the sharing setting information to the second electronic device according to the listening information, in an alternative embodiment, in S202, the first electronic device issues a content search request for the sharing setting information to the second electronic device according to the listening information, which may be implemented by the following S202g, S202g, as follows:
s202 g: when the monitoring information indicates that an included angle between the first electronic device and the second electronic device meets a preset condition and the distance between the first electronic device and the second electronic device is smaller than or equal to a preset distance threshold, the first electronic device sends a content search request aiming at the shared setting information to the second electronic device.
Specifically, after receiving the monitoring information, the first electronic device parses the monitoring information, and after parsing, the monitoring information indicates that an included angle between the first electronic device and the second electronic device satisfies a preset condition, for example, is less than or equal to a preset angle threshold, where the first electronic device and the second electronic device both have an Ultra Wide Band (UWB) function, and the first electronic device determines an included angle between the first electronic device and the second electronic device by using the UWB function; and the distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold, for example, the distance between the first electronic device and the second electronic device is measured by the first electronic device through infrared ranging, so that when it is determined that the included angle between the first electronic device and the second electronic device meets the preset condition and the distance is within the preset distance threshold range, the first electronic device and the second electronic device reach the sharing condition, and the first electronic device sends a content search request for sharing setting information to the second electronic device.
In order to implement data transmission between the first electronic device and the second electronic device, in an optional embodiment, data is transmitted between the first electronic device and the second electronic device through a wireless communication manner.
That is, a wireless communication connection is established between the first electronic device and the second electronic device, and the first electronic device and the second electronic device transmit data through the established wireless communication connection, in an optional embodiment, the wireless communication mode includes at least one of the following: Wireless-Fidelity Peer to Peer (Wi-Fi P2P), Wireless-Fidelity (Wi-Fi) direct, bluetooth, and Near Field Communication (NFC).
For the second electronic device, the number of the second electronic devices may be one or multiple, and this is not specifically limited in this embodiment of the application. On the second electronic device side, in order to implement sharing of the related resource information for the sharing setting information, in an optional embodiment, after S205, the method may further implement an operation on the resource information of the second current interface through the following S211-S212, as follows:
s211: the second electronic equipment responds to the fact that a second operation resource in a second current interface is selected, and displays a second resource operation menu;
s212: and the second electronic equipment responds to the selection of the submenu of the second resource operation menu and executes the function of the submenu of the second resource operation.
Optionally, the user sends an operation for a 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, and responds to the selection of the second operation resource in the second current interface, where the second operation resource is any one of the first resource information and the second resource information; that is, the second electronic device displays the second resource operation menu on the second current interface in response to selection of any one of the first resource information and the second resource information in the second current interface.
When the second resource operation menu is displayed on the second current interface, the user sends out an operation aiming at the submenu in the second resource operation menu, so that the second electronic equipment receives the operation information of the selected submenu of the second resource operation menu, and in response to the selection of the submenu of the second resource operation menu, the second electronic equipment executes the function of the submenu of the second resource operation menu.
In this way, the second electronic device can implement the function of the sub-menu in the second resource operation menu in any available one of the first resource information and the second resource information.
Further, for any one of the first resource information and the second resource information in the second current interface, in an optional embodiment, S211 includes:
s211 a: and the second electronic equipment responds to that the second operation resource in the second current interface is selected and displays the first menu of the second resource operation menu when the selected second operation resource belongs to the second local content.
And the second electronic equipment displays a first menu of a second resource operation menu on the second current interface in response to that the second operation resource in the second current interface is selected and the selected second operation resource belongs to the second local content, namely when the second operation resource belongs to the local content of the second electronic equipment. Thus, for a resource belonging to the local content of the second electronic device, the first menu of the second resource operation menu is displayed.
For resources that do not belong to the local content of the second electronic device, in an alternative embodiment, S211 includes:
s211 b: and the second electronic equipment displays a second menu of the second resource operation menu when responding to that the second operation resource in the second current interface is selected and the selected second operation resource does not belong to the second local content.
That is, when a resource, which does not belong to the local content of the second electronic device, in the second electronic device is selected, the second electronic device displays a second menu of the second resource operation menu on the second current interface; as such, for resources that do not belong to the local content of the second electronic device, a second menu of the second resource operation menu is displayed.
In this way, in the second electronic device, different menus are displayed on the second current interface for the second operation resources from different sources, so that users can realize different menu functions for the second operation resources from different sources.
For the first menu of the second resource operation menu, in an optional embodiment, the first menu of the second resource operation menu includes at least one of: browse submenus and set as wallpaper submenus.
That is to say, for the local content belonging to the second electronic device, the first menu of the second resource operation menu displayed on the second current interface may be a browsing submenu, may be a wallpaper submenu, and may also be a browsing submenu and a wallpaper submenu, so that the second electronic device displays the first menu on the second current interface, so that the user may implement a browsing function and/or a wallpaper setting function for the second operation resource through the second electronic device.
For the second menu of the second resource operating menu, in an optional embodiment, the second menu of the second resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
That is to say, for the local content not belonging to the second electronic device, the second menu of the second resource operation menu displayed on the second current interface may be a browsing sub-menu, may be a wallpaper sub-menu, may be a save-to-local sub-menu, may be any two combinations of the above sub-menus, and may also be the above three sub-menus, so that the second electronic device displays the above second menu on the second current interface, so that the user may implement a browsing function on the second operation resource, and/or a wallpaper function, and/or a save-to-local sub-menu function through the second electronic device.
For the second operation resource belonging to the local content of the second electronic device, in an alternative embodiment, S212 includes:
s212 a: the second electronic device executes a function of the sub-menu of the first menu of the second resource operation menu through the second local data access service in response to selection of the sub-menu of the first menu of the second resource operation menu.
Optionally, when receiving an operation that a sub-menu in the first menu of the second resource operation menu is selected, the second electronic device responds to the selection of the sub-menu of the first menu of the second resource operation menu, and executes a function of the sub-menu of the first menu of the second resource operation menu through a local data access service of the second electronic device, that is, the second local data access service.
That is, for a resource 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 implement the function of the sub-menu of the first menu through the second local data access service.
For the second operation resource not belonging to the local content of the second electronic device, in an alternative embodiment, S212 includes:
s212 b: and the second electronic equipment responds to the selection of the submenu of the second menu of the second resource operation menu, accesses the data access service of the electronic equipment to which the selected operation resource belongs through the second local data access service, and executes the function of the submenu of the second menu of the second resource operation menu.
Optionally, when receiving an operation that a sub-menu in a second menu of a second resource operation menu is selected, the second electronic device responds to the selection of the sub-menu of the second resource operation menu, and performs a function of executing the sub-menu of the second resource operation menu through a local data access service of the second electronic device, that is, a second local data access service access, and a data access service of the second electronic device to which the second operation resource belongs.
That is, for the resource of the local content not belonging to the second electronic device, the second electronic device is provided with the second local data access service, and the electronic device participating in sharing is also provided with the local data access service, so that the non-local content of the second electronic device can implement the function of the submenu 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.
For the second current interface, in order to implement the update of the second resource information in combination with the first resource information to be displayed on the second current interface, in an optional embodiment, S205 may include:
s205 a: and the second electronic equipment displays the first resource information and the second resource information in a content display area on a second current interface of the sharing function.
Here, 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 is displayed in an area on the second current interface, which is beneficial for a user to view and operate.
Further, in order to better implement the display of the resource information by the second electronic device, in an alternative embodiment, the S205a may be implemented by the following S205a1-S205a2, S205a1-S205a2, as follows:
s205a 1: the second electronic equipment displays the thumbnail content of the third resource information and the second local identification in the content display area on the second current interface;
s205a 2: the second electronic device displays the thumbnail content of the first resource information, the thumbnail content of the resource information except the third resource information in the second resource information, and the identification of the electronic device to which the resource belongs.
Specifically, for the third resource information, the second electronic device displays the thumbnail content and the second local identifier of the third resource information in the content display area on the second current interface, that is, the thumbnail content of the third resource information is displayed in the content display area of the second current interface, and displays the local identifier of the third resource information, that is, the second local identifier. Then it is. In the embodiment of the application, the third resource information is displayed in the form of the abbreviated content, and the second local identifier is displayed, so that the user can obtain the rough content and the source of the resource information through the content displayed by the second current interface.
For the resource information except for the third resource information in the first resource information and the second resource information, the second electronic device displays the resource information except for the third resource information in the first resource information and the second resource information in a form of abbreviated content on the second current interface, and displays the identifier of the electronic device to which the resource information except for the third resource information in the first resource information and the second resource information belongs, so that a user can obtain the rough content and the source of the resource information through the content displayed on the second current interface.
The second electronic device searches for the third resource information, and in an alternative embodiment, S203 may implement feedback to the first electronic device through S203c, S203c, as follows:
s203 c: and the second electronic equipment responds to the content search request, performs resource search related to the sharing setting information through a second local search service, obtains third resource information and feeds the third resource information back to the first electronic equipment.
That is to say, after the second electronic device receives the search request for the shared setting information, since the second electronic device provides a local search service, that is, a second local search service, the second electronic device performs resource search related to the shared setting information through the second local search service to obtain third resource information, and feeds back the third resource information to the first electronic device, so that the first electronic device can receive each piece of resource information searched by each second electronic device.
When a server is disposed between the first electronic device and the second electronic device, in an alternative embodiment, in S203 or S203c, the second electronic device obtains the third resource information and feeds back the third resource information to the first electronic device, which may be implemented by the following S203c1, S203c1, as follows:
s203c 1: and the second electronic equipment returns the third resource information to the server and feeds the third resource information back to the first electronic equipment through the server.
The second electronic device returns the searched third resource information to the server, and the server feeds back all the received third resource information, namely the second resource information, to the first electronic device, so that the first electronic device receives the second resource information.
Based on the set server between the first electronic device and the second electronic device, in an alternative embodiment, the first resource information and the second resource information received in S205 may be received through the following S205b-S205c, and the method may further include:
s205 b: the second electronic equipment receives second resource information fed back by the server aiming at the content search request;
s205 c: the second electronic equipment receives the first resource information sent from the first electronic equipment.
Specifically, the server feeds back second resource information obtained by 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 obtained by integrating the resource information of the electronic device received by the server; therefore, the server integrates all the resource information searched by all the second electronic devices, namely all the third resource information to obtain second resource information, and the second resource information is fed back to the second electronic devices, and the first electronic devices send the first resource information obtained by the first electronic devices to the second electronic devices, so that the second electronic devices receive the first resource information and the second resource information, and the resource information is shared on the side of the second electronic devices.
In order for the second electronic device to exit the sharing function, in an optional embodiment, the method may further implement that the second electronic device exits the sharing function through the following steps S213 to S215, as follows:
s213: the second electronic equipment displays a second sharing function inlet on a second current interface;
s214: the second electronic equipment responds to the closing operation of the second sharing function entrance and sends a logout request to the first electronic equipment;
s215: and when the second electronic equipment receives response information of the logout request sent from the first electronic equipment, displaying an initial interface of an application program to which the sharing function of the second electronic equipment belongs on a second current interface.
Specifically, a second sharing function entry is displayed on the second current interface, and a user operates the second sharing function entry to enable the second electronic device to respond to a closing operation of the second sharing function, because the first electronic device side registers a sharing function registered by the second electronic device, here, the second electronic device needs to send a logout request to the first electronic device, the first electronic device logs out the second electronic device after receiving the logout request, after the logout is completed, the first electronic device sends a response message of logout information to the second electronic device, after receiving the response message of the logout request, the second electronic device displays an initial interface of an application program to which the sharing function of the second electronic device belongs on the second current interface, that is, the sharing function of the second electronic device belongs to one application program on the second electronic device, when the sharing function of the application program is started, a second sharing function inlet is displayed on a second current interface, and when the closing operation of the second sharing function inlet is received and the logout in the first electronic equipment is completed, the second current interface returns to the initial interface of the application program, so that the quitting of the sharing function is completed.
In addition, in order to quit the sharing function, in an optional embodiment, after the second electronic device displays the second sharing function entry on the second current interface, the method may further implement the quitting of the sharing function by the following steps S216 to S217, where S216 to S217 are as follows:
s216: the second electronic equipment responds to the closing operation of the second sharing function entrance and sends a logout request to the first electronic equipment;
s217: and when the second electronic equipment receives the response information of the logout request sent from the first electronic equipment, displaying the main display interface of the second electronic equipment on the second current interface.
Specifically, a second sharing function entry is displayed on the second current interface, and the user operates the second sharing function entry to enable the second electronic device to respond to a closing operation of the second sharing function, and similarly, since the first electronic device side registers the sharing function registered by the second electronic device, here, the second electronic device needs to send a logout request to the first electronic device, the first electronic device logs out the second electronic device after receiving the logout request, the first electronic device sends a response message of the logout message to the second electronic device after the logout is completed, and the second electronic device displays a main display interface of the second electronic device on the second current interface after receiving the response message of the logout request, that is, the sharing function of the second electronic device may be a separate application program, when the application program is started, a second sharing function inlet is displayed on a second current interface, and when the closing operation of the second sharing function inlet is received, the second current interface returns to a main display interface of the second electronic equipment, so that the sharing function is quitted.
The following describes a method for sharing resource information in one or more embodiments described above by way of example.
In this embodiment, discovery among electronic devices is triggered mainly based on a "hit-and-hit" event, so as to trigger a cross-device album content search, merge search results, display the merged search results on all devices participating in sharing (including a main device and a sharing device described below), continuously allow new electronic devices to join, initiate a search on the corresponding electronic devices once new electronic devices join and share, continue merging search results, and update content display areas of current interfaces of sharing functions on the devices participating in sharing.
The following master device corresponds to the first electronic device, and the sharing device corresponds to the second electronic device; fig. 3 is a flowchart illustrating a first example of a selectable resource information sharing method according to an embodiment of the present application, where as shown in fig. 3, the resource information sharing method may include:
s301: the method comprises the steps that a main device sets keywords of shared content;
after a user of the main device inputs keywords for sharing content, the main device searches content meeting conditions of the local album according to the keywords to serve as a search result of the main device, and the search result of the main device is displayed in a content display area of a current interface of the main device.
S302: does the master determine if a crash event occurred? If so, executing S303; if not, continuing to execute S302;
if the event of "touch and collision" occurs, the device which has the event of "touch and collision" with the master device is determined as the sharing device, otherwise, the process continues to execute S302.
S303: the sharing equipment searches from the local album to obtain a search result of the sharing equipment;
the sharing device receives a content search request aiming at the keywords sent by the main device, and searches the content meeting the conditions from the local album as a search result of the sharing device.
S304: the cloud device acquires search results of all sharing devices;
the cloud device may be a server, and is configured to receive search results of all the sharing devices.
S305: the cloud device distributes the search results of all the sharing devices to the main device and the sharing devices, and the main device distributes the search results of the main device to each sharing device.
Through the embodiment, the photo album can be shared by the main equipment and the sharing equipment through the 'collision' event of the main equipment and the sharing equipment with respect to the same keyword, the photo album can be shared without uploading pictures, and the photo album sharing efficiency is improved.
Taking fig. 4 as an example, an internal architecture of all sharing devices is described below by way of example, and fig. 4 is a schematic architecture diagram of a sharing system of optional resource information provided in the embodiment of the present application, as shown in fig. 4, the master device and the sharing devices mainly include: the application layer, explore the service module, the service registration module, the module is monitored to the incident, the data access service module (mainly be to the data access service of the thumbnail), in addition, still be responsible for the scheduling task on the main equipment, including application agent module and equipment discovery module, take album sharing as an example, the specific function implementation step is as follows:
the method comprises the steps that a sharing function is started by main equipment, the main equipment triggers a search service module of the main equipment to locally search and complete content search of a sharing subject/keyword, and a search result of the main equipment is obtained; the task scheduling of the main equipment starts the event monitoring of 'collision with collision'; when equipment is newly added through 'touch-touch', the main equipment starts a corresponding sharing function on the sharing equipment through the application agent module, and triggers the task scheduling to start a search service module on the corresponding sharing equipment to return a search result matched with the sharing theme/keyword, namely the search result of the sharing equipment; and after receiving the search results of the sharing devices, the main device integrates the search results of all the sharing devices to obtain the search results of all the sharing devices, and for the newly added sharing device, the main device search results and the search results of all the sharing devices are distributed to all the added sharing devices.
The method comprises the steps that a sharing device receives a search result sent by a main device, a thumbnail of the search result is displayed in a content display area of a current interface of a sharing function of the sharing device, a local data access service module can directly access the search result, the local data access service module is used for accessing a data access service module of a device to which a selected thumbnail belongs, so that the selected thumbnail is accessed, for example, when a user selects the operation of 'saving to the local' or 'browsing details' of one thumbnail in a content list area, the sharing device responding to the operation of the user directly accesses the data access service module of the device corresponding to the thumbnail by using the local data access service module, searches an original picture or an original video, and saves/displays the original picture or plays a movie.
Based on the internal architecture of the sharing device shown in fig. 4, taking the sharing device including the sharing device 1 and the sharing device 2 as an example, fig. 5 is a flowchart of an example two of an optional sharing method provided in the embodiment of the present application, and as shown in fig. 5, the method may include:
firstly, after setting keywords for sharing content, the main device initiates local search to obtain a search result of the main device, and sends the keywords to the device responsible for service scheduling.
For convenience of description, the server is responsible for service scheduling, and after receiving a keyword, the server respectively sends a trigger signal (dispatch) to the sharing device 1 and the sharing device 2, and after receiving the trigger signal, the sharing device 1 and the sharing device 2 initiate local search according to the keyword and return an obtained search result to the server;
the server receives search results returned by the sharing device 1 and the sharing device 2, combines all the search results, and distributes the combined search results to the main device, the sharing device 1 and the sharing device 2; the master device sends the search result of the master device to the sharing device 1 and the 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 result and the search result of the main device, for example, the current Interface of the sharing function of the main device is a User Interface (UI) of a shared album, the sharing device 1 updates the content in the content display area on the current Interface of the sharing function of the sharing device 1 according to the received search result of the combined search result main device, and the sharing device 2 is similar to the sharing device 1, and is not described here again.
The above search results include source device information, and the application layer of each device can conveniently make source judgment based on the information, thereby realizing the business functions of judging whether the shared content can be stored locally, how to access the original data of the shared content, storing the original data, and the like.
In this example, the sharing of the album is always initiated by one master device, and other sharing devices enter sharing in a manner of approaching to the master device by "touching one another" (including but not limited to touching one another, backing on the back, and the like or a link sent by a short message), taking 1 sharing device as an example, the sharing of the album is introduced from the interface arrangement of the master device and the sharing device, and fig. 6 is an interface schematic diagram of an example one of the optional resource information sharing method provided in this embodiment, as shown in fig. 6:
1. after the main device starts the photo album sharing application, receiving a set sharing theme/keyword, and displaying photo album content meeting the theme/keyword in the main device in a content display area of a current interface of a sharing function of the main device;
2. after the sharing equipment and the main equipment touch one another, displaying contents which accord with the theme/key words in the albums on the two equipment on a content display area of a current interface of the sharing function of the main equipment; meanwhile, the sharing equipment starts an album sharing application as the main equipment and displays the content meeting the theme/keywords in the albums on the two pieces of equipment on the content display area of the current interface of the sharing function;
it should be noted that, after the second sharing device and the main device hit each other, similarly, the second sharing device also starts the album sharing application as the main device, and displays the content of all albums meeting the theme/keyword on the three devices (the main device and the two sharing devices) on the content display area of the current interface of the sharing function of the second sharing device, and at the same time, the content on the content display area of the current interface of the sharing function on the main device and the first sharing device is also updated, and the content meeting the condition in the album on the second sharing device appears.
In the sharing of an album, a master device is used as an initiator of the album sharing, interface configuration of the master device also changes in the album sharing, the interface configuration on the master device side in the album sharing is described below, fig. 7 is a schematic configuration diagram of an example of a current interface of an optional sharing function provided in the embodiment of the present application, and 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.
When a user selects a specific picture/video, the expanded operation menu judges whether to provide a local option according to the attribute of the source equipment; fig. 8 is a flowchart illustrating an example three of a selectable resource information sharing method provided in an embodiment of the present application, as shown in fig. 8, the method may include:
s801: the equipment participating in sharing expands an operation menu of a specific content item;
the sharing equipment comprises the main equipment and the sharing equipment.
S802: is the device participating in sharing determine whether the content in the received search result belongs to local content? If so, go to S803; if not, executing S804;
s803: the sharing equipment displays two options of 'browsing' and 'setting as wallpaper';
s804: the devices participating in the sharing display three options of "browse", "save to local", and "set to wallpaper".
In addition, when the search result is presented as a list, the interface interaction may determine the source device attribute of the specific content item, and identify whether the content is local content or content of an album on another device, fig. 9 is a flowchart of an example four of the optional resource information sharing method provided in the embodiment of the present application, and as shown in fig. 9, the method may include:
s901: the sharing equipment displays a content display area;
s902: is the device participating in sharing determine whether the content in the received search result is local content? If yes, executing S903, otherwise, executing S904;
s903: the device participating in sharing identifies the content list item as a local identification;
s904: the devices participating in the sharing identify the content listings as source device information.
Wherein, the content display area comprises at least one content list item.
And the main equipment initiates a search, and after the local search service module of each sharing equipment responds to the service scheduling module and completes the search, the local search service module completes data merging and sequencing through the service scheduling module and returns the data to each sharing equipment to complete the update of the shared content.
Fig. 10 is a schematic configuration diagram of an example two of a current interface of an optional sharing function provided in an embodiment of the present application, and as shown in fig. 10, an information list of devices participating in sharing is: the user can display and hide the display list items in the display area by clicking the display area, and the content display area: displaying content shared by all devices participating in sharing; a page control area: a controller for turning the page forward/backward in the contents list area, and an indicator for the total number of pages and the current number of pages.
Fig. 11 is an interface schematic diagram of a second example of a selectable resource information sharing method according to an embodiment of the present application, as shown in fig. 11, where fig. a in fig. 11 shows a user clicking a thumbnail of a displayed list item, and fig. b shows a selected thumbnail display menu, including: previewing, saving to local and setting as wallpaper; the picture information is displayed on the current interface of the sharing function after the picture executes the preview function, and the video information is displayed on the current interface of the sharing function after the video executes the preview function; for the content display area, the list items are displayed as thumbnails of specific content. The display list item can identify whether the picture/video is the local picture/video, so that the user is prevented from being confused, and the user can select a specific item to view the details or download and save the details to the local or directly set the details as local wallpaper.
Fig. 12 is a schematic arrangement diagram of an example three of a current interface of an optional sharing function provided in an embodiment of the present application, as shown in fig. 12:
1. the user clicks an information list of the equipment participating in sharing to display and hide the search result of the equipment;
2. the 'information list of devices participating in sharing' displays a list of the devices participating in sharing, and if too many display list items are displayed in a content display area, a user can view the list in a list scrolling mode;
3. when the user clicks one item, namely the content of the filtered content display area, only the content of the album shared by the equipment corresponding to the clicked item is displayed, namely the range displayed in the content display area in the main interface element description of the control chart 7 is controlled, and only the content shared by the selected equipment is displayed.
Similarly, the user may click on the selected item in the "information list of devices participating in sharing" again to cancel the filtering, and the range displayed in the "content display area" is the content shared by the target device.
The embodiment provides a cross-device album sharing mechanism, so that users get rid of the traditional mode that pictures/videos can be shared only after centralized storage based on files, a plurality of users can conveniently and quickly establish a shared album set, and everyone can browse the shared album data after using a local storage space to store other people.
An interaction flow of the above resource information sharing method is described below with respect to album sharing, where the sharing device includes a sharing device 1 and a sharing device 2 as an example, and fig. 13 is an interaction flow diagram of an example of an optional resource information sharing method provided in the embodiment of the present application, as shown in fig. 13:
s1301: the main equipment carries out local search in the local album according to the sharing keywords to obtain a search result of the main equipment;
the main device searches the local photo album through the local search service module to obtain a search result of the main device, and the search result is displayed in a display area on a current interface of a sharing function of the main device.
S1302: the main device receives the collision information of the sharing device 1 and the collision information of the sharing device 2 respectively;
s1303: the sharing device 1 and the sharing device 2 respectively receive a starting request for the sharing function from the main device, and start the sharing function;
here, after receiving the collision information, the master device checks whether the received collision information meets a preset condition, for example, whether distances between the master device and the sharing devices 1 and 2 are respectively less than or equal to a preset distance threshold, and if the distances are less than the preset distance threshold, the master device receives an opening request for the sharing function from the master device, if the distances are less than the preset distance threshold, the master device receives the opening request for the sharing function from the master device.
S1304: the sharing device 1 and the sharing device 2 respectively receive content search requests of sharing keywords from the main device, and perform local search in a local album according to the content search requests to obtain search results of the sharing device 1 and search results of the sharing device 2;
it should be noted that, before receiving the content search request, the sharing device 1 and the sharing device 2 need to register their own sharing function in the host device, and only if they are successfully registered in the host device, they can receive the content search request from the host device.
The sharing device 1 and the sharing device 2 also use their own local search service module to implement local search.
S1305: the main device receives the search results from the sharing device 1 and the search results from the sharing device 2, and integrates the search results from the sharing device 1 and the search results from the sharing device 2 to obtain the search results of the sharing device;
s1306: the main equipment displays the search result of the main equipment and the search result of the sharing equipment in a content display area of a current interface of a sharing function of the main equipment;
s1307: the sharing device 1 receives a search result of a main device from the main device and a search result of the sharing device, and displays the search results in a content display area of a current interface of a sharing function of the sharing device 1;
s1308: the sharing device 2 receives the search result of the master device from the master device and the search result of the sharing device, and displays the search results in the content display area of the current interface of the sharing function of the sharing device 2.
It should be noted that, in the above-mentioned main device, the sharing device 1 and the sharing device 2 may be displayed as thumbnails when displaying, and in addition, source information may be noted for each thumbnail.
Therefore, album sharing for sharing keywords between the main device, the sharing device 1 and the sharing device 2 can be realized through the above mode.
In the embodiment, a mechanism for limiting the sharing range of the album data based on the theme and the keywords can be used for rapidly solving the problem that unexpected leakage of personal private pictures/videos irrelevant to the sharing purpose is possibly caused when a plurality of users share the album with each other, and saving the time for screening the pictures/videos which are tedious and time-consuming when the users share the album in the traditional way; based on a specific search mechanism, the pictures/videos can be aggregated according to places and arranged according to shooting time sequence, so that the pictures/videos are convenient for users to find and browse.
Finally, whether the shared content is the content of the local album can be identified to the user, the user is prevented from repeatedly storing the local album content locally, and the user can see clear information to prompt whether the content is the local album content in the browsing process.
It should be noted that, for the "hit-hit" mode of networking, other intelligent discovery modes can be extended to complete automatic connection and networking between devices with the same sharing theme in a specific range, so as to complete discovery and content sharing of the devices. Such as: the user can set the sharing subject (such as the Emei scenery) and the sharing scope (such as within 200 meters near the main device), and once the sharing of the same subject is set by other users in the scope, all the sharing devices can mutually view the sharing content of the other users.
For the file transmission mode, a near field communication mode (such as Bluetooth, Wi-Fi P2P and the like) can be used, so that the concern that data may be stored by a cloud of a third party is relieved for a user, and the problem of data transmission in the scene without internet connection is solved.
For the sharing mode, a simpler and more convenient sensing technology with higher directivity like UWB can be introduced, and a more natural sharing mode of the designated people is realized: for example, two persons are away from each other by a certain distance, but the sharing person can only share the photo album to the person by pointing to the shared person through the sharing person mobile phone, and the sharing content cannot be viewed by nearby persons.
The embodiment of the application provides a resource information sharing method, which comprises the following steps: responding to the starting operation of the sharing function, displaying first resource information related to sharing setting information on a first current interface of the sharing function, sending a content searching request aiming at the sharing setting information to second electronic equipment according to monitoring information when receiving the monitoring information of the second electronic equipment, wherein the second electronic equipment is equipment with the sharing function, and updating and displaying second resource information obtained by the content searching request on the first current interface by combining the first resource information; that is to say, in this embodiment of the application, both the first electronic device and the second electronic device are electronic devices having a sharing function, and the first electronic device displays, in response to a start operation of the sharing function, first resource information related to the sharing setting information on a first current interface of the sharing function, and sends a content search request for the sharing setting information to the second electronic device by receiving monitoring information of the second electronic device, so that resource information related to the sharing setting information, that is, second resource information obtained by the content search request, can be obtained from the second electronic device, and finally, the second resource information is updated and displayed on the first current interface in combination with the first resource information The obtained second resource information is shared without being influenced by the uploading quantity of the resource information and the network quality during uploading, so that the sharing efficiency of the resource information is improved.
Example two
The following describes a method for sharing resource information by each device side assigned to the resource information sharing system.
First, a method of sharing resource information is described with the first electronic device side.
An embodiment of the present application provides a method for sharing resource information, where the method is applied to a first electronic device, fig. 14 is a schematic flowchart of a method for sharing optional resource information, where as shown in fig. 14, the method for sharing resource information may include:
s1401: responding to the starting operation of the sharing function, and displaying first resource information related to the sharing setting information on a first current interface of the sharing function;
s1402: when receiving monitoring information of the second electronic equipment, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information;
the second electronic device is a device with a sharing function;
s1403: and updating and displaying the second resource information obtained by the content search request on the first current interface by combining the first resource information.
In an alternative embodiment, the second resource information is displayed in the form of thumbnail content.
In an optional embodiment, the method may further include:
and when receiving the monitoring information of the second electronic equipment, sending a starting request of the sharing function to the second electronic equipment.
In an optional embodiment, the method further includes:
and sending the second resource information and the first resource information to second electronic equipment starting the sharing function.
In an alternative embodiment, S1403 may include:
responding to the fact that a first operation resource in a first current interface is selected, and displaying a first resource operation menu; the first operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the first resource operation menu, and executing the function of the submenu of the first resource operation menu. .
In an alternative embodiment, in response to the first operation resource in the first current interface being selected, displaying a first resource operation menu includes:
and when responding to that the first operation resource in the first current interface is selected and the selected first operation resource belongs to the first local content, displaying a first menu of a first resource operation menu.
In an alternative embodiment, in response to the first operation resource in the first current interface being selected, displaying a first resource operation menu includes:
and when responding to that the first operation resource in the first current interface is selected and the selected first operation resource does not belong to the first local content, displaying a second menu of the first resource operation menu.
In an alternative embodiment, the first menu of the first resource operating menu comprises at least one of: browse submenus and set as wallpaper submenus.
In an alternative embodiment, the second menu of the first resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
In an alternative embodiment, in response to selection of a submenu of the first resource operation menu, performing a function of the submenu of the first resource operation menu comprises:
in response to selection of a submenu of the first menu of the first resource operation menu, executing a function of the submenu of the first menu of the first resource operation menu through the first local data access service.
In an alternative embodiment, in response to selection of a submenu of the first resource operation menu, performing a function of the submenu of the first resource operation menu comprises:
and responding to the selection of the submenu of the second menu of the first resource operation menu, accessing the data access service of the second electronic equipment to which the selected first operation resource belongs through the first local data access service, and executing the function of the submenu of the second menu of the first resource operation menu.
In an alternative embodiment, S1403 may include:
and updating the second resource information obtained by the content search request in combination with the first resource information in the content display area displayed on the first current interface.
In an optional embodiment, updating, by combining the second resource information obtained by the content search request with the first resource information, the content display area displayed on the first current interface includes:
displaying the thumbnail content of the first resource information and the first local identification in a content display area on the first current interface;
and displaying the thumbnail content of the second resource information and the identification of the second electronic equipment to which the resource belongs.
In an alternative embodiment, S1401 may include:
responding to the starting operation of the sharing function, and displaying an initial interface corresponding to the sharing function on a first current interface;
receiving operation information of an initial interface corresponding to the sharing function to obtain sharing setting information, and displaying first resource information related to the sharing setting information on a first current interface of the sharing function.
In an optional embodiment, displaying, on a first current interface of the sharing function, first resource information related to the sharing setting information includes:
performing resource search related to the shared setting information through a first local search service to obtain first resource information;
and displaying the first resource information on the first current interface.
In an alternative embodiment, receiving the listening information of the second electronic device includes:
when collision information is received and the source of the collision information is a second electronic device with a sharing function, determining to receive monitoring information of the second electronic device; and monitoring the information as the collision information.
In an alternative embodiment, determining that the interception information of the second electronic device is received includes:
and determining that the monitoring information of the second electronic equipment is received through the local event monitoring service.
In an alternative embodiment, S1402 may include:
when monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally;
and when the sharing function registered by the second electronic equipment is registered, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information.
In an optional embodiment, when receiving monitoring information of a second electronic device, registering a sharing function registered by the second electronic device includes:
and when the monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally through local registration service.
In an optional embodiment, the method further includes:
receiving each resource information sent from the second electronic equipment; each resource information is a resource matched with the shared setting information;
and combining the resource information to obtain second resource information.
In an optional embodiment, issuing a content search request for sharing setting information to the second electronic device according to the listening information includes:
and sending a content search request aiming at the sharing setting information to the second electronic equipment through the server according to the monitoring information.
In an optional embodiment, the method further comprises:
receiving second resource information fed back by the server aiming at the content search request; the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
In an optional embodiment, the method further includes:
displaying a first sharing function inlet on a first current interface;
and responding to the closing operation of the first sharing function inlet, and displaying an initial interface of an application program to which the sharing function of the first electronic equipment belongs on the first current display interface.
In an optional embodiment, after the first shared function entry is displayed on the first current interface, the method further includes:
and responding to the closing operation of the first shared function entrance, and displaying a main display interface of the first electronic equipment on the first current interface.
In an optional embodiment, issuing a content search request for sharing setting information to the second electronic device according to the listening information includes:
and when 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 distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold, sending a content search request aiming at the sharing setting information to the second electronic device.
In an optional embodiment, issuing a content search request for sharing setting information to the second electronic device according to the monitoring information includes:
when the monitoring information indicates that an included angle between the first electronic device and the second electronic device meets a preset condition and the distance between the first electronic device and the second electronic device is smaller than or equal to a preset distance threshold, sending a content search request aiming at the shared setting information to the second electronic device;
the first electronic device and the second electronic device both have a UWB function, and the first electronic device determines an included angle between the first electronic device and the second electronic device by using the UWB function.
In an alternative embodiment, the first electronic device and the second electronic device transmit data through wireless communication.
In an alternative embodiment, the wireless communication means comprises at least one of:
Wi-Fi Point-to-Point Wi-Fi P2P, Wi-Fi direct, Bluetooth, and Near Field Communication (NFC).
Next, a description is given of a method of sharing the resource information by the second electronic device.
An embodiment of the present application provides a method for sharing resource information, where the method is applied to a second electronic device, fig. 15 is a schematic flowchart of another optional method for sharing resource information, where as shown in fig. 15, the method for sharing resource information may include:
s1501: when the sharing function is started and a content search request aiming at the sharing setting information sent from the first electronic equipment is received, searching to obtain third resource information according to the content search request aiming at the sharing setting information and feeding the third resource information back to the first electronic equipment;
s1502: displaying the received first resource information and the second resource information on a second current interface of the sharing function;
wherein the second resource information includes the third resource information.
In an alternative embodiment, the first resource information and the second resource information are displayed in the form of thumbnail contents.
In an optional embodiment, the method further includes:
and when receiving a sharing function starting request sent by the first electronic equipment, starting the sharing function.
In an optional embodiment, after S1502, the method may further include:
responding to the selection of a second operation resource in a second current interface, and displaying a second resource operation menu; the second operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the second resource operation menu, and executing the function of the submenu of the second resource operation.
In an alternative embodiment, in response to the second operation resource in the second current interface being selected, displaying a second resource operation menu includes:
and when responding to that a second operation resource in the second current interface is selected and the selected second operation resource belongs to the second local content, displaying a first menu of a second resource operation menu.
In an alternative embodiment, in response to the second operation resource in the second current interface being selected, displaying a second resource operation menu includes:
and when responding to that the second operation resource in the second current interface is selected and the selected second operation resource does not belong to the second local content, displaying a second menu of the second resource operation menu.
In an optional embodiment, the method further includes:
the first menu of the second resource operation menu includes at least one of: browse submenus and set as wallpaper submenus.
In an alternative embodiment, the second menu of the second resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
In an alternative embodiment, in response to selection of a submenu of the second resource operation menu, performing the function of the submenu of the second resource operation menu comprises:
executing, by the second local data access service, a function of the submenu of the first menu of the second resource operation menu in response to selection of the submenu of the first menu of the second resource operation menu.
In an alternative embodiment, in response to selection of the submenu of the second resource operation menu, executing the function of the submenu of the second resource operation menu comprises:
and responding to the selection of the submenu of the second menu of the second resource operation menu, accessing the data access service of the electronic equipment to which the selected operation resource belongs through the second local data access service, and executing the function of the submenu of the second menu of the second resource operation menu.
In an alternative embodiment, S1502 may include:
and displaying the first resource information and the second resource information in a content display area on a second current interface of the sharing function.
In an alternative embodiment, displaying the first resource information and the second resource information in a content display area on the second current interface includes:
displaying the thumbnail content of the third resource information and the second local identification in the content display area on the second current interface;
and displaying the abbreviated content of the first resource information, the abbreviated content of the resource information except the third resource information in the second resource information and the identification of the electronic equipment to which the resource belongs.
In an optional embodiment, the searching for the third resource information according to the content search request of the sharing setting information and feeding back the third resource information to the first electronic device includes:
and responding to the content search request, performing resource search related to the sharing setting information through a second local search service to obtain third resource information, and feeding back the third resource information to the first electronic equipment.
In an alternative embodiment, obtaining and feeding back the third resource information to the first electronic device includes:
and returning the third resource information to the server, and feeding back the third resource information to the first electronic equipment through the server.
In an optional embodiment, the method further includes:
receiving second resource information fed back by the server aiming at the content search request; the second resource information is obtained by integrating the resource information of the electronic equipment received by the server;
first resource information sent from a first electronic device is received.
In an optional embodiment, the method further includes:
displaying a second sharing function inlet on a second current interface;
responding to the closing operation of the second sharing function entrance, and sending a logout request to the first electronic equipment;
and when response information of the logout request sent from the first electronic equipment is received, displaying an initial interface of an application program to which the sharing function of the second electronic equipment belongs on a second current interface.
In an optional embodiment, after the second shared function entry is displayed on the second current interface, the method further includes:
responding to the closing operation of the second sharing function entrance, and sending a logout request to the first electronic equipment;
and when response information of the logout request sent from the first electronic equipment is received, displaying a main display interface of the second electronic equipment on a second current interface.
In an alternative embodiment, the first electronic device and the second electronic device transmit data through wireless communication.
In an optional embodiment, the wireless communication mode includes at least one of:
Wi-Fi Point-to-Point Wi-Fi P2P, Wi-Fi direct, Bluetooth, and Near Field Communication (NFC).
The method of sharing the above resource information is described on the first electronic device side.
An embodiment of the present application provides a method for sharing resource information, where the method is applied to a first electronic device, fig. 16 is a schematic flowchart of another optional method for sharing resource information provided in the embodiment of the present application, and as shown in fig. 16, the method for sharing resource information may include:
s1601: responding to the starting operation of the sharing function, and displaying first resource information related to the sharing setting information on a first current interface of the sharing function;
s1602: when monitoring information of second electronic equipment is received, updating and displaying the second resource information on the first current interface in combination with the first resource information;
the second resource information is content related to the sharing setting information in the second electronic equipment; the second electronic device is a device with a sharing function.
In addition, based on the same inventive concept as the previous embodiments, the embodiments of the present application provide a first electronic device, which is consistent with the first electronic device provided by one or more of the above embodiments.
Fig. 17 is a schematic structural diagram of an optional first electronic device according to an embodiment of the present application, and as shown in fig. 17, the first electronic device includes:
the first display module 171 is configured to, in response to a start operation on the sharing function, display first resource information related to the sharing setting information on a first current interface of the sharing function;
a sending module 172, configured to send a content search request for the sharing setting information to the second electronic device according to the monitoring information when receiving the monitoring information of the second electronic device;
the second electronic equipment is equipment with a sharing function;
the second display module 173 is configured to update and display the second resource information obtained by the content search request on the first current interface in combination with the first resource information.
In an alternative embodiment, the second resource information is displayed in the form of thumbnail content.
In an alternative embodiment, the first electronic device is further configured to:
and when receiving the monitoring information of the second electronic equipment, sending a starting request of the sharing function to the second electronic equipment.
In an alternative embodiment, the first electronic device is further configured to:
and sending the second resource information and the first resource information to second electronic equipment starting the sharing function.
In an alternative embodiment, the first electronic device is further configured to:
after second resource information obtained by the content search request is updated and displayed on the first current interface in combination with the first resource information, responding to the fact that a first operation resource in the first current interface is selected, and displaying a first resource operation menu; the first operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the first resource operation menu, and executing the function of the submenu of the first resource operation menu.
In an alternative embodiment, the displaying, by the first electronic device, the first resource operation menu in response to the first operation resource in the first current interface being selected includes:
and when responding to that the first operation resource in the first current interface is selected and the selected first operation resource belongs to the first local content, displaying a first menu of the first resource operation menu.
In an alternative embodiment, the displaying, by the first electronic device, the first resource operation menu in response to the first operation resource in the first current interface being selected includes:
and when responding to that the first operation resource in the first current interface is selected and the selected first operation resource does not belong to the first local content, displaying a second menu of the first resource operation menu.
In an alternative embodiment, the first menu of the first resource operating menu comprises at least one of: browse submenus and set as wallpaper submenus.
In an alternative embodiment, the second menu of the first resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
In an alternative embodiment, the first electronic device, in response to the sub-menu of the first resource operation menu being selected, performs a function of the sub-menu of the first resource operation menu, including:
in response to selection of a submenu of the first menu of the first resource operation menu, executing a function of the submenu of the first menu of the first resource operation menu through the first local data access service.
In an alternative embodiment, the first electronic device, in response to the sub-menu of the first resource operation menu being selected, performs a function of the sub-menu of the first resource operation menu, including:
and responding to the selection of the submenu of the second menu of the first resource operation menu, accessing the data access service of the second electronic equipment to which the selected first operation resource belongs through the first local data access service, and executing the function of the submenu of the second menu of the first resource operation menu.
In an alternative embodiment, the second display module 173 is specifically configured to:
and updating the second resource information obtained by the content search request in combination with the first resource information in the content display area displayed on the first current interface.
In an alternative embodiment, the updating, by the second display module 173, the second resource information obtained from the content search request and the first resource information in the content display area displayed on the first current interface includes:
displaying the thumbnail content of the first resource information and the first local identification in a content display area on the first current interface;
and displaying the thumbnail content of the second resource information and the identification of the second electronic equipment to which the resource belongs.
In an alternative embodiment, the first display module 171 is specifically configured to:
responding to the starting operation of the sharing function, and displaying an initial interface corresponding to the sharing function on a first current interface;
receiving operation information of an initial interface corresponding to the sharing function to obtain sharing setting information, and displaying first resource information related to the sharing setting information on a first current interface of the sharing function.
In an alternative embodiment, the displaying, by the first displaying module 171, the first resource information related to the sharing setting information on the first current interface of the sharing function includes:
performing resource search related to the shared setting information through a first local search service to obtain first resource information;
and displaying the first resource information on the first current interface.
In an optional embodiment, the receiving, by the first electronic device, the listening information of the second electronic device includes:
when collision information is received and the source of the collision information is a second electronic device with a sharing function, determining to receive monitoring information of the second electronic device; the monitoring information is collision information.
In an alternative embodiment, the determining, by the first electronic device, that the interception information of the second electronic device is received includes:
and determining that the monitoring information of the second electronic equipment is received through the local event monitoring service.
In an alternative embodiment, the sending module 172 is specifically configured to:
when monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally;
and when the sharing function registered by the second electronic equipment is registered, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information.
In an optional embodiment, when receiving the monitoring information of the second electronic device, the sending module 172 registers the sharing function registered in the second electronic device, including:
and when the monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally through local registration service.
In an alternative embodiment, the first electronic device is further configured to:
receiving each resource information sent from the second electronic equipment; each resource information is a resource matched with the shared setting information;
and combining the resource information to obtain second resource information.
In an optional embodiment, the sending module 172 sends the content search request for the sharing setting information to the second electronic device according to the monitoring information, where the content search request includes:
and sending a content search request aiming at the sharing setting information to the second electronic equipment through the server according to the monitoring information.
In an alternative embodiment, the first electronic device is further configured to:
receiving second resource information fed back by the server aiming at the content search request; the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
In an alternative embodiment, the first electronic device is further configured to:
displaying a first sharing function inlet on a first current interface;
and responding to the closing operation of the first sharing function inlet, and displaying an initial interface of an application program to which the sharing function of the first electronic equipment belongs on the first current display interface.
In an alternative embodiment, the first electronic device is further configured to:
and after the first shared function entrance is displayed on the first current interface, responding to the closing operation of the first shared function entrance, and displaying a main display interface of the first electronic equipment on the first current interface.
In an optional embodiment, the sending module 172 sends the content search request for the sharing setting information to the second electronic device according to the monitoring information, where the content search request includes:
and when 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 distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold, sending a content search request aiming at the sharing setting information to the second electronic device.
In an optional embodiment, the sending module 172 sends the content search request for the sharing setting information to the second electronic device according to the monitoring information, where the content search request includes:
when the monitoring information indicates that an included angle between the first electronic device and the second electronic device meets a preset condition and the distance between the first electronic device and the second electronic device is smaller than or equal to a preset distance threshold, sending a content search request aiming at the shared setting information to the second electronic device;
the first electronic device and the second electronic device both have a UWB function, and the first electronic device determines an included angle between the first electronic device and the second electronic device by using the UWB function.
In an alternative embodiment, the first electronic device and the second electronic device transmit data through wireless communication.
In an alternative embodiment, the wireless communication means comprises at least one of:
Wi-Fi Point-to-Point Wi-Fi P2P, Wi-Fi direct, Bluetooth, and Near Field Communication (NFC).
In practical applications, the first display module 171, the sending module 172, and the second display module 173 may be implemented by a processor located on the first electronic device, specifically, a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
The present application provides a second electronic device, which is the same as the second electronic device described in one or more of the above embodiments.
Fig. 18 is a schematic structural diagram of an optional second electronic device according to an embodiment of the present application, and as shown in fig. 18, the second electronic device includes:
the searching module 181 is configured to, when the sharing function is turned on and a content search request for the sharing setting information is received from the first electronic device, search for third resource information according to the content search request for the sharing setting information and feed the third resource information back to the first electronic device;
a third display module 182, configured to display the received first resource information and the second resource information on a second current interface of the sharing function;
wherein the second resource information includes third resource information.
In an alternative embodiment, the first resource information and the second resource information are displayed in the form of thumbnail contents.
In an alternative embodiment, the second electronic device is further configured to:
and when receiving a sharing function starting request sent by the first electronic equipment, starting the sharing function.
In an alternative embodiment, the second electronic device is further configured to:
after the received first resource information and the second resource information are displayed on a second current interface of the sharing function, responding to the fact that a second operation resource in the second current interface is selected, and displaying a second resource operation menu; the second operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the second resource operation menu, and executing the function of the submenu of the second resource operation.
In an alternative embodiment, the displaying, by the second electronic device, the second resource operation menu in response to the second operation resource in the second current interface being selected includes:
and when responding to that a second operation resource in the second current interface is selected and the selected second operation resource belongs to the second local content, displaying a first menu of a second resource operation menu.
In an alternative embodiment, the displaying, by the second electronic device, the second resource operation menu in response to the second operation resource in the second current interface being selected includes:
and when responding to that a second operation resource in the second current interface is selected and the selected second operation resource does not belong to the second local content, displaying a second menu of the second resource operation menu.
In an alternative embodiment, the first menu of the second resource operating menu comprises at least one of: browse submenus and set as wallpaper submenus.
In an alternative embodiment, the second menu of the second resource operating menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
In an alternative embodiment, the second electronic device, in response to selection of the submenu of the second resource operation menu, performs a function of the submenu of the second resource operation menu, including:
executing, by the second local data access service, a function of the submenu of the first menu of the second resource operation menu in response to selection of the submenu of the first menu of the second resource operation menu.
In an alternative embodiment, the second electronic device, in response to selection of the submenu of the second resource operation menu, performs a function of the submenu of the second resource operation menu, including:
and responding to the selection of the submenu of the second menu of the second resource operation menu, accessing the data access service of the electronic equipment to which the selected operation resource belongs through the second local data access service, and executing the function of the submenu of the second menu of the second resource operation menu.
In an alternative embodiment, the third display module 183 is specifically configured to:
and displaying the first resource information and the second resource information in a content display area on a second current interface of the sharing function.
In an alternative embodiment, 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:
displaying the thumbnail content of the third resource information and the second local identification in the content display area on the second current interface;
and displaying the thumbnail content of the first resource information, the thumbnail content of the resource information except for the third resource information in the second resource information and the identification of the electronic equipment to which the resource belongs.
In an alternative embodiment, the searching module 181 searches for and feeds back the third resource information to the first electronic device according to the content search request of the sharing setting information, and includes:
and responding to the content search request, performing resource search related to the sharing setting information through a second local search service, obtaining third resource information and feeding the third resource information back to the first electronic equipment.
In an alternative embodiment, the searching module 181 obtains and feeds back the third resource information to the first electronic device, and includes:
and returning the third resource information to the server, and feeding back the third resource information to the first electronic equipment through the server.
In an alternative embodiment, the second electronic device is further configured to:
receiving second resource information fed back by the server aiming at the content search request; the second resource information is obtained by integrating the resource information of the electronic equipment received by the server;
first resource information sent from a first electronic device is received.
In an alternative embodiment, the second electronic device is further configured to:
displaying a second sharing function inlet on a second current interface;
responding to the closing operation of the second sharing function entrance, and sending a logout request to the first electronic equipment;
and when response information of the logout request sent from the first electronic equipment is received, displaying an initial interface of an application program to which the sharing function of the second electronic equipment belongs on a second current interface.
In an alternative embodiment, the second electronic device is further configured to:
after a second sharing function inlet is displayed on a second current interface, a logout request is sent to the first electronic equipment in response to the closing operation of the second sharing function inlet;
and when response information of the logout request sent from the first electronic equipment is received, displaying a main display interface of the second electronic equipment on a second current interface.
In an alternative embodiment, the first electronic device and the second electronic device transmit data through wireless communication.
In an alternative embodiment, the wireless communication means comprises at least one of:
Wi-Fi Peer-to-Peer Wi-Fi P2P, Wi-Fi direct, Bluetooth, and near field communication NFC.
In practical applications, the search module 171 and the third display module 172 may be implemented by a processor located on the second electronic device, specifically, implemented by a CPU, an MPU, a DSP, or an FPGA.
Fig. 19 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application, and as shown in fig. 19, an embodiment of the present application provides an electronic device 1900 including:
a processor 191 and a storage medium 192 storing instructions executable by the processor 191, wherein the storage medium 192 depends on the processor 191 via a communication bus 193 to perform operations, and when the instructions are executed by the processor 191, the sharing method performed by the first electronic device or the second electronic device in one or more of the above embodiments is performed.
It should be noted that, in practical applications, the various components in the terminal are coupled together by a communication bus 193. It is understood that the communication bus 193 is used to enable connective communication between these components. The communication bus 193 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled in figure 19 as communication bus 193.
Embodiments of the present application provide a computer storage medium storing executable instructions, which when executed by one or more processors perform the sharing method performed by the first electronic device in one or more embodiments as described above, or perform the sharing method performed by the second electronic device in one or more embodiments as described above.
The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), among others.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (52)

1. A method for sharing resource information is applied to a first electronic device, and comprises the following steps:
responding to starting operation of a sharing function, and displaying first resource information related to sharing setting information on a first current interface of the sharing function;
when monitoring information of second electronic equipment is received, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information; the second electronic equipment is equipment with a sharing function;
and updating and displaying the second resource information obtained by the content search request on the first current interface by combining the first resource information.
2. The method of claim 1,
the second resource information is displayed in the form of thumbnail content.
3. The method of claim 1, further comprising:
and when monitoring information of second electronic equipment is received, sending a sharing function starting request to the second electronic equipment.
4. The method of claim 1, further comprising:
and sending the second resource information and the first resource information to the second electronic equipment starting the sharing function.
5. The method of claim 1, wherein after 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 method further comprises:
responding to the fact that a first operation resource in the first current interface is selected, and displaying a first resource operation menu; the first operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the first resource operation menu, and executing the function of the submenu of the first resource operation menu.
6. The method of claim 5, wherein displaying a first resource operation menu in response to the first operation resource in the first current interface being selected comprises:
and when responding to that a first operation resource in the first current interface is selected and the selected first operation resource belongs to first local content, displaying a first menu of the first resource operation menu.
7. The method of claim 5, wherein displaying a first resource operation menu in response to the first operation resource in the first current interface being selected comprises:
and when responding to that a first operation resource in the first current interface is selected and the selected first operation resource does not belong to first local content, displaying a second menu of the first resource operation menu.
8. The method of claim 6,
the first menu of the first resource operation menu comprises at least one of: browse submenus and set as wallpaper submenus.
9. The method of claim 7,
the second menu of the first resource operation menu comprises at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
10. The method according to claim 6 or 8, wherein 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 comprises:
executing, by a first local data access service, a function of a submenu of a first menu of the first resource operation menu in response to selection of the submenu of the first menu of the first resource operation menu.
11. The method according to claim 7 or 9, wherein 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 comprises:
and responding to the selection of the submenu of the second menu of the first resource operation menu, accessing the data access service of the second electronic equipment to which the selected first operation resource belongs through the first local data access service, and executing the function of the submenu of the second menu of the first resource operation menu.
12. The method according to claim 1, wherein the updating and displaying the second resource information obtained by the content search request on the first current interface in combination with the first resource information comprises:
and updating and displaying the second resource information obtained by the content search request in the content display area on the first current interface in combination with the first resource information.
13. The method of claim 12, wherein updating the second resource information obtained from the content search request in combination with the first resource information in the content display area displayed on the first current interface comprises:
displaying the thumbnail content and the first local identification of the first resource information in a content display area on the first current interface;
and displaying the abbreviated content of the second resource information and the identification of the second electronic equipment to which the resource belongs.
14. The method according to claim 1, wherein the displaying, in response to the operation of starting the sharing function, first resource information related to sharing setting information on a first current interface of the sharing function includes:
responding to starting operation of a sharing function, and displaying an initial interface corresponding to the sharing function on the first current interface;
receiving operation information of an initial interface corresponding to the sharing function to obtain the sharing setting information, and displaying the first resource information related to the sharing setting information on the first current interface of the sharing function.
15. The method according to claim 14, wherein the displaying, on the first current interface of the sharing function, first resource information related to sharing setting information includes:
performing resource search related to shared setting information through a first local search service to obtain first resource information;
and displaying the first resource information on the first current interface.
16. The method of claim 1, wherein the receiving the listening information of the second electronic device comprises:
when collision information is received and the source of the collision information is a second electronic device with a sharing function, determining to receive monitoring information of the second electronic device; the monitoring information is the collision information.
17. The method of claim 1 or 16, wherein the determining that the interception information of the second electronic device is received comprises:
and determining to receive the monitoring information of the second electronic equipment through a local event monitoring service.
18. The method according to claim 1, wherein the issuing a content search request for the sharing setting information to the second electronic device according to the interception information when receiving the interception information of the second electronic device comprises:
when monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally;
and when the registration of the sharing function registered by the second electronic equipment is finished, sending a content search request aiming at the sharing setting information to the second electronic equipment according to the monitoring information.
19. The method of claim 18, wherein registering the sharing function registered by the second electronic device when receiving the monitoring information of the second electronic device comprises:
and when the monitoring information of the second electronic equipment is received, registering the sharing function registered by the second electronic equipment locally through local registration service.
20. The method of claim 1, further comprising:
receiving resource information sent by the second electronic equipment; the resource information is a resource matched with the shared setting information;
and merging the resource information to obtain the second resource information.
21. The method according to claim 1, wherein the issuing a content search request for the sharing setting information to the second electronic device according to the listening information comprises:
and sending a content search request aiming at the sharing setting information to the second electronic equipment through a server according to the monitoring information.
22. The method of claim 21, further comprising:
receiving the second resource information fed back by the server for the content search request; the second resource information is obtained by integrating the resource information of the second electronic device received by the server.
23. The method of claim 1, further comprising:
displaying a first sharing function inlet on the first current interface;
and responding to the closing operation of the first sharing function inlet, and displaying an initial interface of an application program to which the sharing function of the first electronic equipment belongs on the first current display interface.
24. The method of claim 23, wherein after the first shared function entry is displayed on the first current interface, the method further comprises:
and responding to the closing operation of the first shared function entrance, and displaying a main display interface of the first electronic equipment on the first current interface.
25. The method according to claim 1, wherein the issuing a content search request for the sharing setting information to the second electronic device according to the listening information comprises:
and when 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 distance between the first electronic device and the second electronic device is less than or equal to a preset distance threshold, sending a content search request aiming at the sharing setting information to the second electronic device.
26. The method according to claim 1, wherein the issuing a content search request for the sharing setting information to the second electronic device according to the listening information includes:
when the monitoring information indicates that an included angle between the first electronic device and the second electronic device meets a preset condition and the distance between the first electronic device and the second electronic device is smaller than or equal to a preset distance threshold, sending a content search request aiming at the sharing setting information to the second electronic device;
the first electronic device and the second electronic device both have a UWB function, and the first electronic device determines an included angle between the first electronic device and the second electronic device by using the UWB function.
27. The method of claim 1, wherein the first electronic device and the second electronic device communicate data therebetween via wireless communication.
28. The method of claim 27, wherein the wireless communication comprises at least one of:
Wi-Fi Point-to-Point Wi-Fi P2P, Wi-Fi direct, Bluetooth, and Near Field Communication (NFC).
29. A method for sharing resource information is applied to a second electronic device, and comprises the following steps:
when the sharing function is started and a content search request aiming at sharing setting information sent by the first electronic equipment is received, searching to obtain third resource information according to the content search request aiming at the sharing setting information and feeding the third resource information back to the first electronic equipment;
displaying the received first resource information and the second resource information on a second current interface of the sharing function; wherein the second resource information includes the third resource information.
30. The method of claim 29,
the first resource information and the second resource information are displayed in the form of thumbnail contents.
31. The method of claim 29, further comprising:
and when receiving a sharing function starting request sent by the first electronic equipment, starting the sharing function.
32. The method of claim 29, wherein after displaying the received first resource information and second resource information on the second current interface of the sharing function, the method further comprises:
responding to the fact that a second operation resource in the second current interface is selected, and displaying a second resource operation menu; the second operation resource is any one of the first resource information and the second resource information;
and responding to the selection of the submenu of the second resource operation menu, and executing the function of the submenu of the second resource operation.
33. The method of claim 32, wherein in response to the second operation resource in the second current interface being selected, displaying a second resource operation menu comprises:
and when responding to that a second operation resource in the second current interface is selected and the selected second operation resource belongs to second local content, displaying a first menu of the second resource operation menu.
34. The method of claim 32, wherein displaying a second resource operation menu in response to the second operation resource in the second current interface being selected comprises:
and when responding to that a second operation resource in the second current interface is selected and the selected second operation resource does not belong to second local content, displaying a second menu of the second resource operation menu.
35. The method of claim 33,
the first menu of the second resource operation menu includes at least one of: browse submenus and set as wallpaper submenus.
36. The method of claim 34,
the second menu of the second resource operation menu includes at least one of: browsing the submenu, setting as wallpaper submenu and saving to the local submenu.
37. The method according to claim 33 or 35, wherein said 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 comprises:
executing, by a second local data access service, a function of a submenu of a first menu of the second resource operation menu in response to selection of the submenu of the first menu of the second resource operation menu.
38. The method according to claim 34 or 36, wherein said 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 comprises:
and responding to the selection of the submenu of the second menu of the second resource operation menu, accessing the data access service of the electronic equipment to which the selected operation resource belongs through the second local data access service, and executing the function of the submenu of the second menu of the second resource operation menu.
39. The method of claim 29, wherein displaying the received first resource information and second resource information on a second current interface of the sharing function comprises:
and displaying the first resource information and the second resource information in a content display area on a second current interface of the sharing function.
40. The method of claim 39, wherein the displaying the first resource information and the second resource information in a content display area on the second current interface comprises:
displaying the thumbnail content of the third resource information and a second local identifier in a content display area on the second current interface;
and displaying the abbreviated content of the first resource information, the abbreviated content of the resource information except the third resource information in the second resource information and the identification of the electronic equipment to which the resource belongs.
41. The method according to claim 29, wherein the searching for third resource information according to the content search request of the sharing setting information and feeding back the third resource information to the first electronic device comprises:
and responding to the content search request, performing resource search related to the sharing setting information through a second local search service, obtaining the third resource information and feeding back the third resource information to the first electronic equipment.
42. The method of claim 29, wherein obtaining and feeding back third resource information to the first electronic device comprises:
and returning the third resource information to a server, and feeding back the third resource information to the first electronic equipment through the server.
43. The method of claim 42, further comprising:
receiving the second resource information fed back by the server for the content search request; the second resource information is obtained by integrating the resource information of the electronic equipment received by the server;
and receiving the first resource information sent by the first electronic equipment.
44. The method of claim 29, further comprising:
displaying a second shared function entry on the second current interface;
responding to the closing operation of the second shared function entrance, and sending a logout request to the first electronic equipment;
and when response information of a logout request sent by the first electronic equipment is received, displaying an initial interface of an application program to which a sharing function of the second electronic equipment belongs on the second current interface.
45. The method of claim 44, wherein after the second shared function entry is displayed on the second current interface, the method further comprises:
responding to the closing operation of the second shared function entrance, and sending a logout request to the first electronic equipment;
and when response information of a logout request sent by the first electronic equipment is received, displaying a main display interface of the second electronic equipment on the second current interface.
46. The method of claim 29, wherein the data is transmitted between the first electronic device and the second electronic device via wireless communication.
47. The method of claim 46, wherein the wireless communication means comprises at least one of:
Wi-Fi Point-to-Point Wi-Fi P2P, Wi-Fi direct, Bluetooth, and Near Field Communication (NFC).
48. A method for sharing resource information is applied to a first electronic device, and comprises the following steps:
responding to starting operation of a sharing function, and displaying first resource information related to sharing setting information on a first current interface of the sharing function;
when monitoring information of second electronic equipment is received, updating and displaying second resource information on the first current interface in combination with the first resource information; the second resource information is content related to the sharing setting information in the second electronic equipment; the second electronic device is a device with a sharing function.
49. A first electronic device, comprising:
the first display module is used for responding to starting operation of a sharing function and displaying first resource information related to sharing setting information on a first current interface of the sharing function;
the sending module is used for sending a content searching request aiming at the sharing setting information to the second electronic equipment according to the monitoring information when receiving the monitoring information of the second electronic equipment; the second electronic equipment is equipment with a sharing function;
and the second display module is used for updating and displaying second resource information obtained by the content search request on the first current interface in combination with the first resource information.
50. A second electronic device, comprising:
the searching module is used for searching to obtain third resource information and feeding the third resource information back to the first electronic equipment according to a content searching request of the sharing setting information when the content searching request aiming at the sharing setting information sent by the first electronic equipment is received when the sharing function is started;
the third display module is used for displaying the received first resource information and the second resource information on a second current interface of the sharing function; wherein the second resource information includes the third resource information.
51. An electronic device, comprising:
a processor and a storage medium storing instructions executable by the processor to perform operations dependent on the processor via a communication bus, the instructions when executed by the processor performing a method of sharing resource information according to any one of claims 1 to 28, or a method of sharing resource information according to any one of claims 29 to 47, or a method of sharing resource information according to claim 48.
52. A computer storage medium having stored thereon executable instructions which, when executed by one or more processors, perform a method of sharing resource information according to any one of claims 1 to 28, or a method of sharing resource information according to any one of claims 29 to 47, or a method of sharing resource information according to claim 48.
CN202210034657.4A 2022-01-13 2022-01-13 Resource information sharing method, electronic equipment and computer storage medium Pending CN114547100A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210034657.4A CN114547100A (en) 2022-01-13 2022-01-13 Resource information sharing method, electronic equipment and computer storage medium
PCT/CN2022/139493 WO2023134389A1 (en) 2022-01-13 2022-12-16 Resource information sharing method, electronic device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210034657.4A CN114547100A (en) 2022-01-13 2022-01-13 Resource information sharing method, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114547100A true CN114547100A (en) 2022-05-27

Family

ID=81671253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210034657.4A Pending CN114547100A (en) 2022-01-13 2022-01-13 Resource information sharing method, electronic equipment and computer storage medium

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023134389A1 (en) * 2022-01-13 2023-07-20 Oppo广东移动通信有限公司 Resource information sharing method, electronic device, and computer storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6022215B2 (en) * 2012-05-31 2016-11-09 任天堂株式会社 Posting information sharing system, information processing system, information processing method, program, and computer platform
US20160110555A1 (en) * 2014-10-21 2016-04-21 Institute For Information Industry Resource sharing apparatus, method, and non-transitory computer readable storage medium thereof
CN108616663A (en) * 2018-05-16 2018-10-02 Oppo广东移动通信有限公司 Sharing files method, apparatus, mobile terminal and storage medium
CN109697008B (en) * 2018-12-26 2021-08-03 努比亚技术有限公司 Content sharing method, terminal and computer readable storage medium
CN113449136A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Data sharing method, electronic equipment and system
CN112423226B (en) * 2020-11-24 2023-09-29 三星电子(中国)研发中心 File sharing method and device and intelligent equipment
CN114547100A (en) * 2022-01-13 2022-05-27 Oppo广东移动通信有限公司 Resource information sharing method, electronic equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023134389A1 (en) * 2022-01-13 2023-07-20 Oppo广东移动通信有限公司 Resource information sharing method, electronic device, and computer storage medium

Also Published As

Publication number Publication date
WO2023134389A1 (en) 2023-07-20

Similar Documents

Publication Publication Date Title
JP6772379B2 (en) Task management based on instant communication messages
US8996651B2 (en) System and method for delivering media assets in a cloud environment
US20190250798A1 (en) Communications devices and methods for single-mode and automatic media capture
US9367832B2 (en) Synchronizing image data among applications and devices
JP6101861B2 (en) Group creation method, group withdrawal method, apparatus, program, and recording medium
CN110263197B (en) Image searching method, device, computer equipment and storage medium
EP2993877B1 (en) Terminal and processing method for head portrait of contact person
WO2022205772A1 (en) Method and apparatus for displaying page element of live-streaming room
US11496428B2 (en) Method and system for sharing content on instant messaging application
WO2014178364A1 (en) System, program, and method for message transceiving assistance
CN111865760B (en) Message display method and device
CN106406995A (en) Application page task switching method and device and mobile terminal
CN112286887A (en) File sharing method and device and electronic equipment
EP3373529B1 (en) Method, device and system for sending a message
WO2013135132A1 (en) Search method, client, server and search system for mobile augmented reality
WO2017107396A1 (en) Multimedia synchronization method and system, aerial vehicle, and storage medium
WO2023134389A1 (en) Resource information sharing method, electronic device, and computer storage medium
KR20130062799A (en) Method for managing keyword information server
CN113542101A (en) Help seeking information sending and responding method, device and storage medium
US20140013193A1 (en) Methods and systems for capturing information-enhanced images
CN112187624B (en) Message reply method and device and electronic equipment
KR20230074459A (en) Method and system for sharing content on instant messaging application during calls
KR20090041247A (en) Apparatus and method for managing event in virtual worlds
CN115225649A (en) Data synchronization method and device and electronic equipment
WO2023040519A1 (en) Multimedia interaction method, system and apparatus, and device, medium and computer program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination