CN116561459A - Content management method, electronic equipment and system - Google Patents

Content management method, electronic equipment and system Download PDF

Info

Publication number
CN116561459A
CN116561459A CN202210400216.1A CN202210400216A CN116561459A CN 116561459 A CN116561459 A CN 116561459A CN 202210400216 A CN202210400216 A CN 202210400216A CN 116561459 A CN116561459 A CN 116561459A
Authority
CN
China
Prior art keywords
service
information
metadata
media content
electronic device
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
CN202210400216.1A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2023/073165 priority Critical patent/WO2023143377A1/en
Publication of CN116561459A publication Critical patent/CN116561459A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/23Updating
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a content management method, electronic equipment and a system, wherein the method is applied to first electronic equipment, and the first electronic equipment comprises first service and first application. In the method, a first service obtains first information and second information, and stores the first information and the second information, wherein the first information is used for identifying first media content stored in a first electronic device, the second information is used for identifying second media content stored in a second electronic device, and then the first service can obtain and store identification information of the media content stored in the multi-terminal electronic device. The first application is capable of obtaining the first information and/or the second information from the first service and displaying the first information and/or the second information. The first electronic device can simply, conveniently and quickly access the multi-terminal stored media content based on the first service and the identification information of the multi-terminal media content. Thus, the method can improve the efficiency of applications in the electronic device accessing multi-terminal stored media content.

Description

Content management method, electronic equipment and system
Cross Reference to Related Applications
The present application claims priority from the chinese patent office, application number 202210100318.1, application name "a method for fusion management and presentation of home storage media content" filed on 27, 2022, 01, the entire contents of which are incorporated herein by reference.
Technical Field
The present disclosure relates to the field of computers, and in particular, to a content management method, an electronic device, and a system.
Background
Currently, the electronic device may store or back up its own data content into other external storage devices, so as to meet the requirement of safely and reliably storing a large amount of data content, and save the storage space of the electronic device itself, where the external storage devices may be, for example, a cloud server, a Home Data Center (HDC) device, etc. Among them, various applications in the electronic device can directly perform processing such as access to the content stored locally in the electronic device. For the content stored in the external storage device by the electronic device, the electronic device must perform processing such as access through a specific application matched with the external storage device. If other applications need to access the content in the external storage device, the specific application matched with the external storage device needs to download the content to the local of the electronic device, and then the other applications access the content downloaded to the local.
Therefore, the current electronic device needs to adopt different modes to respectively realize the effect of accessing the content in the external storage device and the local content of the electronic device, the access flow is complex, and the problem of low access efficiency exists.
Disclosure of Invention
The application provides a content management method for improving efficiency of an electronic device in accessing multi-terminal stored media content.
In a first aspect, an embodiment of the present application provides a content management method, which is applied to a first electronic device, where the first electronic device includes a first service and a first application, and the method includes: the first service acquires first information and second information and stores the first information and the second information; wherein the first information is used for identifying first media content stored in the first electronic device and the second information is used for identifying second media content stored in a second electronic device; the first application obtains the first information and/or the second information from the first service; the first application displays the first information and/or the second information.
In the method, the first electronic device can acquire the identification information of the media content stored locally by the first electronic device through the same service (namely, the first service), and also can acquire the identification information of the media content stored in the second electronic device, and based on the identification information of the media content, the first service can perform unified access and management on the media content stored by the first electronic device and other electronic devices. Based on the metadata, the application installed in the first electronic device can directly acquire the metadata of the media content stored in the first electronic device and other electronic devices from the first service, and access the media content stored in the first electronic device and other devices based on the acquired metadata, so that the access to the multi-terminal stored media content is simply, conveniently and quickly realized. Therefore, the scheme can improve the efficiency of the application in the electronic equipment for accessing the multi-terminal stored media content.
In one possible design, the first electronic device further includes a second application therein; after the first service obtains the first information and the second information and stores the first information and the second information, the method further includes: the second application obtains the first information and/or the second information from the first service; the second application displays the first information and/or the second information.
In the method, different applications installed in the first electronic equipment can access media contents stored in the first electronic equipment and other equipment through the first service, so that the access to the multi-terminal stored media contents is realized simply, conveniently and quickly. Therefore, the scheme can improve the efficiency of the application in the electronic equipment for accessing the multi-terminal stored media content.
In one possible design, the first application obtaining the first information and/or the second information from the first service includes: the first application obtains the first information and/or the second information from the first service through a first interface provided by the first service.
In the method, the first service can provide an access interface for the application in the first electronic equipment, so that the connection between the first service and the application in the first electronic equipment is realized, and the application in the first electronic equipment can conveniently access the content stored in the first service through the interface.
In one possible design, the first metadata corresponding to the first media content includes the first information, and the second metadata corresponding to the second media content includes the second information; the first service obtaining first information and second information and storing the first information and the second information, including: the first service acquires the first metadata and stores the first metadata, and the first service acquires the second metadata and stores the second metadata.
In the method, metadata can be used for indicating the media content, the first service can ensure to store more detailed information related to the media content by acquiring and storing the metadata, so that subsequent access to the media content and the like are facilitated, and meanwhile, identification information, namely first information and second information, of the media content can be determined according to the metadata. Therefore, the identification information of the media content is presented to the user in the application, and the user can more conveniently view the identification information.
In one possible design, the first service obtaining the second metadata and storing the second metadata includes: the first service executes a downlink synchronization process; the downlink synchronization process includes: the first service instructs the second electronic device to send downlink synchronization information to the first service; the first service receives the downlink synchronous information sent by the second electronic equipment; the downlink synchronization information includes the second metadata and first indication information, where the first indication information is used to indicate: the second metadata is metadata corresponding to the media content added in the second electronic equipment; the first service determines to store the second metadata according to the first indication information; the first service stores the second metadata.
In the method, the second media content is stored in the second electronic device, the first service in the first electronic device can acquire metadata of the second media content from the second electronic device and store the metadata, and the required storage space of the metadata is far lower than that of the media content, so that the storage space of the first electronic device side can be saved, the first electronic device side can determine information of the second media content stored in the second electronic device, the application can conveniently perform query access and the like, the first service can determine information of the newly added media content in the second electronic device based on the downlink synchronization process, and corresponding update is performed, so that the effect that the metadata of the first electronic device side synchronously changes with the media content of the second electronic device side is realized, and the metadata of the first electronic device side can relatively accurately indicate the media content stored on the second electronic device side.
In one possible design, before the first service obtains the second metadata and stores the second metadata, the method further includes: the first service obtains third metadata and stores the third metadata; the third metadata is metadata corresponding to third media content stored in the second electronic device; the first service obtaining the second metadata and storing the second metadata, including: the first service executes a downlink synchronization process; the downlink synchronization process includes: the first service instructs the second electronic device to send downlink synchronization information to the first service; the first service receives the downlink synchronization information from the second electronic device, wherein the downlink synchronization information comprises the second metadata and second indication information; the second indication information is used for indicating: the second metadata is metadata obtained after the third metadata is modified; the second media content is the third media content or the modified third media content; the first service determines to update the stored third metadata by using the second metadata according to the second indication information; the first service updates the third metadata to the second metadata.
In the method, when the media content and the metadata are modified in the second electronic device, the first electronic device performs a downlink synchronization process through the first service, so that the metadata can be correspondingly updated, the effect that the metadata of the first electronic device side synchronously changes along with the media content of the second electronic device side is further achieved, the metadata stored in the first electronic device and the media content stored in the second electronic device correspond to each other, and therefore the metadata of the first electronic device side can indicate the media content stored in the second electronic device side relatively accurately.
In one possible design, after the first service obtains the second metadata and stores the second metadata, the method further includes: the first service executes a downlink synchronization process; the downlink synchronization process includes: the first service instructs the second electronic device to send downlink synchronization information to the first service; the first service receives the downlink synchronization information from the second electronic device, wherein the downlink synchronization information includes third indication information, and the third indication information is used for indicating: the second metadata are metadata corresponding to the media content deleted in the second electronic device; the first service determines to delete the second metadata according to the third indication information; the first service deletes the stored second metadata.
In the method, when the media content in the second electronic device is deleted, the first service in the first electronic device can acquire the information of the media content deleted in the second electronic device by downlink synchronization, so that the corresponding metadata in the first electronic device is deleted, the effect that the metadata at the first electronic device side synchronously changes with the media content at the second electronic device side is realized, and the metadata at the first electronic device side can relatively accurately indicate the media content stored at the second electronic device side.
In one possible design, the first service performs a downlink synchronization procedure, including: the first service executes the downlink synchronization process when determining the starting time of the first period; or, the first service performs the downlink synchronization process when determining that fourth media content is stored to the first electronic device; or, the first service performs the downlink synchronization process when determining that the fifth media content stored in the first electronic device is modified; alternatively, the first service performs the downlink synchronization process upon determining that the sixth media content stored in the first electronic device is deleted.
In the method, the first service can execute downlink synchronization when the content stored in the first electronic device changes, and can timely synchronize the change of the media content in the second electronic device to the first electronic device, so that the consistency of the media content reflected by the metadata in the first electronic device and the media content actually stored in the second electronic device is improved.
In one possible design, after the first application displays the first information and the second information, or after the first application displays the second information, the method further includes: the first application sends fourth indication information to the first service when determining to delete the second metadata; the fourth indication information is used for indicating deletion of the second metadata; the first service deletes the second metadata in response to the received fourth indication information.
In the method, after the identification information of the media content in the second electronic device is displayed by the application in the first electronic device, the metadata corresponding to the media content of the second electronic device stored by the first service can be deleted, so that the method can support the access and management of the application to the metadata of the remote media content stored in the first electronic device, and the method is realized without the help of other applications, so that the application can access and manage the metadata according to the indication of the user more conveniently, and the user experience is improved.
In one possible design, after the first application obtains the first information and the second information from the first service, or after the first application obtains the second information from the first service, the method further includes: the first application instructs the first service to acquire the second media content identified by the second information; the first service obtains the second media content from the second electronic device and stores the second media content.
In the method, the first application may instruct the first service to acquire the media content stored in the second electronic device and store the acquired media content, and then the first application may control the downloading and storage of the remote media content as needed, without implementation by other applications.
In one possible design, after the first service obtains the second media content from the second electronic device and stores the second media content, the method further comprises: the first application obtaining the second media content from the first service; the first application modifying the second media content to a seventh media content and directing the first service to update the second media content to the seventh media content and the second metadata to a fourth metadata; the fourth metadata is metadata corresponding to the seventh content; the first service updates the second media content to the seventh media content and updates the second metadata to the fourth metadata.
In the method, the application in the first electronic equipment can acquire the media content stored in the second electronic equipment through the first service and can modify the media content, so that the method can support the access and management of the application to the metadata of the remote media content stored in the first electronic equipment, and the method is realized without other applications, so that the application can access and manage the metadata according to the instruction of the user more conveniently, and the use experience of the user is further improved.
In one possible design, after the first service updates the second media content to the seventh media content and updates the second metadata to the fourth metadata, the method further comprises: the first service executes an uplink synchronization process; the uplink synchronization process includes: the first service sends the seventh media content, the fourth metadata and fifth indication information to the second electronic device; wherein the fifth indication information is used for indicating: updating the stored second media content to the seventh media content, and updating the stored second metadata to the fourth metadata.
In the method, after the first application modifies the second media content, the first service can enable the second electronic device to correspondingly modify the second media content by executing the uplink synchronization process, so that the effect of managing the media content of the second electronic device by the application of the first electronic device side is realized. The application can be controlled by the user, so that the first service and the first application can support the control of modifying the media content in the second electronic equipment by the user at the first electronic equipment side, and the function is realized without the help of a specific application, so that the method has higher universality and practicability and can improve the use experience of the user.
In one possible design, after the first service obtains the second media content from the second electronic device and stores the second media content, the method further comprises: the first application sends sixth indication information to the first service when determining to delete the second media content and the second metadata; the sixth indication information is used for indicating to delete the second media content and the second metadata; the first service deletes the stored second media content and the second metadata in response to the received sixth indication information.
In the method, the application in the first electronic equipment can delete and manage the media content from the second electronic equipment through the first service without depending on the specific application matched with the second electronic equipment, so that the method can be suitable for more application scenes, can meet the user requirements more easily, and improves the user experience.
In one possible design, the method further comprises: the first service executes an uplink synchronization process; the uplink synchronization process includes: the first service sends seventh indication information to the second electronic equipment; wherein the seventh indication information is used for indicating: and deleting the stored second media content and the second metadata.
In the method, after deleting the second media content, the first service can enable the second electronic equipment to perform the same operation by executing the uplink synchronization process, so that the effect of managing the media content of the second electronic equipment by the application of the first electronic equipment side is achieved. The application can be controlled by the user, so that the first service and the first application can support the user to delete and control the media content in the second electronic equipment at the first electronic equipment side, and the function is realized without the help of a specific application, so that the method has higher universality and practicability and can improve the use experience of the user.
In one possible design, the first service performs an uplink synchronization procedure, including: the first service executes the uplink synchronization process when determining the starting time reaching the second period; or, the first service performs the uplink synchronization process when determining that the second media content stored in the first electronic device is modified; or, the first service performs the uplink synchronization process when determining that the second metadata stored in the first electronic device is deleted.
In the method, the first service can execute uplink synchronization when the content stored in the first electronic device changes, and can timely synchronize the change of the media content in the first electronic device to the second electronic device, so that the consistency of the media content reflected by the metadata in the first electronic device and the media content actually stored in the second electronic device is improved.
In one possible design, the first electronic device is in a state of logging into a first user account; before the first service performs the uplink synchronization procedure, the method further includes: the first service sends a synchronous lock acquisition request to the second electronic device, wherein the synchronous lock acquisition request is used for requesting to acquire a synchronous lock, and the synchronous lock is used for indicating: allowing the first electronic equipment to execute an uplink synchronization process, and prohibiting target electronic equipment from executing the uplink synchronization process, wherein the target electronic equipment is electronic equipment which logs in the first user account except the first electronic equipment; the first service receives synchronous lock indication information from the second electronic equipment, wherein the synchronous lock indication information is used for indicating the synchronous lock; after the first service performs the uplink synchronization procedure, the method further includes: the first service sends a synchronization lock release request to the second electronic device, where the synchronization lock release request is used to request release of the synchronization lock.
In the method, the first service can ensure that only one device of the first electronic device performs the uplink synchronization process with the second electronic device at the same time by applying the synchronization lock to the second electronic device, so that the influence of the modification of the media content in the second electronic device on the uplink synchronization of the first electronic device by other electronic devices can be avoided in the uplink synchronization process of the first electronic device, and the smooth and smooth execution of the uplink synchronization of the first electronic device is ensured.
In one possible design, after the first application obtains the first information and the second information from the first service, or after the first application obtains the second information from the first service, the method further includes: the first application determines to acquire the second media content; the first application sends a content acquisition request to the first service, wherein the content acquisition request is used for requesting to acquire the second media content; the first application receiving the second media content from the first service; the first application displays the second media content.
In the method, when the application needs to use the media content source file, the application can instruct the first service to acquire the media content source file and acquire the media source file from the first service, so as to realize the instant access of the application to the remote media content.
In one possible design, after the first application sends a content acquisition request to the first service, before the first application receives the second media content from the first service, the method further comprises: the first service requests the second electronic equipment to acquire the second media content in response to the received content acquisition request; the first service receives the second media content from the second electronic device and sends the second media content to the first application.
In the method, the first electronic device stores metadata of media content in the second electronic device instead of the media content source file, so that when an application requests to acquire the media content source file, the first service can download the media content source file from the second electronic device as required and provide the media content source file to the application, and instant access of the application to remote media content is realized through a temporary acquisition mode.
In one possible design, the first application determining to obtain the second media content includes: the first application determines to acquire the second media content in response to the operation for selecting the second information.
Based on the method, the user can select whether to acquire the media content, and the application determines whether to acquire the target content according to the instruction of the user.
In one possible design, after the first application obtains the first information and the second information from the first service, the method further includes: the first application obtaining third information from the first service, the third information identifying eighth media content stored at the second electronic device; the first application displays the first information, the second information and the third information, wherein the ordering of the second information is adjacent to the third information; the first application instructs the first service to acquire the second media content and the eighth media content in response to the operation for selecting the second information.
In the method, the second information may be information to be acquired corresponding to the media content selected by the user, and the third information is adjacent to the second information, so that the user may select to browse eighth media content corresponding to the third information when browsing the second media content corresponding to the second information, and the application may determine to acquire the eighth media content while determining to acquire the second media content, and when the user selects to browse the eighth media content, the application may directly display the eighth media content acquired in advance. Thus, in the method, the application can determine whether to acquire the media content stored at the second electronic device based on the predetermined manner.
In one possible design, after the first application displays the first information and the second information, the method further includes: the first application responds to the received first operation, displays the second information and does not display the first information; wherein the first operation is to instruct viewing of only information of media content stored in the second electronic device.
In the method, the first application can fuse and display the identification information of the local content of the first electronic equipment and the identification information of the media content in the second electronic equipment, so as to realize the effect of fusion and presentation of the multi-terminal media content. On the basis, the first application can also independently display the media content of the second electronic equipment side, so that the effect of independently presenting the single-ended media content is realized. In summary, the first application can flexibly switch the presentation mode of the identification information of the multi-terminal media content according to the user requirement, so that the practicability is higher, and the user experience can be improved.
In one possible design, the first media content and the second media content are images or videos, and the first information and the second information are thumbnails.
In one possible design, the first service is located at an application framework layer in an operating system of the first electronic device.
In the method, the first service is located in an application program framework layer of the operating system, and can directly manage media content stored locally by the first electronic device, can manage the media content stored by the second electronic device through interaction with the second electronic device, and can interact with an application installed in the first electronic device. Therefore, based on the first service, the multi-terminal media content can be subjected to fusion management, the multi-terminal media content can be subjected to fusion access by various applications, and the media content access efficiency is improved.
In one possible design, the second electronic device is a home storage device.
In the method, the second electronic device is the home storage device, so that the first electronic device can provide fusion access to the media content in the first electronic device and the home storage device based on the first service, and the efficiency of accessing the media content on the first electronic device side and the home storage device side by the application is improved.
In one possible design, the first application displays first information and second information, including: the first application displays the first information and the second information in a first interface.
In the method, the first application can display the identification information of the media content in the first electronic device and the second electronic device in the same interface, so that the effect of fusion presentation of the metadata of the multi-terminal media content can be realized, the media content stored in the multi-terminal device can be browsed by a user in the same way, and the use experience of the user is improved.
In one possible design, the first interface includes a first window, where the first window includes the first information and the second information; or the first interface comprises a second window and a third window, the second window comprises the first information, and the third window comprises the second information.
In the method, the first application can display the identification information of the multi-terminal media content in the same window, and the method is convenient for the user to fuse and browse the multi-terminal media content. The first application can also respectively display the identification information of the media contents of different ends in different windows, and the mode is convenient for the user to browse the media contents of multiple ends in a classified way and confirm the source of the media data.
In one possible design, the first information and the second information are located in different areas in the first window; or in the first window, the first information and the second information are distributed according to a set ordering, wherein the set ordering is that: ordering of time/place/category corresponding to the first media content and the second media content.
In the method, the identification information of the media contents at different ends can be displayed in different areas of the same window, so that the user can conveniently browse the media contents at different ends in a classified manner, and the source of the media data is confirmed. And after the media contents of different ends are sequenced, the media contents are displayed in the same window, so that the user can conveniently fuse and browse the multi-end media contents.
In one possible design, the time/place/category corresponding to the first media content and the second media content satisfies a set condition.
Based on the method, the application can independently present the identification information of the media content in the specific category, so that the user can view the media content in the specific category in a targeted manner.
In a second aspect, embodiments of the present application provide an electronic device including a display screen, a memory, and one or more processors; wherein the memory is for storing computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by the one or more processors, cause the electronic device to perform the method described in the first aspect or any of the possible designs of the first aspect.
In a third aspect, an embodiment of the present application provides a content management system, including: a first electronic device and a second electronic device, wherein the first electronic device comprises a first service and a first application; the first electronic device is configured to: acquiring first information and second information through the first service, and storing the first information and the second information; wherein the first information is used for identifying first media content stored in the first electronic device and the second information is used for identifying second media content stored in the second electronic device; obtaining, by the first application, the first information and/or the second information from the first service; and displaying the first information and/or the second information through the first application.
In one possible design, the second electronic device is a home storage device.
In one possible design, the first electronic device is further configured to: determining, by the first application, to obtain the second media content; sending, by the first application, a content acquisition request to the first service, the content acquisition request being for requesting acquisition of the second media content; requesting, by the first service, acquisition of the second media content from the second electronic device in response to the received content acquisition request; the second electronic device is configured to send the second media content to the first service; the first electronic device is further configured to: receiving, by the first service, the second media content from the second electronic device and sending the second media content to the first application; and after receiving the second media content through the first application, displaying the second media content.
In one possible design, the first electronic device is configured to perform the method performed by the first electronic device in the method described in the first aspect or any of the possible designs of the first aspect, and the second electronic device is configured to perform the method performed by the second electronic device in the method described in the first aspect or any of the possible designs of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program which, when run on a computer, causes the computer to perform the method described in the first aspect or any one of the possible designs of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method described in the first aspect or any of the possible designs of the first aspect.
The beneficial effects of the second aspect to the fifth aspect are described with reference to the beneficial effects of the first aspect, and the detailed description is not repeated here.
Drawings
FIG. 1 is a schematic diagram of a method for an electronic device to access and manage content in an HDC device;
fig. 2 is a schematic hardware architecture of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software architecture of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a possible system to which the solution provided in the embodiment of the present application is applicable;
FIG. 5 is a schematic diagram of a possible system to which the solution provided in the embodiment of the present application is applicable;
fig. 6 is a schematic diagram of a software architecture of a terminal device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a synchronization scheme provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a downlink synchronization method provided in an embodiment of the present application;
fig. 9 is a schematic diagram of an uplink synchronization method provided in an embodiment of the present application;
fig. 10 is a schematic diagram of a content management method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a method for content synchronization and management based on a gallery according to an embodiment of the present application;
fig. 12 is a schematic diagram of a method for fusion management of content according to an embodiment of the present application;
fig. 13 is a flowchart of a content synchronization and management method based on a gallery according to an embodiment of the present application;
FIG. 14a is a schematic view of an album interface according to an embodiment of the present application;
FIG. 14b is a schematic diagram of an image interface according to an embodiment of the present disclosure;
FIG. 14c is a schematic diagram of a gallery control interface provided in an embodiment of the disclosure;
FIG. 14d is a schematic diagram of an image interface according to an embodiment of the present disclosure;
Fig. 14e is a schematic diagram of a gallery setting interface provided in an embodiment of the present application;
FIG. 14f is a schematic diagram of a gallery setting interface provided in an embodiment of the present application;
fig. 15 is a flow chart of a content usage method according to an embodiment of the present application;
FIG. 16a is a schematic diagram of an application interface according to an embodiment of the present disclosure;
FIG. 16b is a schematic diagram of an interface for selecting image sources in an application provided in an embodiment of the present application;
FIG. 16c is a schematic diagram of an interface for selecting images in an application provided in an embodiment of the present application;
FIG. 16d is a schematic diagram of an application interface according to an embodiment of the present disclosure;
FIG. 17 is a schematic diagram of a content management method according to an embodiment of the present disclosure;
fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings. Wherein in the description of embodiments of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
For ease of understanding, a description of concepts related to the present application is given by way of example for reference.
1) The electronic equipment is equipment with a wireless connection function. In some embodiments of the present application, the electronic device is a device having a display function.
The electronic device in some embodiments of the present application may be a portable terminal device, such as a cell phone, a tablet computer, a wearable device with wireless communication capability (e.g., a watch, a bracelet, a helmet, an earphone, etc.), a vehicle-mounted terminal device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), a smart home device (e.g., a smart television, a smart speaker, etc.), a smart robot, a workshop device, a wireless terminal in a self-driving (self-driving), a wireless terminal in a teleoperation (remote medical surgery), a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (smart city), or a wireless terminal in a smart home (smart home), a flying device (e.g., a smart robot, a balloon, a drone, an airplane), etc. Wherein the wearable device is a portable device that the user can wear directly on his or her clothing or accessories.
In some embodiments of the present application, the electronic device may also be a portable terminal device that also contains other functions, such as personal digital assistant and/or music player functions. Exemplary embodiments of portable terminal devices include, but are not limited to, piggy-backOr other operating system. The above-described portable terminal device may also be other portable terminal devices, such as a laptop computer (laptop) or the like having a touch-sensitive surface (e.g., a touch panel). It should also be appreciated that in other embodiments of the present application, the electronic device described above may be a desktop computer having a touch-sensitive surface (e.g., a touch panel) instead of a portable terminal device.
2) Metadata (metadata), which is data (data about data) describing data, is mainly information describing properties (properties) of objects such as data or information resources, and is descriptive data for data or information resources. The metadata can be used for supporting functions of indicating storage positions, historical data, searching records and the like, and realizing effective discovery, searching, integrated organization, effective management and the like of data or information resources. The media metadata refers to descriptive data of a media file such as a picture, a video, etc., and for example, the metadata of the picture may include data indicating information such as a file name of an image, a photographing time, a modification time, a photographing mode, an original storage path, a thumbnail storage path, a file size, etc.
3) Synchronization generally refers to the bi-directional synchronization of data (including a pruning operation) between two devices. In this embodiment of the present application, synchronization refers to uplink synchronization and downlink synchronization of data between an electronic device and an HDC (device), where uplink synchronization refers to uploading metadata (such as media metadata) on the electronic device side to the HDC side and uploading data or resource information (such as media files) on the electronic device side to the HDC side. The downlink synchronization refers to metadata transmission from the HDC side to the electronic device side and data or resource information transmission from the HDC side to the electronic device side.
For example, the electronic device 1 (e.g. a mobile phone) may synchronize the photos to the HDC through uplink synchronization, the electronic device 2 (e.g. a tablet) may obtain the photos of the electronic device synchronized to the HDC from the HDC through downlink synchronization, and similarly, the electronic device 1 may also obtain the photos of the electronic device 2 synchronized to the HDC. Thus, by bidirectional synchronization, the electronic device 1 and the electronic device 2 can view the same photo content.
4) An application package (application package, APK), an application package file format used by the operating system for distributing and installing mobile applications and middleware. For the code of an application to run on an electronic device, it must be compiled and then packaged into a file that can be recognized and executed by the operating system, and the file format that can be recognized and executed by the operating system is APK.
5) A software development kit (software development kit, SDK) is a collection of development tools for creating application software for a particular software package, software framework, hardware platform, operating system, etc. Typical SDKs include utilities for debugging and other purposes, may simply provide some files of an application programming interface for a programming language, and may also provide complex hardware capable of communicating with an embedded system of some kind. SDKs also often include example code, supporting technical notes, or other supporting documents that clarify the suspects for the underlying reference material. The collection of related documents, examples, and tools that assist in developing a certain class of application software may be referred to as an SDK.
It should be understood that in embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one (item) below" or the like, refers to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b and c can be single or multiple.
Currently, electronic devices may utilize external storage devices such as cloud storage devices, HDC devices, etc. for storage or backup of data content (e.g., media content). However, the electronic device needs to download the APP matched with the external storage device to access and manage the content in the external storage device, which is different from the manner in which the electronic device directly accesses the locally stored data content. Therefore, the current electronic device cannot simply and efficiently access the content local to the electronic device and the content in the external storage device at the same time.
FIG. 1 is a schematic diagram of a method for an electronic device to access and manage content in an HDC device. As shown in fig. 1, taking an electronic device as a mobile phone and an external storage device as an HDC device as an example, the HDC device is a mass storage device deployed in a home network, has the capability of multi-device content backup and synchronization, and can realize functions of long-time reliable storage of data content, convenient personal access and management at any time and any place, and the like. The mobile phone can be provided with a home storage APP (matched with the HDC) and interact with the HDC equipment through the home storage APP, so that the media content on the mobile phone is sent to the HDC equipment for storage or backup, and the content in the HDC equipment is browsed and managed. Wherein, only home storage APP can access the content in the HDC device, while other APPs such as cameras, gallery or third party applications cannot directly access the content in the HDC device. Therefore, if the user needs to view and share the content in the HDC device through other applications in the mobile phone, the user needs to find the corresponding content from the HDC device through the home storage APP and manually download the content to the media library in the local media frame, and then acquire the corresponding content from the local media library through other applications. Based on the method, a user needs to use two APP to view the content in the HDC equipment, the operation process is complex and complicated, and the use efficiency and the user use experience are low. In addition, the user can directly access the content stored locally on the electronic device through other applications in the handset. Therefore, for the content in the HDC device and the content local to the electronic device, the electronic device needs to access in two different modes, so that the effect of fusion access to the content in the local and the HDC device cannot be achieved, the operation process of the electronic device for accessing the content is more complicated and complicated, and the efficiency of the electronic device for accessing and managing different contents and the user experience are also reduced.
In view of the above problems, embodiments of the present application provide a content management method, an electronic device, and a system, which are used for improving efficiency of accessing multi-terminal stored content by the electronic device and improving user experience.
Referring first to fig. 2, a description will be given of a structure of an electronic device to which the method provided in the embodiment of the present application is applicable.
As shown in fig. 2, the electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a usb interface 230, a charge management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a SIM card interface 295, and the like.
The sensor module 280 may include, among others, a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.
It will be appreciated that the electronic device 200 shown in fig. 2 is merely an example and is not limiting of the electronic device, and that the electronic device may have more or fewer components than shown in the figures, may combine two or more components, or may have different configurations of components. The various components shown in fig. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The controller may be a neural hub and a command center of the electronic device 200, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
The execution of the content management method provided in the embodiment of the present application may be performed by the processor 210 controlling or calling other components, for example, calling a processing program of the embodiment of the present application stored in the internal memory 221, or calling a processing program of the embodiment of the present application stored in the third party device through the external memory interface 220, so as to control the wireless communication module 260 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 200 and improving the user experience. The processor 210 may include different devices, such as an integrated CPU and a GPU, where the CPU and the GPU may cooperate to perform the content management method provided in the embodiments of the present application, such as a part of the algorithm in the content management method is performed by the CPU, and another part of the algorithm is performed by the GPU, so as to obtain a faster processing efficiency.
The display 294 is used to display images, videos, and the like. The display 294 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 200 may include 1 or N display screens 294, N being a positive integer greater than 1. The display 294 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces (graphical user interface, GUI). For example, the display 294 may display photographs, videos, web pages, or files.
In the embodiment of the present application, the display 294 may be an integral flexible display, or a tiled display formed of two rigid screens and a flexible screen located between the two rigid screens may be used.
The camera 293 (front camera or rear camera, or one camera may be used as either a front camera or a rear camera) is used to capture still images or video. In general, the camera 293 may include a photosensitive element such as a lens group including a plurality of lenses (convex lenses or concave lenses) for collecting optical signals reflected by an object to be photographed and transmitting the collected optical signals to an image sensor. The image sensor generates an original image of the object to be photographed according to the optical signal.
Internal memory 221 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the electronic device 200 and data processing by executing instructions stored in the internal memory 221. The internal memory 221 may include a storage program area and a storage data area. The storage program area may store, among other things, code for an operating system, an application program (such as a function of content processing, etc.), and the like. The storage data area may store data created during use of the electronic device 200, etc.
The internal memory 221 may also store one or more computer programs corresponding to algorithms of the content management method provided in the embodiments of the present application. The one or more computer programs are stored in the internal memory 221 and configured to be executed by the one or more processors 210, the one or more computer programs including instructions that can be used to perform the various steps in the following embodiments.
In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
Of course, the codes of the algorithm of the content management method provided in the embodiment of the present application may also be stored in the external memory. In this case, the processor 210 may run code of an algorithm of the content management method stored in the external memory through the external memory interface 220.
The sensor module 280 may include a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, and the like.
Touch sensors, also known as "touch panels". The touch sensor may be disposed on the display screen 294, and the touch sensor and the display screen 294 form a touch display screen, which is also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 294. In other embodiments, the touch sensor may also be disposed on a surface of the electronic device 200 at a different location than the display 294.
Illustratively, the display 294 of the electronic device 200 displays a main interface that includes icons of a plurality of applications (e.g., camera applications, gallery applications, etc.). The user clicks an icon of the camera application in the main interface by touching the sensor, triggers the processor 210 to start the camera application, and opens the camera 293. The display 294 displays an interface of the camera application, such as a viewfinder interface.
The wireless communication function of the electronic device 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 200 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied on the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 250 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 250 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be provided in the same device as at least some of the modules of the processor 210. In the embodiment of the present application, the mobile communication module 250 may also be used for information interaction with other devices.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.), or displays images or video through display screen 294. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 250 or other functional module, independent of the processor 210.
The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 200. The wireless communication module 260 may be one or more devices that integrate at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2. In this embodiment, the wireless communication module 260 is configured to establish a connection with another electronic device for data interaction. Or the wireless communication module 260 may be used to access the access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.
For example, when the terminal device described in the embodiment of the present application is implemented by using the hardware architecture shown in fig. 2, the terminal device may receive or send information, data files, and other contents through the mobile communication module 250 or the wireless communication module 260, so as to implement functions of establishing communication connection with the HDC device, performing uplink and downlink synchronization, and the like.
In addition, the electronic device 200 may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, an application processor, and the like. Such as music playing, recording, etc. The electronic device 200 may receive key 290 inputs, generating key signal inputs related to user settings and function control of the electronic device 200. The electronic device 200 may generate a vibration alert (such as an incoming call vibration alert) using the motor 291. The indicator 292 in the electronic device 200 may be an indicator light, which may be used to indicate a state of charge, a change in power, an indication message, a missed call, a notification, etc. The SIM card interface 295 in the electronic device 200 is used to connect to a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the electronic device 200.
It should be appreciated that in practical applications, the electronic device 200 may include more or fewer components than shown in fig. 2, and embodiments of the present application are not particularly limited. The illustrated electronic device 200 is only one example, and the electronic device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The software system of the electronic device 200 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of an electronic device is illustrated.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. As shown in fig. 3, the software architecture can be divided into four layers, from top to bottom, an application layer, an application framework layer (FWK), an Zhuoyun row and system libraries, and a Linux kernel layer.
The application layer is the top layer of the operating system, including native applications of the operating system, such as cameras, gallery, calendar, bluetooth, music, video, information, and so forth. An application program referred to in the embodiments of the present application is simply referred to as Application (APP), which is a software program capable of implementing one or more specific functions. Typically, a plurality of applications may be installed in an electronic device. Such as camera applications, mailbox applications, smart home control applications, and the like. The application mentioned below may be a system application installed when the electronic device leaves the factory, or may be a third party application downloaded from a network or acquired from other electronic devices by a user during the process of using the electronic device.
Of course, for a developer, the developer may write an application and install it to that layer. In one possible implementation, the application may be developed using Java language, by calling an application programming interface (Application Programming Interface, API) provided by the application framework layer, through which a developer may interact with the underlying layers of the operating system (e.g., kernel layer, etc.) to develop his own application.
The application framework layer provides APIs and programming frameworks for application programs of the application layer. The application framework layer may include some predefined functions. The application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include information such as files (e.g., documents, video, images, audio), text, etc.
The view system includes visual controls, such as controls that display text, pictures, documents, and the like. The view system may be used to build applications. The interface in the display window may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction.
The android runtime includes a core library and virtual machines. And the android running time is responsible for scheduling and managing an android system.
The core library of the android system comprises two parts: one part is a function which needs to be called by Java language, and the other part is a core library of the android system. The application layer and the application framework layer run in a virtual machine. Taking Java as an example, the virtual machine executes Java files of the application layer and the application framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: a surface manager, a media library, a three-dimensional graphics processing library (e.g., openGL ES), a two-dimensional graphics engine (e.g., SGL), an image processing library, and the like. The surface manager is used to manage the display subsystem and provides a fusion of two-dimensional and three-dimensional layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.564, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. A two-dimensional graphics engine is a drawing engine that draws two-dimensional drawings.
The kernel (kernel) layer provides core system services of the operating system, such as security, memory management, process management, network protocol stacks, driving models, and the like, which are implemented based on the kernel layer. The kernel layer also acts as an abstraction layer between the hardware and software stacks. This layer has many drivers associated with the electronic device, the main drivers being: a display drive; a keyboard driver as an input device; flash driving based on memory technology equipment; a camera drive; an audio drive; bluetooth driving; wiFi drive, etc.
It should be understood that the functional services described above are only examples, and in practical applications, the electronic device may be divided into more or fewer functional services according to other factors, or the functions of the respective services may be divided in other manners, or the functional services may not be divided, but may operate as a whole.
The following describes in detail the solutions provided in the present application with reference to specific embodiments.
The scheme provided by the embodiment of the application can be applied to a system formed by at least one electronic device and an external storage device, wherein the external storage device is used for providing services such as storage, backup and synchronization of contents for the at least one electronic device. The external storage device may be, for example, an HDC device, a cloud server, or the like. In one aspect, each electronic device may up-synchronize its own content to the external storage device, so as to store or back up its own content to the external storage device. On the other hand, the external storage device may synchronize the stored content downstream to the respective electronic devices, so that each electronic device may view and manage the content in the external storage device (including the content of the electronic device itself and the content of some other electronic devices stored in the external storage device), and so on. The content in the external storage device or the electronic device may be various data, resources, information, etc., and may be media content such as images, videos, audios, files, etc.
It should be noted that, in the embodiments of the present application, the synchronization of the content of the external storage device to the electronic device specifically refers to transmitting metadata of the content stored in the external storage device to the electronic device for storage, where based on the metadata, the electronic device may acquire corresponding content from the external storage device at any time; in this embodiment of the present application, synchronizing the content of the electronic device to the external storage device refers to transmitting the content stored in the electronic device and metadata thereof to the external storage device for storage. Wherein the metadata is data for describing contents in the electronic device or the external storage device, and the contents described by the metadata can be acquired based on the metadata.
In the embodiment of the application, the external storage device and the at least one electronic device can communicate based on a wired or wireless communication mode. Alternatively, the external storage device and the electronic device may access the same lan, or may access different lans.
For example, the external storage device and the electronic device establish a wireless connection with the same wireless access point. The external storage device and the electronic device may also access the same wireless fidelity (wireless fidelity, wi-Fi) hotspot. For another example, the external storage device and the electronic device may also access the same bluetooth beacon via the bluetooth protocol. For another example, the external storage device and the electronic device may trigger a communication connection through a near field communication (near field communication, NFC) tag, and transmit encrypted information through the bluetooth module to perform identity authentication. After authentication is successful, data transmission is performed by a point-to-point (P2P) mode.
The scheme provided in the embodiment of the application is described below by taking electronic equipment as terminal equipment and external storage equipment as HDC equipment as an example.
Fig. 4 is a schematic diagram of an architecture of a possible system to which the solution provided in the embodiment of the present application is applicable. As shown in fig. 4, the system includes at least: HDC devices and terminal devices (e.g., cell phones). A system application (such as the gallery shown in fig. 4) and a third party application may be installed in the terminal device. The terminal equipment also comprises an HDC service, a media library and a file system.
The HDC service is used for realizing uplink and downlink synchronization of the content between the terminal equipment and the HDC equipment. The file system may be used to store the content of the terminal device itself, as well as the content synchronized by the terminal device from the HDC device. The media library can be used for managing the content stored by the terminal equipment, such as data and files of system applications and third party applications in the terminal equipment; and on the other hand can be used to manage the content synchronized by the terminal device from the HDC device. In addition, the media library may provide an HDC synchronization interface to the HDC services, as well as an access interface to system applications and third party applications. The HDC service can interact with the media library by calling the HDC synchronization interface, thereby completing the uplink and downlink synchronization of the content. The system application and the third party application can access the content managed by the media library through the access interface, so that the system application and the third party application can realize the fusion access and management of the local content of the terminal equipment and the content synchronized from the HDC equipment, and further the access efficiency and the user experience are improved. Optionally, a home storage APP may also be installed in the terminal device, where the home storage APP may also be used to access and manage the HDC device and its stored content.
Alternatively, in the system shown in fig. 4, both the HDC device and the terminal device may be implemented by the hardware architecture shown in fig. 2 and the software architecture shown in fig. 3.
Further, as shown in fig. 5, the HDC service of the terminal device in the system shown in fig. 4 may include two sub-services, which are an application side synchronization service and an end side synchronization service, respectively. Among other things, the application-side synchronization service may be deployed in the form of a software development kit (software development kit, SDK) in a home storage APP or set system application (e.g., the gallery application shown in fig. 5). The end-side synchronization service may be deployed in the form of an application installation package (application package, APK) in the software hierarchy of the terminal device.
The application side synchronization service is mainly used for providing the following functions:
1) Synchronization status notification
The application side synchronization service can acquire the information of the progress and the state of the uplink and downlink synchronization between the terminal equipment and the HDC equipment from the end side synchronization service, and can inform the information to the user so that the user can timely acquire the information of the progress and the state of the synchronization between the terminal equipment and the HDC equipment.
2) Providing content download APIs and download progress notification
The application side synchronization service may acquire a download API of the content (including the content stored in the HDC device and the content locally stored in the terminal device) from the end side synchronization service or the media library, so that an application where the application side synchronization service is located may download the corresponding content from the HDC device by driving the end side synchronization service through calling the download API. In addition, the application side synchronization service may receive a download progress callback notification from the end side synchronization service, where the download progress callback notification is used to instruct the progress of synchronization between the end side synchronization service and the HDC device, and the application side synchronization service may notify the user of the progress through a corresponding notification message.
3) Providing a synchronization control portal
The application side synchronization service may provide a control switch for the user to control the synchronization flow between the terminal device and the HDC device, and provide the control switch to the user, so that the user may control the synchronization flow between the terminal device and the HDC device by operating the control switch.
For example, an application-side synchronization service in a gallery application may provide a gallery synchronization switch to a user that controls the flow of synchronization of images and video between a terminal device and an HDC device. When a user turns on the gallery synchronization switch, the terminal equipment can perform uplink and downlink synchronization between the terminal equipment and the HDC equipment aiming at images and videos, so that consistency of the images and video contents in the terminal equipment and the HDC equipment is ensured. When the user turns off the gallery synchronization switch, the terminal device may stop performing uplink and downlink synchronization of the image and video content with the HDC device.
The end side synchronization service is mainly used for providing the following functions:
1) Synchronization function
The terminal side synchronization service can complete the uplink and downlink synchronization of the content between the terminal equipment and the HDC equipment. For example, the end side synchronization service may include a media library SDK, and the SDK may invoke an ethernet (E) interface to interact with the media library, so that content acquired by the end side synchronization service from the HDC device is sent to the media library, and stored by the media library, to implement downlink synchronization. The SDK may also provide a southbound interface definition language (android interface definition language, AIDL) interface to interact with the media library with which content may be retrieved from the media library, which may be sent by the end-side synchronization service to the HDC device for storage. When uplink and downlink synchronization is performed between the terminal device and the HDC device, metadata may be transmitted in an objectified data format, that is, metadata to be transmitted is objectified by the terminal device or the HDC device and then transmitted to the opposite device.
2) Communication function
The end side synchronization service can complete the interactive processes of discovery, connection establishment, communication, data transmission and the like between the terminal equipment and the HDC equipment. The terminal side synchronization service may include a communication SDK, for example, an SDK that merges a hilnk and a P2P function, where the SDK may establish a data transmission channel with the HDC device based on the hilnk and the P2P communication manner to implement data transmission in the uplink and downlink synchronization process, and may parse the transmitted data and assemble VO data of the media library SDK, and invoke an interface provided by the media library SDK to update the VO data to the media library.
3) Control function
The end side synchronization service can control the up-down synchronization flow between the terminal device and the HDC device. For example, the end-side synchronization service may include a control SDK, where the SDK may receive a data change message from the HDC device (for notifying a change condition of data in the HDC device), and further start an uplink and downlink synchronization procedure according to the received data change message.
In some embodiments of the present application, as shown in fig. 5, the file system of the terminal device may include a local file system and an HDC file system. The local file system is used for storing the content of the terminal equipment, and the HDC file system is used for storing the content synchronized by the terminal equipment from the HDC equipment. The HDC file system may be implemented in the form of a user space file system (filesystem in userspace, FUSE) or in the form of a distributed file system. The local file system and the HDC file system may interface with a virtual file system (virtual file systems, VFS) to interact with the media library and the HDC synchronization service.
In some embodiments of the present application, as shown in fig. 5, the HDC device may include a hypertext transfer protocol (hyper text transfer protocol, HTTP) server, an HDC synchronization service, a media management service, and a file system. The HTTP server can complete interaction with the HDC synchronous service of the terminal equipment through the signaling gateway, and can also complete interaction with the file system through the data gateway, so that data can be read and written from the file system. The HDC synchronization service of the HDC device may perform functions related to up-down synchronization between the HDC device and the terminal device, and management functions for the HTTP server and the media management service. The media management service is used to manage content stored in the file system. The file system is used to store content.
Still further, when the terminal device employs the software system shown in fig. 3 described above, a media library, an HDC service, a file system, etc. in the terminal device may be deployed in the application framework layer shown in fig. 3. Of course, these service structures may be deployed in other software layers according to actual needs, which is not limited in the embodiments of the present application.
For example, referring to fig. 6, the application framework layer shown in fig. 3 may further include an application interface layer (ML interface), a framework service layer (ML framework), and a data management layer (ML adapter), and an operation platform layer.
The application interface layer may include a unified media operation framework module (the identifier may be medialibrary sdk), a content parser (content server) interface, a media database (media provider) interface, and the like.
The unified media operation framework module can provide a unified interface, package content objects and the like, can shield database operation, and is simple and flexible in the use process. For Android applications, content (including content of local, cloud and DHC ends) of the access terminal device with zero adaptation through an Android native interface is supported. For hong applications, the content (including the content of local and distributed file systems) of the terminal device is supported for access through a unified interface provided by the same.
Specifically, the unified media operation framework module may provide a unified northbound interface to the application layer for APP calls to implement specific content (e.g., media data) management functions. When the content processed by the terminal device is media data, the unified media operation frame module can provide a media object query interface and a media object change interface. The media object query interface can realize the query functions of metadata, thumbnail images, content files of the content such as media resources, media files and the like. The media object change interface can realize the functions of media object change notification, change subscription/unsubscribe, media object change comparison and the like. In summary, the unified media operation framework module can encapsulate objects such as media resources, unify access capabilities of local and distributed media objects, shield access differences and implementation details of various media metadata and media data, and provide rich, unified and layered media data management interfaces, thereby realizing simple, convenient and efficient content management functions.
The content parser interface and the media database interface may be used for a system application or a third party application to access the content of the media database.
The framework service layer may include a unified media service module (the identifier may be medialibrary service), a media database, a data fusion access module (the identifier may be medialibrary fusion), and the like.
The unified media service module can provide event management capability related to local, cloud, distributed file systems and HDC equipment, can receive various event information and trigger corresponding business logic operation. The system can also provide transmission and management capability of media resources for local and distributed file systems, cloud ends and HDC equipment, and support the realization of state management of the media resources based on the connection states of the terminal equipment and the cloud ends and the HDC equipment, so that the management and access of media services and the fusion of the media resources on the local and distributed file systems, the cloud ends and the HDC equipment are realized. The module can interact with a distributed soft bus, a cloud space SDK and an application side synchronization service to realize cross-device synchronization of media metadata among a distributed file system, a cloud space and an HDC device and real-time detection and fusion access of media data states. The functions provided by the module can include device discovery, device status (including distributed devices, cloud devices, HDC devices, etc.) monitoring, media data status monitoring, media metadata synchronous transmission, media resource operation, media content transmission caching, etc.
The media database may be used to store information, such as metadata, etc., related to local content or content synchronized from the HDC device.
The data fusion access module is mainly used for realizing the function of media data fusion access. The specific functions provided by the method comprise metadata list table access, metadata view multi-table fusion access, metadata view multi-database fusion access and the like. The module can realize the access (including the operations of adding, deleting, modifying, viewing and the like) of the media metadata in the local, distributed equipment and the cloud, and can uncouple the database and the business application layer.
The data management layer may include a synchronous data management module (the identifier may be medialibrary database), a local data management module, a synchronous module, and the like.
The synchronous data management module can be used as a media database of the distributed equipment/cloud/HDC equipment to realize the management function of corresponding media data. The module can be used for realizing full-quantity, incremental and real-time synchronization of the distributed equipment/cloud/HDC equipment databases, message triggering synchronization, synchronous data insertion of the distributed equipment/cloud/HDC equipment databases and the like.
The local data management module can serve as a media database of local content and provide functions such as management of local media data.
The synchronization module may include a service capable of performing content synchronization with different device sides, such as an end-side synchronization service and a cloud synchronization service. The terminal side synchronization service is used for performing content synchronization with the HDC device.
The Operating System (OS) platform layer may include a local file system, a distributed file system, an HDC file system, a cloud file system, and the like for storing contents. The HDC file system is used for storing the content acquired from the HDC device by the terminal device.
It should be noted that, the system architecture of the device described in fig. 4 to 6 is only an exemplary illustration of the system architecture applicable to the terminal device provided in the embodiment of the present application, and is not limited to the system architecture of the terminal device in the embodiment of the present application, and in practical application, the system architecture adopted by the terminal device is not limited to this.
The scheme provided by the embodiment of the application is mainly divided into two parts, namely content synchronization and content access. The content synchronization part mainly comprises a method for synchronizing the content between the terminal equipment and the HDC equipment, and the content stored in the HDC equipment can be ensured to be known by the terminal equipment side based on the method, and meanwhile, the content of the terminal equipment side can be stored in the HDC equipment; the content access part mainly comprises a method for accessing the content stored in the HDC equipment by a system application or a third party application in the terminal equipment, and based on the method, the system application or the third party application in the terminal equipment can simply, conveniently and quickly obtain the content stored in the HDC equipment without the help of home storage APP and manual intervention, so that the access efficiency and the user experience are improved. The following will specifically describe each.
1. Content synchronization
Referring to fig. 7, the modules or components involved in the content synchronization section mainly include a terminal side synchronization service among the media library of the terminal device and the HDC service, and the HDC device. The media library and the end side synchronization service can communicate through an E interface. The end side synchronization service may communicate with the HDC device based on the P2P approach. The terminal side synchronization service may perform content synchronization with the HDC device by using the communication SDK, and may update the content synchronized with the HDC device into the media library through the E interface by using the media library SDK, so that the media library may perform corresponding processing such as adding, retrieving, updating, deleting (create, retrieve, update, delete, CRUD) operations.
The content synchronization process between the terminal device and the HDC device may be classified into an uplink synchronization process and a downlink synchronization process. The uplink synchronization process refers to the synchronization of the content of the terminal device to the HDC device, and the downlink synchronization process refers to the synchronization of the content of the HDC device to the terminal device.
Referring to fig. 8, taking content synchronized by a terminal device and an HDC device as album content as an example, the method of the downlink synchronization process may include:
s801: the terminal side synchronization service sends a version acquisition request to a media library of the terminal device, wherein the request is used for requesting to acquire media library version information, and the information is used for indicating a historical version of album content in the HDC device.
The terminal side synchronization service may periodically trigger to execute the step S801 and the subsequent steps, so as to periodically determine whether to execute downlink synchronization, and execute the corresponding downlink synchronization process when determining that downlink synchronization needs to be executed.
The media library version information is used to indicate the version of album content in the HDC device after the previous execution of the synchronization process. The HDC device may indicate, to the terminal device, version information of the content in the downlink synchronization in the previous downlink synchronization process, where the media of the terminal device stores the version information as media library version information. When the downstream synchronization is performed, the media library may determine historical version information of the HDC device according to the media library version information, so as to determine whether content in the HDC device is updated based on the historical version information and the latest version information of the HDC device.
S802: the media library sends media library version information to the end side synchronization service.
S803: the end side synchronization service determines whether the version of the album content in the media library is empty according to the version information of the media library, if yes, step S804 is executed, otherwise step S815 is executed.
If the version of the album content in the media library is empty, which indicates that the album content of the HDC device has not been synchronized to the terminal device before or the album content synchronized by the terminal device from the HDC device before has been emptied, the end-side synchronization service may determine that the downlink synchronization mode is full synchronization, and may perform downlink synchronization in the full synchronization mode, that is, synchronize all the album content in the HDC device to the media library of the terminal device.
If the version of the album content in the media library is not empty, the end side synchronization service further determines whether the album content in the HDC device is updated relative to the album content in the media library, if so, determines to perform downlink synchronization in an incremental synchronization mode, namely, synchronize the updated content of the HDC device relative to the media library, thereby ensuring that the content in the media library is updated along with the update of the content in the HDC device; otherwise, it is determined that downlink synchronization is not performed, and execution of the current flow may be stopped.
When determining whether the album content in the HDC device is updated relative to the album content in the media library, the terminal side synchronization service can acquire version information of the album content in the HDC device from the HDC device and compare the version information with the version information of the media library, if the version information is inconsistent with the version information, the album content in the HDC device is determined to be updated, otherwise, the album content in the HDC device and the album content in the media library are determined to be not updated. For specific execution, reference is made to step S815 and subsequent steps below.
In some embodiments of the present application, the content stored in the HDC device may be divided into different types of content according to characteristics such as a data type, a data level, a data source, and a data amount, and after the division, the different types of content may be respectively transmitted, so in a downlink synchronization process, the terminal device and the HDC device may respectively synchronize the different types of content, and in the synchronization process, the different types of content may be transmitted through different interfaces.
For example, in the downlink synchronization process of the album content by the terminal device and the HDC device, the terminal device and the HDC device may divide the album content into an album and media files (pictures and videos) in the album according to a level, and metadata corresponding to the album content is divided into album metadata and file metadata, where the album metadata is used for indicating attribute information of the album, for example, information of identification information of the album, number of images or videos contained in the album, storage location of the album, and the like, and the file metadata is used for indicating information of images or videos in the album, for example, information of identification information of images or videos, storage location, file size, and the like. In the downlink synchronization process, the terminal device and the HDC device can independently transmit album metadata and file metadata.
Furthermore, considering the data volume of the synchronized content, the terminal device and the HDC device can complete full-volume synchronization in a breakpoint continuous transmission mode. Specifically, the terminal side synchronization service of the terminal device may set a synchronization progress identifier to record the progress of the synchronization process, where the synchronization progress identifier may include two factors: a progress identification (unique ID) and a time identification (time ID), wherein the progress identification is used for recording an offset of the synchronous content, and based on the offset, it can be determined which content has completed the synchronization and which content is the content to be synchronized; the time identification is used for recording time information for performing synchronization. In the breakpoint continuous transmission process, the terminal side synchronization service of the terminal equipment updates and stores the corresponding synchronization progress identification locally after acquiring the content from the HDC equipment to the media library for storage each time. If interruption occurs in the synchronization process, when the synchronization process is started again, the end side synchronization service can determine the synchronization progress based on the saved synchronization progress identification, and continuously acquire the content to be synchronized from the HDC device according to the progress to store the content in the media library. After full synchronization is completed, the end-side synchronization service may set a synchronization progress flag to mark that full synchronization has been completed.
When the version of the album content in the media library is empty, the corresponding processing method may refer to the following steps S804 to S814, and when the version of the album content in the media library is not empty, the corresponding processing method may refer to the following steps S815 to S827. The downlink synchronization process using the full-scale synchronization method may refer to the following steps S805 to S814, and the downlink synchronization process using the incremental synchronization method may refer to the following steps S818 to S827.
S804: and the end side synchronization service determines to perform downlink synchronization in a full synchronization mode. And performs the following steps S805 to S814.
S805: the terminal side synchronization service sends a full album acquisition request to the HDC equipment, wherein the request is used for requesting to acquire album metadata corresponding to album contents in the HDC equipment.
S806: and the HDC equipment sends album metadata corresponding to the album content in the HDC equipment to the terminal side synchronous service.
S807: the end side synchronization service sends album metadata to the media library.
S808: the media library stores the received album metadata.
S809: and the media library sends progress indication information to the end-side synchronization service, wherein the progress indication information is used for indicating that the downlink synchronization of the metadata of the album is successfully completed.
After receiving the progress indication information, the end-side synchronization service determines and records the synchronization progress of the metadata of the album according to the progress indication information, so as to update and save the synchronization progress of the metadata of the album.
S810: the terminal side synchronization service sends a full album file acquisition request to the HDC equipment, wherein the request is used for requesting to acquire file metadata corresponding to album contents in the HDC equipment.
S811: and the HDC equipment sends partial file metadata to be synchronized corresponding to the album content in the HDC equipment to the end side synchronization service.
S812: the end side synchronization service sends the partial file metadata to be synchronized to the media library.
S813: the media library stores the received partial file metadata.
S814: and the media library sends progress indication information to the end-side synchronization service, wherein the progress indication information is used for indicating that the downlink synchronization of the partial file metadata is successfully completed.
After receiving the progress indication information, the end-side synchronization service determines and records the synchronization progress of the file metadata according to the progress indication information, so that the synchronization progress of the album metadata is updated and stored.
The steps S810 to S814 may be performed in a loop until all the metadata of the files corresponding to the album content in the HDC device are transmitted and stored in the terminal device successfully, so as to achieve the effect of performing downlink full synchronization by using the breakpoint continuous transmission method.
S815: the end-side synchronization service obtains HDC version information from the HDC device, the information being used to indicate the version of album content in the HDC device.
This version is the latest version of album content in the HDC device.
S816: the end-side synchronization service determines whether the HDC version information and the media library version information are inconsistent, if so, performs step S817, otherwise, performs step S828.
S817: the end side synchronization service determines to perform downlink synchronization in an incremental synchronization mode. And steps S818 to S827 are performed.
Taking an example of a case where there is an increased part of the album content of the HDC device compared with the album content of the terminal device, the end side synchronization service may acquire metadata corresponding to the increased part of the album content from the HDC device and store it, referring to the following steps S818 to S827. For the case of modifying album content in the HDC device, the HDC device may send metadata corresponding to the modified album content to the end-side synchronization service, where the end-side synchronization service may perform corresponding modification. For the case of deleting album content in the HDC device, the HDC device may indicate metadata corresponding to the deleted album content to the end-side synchronization service, so that the end-side synchronization service determines metadata corresponding to the content deleted in the HDC device, and further deletes the stored metadata.
S818: and the end side synchronization service sends an incremental album acquisition request to the HDC equipment, wherein the request is used for requesting to acquire album metadata corresponding to the incremental album content in the HDC equipment.
S819: and the HDC equipment transmits album metadata corresponding to the incremental album content in the HDC equipment to the end side synchronous service.
S820: the end side synchronization service sends the album metadata to the media library.
S821: the media library stores the received album metadata.
S822: and the media library sends progress indication information to the end-side synchronization service, wherein the progress indication information is used for indicating that the downlink synchronization of album metadata corresponding to the incremental album content is successfully completed.
S823: and the end side synchronization service sends an incremental album file acquisition request to the HDC equipment, wherein the request is used for requesting to acquire file metadata corresponding to the incremental album content in the HDC equipment.
S824: and the HDC equipment sends partial file metadata to be synchronized corresponding to the content of the increment album in the HDC equipment to the end side synchronization service.
S825: the end side synchronization service sends the partial file metadata to be synchronized to the media library.
S826: the media library stores the received partial file metadata.
S827: and the media library sends progress indication information to the end-side synchronization service, wherein the progress indication information is used for indicating that the downlink synchronization of the partial file metadata is successfully completed.
The incremental synchronization process may also use the breakpoint continuous transmission method. When the breakpoint continuous transmission mode is adopted, the steps S823-S827 can be circularly executed until all file metadata corresponding to album contents in the HDC equipment are transmitted and successfully stored in the terminal equipment, and then the effect of carrying out downlink increment synchronization by adopting the breakpoint continuous transmission mode is achieved.
S828: and the end side synchronization service determines that the downlink synchronization is not executed, and the current flow is ended.
Optionally, after the end side synchronization service finishes the current flow, it may determine whether to execute the uplink synchronization flow, and if so, may continue to execute the corresponding uplink synchronization procedure.
Based on the above embodiment, the terminal device can acquire and store metadata of the content in the HDC device through downlink synchronization, and is realized without using a home storage APP. When the terminal equipment is applied to the content in the HDC equipment to be accessed, the corresponding content in the HDC equipment can be obtained according to the stored metadata of the content in the HDC equipment.
Referring to fig. 9, taking content synchronized by a terminal device and an HDC device as album content as an example, the method for uplink synchronization may include:
s901: the end side synchronization service sends an uplink synchronization request to the media library, wherein the request is used for requesting uplink synchronization.
S902: the media library sends uplink synchronization confirmation information to the end side synchronization service, wherein the information is used for confirming uplink synchronization.
S903: the end side synchronization service obtains the synchronization lock from the HDC device.
In the embodiment of the application, the synchronization lock is used for controlling and realizing the effect that only one terminal device and the HDC device perform uplink and downlink synchronization in a plurality of terminal devices corresponding to the same user account at the same time. The same user account can log in a plurality of terminal devices, generate media content at the corresponding terminal devices, and synchronize the generated media content to and from the HDC device through the corresponding terminal devices. Therefore, in the embodiment of the present application, each user account has and only has one synchronization lock, and the synchronization lock is allocated by the HDC device and can be used to control the operation authority of the media content corresponding to the user account, for example, whether the uplink and downlink synchronization of the media content corresponding to the user account can be performed on the HDC device. At any time, only one terminal device corresponding to the account is allowed to have the synchronous lock at most. When the terminal equipment has the synchronous lock corresponding to the user account, the terminal equipment can perform synchronous operation on the media content corresponding to the user account, otherwise, the terminal equipment does not allow the synchronous operation on the content corresponding to the user account.
S904: the terminal side synchronization service acquires album content added in the terminal equipment from the media library and album metadata corresponding to the album content.
The terminal side synchronization service may send a request to the media library to request to acquire album content added in the terminal device and album metadata corresponding to the album content. After the media library receives the request, judging whether the stored album content contains album content added after the last uplink synchronization process is executed, if so, sending the part of album content and the album metadata corresponding to the part of album content to the end side synchronization service, if not, returning indication information without adding the album content to the end side synchronization service, and after receiving the information, the end side synchronization service can continuously acquire the album content modified or deleted in the terminal equipment and the metadata corresponding to the album content from the media library.
The terminal side synchronization service may periodically trigger to execute the step S801 and the subsequent steps, so as to periodically determine whether to execute uplink synchronization, and execute a corresponding uplink synchronization process when determining that uplink synchronization needs to be executed.
S905: and the terminal side synchronization service sends the album content added in the terminal equipment and the album metadata corresponding to the album content to the HDC equipment for storage.
Based on this, the album content newly added in the terminal device after the last execution of the uplink synchronization process can be uplink-synchronized to the HDC device.
S906: the end side synchronization service indicates the uplink synchronization progress to the media library.
The terminal side synchronization service sends album content added in the terminal equipment and album metadata corresponding to the album content to the HDC equipment, the HDC equipment stores the part of content, and sends notification information of successful synchronization to the terminal side synchronization service after the storage is successful so as to notify that the uplink synchronization of the part of content is completed successfully. After receiving the indication information, the end side synchronization service may also send notification information to the media library to notify that the uplink synchronization of the part of content is completed, so that the media library obtains an uplink synchronization progress.
In the process of sending the album content added in the terminal device and the album metadata corresponding to the album content to the HDC device, the terminal side synchronization service may also complete synchronization in a breakpoint continuous mode. The above-mentioned processes S904 to S906 may be performed in a loop until the terminal side synchronization service transmits all album contents added in the terminal device and corresponding album metadata thereof to the HDC device and successfully stores them in the HDC device.
S907: the terminal side synchronization service acquires the modified album content in the terminal equipment and the album metadata corresponding to the album content from the media library.
The terminal side synchronization service may send a request to the media library to request to acquire the modified album content and the album metadata corresponding to the modified album content in the terminal device. After the media library receives the request, judging whether the album content which is modified after the uplink synchronization process is executed last time exists in the stored album content, if so, sending the part of album content and the album metadata corresponding to the part of album content to the end side synchronization service, if not, returning indication information of the album content which is not modified to the end side synchronization service, and after receiving the information, the end side synchronization service can continuously acquire the album content deleted from the terminal equipment and the metadata corresponding to the album content from the media library.
S908: and the terminal side synchronization service sends the modified album content in the terminal equipment and the album metadata corresponding to the modified album content to the HDC equipment for updating and storing.
After the HDC device receives the modified album content and the corresponding album metadata thereof in the terminal device, the stored corresponding content is updated by utilizing the modified album content and the corresponding metadata thereof, so that the same modification as that in the terminal device is carried out on the part of content. Based on this, the album content modified after the last execution of the uplink synchronization process in the terminal device can be uplink-synchronized to the HDC device.
S909: the end side synchronization service indicates the uplink synchronization progress to the media library.
The specific reference may be made to the execution of step S906, which is not repeated here.
S910: the terminal side synchronization service acquires the identification information of the album metadata deleted from the terminal equipment from the media library.
After deleting the album content and the corresponding metadata, the media library may record the identification information of the deleted metadata, and in the uplink synchronization process, the end side synchronization service may send a request to the media library to request to obtain the identification information of the album metadata corresponding to the album content deleted in the terminal device. After the media library receives the request, if the identification information of the deleted metadata exists, the media library sends the part of identification information to the terminal side synchronization service, if the part of identification information does not exist, the terminal side synchronization service can return indication information without deleting album content to the terminal side synchronization service, and after the terminal side synchronization service receives the information, the terminal side synchronization service can continuously acquire the album content deleted in the terminal equipment and the metadata corresponding to the album content from the media library.
S911: the terminal side synchronization service transmits identification information of album metadata deleted in the terminal device to the HDC device.
The terminal side synchronization service may instruct the HDC device to delete the album metadata and the corresponding media content. After the HDC device receives the identification information, corresponding metadata and album content are determined in the stored content and deleted. Based on this, the album content deleted after the last execution of the uplink synchronization process in the terminal device can be uplink-synchronized to the HDC device, i.e., the part of the album content is also deleted in the HDC device.
S912: the end side synchronization service indicates the uplink synchronization progress to the media library.
The specific reference may be made to the execution of step S906, which is not repeated here.
S913: after the uplink synchronization is completed, the terminal side synchronization service acquires HDC version information from the HDC device, where the information is used to indicate version information of the latest album content in the HDC device.
S914: the end side synchronization service informs the media library of successful completion of the uplink synchronization.
When the terminal side synchronization service notifies the media library of successful completion of uplink synchronization, the terminal side synchronization service may send version information of the content synchronized from the HDC device to the media library, and store the version information in the media library.
S915: the end side synchronization service requests the HDC device to unlock the synchronization lock.
After the end side synchronization service finishes the uplink synchronization process, the end side synchronization service can request the HDC equipment to release the synchronization lock, and after the synchronization lock is released, the end side synchronization service can not execute the uplink synchronization process with the HDC equipment. If the uplink synchronization process needs to be executed with the HDC device again, the end-side synchronization service needs to request the synchronization lock from the HDC device again.
Based on the above embodiments, the terminal device can synchronize the local content to the HDC device for storage, and does not need to implement by means of a home storage APP.
2. Content access
Based on the content synchronization method provided by the embodiment, the terminal device can synchronize metadata of the content in the HDC device to the self media library for storage, and further based on the metadata, the terminal device can realize the access of the application installed in the terminal device to the content in the HDC device.
Referring to fig. 10, taking a scenario in which a third party application installed in a terminal device accesses content in an HDC device as an example, a content access method provided in an embodiment of the present application may include:
s1001: a third party application in the terminal device receives an operation by the user indicating to view the content in the HDC device.
In some embodiments of the present application, a control may be provided in the third party application for controlling the selection of the source (or range) of the access content, and the user may select the source of the access content to be the local content, or the content in the HDC device, or both the local content and the content in the HDC device by operating the control. After the user selects the source of the access content, the third party application may request the corresponding content from the media library and present it for the user to further select therefrom the particular content to view.
For example, when the user selects the source of the access content to be the local content and the content in the HDC device, there may be the following step S1002 and the subsequent steps.
S1002: the third party application sends a content retrieval request to the media library requesting retrieval of media content in the HDC device.
Wherein the third party application may interact with the media library through an access interface provided by the media library.
S1003: the media library determines whether to open the content synchronized from the HDC device to the third party application, if so, performs step S1004, otherwise, performs step S1006.
The media library may obtain, in advance, an application white list set by the user, where the application white list includes identification information of at least one third party application that allows access to content in the HDC device. When a third party application requests content in the HDC device from the media library, if the media library can acquire the identification information of the third party application and judge whether the identification information is contained in the application white list, if so, the third party application can be determined to have the authority to access the content in the HDC device, and then the content synchronized from the HDC device can be provided to the third party application. Otherwise, it may be determined that the third party application does not have the right to access the content in the HDC device, then the content synchronized from the HDC device cannot be provided to the third party application.
S1004: the media library determines whether the third party application is within the set application white list range, if so, step S1005 is executed, otherwise, step S1006 is executed.
S1005: the media library sends metadata corresponding to the local content and the content synchronized from the HDC device to the third party application.
S1006: the media library sends metadata corresponding to the local content to a third party application.
S1007: the third party application displays a content display interface, wherein the content display interface comprises information of local content of the terminal equipment and information of content in the HDC equipment.
Wherein the information may be identification information or the like. For example, when the content requested by the third party application to the media library is an image, the content presentation interface may include identification information (such as a thumbnail image) of the image locally stored in the terminal device and identification information of the image in the HDC device. The identification information of the image in the HDC device is determined by the media library according to metadata corresponding to the content in the HDC device, and the metadata may be obtained by downlink synchronization between the terminal device and the HDC device according to the method provided in the foregoing embodiment.
S1008: the third party application receives an operation by a user indicating to view a target image in the HDC device.
For example, the operation performed by the user may be that the user clicks on the identification information of the target image in the HDC device, which is displayed in the content display interface, to indicate that the user needs to view the target image.
S1009: the third party application sends an image acquisition request to the media library requesting acquisition of the target image in the HDC device.
S1010: the media library sends the image acquisition request to the end-side synchronization service.
S1011: the end-side synchronization service obtains a target image from the HDC device.
S1012: the end side synchronization service sends the target image to the media library.
S1013: the media library sends the target image to a third party application.
S1014: the third party application displays the target image.
The third party application can request the media library to notify the third party application after determining that the local content of the terminal equipment or the content synchronized by the terminal equipment from the HDC changes by registering the content change notification to the media library, so that the third party application can update correspondingly. As an alternative embodiment, after the third party application successfully registers the notification of the content change with the media library, the media library may notify the third party application of the latest local content and metadata of the content synchronized from the HDC device after each end of the uplink and downlink synchronization process.
Optionally, in the above-mentioned process, before step S1002, the following step S100a may be further included:
s100a: the third party application registers the content change notification with the media library.
After step S1005 or step S1006, the following step S100b may be further included:
s100b: the media library sends a content change notification to the third party application.
Based on the method, the third party application in the terminal equipment can acquire the information of the content in the HDC equipment without home storage APP, and the information of the local content of the terminal equipment is combined for fusion display, so that the local content of the terminal equipment or the content acquired from the HDC equipment can be displayed to the user according to user operation.
The content management method provided in the embodiment of the present application is described below by way of example with reference to specific examples.
In this example, the content accessed and processed by the scheme of the present application is described by taking images and videos as examples.
The HDC device can provide functions of storing, backing up and synchronizing files such as pictures, videos and documents. The home storage APP is a matched application of the HDC equipment and can be installed in the terminal equipment. The user can complete the initialization installation of the HDC device, the binding of the user account number, the network access and the like through the home storage APP in the terminal device. The HDC device supports isolating content uploaded and downloaded by different users according to user account numbers.
In this example, a gallery application may be installed in the terminal device, and the gallery application may serve as a fusion carrier for the content in the terminal device and the HDC device. A user can browse and manage media content (pictures and videos) stored by the HDC device in a gallery application, the gallery application can fuse and display the media content in the HDC device with local media content of the terminal device, even media content of a cloud end and media content of the distributed storage device, repeated content cannot be displayed, and therefore the user can view the media content stored in multiple ends in one application of the gallery application.
Specifically, referring to fig. 11, in the content processing scheme implemented based on the gallery application, the scheme mainly includes the following 5 links.
Link 1, uplink and downlink synchronization link
In the link, the media library deployed in the application program framework layer of the terminal equipment can call the HDC service through integration, and the media library and the HDC service cooperate to complete the uplink and downlink synchronization of the media content between the terminal equipment and the HDC equipment. Reference may be made specifically to the description of the uplink and downlink synchronization procedure in the embodiments of the present application.
Link 2, media library fusion management link
In the link, the media library provides a synchronous interface for the gallery application, so that the gallery application can be connected with the HDC service through the media library, further the media content in the HDC device is synchronized to the database of the gallery application through the HDC service, and the gallery application can finish fusion of the local media content and the media content in the HDC device.
Optionally, the media library may further include a cloud space synchronization service, and based on the cloud space synchronization service, the media library may synchronize media content in the cloud storage space. The gallery application may also obtain and fuse media content stored in the cloud storage space based on the synchronization interface of the media gallery. Optionally, the media library may further include a distributed subsystem interface, based on which the media library may interact with the distributed storage device to synchronize media content with the distributed storage device (corresponding to the same user account). The gallery application may also acquire and fuse media content stored in the distributed storage device based on the synchronization interface of the media gallery.
By way of example, as shown in fig. 12, a local database and an HDC database may be included in the media library, wherein the local database includes a local media data table for recording metadata of media contents locally stored by the terminal device and an incremental operation table. The incremental operation record table is used for recording the operation performed on the locally stored media content in the time period of the interval of the two synchronization processes, and based on the incremental operation record table, the change condition of the local media content in the time period of the interval of the two synchronization processes can be determined, so that the content to be synchronized in the uplink incremental synchronization process can be determined. The primary synchronization process comprises a primary uplink synchronization process and/or a primary downlink synchronization process. The HDC database is used to manage media content synchronized by the terminal device from the HDC device. The HDC database comprises an HDC data table and an HDC operation table, the HDC data table is used for recording metadata of media content synchronized by the terminal equipment from the HDC equipment, the HDC operation table is used for recording operations on the media content in the HDC equipment in a time period of a two-time synchronization process interval, on one hand, the HDC database can be used for carrying out downlink incremental synchronization on the HDC service, on the other hand, the HDC database can be used for determining the change condition of the media content in the HDC equipment by a gallery application and the like, and therefore display content can be updated. The content recorded by the HDC data table and the HDC operation table is obtained from the HDC equipment by the HDC service. Optionally, the home storage APP may also obtain the media content in the HDC device through an HDC database in the media library.
As shown in fig. 12, for media content, the gallery application may synchronize local data from the local database of the media gallery to the gallery, may synchronize data from the HDC database of the media gallery to the gallery application, and thus complete fusion of the local media content and the HDC media content within the gallery application. Wherein, for the acquisition of HDC media content, the gallery application does not interact directly with the HDC service, but only with the HDC database of the media gallery.
Specifically, referring to fig. 13, the related flow may include:
s1301: the gallery application registers a synchronization state listening event list with the HDC service.
Specifically, the gallery application may register a synchronization state listening event list with the application side synchronization service, and the application side synchronization service registers the synchronization state listening event list with the end side synchronization service. After the registration is successful, when the state of the uplink and downlink synchronization processes changes, the synchronization state is notified to the application side synchronization service, and then the application side service notifies the synchronization state to the gallery application, so that the gallery application can acquire the progress of the uplink and downlink synchronization processes.
S1302: after the synchronization process is finished by adopting the full-scale synchronization mode, the HDC service informs the gallery application of the state information.
S1303: the gallery application obtains HDC media content from the HDC data table of the media gallery.
S1304: the gallery application fuses the HDC media content with the local content and writes the fused HDC media content to the gallery media.
The steps S1301 to S1304 may be executed during the first synchronization between the terminal device and the HDC device, where the synchronization mode adopted in the process is a full-scale synchronization mode, and the gallery application obtains the full-scale HDC media content after the full-scale synchronization process is executed, and fuses with the local media content. In the subsequent synchronization process, an incremental synchronization mode can be adopted when the terminal equipment and the HDC equipment are synchronized. The gallery application may obtain synchronized incremental HDC media content and update existing content after the incremental synchronization process is performed.
Optionally, after the steps S1031 to S1303, the method may further include the following steps:
s1305: after the synchronization process is finished by adopting the incremental synchronization mode, the HDC service notifies the state information to the gallery application.
S1306: the gallery application queries HDC media content delta information from the HDC operation table of the media gallery.
S1307: and the gallery application correspondingly updates the stored HDC media content according to the queried incremental information.
If the incremental information is the added part of the HDC content, the gallery application fuses the added HDC media content with the local content and writes the fused content into the gallery media surface; if the incremental information is the modified part of the HDC content, the gallery application correspondingly modifies and updates the information recorded in the gallery media according to the incremental information; if the incremental information is to delete part of the HDC content, the gallery application deletes the record of the corresponding part of the HDC content in the gallery media.
In some embodiments of the present application, in the case where the terminal device adopts the synchronization method of breakpoint continuous transmission in the synchronization process during the execution of the above procedure, the synchronization process may be interrupted for some reasons. When the synchronization process is interrupted, the HDC service can inform the terminal state to the gallery application, and the gallery application can prompt a user that the synchronization process is interrupted by displaying interrupt prompt information. Meanwhile, the gallery application can provide a control for triggering the starting of the synchronization process, and after the user determines that the synchronization process is interrupted according to the interruption prompt information, the user can manually control to continue synchronization through operating the control. After the gallery application receives the user's operation, it instructs the HDC service to resume execution of the synchronization process.
Optionally, in the process of executing the above flow, the terminal device may also execute the media content synchronization process in the cloud. For example, a cloud synchronization service may be included in the terminal device to complete media content synchronization with the cloud. However, the operation of the cloud synchronization service may increase power consumption of the terminal device, and even affect the normal operation of the HDC service, so that the synchronization process between the terminal device and the HDC device is interrupted. In this scenario, between the above step S1301 and step S1302, the following steps may be further included:
s130a: the HDC service negotiates power consumption management and control residual amount with the cloud synchronization service.
S130b: when the HDC service determines that the power consumption is limited, the execution of the synchronization process is interrupted.
S130c: the HDC service notifies the gallery that the application synchronization process is interrupted.
S130d: the gallery application displays a prompt message for prompting the synchronization process to be interrupted.
S130e: the gallery application receives operations performed by a user that indicate a resumption of the synchronization process.
S130f: the gallery application sends indication information to the HDC service indicating that the synchronization process is resumed.
S130g: the HDC service continues to perform the synchronization process.
Based on the above process, the user can control the execution progress of the synchronization process, and further the user experience is improved.
Link 3, synchronization status notification link
In the link, the HDC service may provide a synchronization status interface for the gallery application, and based on the interface, the HDC service may notify the gallery application of a progress of uplink and downlink synchronization with the HDC device, and the gallery application may display information of the synchronization status, so that a user perceives the synchronization progress.
Link 4, gallery fusion management link
In this link, the data management service in the gallery application may perform fusion management on the local media content, the content synchronized from the HDC device, the content synchronized from the cloud and the distributed device, and the like.
The gallery application may, for example, write operations (including offline operations) performed by a user on the HDC media content in the gallery application to the media gallery via a synchronization interface provided by the media gallery, where the media gallery performs corresponding records via the HDC operation table, and may synchronize to the HDC device in the next synchronization process.
Link 5, fusion display link
Based on link 5, the gallery application may perform fusion display and subsequent processing on local media content, content synchronized from the HDC device, content synchronized from the cloud and the distributed device, and the like. By way of example, gallery applications may perform fusion display of local media content and HDC media content, including fusion display of album presentation interfaces, fusion display of image presentation interfaces, album filter display, uplink status icon display, downlink synchronization progress status display, and the like. The gallery application may also perform a synchronous album scope setting including whether to present an HDC synchronous setting entry, an album setting list independent of the cloud synchronous album scope, and the like. The gallery application may also delete logical adaptations, delete logical adaptations for different pages and different filter conditions for albums, etc. The gallery application may also perform intelligent gallery data source adaptation such that the data sources that the intelligent gallery may analyze and present include HDC media content, and the like.
In one possible example, when a user opens a gallery application, the terminal device may display the interface shown in fig. 14a, which may include icons of at least one album therein. Each album contains at least one local image and/or at least one HDC image, and when a user clicks an icon of one album, the terminal device can display a thumbnail of the image contained in the album. When the user clicks a certain thumbnail, the terminal device can enlarge and display the original image corresponding to the thumbnail. The terminal equipment can acquire the thumbnail of the HDC album and the HDC image according to metadata acquired from the HDC equipment in the synchronization process.
For example, when the user clicks on the album "all photos" shown in fig. 14a, the terminal device may display the image display interface shown in fig. 14b, which may include thumbnails of the local images and the HDC images in all other albums. The terminal device may perform overall sorting on the local image and the thumbnail of the HDC image according to the sorting manner selected by the user (for example, a sorting manner according to standards such as creation time, file name, file size, etc.), and then perform fusion display. For example, in the interface shown in fig. 14b, the thumbnails a to c, e, g to i may be thumbnails of the local images, and the thumbnails d, f may be thumbnails of the HDC images. Optionally, the interface may further incorporate a thumbnail of an image synchronized by the display terminal device from other storage devices, for example, a thumbnail of a cloud image, etc.
Further, the terminal device may add a control for displaying the images for screening display in the image display interface, so that the user may select to view the images after filtering or screening the local image and the HDC image. For example, a screening control may be included in an image display interface as shown in FIG. 14 b. And the user can trigger the process of screening and displaying the displayed thumbnail by the terminal equipment through operating the screening control. When the user clicks on the filter control shown in fig. 14b, the terminal device may display an interface shown in fig. 14c, in which controls for selecting different types of images are included, such as a control for selecting a local image (a "local" control shown in fig. 14 c), a control for selecting an HDC image (a "home storage center" control shown in fig. 14 c), and the like. When the user clicks on the control of the "home storage center", the terminal device may display the interface shown in fig. 14d, which includes only the thumbnail of the HDC image.
Of course, as an alternative embodiment, the terminal device may also display the thumbnail images of the local image and the HDC image in different areas directly in the interface shown in fig. 14b, so that the user directly and explicitly distinguishes the image sources.
In one possible example, the terminal device may add a switch for controlling HDC synchronization, such as the "home storage synchronization" control shown in fig. 14e, to the setup interface of the gallery. When a user turns on the switch of the HDC synchronization, the terminal equipment can periodically synchronize media contents such as pictures and videos with the HDC equipment, and the information of the pictures and videos obtained by the synchronization of the HDC equipment and the local image video information in the gallery application are fused and displayed.
Further, the terminal device may further provide a selection control for selecting an album synchronization range, for example, after the user clicks on the "home storage synchronization" control shown in fig. 14e, the terminal device may display an interface shown in fig. 14f, where the interface includes selection controls corresponding to different albums, and the user may select which albums to perform content synchronization with the HDC device. For example, if only the album of "camera" is selected, when the terminal device performs synchronization with the HDC device, in the uplink synchronization process, only the image in the album of "camera" is uplink-synchronized to the HDC device, and after uplink synchronization, the album of "camera" and the image therein are also stored in the HDC device. In the downlink synchronization process, the terminal device only downlink-synchronizes the image in the photo album, namely the camera, in the HDC device to the local.
Optionally, in a state that the HDC synchronization switch is turned on, the terminal device may also simultaneously display information for indicating a synchronization progress, and when the synchronization progress is in synchronization, the terminal device may temporarily prohibit access and operation of the user to the content in the HDC album, and prompt the user to prohibit corresponding operations and the like in the current synchronization process when the user attempts to access and operate the content in the HDC album. When the synchronization progress is synchronized, the terminal device can allow and respond to the access and operation of the user to the content in the HDC album.
Referring to fig. 15, based on the above example, a flow of a content usage method provided in an embodiment of the present application may include:
s1501: the terminal equipment displays a first interface, wherein the first interface is an interface applied in the terminal equipment.
The application in the terminal device may be a system application or a third party application.
S1502: and the terminal equipment receives the operation of the user on the first interface, and the operation is used for triggering the selection of the image.
The operation is performed by the user in a system application or a third party application of the terminal equipment. Based on this operation, the user may trigger a flow of capturing and viewing images in the gallery application in the system application or the third party application.
By way of example, fig. 16a shows a schematic view of a first interface. As shown in fig. 16a, the first interface may be a display interface of a memo application, where the interface includes an image selection control, where the control is used to trigger an image selection to add an image to the memo note, and then an operation performed by the user on the first interface may be an operation performed by the user to click on the image selection control in the first interface.
S1503: the terminal equipment displays a second interface, wherein the second interface comprises a gallery selection control, and the control is used for selecting to acquire images from a gallery application.
Exemplary, fig. 16b is a schematic diagram of a second interface. After the user clicks the picture selection control shown in fig. 16a, the terminal device may display a second interface shown in fig. 16b, where the interface includes at least a gallery selection control, and may further include other selection controls for selecting other manners of acquiring an image.
S1504: and the terminal equipment receives the operation of the user on the second interface, wherein the operation is used for selecting to acquire the image from the gallery application.
Illustratively, this operation may be an operation in which the user clicks the gallery selection control shown in FIG. 16 b.
The terminal device may execute the above steps S1501 to 1503 through an installed system application or a third party application.
S1505: the terminal device displays a third interface including at least one local image and at least one thumbnail of the HDC image.
The local image is an image stored locally in the terminal device, and the HDC image is an image stored in the HDC device. The thumbnail is used as identification information of the image, so that the user can conveniently select the image. The thumbnail of at least one HDC image may be acquired from the HDC device after the terminal device synchronizes with the HDC device based on the synchronization manner described in the above embodiments.
Optionally, the third interface further includes a source identifier corresponding to each image, where the source identifier is used to indicate that a source of the image is a terminal device local or HDC device.
For example, after the user clicks the gallery selection control shown in fig. 16b, the terminal device may display a third interface shown in fig. 16c, where the third interface includes thumbnails of the local image and the HDC image, where the thumbnails a to c, e, g to i are thumbnails of the local image, and the thumbnails d and f are thumbnails of the HDC image.
In some embodiments of the present application, a system application or a third party application in the terminal device may call an image selector (picture) component of the gallery application through a Pick Action, and the gallery application fuses and presents the local content and the HDC content in the image selector when the image selector component is called, so that a user may select an image stored locally and an image stored in the HDC device, which is more convenient for the user to select an image simply, quickly and conveniently.
S1506: the terminal device receives an operation performed by a user on the third interface, the operation being used for selecting one HDC image.
Wherein the operation is an operation in which the user selects a thumbnail of one HDC image in the first interface.
For example, this operation may be an operation in which the user selects a thumbnail of one HDC image in the interface shown in fig. 16c and clicks "done".
S1507: the terminal device downloads the HDC image selected by the user from the HDC device.
Specifically, the gallery application in the terminal device may determine corresponding metadata according to the thumbnail information of the HDC image selected by the user, obtain a download API of the HDC image according to the corresponding metadata, and drive the HDC service to download the HDC image from the HDC device by calling the download API.
After the terminal device downloads the HDC image from the HDC device, the downloaded HDC image may be stored locally, and a uniform resource identifier (uniform resource identifier, URI) of the HDC image locally may be provided to the system application or the third party application. The system application or third party application may also continue to access the HDC image or perform other operations on the HDC image based on the URI in subsequent processes.
Optionally, before downloading the HDC image selected by the user from the HDC device, the terminal device may also prompt the user to confirm whether to download the HDC image, and if it is determined that the HDC image is downloaded according to the information fed back by the user, the terminal device performs an operation of downloading the image from the HDC device.
S1508: the terminal device displays a fourth interface including one HDC image selected by the user.
For example, after the user selects a thumbnail (thumbnail d) of one HDC image in the interface shown in fig. 16c and clicks "complete", the terminal device may display a fourth interface as shown in fig. 16d, which increases the image selected by the user (image d corresponding to thumbnail d) compared to the first interface shown in fig. 16a, achieving the effect of adding the image in the HDC device in the memo. For the user, the user can realize the effect only by operating in the memo application, and the whole process is very simple and convenient to operate, so that the use experience of the user can be obviously improved.
It should be noted that, the specific implementation process provided by the above examples is merely an illustration of a process flow applicable to the embodiments of the present application, where the execution sequence of each step may be adjusted accordingly according to actual needs, and other steps may be added or some steps may be reduced. The method flows provided by the above examples may also be performed in combination with the method flows provided by other examples, so as to implement the solutions provided by the embodiments of the present application.
Based on the above embodiments and the same concept, the present application further provides a content management method applied to a first electronic device, where the first electronic device includes a first service and a first application, as shown in fig. 17, the method includes:
s1701: the first service acquires first information and second information and stores the first information and the second information; wherein the first information is used to identify first media content stored in the first electronic device and the second information is used to identify second media content stored in a second electronic device.
The first electronic device may be the terminal device described in the foregoing embodiment, and the second electronic device may be the HDC device described in the foregoing embodiment.
In some embodiments of the present application, the first application is any application installed in the first electronic device. The first service is located at an application framework layer in an operating system of the first electronic device. The first service may include the media library and the HDC service described in the above embodiments, and the first application may be a system application or a third party application described in the above embodiments.
In some embodiments of the present application, the first application may obtain the first information and/or the second information from the first service through a first interface provided by the first service. Illustratively, the first interface may be an access interface provided by the media library shown in fig. 5 in the above embodiment.
In some embodiments of the present application, the first media content and the second media content may be images or videos, and the first information and the second information may be thumbnails described in the above embodiments.
In some embodiments of the present application, the first metadata corresponding to the first media content includes first information, the second metadata corresponding to the second media content includes second information, and the first service may obtain the first metadata and store the first metadata, and obtain the second metadata and store the second metadata, so as to achieve the effect of obtaining the first information and the second information and storing the first information and the second information.
Wherein the first metadata and the first media content are content stored locally at the first electronic device, which may be obtained directly from the local by the first service. For the second metadata and the second media content, the first service may obtain these content by performing downstream synchronization with the second electronic device.
In the solution provided in the embodiments of the present application, the first service may perform the synchronization process with the second electronic device periodically, or the first service may perform the synchronization process with the second electronic device when the stored media content or/and metadata changes. The synchronization process includes a downlink synchronization process and/or an uplink synchronization process. When the synchronization process includes a downlink synchronization process and an uplink synchronization process, the downlink synchronization process may be performed first, the uplink synchronization process may be performed after the uplink synchronization process, or the uplink synchronization process may be performed first, and the downlink synchronization process may be performed after the uplink synchronization process. The case that the media content stored in the first electronic device changes may be that the first electronic device adds the stored media content, or that the media content stored in the first electronic device is modified or deleted, or that the metadata stored in the first electronic device synchronized from the second electronic device is deleted.
The first service may trigger downlink and/or uplink synchronization when determining the start time of the arrival period, or the first service may trigger downlink and/or uplink synchronization when determining that the stored media content and/or the stored metadata from the second electronic device changes. After triggering downlink synchronization, the first service may send synchronization indication information to the second electronic device, where the synchronization indication information is used to indicate the second electronic device to send downlink synchronization information to the first service, and the downlink synchronization information may be used to indicate at least one of the following: transmitting metadata corresponding to the added media content in the second electronic device to the first service; transmitting the modified metadata or the metadata corresponding to the modified media content in the second electronic device to the first service; and indicating the metadata corresponding to the media content deleted in the second electronic equipment to the first service. After the second electronic device sends corresponding information to the first service according to the indication, the first service can determine the change of the media content and the metadata in the second electronic device according to the information, and then correspondingly update the metadata stored by the second electronic device.
In one possible scenario, the second media content may be newly added media content in the second electronic device after the previous downlink synchronization process, and the first service may instruct the second electronic device to send downlink synchronization information to the first service when determining to perform the downlink synchronization process. After receiving the indication, the second electronic device determines that the second media content is media content added after the previous downlink synchronization process, and then the second electronic device may send downlink synchronization information including the second metadata and the first indication information to the first service, where the first indication information is used to indicate: the second metadata is metadata corresponding to the media content added in the second electronic device. The first service may determine that only the second metadata needs to be stored according to the received first indication information, and the first service stores the second metadata.
In another possible scenario, the second media content may be media content that the second electronic device modified the third media content after the previous synchronization process. Because the third media content is the media content stored by the second electronic device before the previous synchronization process, the first service may acquire third metadata corresponding to the third media content from the second electronic device and store the third metadata in the previous downlink synchronization process. And after the second electronic equipment modifies the third media content to obtain the second media content, the third metadata is correspondingly updated into the second metadata. Therefore, when the first service determines to perform the present downlink synchronization procedure, it needs to acquire the second metadata from the second electronic device to update the third metadata stored previously. The first service may instruct the second electronic device to send the downlink synchronization information to the first service. After the second electronic device receives the indication, the second media content is determined to be the modified third media content, and then the downlink synchronous information containing the second metadata and the second indication information can be sent to the first service; wherein the second indication information is used for indicating: the second metadata is metadata obtained after the third metadata is modified. The first service may determine to update the stored third metadata with the second metadata according to the second indication information, and the first service may update the third metadata to the second metadata. When the first service updates the third metadata to the second metadata, the corresponding content in the third metadata may be replaced with a content different from the content in the third metadata, that is, only the content changed in the third metadata may be replaced. Alternatively, the first service may delete the third metadata first and then store the second metadata, or may update the third metadata to the second metadata.
In the above method, the second electronic device may only modify the third metadata corresponding to the third media content into the second metadata, where the third media content may be unchanged, and the second media content is the third media content. After the first service triggers the downlink synchronization process, the second electronic device also needs to indicate the second metadata and the information that the second metadata is the modified third metadata to the first service according to the method, so that the first service updates the stored third metadata into the second metadata.
In yet another possible scenario, after the first service acquires and stores the second metadata, if the second electronic device deletes the second media content and the corresponding second metadata, the first service may instruct the second electronic device to send downlink synchronization information to the first service when the first service performs the downlink synchronization process again. After the second electronic device receives the indication information, if it is determined that the second media content and the second metadata are deleted, downlink synchronization information including third indication information is sent to the first service, where the third indication information is used to indicate: and the second metadata is metadata corresponding to the media content deleted in the second electronic equipment. The first service may determine to delete the second metadata according to the third indication information, and delete the stored second metadata. Optionally, the third indication information is included in the above synchronization indication information, and the first service may send the third indication information to the second electronic device by sending the above synchronization indication information.
S1702: the first application obtains the first information and/or the second information from the first service.
After the first service obtains and stores the first metadata and the second metadata, the first application may access the first metadata and the second metadata through a first interface provided by the first service, further determine corresponding first information and second information, and may display the first information and the second information to a user, so that the user may know contents stored in the first electronic device and the second electronic device.
S1703: the first application displays the first information and/or the second information.
In some embodiments of the present application, after the first application displays the first information and the second information, or after the first application displays the second information, the user may instruct the first application to store the second media content identified by the second information locally to the first electronic device by performing a corresponding operation. The first application may instruct the first service to retrieve and store the second media content, which the first service may retrieve and store from the second electronic device, and may also provide to the first application. After the first service provides the second media content to the first application, the first application may display the media content to the user. And may determine to modify or delete the second media content and the second metadata based on the user performed operation.
Specifically, when the first application modifies the second media content into the seventh media content according to the operation of the user, the first application instructs the first service to update the second media content into the seventh media content and update the second metadata into fourth metadata corresponding to the seventh media content. The first service updates the stored second media content to the seventh media content and updates the stored second metadata to the fourth metadata according to the instruction of the first application. After updating the second media content into the first media content, the first service may trigger to execute an uplink synchronization process, where the first service may send the seventh media content, the fourth metadata, and the fifth instruction information to the second electronic device; wherein the fifth indication information is used for indicating: updating the stored second media content to the seventh media content, and updating the stored second metadata to the fourth metadata. The second electronic device may update the stored second media content to the seventh media content and the stored second metadata to the fourth metadata according to the indication of the first service.
When the first application receives an instruction from a user to delete the second media content and the second metadata stored in the first electronic device and the second electronic device, the first application may first determine whether the second media content is already stored in the first electronic device, if so, the first application instructs the first service to delete the second media content and the second metadata, and the first service deletes the stored second media content and the second metadata according to the instruction. Otherwise, the first application may instruct the first service to delete the second metadata only, and the first service deletes the stored second metadata according to the instruction. The first service may trigger the uplink synchronization process to be performed after deleting the stored second media content and the second metadata, or after deleting the second metadata. In the process of performing uplink synchronization, the first service instructs the second electronic device to delete the stored second media content and the second metadata.
In some embodiments of the present application, the first electronic device further includes a second application, and after the step S1701, the method may further include the following steps S1704 to S1705:
s1704: the second application obtains the first information and/or the second information from the first service.
S1705: the second application displays the first information and/or the second information.
The method for the second application to acquire and display the first information and/or the second information may refer to the method for the first application to acquire and display the first information and/or the second information, which is not described herein again.
The specific implementation process of each step may also refer to the related description in the foregoing embodiments, which is not repeated here.
Based on the above embodiments and the same concept, the embodiments of the present application further provide an electronic device, where the electronic device is configured to implement the content management method provided by the embodiments of the present application. As shown in fig. 18, the electronic device 1800 may include: a display 1801, a memory 1802, one or more processors 1803, and one or more computer programs (not shown). The various devices described above may be coupled by one or more communication buses 1804.
The display screen 1801 is used to display related user interfaces such as images, videos, application interfaces, and the like. The memory 1802 has stored therein one or more computer programs (code), including computer instructions; the one or more processors 1803 invoke the computer instructions stored in the memory 1802, causing the electronic device 1800 to perform the content management methods provided by embodiments of the present application.
In particular implementations, the memory 1802 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1802 may store an operating system (hereinafter referred to as a system), such as ANDROID, IOS, WINDOWS, or an embedded operating system, such as LINUX. The memory 1802 may be used to store implementation programs for embodiments of the present application. The memory 1802 may also store network communication programs that may be used to communicate with one or more additional devices, one or more user devices, and one or more network devices. The one or more processors 1803 may be a general purpose central processing unit (Central Processing Unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in accordance with aspects of the present Application.
It should be noted that fig. 18 is merely an implementation of the electronic device 1800 provided in the embodiments of the present application, and in practical applications, the electronic device 1800 may include more or fewer components, which is not limited herein.
Based on the above embodiments and the same concept, the embodiments of the present application further provide a content management system, including: a first electronic device and a second electronic device, wherein the first electronic device comprises a first service and a first application; the first electronic device is configured to: acquiring first information and second information through the first service, and storing the first information and the second information; wherein the first information is used for identifying first media content stored in the first electronic device and the second information is used for identifying second media content stored in the second electronic device; obtaining, by the first application, the first information and/or the second information from the first service; and displaying the first information and/or the second information through the first application.
In one possible design, the second electronic device is a home storage device.
In one possible design, the first electronic device is further configured to: determining, by the first application, to obtain the second media content; sending, by the first application, a content acquisition request to the first service, the content acquisition request being for requesting acquisition of the second media content; requesting, by the first service, acquisition of the second media content from the second electronic device in response to the received content acquisition request; the second electronic device is configured to send the second media content to the first service; the first electronic device is further configured to: receiving, by the first service, the second media content from the second electronic device and sending the second media content to the first application; and after receiving the second media content through the first application, displaying the second media content.
It should be noted that, the method executed by the first electronic device in the system may refer to the method executed by the terminal device or the first electronic device in the above embodiment, and the method executed by the second electronic device in the system may refer to the method executed by the HDC device or the second electronic device in the above embodiment, which is not described herein again.
Based on the above embodiments and the same conception, the present application embodiment also provides a computer-readable storage medium storing a computer program, which when run on a computer, causes the computer to perform the method provided by the above embodiments of the present application.
Based on the above embodiments and the same conception, the present application embodiment also provides a computer program product comprising a computer program or instructions that, when run on a computer, cause the computer to perform the method provided by the above embodiments of the present application.
The method provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user device, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by means of a wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), the computer-readable storage medium may be any available medium that can be accessed by the computer or a data storage device such as a server, data center, etc., that contains an integration of one or more available media, the available media may be magnetic media (e.g., floppy disk, hard disk, tape), optical media (e.g., digital video disc (digital video disc, DVD), or semiconductor media (e.g., SSD), etc.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (25)

1. A content management method applied to a first electronic device, wherein the first electronic device comprises a first service and a first application, the method comprising:
the first service acquires first information and second information and stores the first information and the second information; wherein the first information is used for identifying first media content stored in the first electronic device and the second information is used for identifying second media content stored in a second electronic device;
the first application obtains the first information and/or the second information from the first service;
the first application displays the first information and/or the second information.
2. The method of claim 1, wherein the first electronic device further comprises a second application therein;
after the first service obtains the first information and the second information and stores the first information and the second information, the method further includes:
The second application obtains the first information and/or the second information from the first service;
the second application displays the first information and/or the second information.
3. The method according to claim 1 or 2, wherein the first application obtaining the first information and/or the second information from the first service comprises:
the first application obtains the first information and/or the second information from the first service through a first interface provided by the first service.
4. A method according to any one of claims 1 to 3, wherein first metadata corresponding to the first media content includes the first information, and second metadata corresponding to the second media content includes the second information;
the first service obtaining first information and second information and storing the first information and the second information, including:
the first service acquires the first metadata and stores the first metadata, and the first service acquires the second metadata and stores the second metadata.
5. The method of claim 4, wherein the first service obtains the second metadata and stores the second metadata, comprising:
The first service executes a downlink synchronization process; the downlink synchronization process includes:
the first service instructs the second electronic device to send downlink synchronization information to the first service;
the first service receives the downlink synchronous information sent by the second electronic equipment; the downlink synchronization information includes the second metadata and first indication information, where the first indication information is used to indicate: the second metadata is metadata corresponding to the media content added in the second electronic equipment;
the first service determines to store the second metadata according to the first indication information;
the first service stores the second metadata.
6. The method of claim 4, wherein prior to the first service obtaining the second metadata and storing the second metadata, the method further comprises:
the first service obtains third metadata and stores the third metadata; the third metadata is metadata corresponding to third media content stored in the second electronic device;
the first service obtaining the second metadata and storing the second metadata, including:
The first service executes a downlink synchronization process; the downlink synchronization process includes:
the first service instructs the second electronic device to send downlink synchronization information to the first service;
the first service receives the downlink synchronization information from the second electronic device, wherein the downlink synchronization information comprises the second metadata and second indication information; the second indication information is used for indicating: the second metadata is metadata obtained after the third metadata is modified; the second media content is the third media content or the modified third media content;
the first service determines to update the stored third metadata by using the second metadata according to the second indication information;
the first service updates the third metadata to the second metadata.
7. The method of claim 4, wherein after the first service obtains the second metadata and stores the second metadata, the method further comprises:
the first service executes a downlink synchronization process; the downlink synchronization process includes:
The first service instructs the second electronic device to send downlink synchronization information to the first service;
the first service receives the downlink synchronization information from the second electronic device, wherein the downlink synchronization information includes third indication information, and the third indication information is used for indicating: the second metadata are metadata corresponding to the media content deleted in the second electronic device;
the first service determines to delete the second metadata according to the third indication information;
the first service deletes the stored second metadata.
8. The method of any of claims 4-7, wherein after the first application displays the first information and the second information or after the first application displays the second information, the method further comprises:
the first application sends fourth indication information to the first service when determining to delete the second metadata; the fourth indication information is used for indicating deletion of the second metadata;
the first service deletes the second metadata in response to the received fourth indication information.
9. The method of any of claims 4-7, wherein after the first application obtains the first information and the second information from the first service or after the first application obtains the second information from the first service, the method further comprises:
the first application instructs the first service to acquire the second media content identified by the second information;
the first service obtains the second media content from the second electronic device and stores the second media content.
10. The method of claim 9, wherein after the first service obtains the second media content from the second electronic device and stores the second media content, the method further comprises:
the first application obtaining the second media content from the first service;
the first application modifying the second media content to a seventh media content and directing the first service to update the second media content to the seventh media content and the second metadata to a fourth metadata; the fourth metadata is metadata corresponding to the seventh content;
The first service updates the second media content to the seventh media content and updates the second metadata to the fourth metadata.
11. The method of claim 10, wherein after the first service updates the second media content to the seventh media content and updates the second metadata to the fourth metadata, the method further comprises:
the first service executes an uplink synchronization process; the uplink synchronization process includes:
the first service sends the seventh media content, the fourth metadata and fifth indication information to the second electronic device; wherein the fifth indication information is used for indicating: updating the stored second media content to the seventh media content, and updating the stored second metadata to the fourth metadata.
12. The method of claim 9, wherein after the first service obtains the second media content from the second electronic device and stores the second media content, the method further comprises:
the first application sends sixth indication information to the first service when determining to delete the second media content and the second metadata; the sixth indication information is used for indicating to delete the second media content and the second metadata;
The first service deletes the stored second media content and the second metadata in response to the received sixth indication information.
13. The method of claim 8 or 12, wherein the method further comprises:
the first service executes an uplink synchronization process; the uplink synchronization process includes:
the first service sends seventh indication information to the second electronic equipment; wherein the seventh indication information is used for indicating: and deleting the stored second media content and the second metadata.
14. The method according to claim 11 or 13, wherein the first service performs an uplink synchronization procedure, comprising:
the first service executes the uplink synchronization process when determining the starting time reaching the second period; or alternatively
The first service performing the uplink synchronization process upon determining that the second media content stored at the first electronic device is modified; or alternatively
The first service performs the uplink synchronization process when determining that the second metadata stored in the first electronic device is deleted.
15. The method of claim 11, 13 or 14, wherein the first electronic device is in a state of logging into a first user account;
Before the first service performs the uplink synchronization procedure, the method further includes:
the first service sends a synchronous lock acquisition request to the second electronic device, wherein the synchronous lock acquisition request is used for requesting to acquire a synchronous lock, and the synchronous lock is used for indicating: allowing the first electronic equipment to execute an uplink synchronization process, and prohibiting target electronic equipment from executing the uplink synchronization process, wherein the target electronic equipment is electronic equipment which logs in the first user account except the first electronic equipment;
the first service receives synchronous lock indication information from the second electronic equipment, wherein the synchronous lock indication information is used for indicating the synchronous lock;
after the first service performs the uplink synchronization procedure, the method further includes:
the first service sends a synchronization lock release request to the second electronic device, where the synchronization lock release request is used to request release of the synchronization lock.
16. The method of any of claims 1-8, wherein after the first application obtains the first information and the second information from the first service or after the first application obtains the second information from the first service, the method further comprises:
The first application determines to acquire the second media content;
the first application sends a content acquisition request to the first service, wherein the content acquisition request is used for requesting to acquire the second media content;
the first service requests the second electronic equipment to acquire the second media content in response to the received content acquisition request;
the first service receiving the second media content from the second electronic device and sending the second media content to the first application;
and after the first application receives the second media content, displaying the second media content.
17. The method of any of claims 1-8, wherein after the first application displays the first information and the second information, the method further comprises:
the first application responds to the received first operation, displays the second information and does not display the first information; wherein the first operation is to instruct viewing of only information of media content stored in the second electronic device.
18. The method of any of claims 1-17, wherein the first media content and the second media content are images or videos and the first information and the second information are thumbnails.
19. The method of any of claims 1-18, wherein the first service is located at an application framework layer in an operating system of the first electronic device.
20. The method of any of claims 1-19, wherein the second electronic device is a home storage device.
21. An electronic device comprising a display screen, a memory, and one or more processors;
wherein the memory is for storing computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-20.
22. A content management system, comprising: a first electronic device and a second electronic device, wherein the first electronic device comprises a first service and a first application;
the first electronic device is configured to: acquiring first information and second information through the first service, and storing the first information and the second information; wherein the first information is used for identifying first media content stored in the first electronic device and the second information is used for identifying second media content stored in the second electronic device; obtaining, by the first application, the first information and/or the second information from the first service; and displaying the first information and/or the second information through the first application.
23. The system of claim 22, wherein the second electronic device is a home storage device.
24. The system of claim 22 or 23, wherein,
the first electronic device is further configured to: determining, by the first application, to obtain the second media content; sending, by the first application, a content acquisition request to the first service, the content acquisition request being for requesting acquisition of the second media content; requesting, by the first service, acquisition of the second media content from the second electronic device in response to the received content acquisition request;
the second electronic device is configured to send the second media content to the first service;
the first electronic device is further configured to: receiving, by the first service, the second media content from the second electronic device and sending the second media content to the first application; and after receiving the second media content through the first application, displaying the second media content.
25. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when run on an electronic device, causes the electronic device to perform the method according to any one of claims 1-20.
CN202210400216.1A 2022-01-27 2022-04-15 Content management method, electronic equipment and system Pending CN116561459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/073165 WO2023143377A1 (en) 2022-01-27 2023-01-19 Content management method, and electronic device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210100318 2022-01-27
CN2022101003181 2022-01-27

Publications (1)

Publication Number Publication Date
CN116561459A true CN116561459A (en) 2023-08-08

Family

ID=87493473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210400216.1A Pending CN116561459A (en) 2022-01-27 2022-04-15 Content management method, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN116561459A (en)

Similar Documents

Publication Publication Date Title
CN111221845A (en) Cross-device information searching method and terminal device
CN112286618A (en) Device cooperation method, device, system, electronic device and storage medium
WO2022089207A1 (en) Cross-device application interaction method, electronic device, and server
WO2022143081A1 (en) Data synchronization method and apparatus
CN110865837B (en) Method and terminal for system upgrade
WO2022089294A1 (en) Inter-device screen collaboration method and device
CN111506237A (en) Terminal and method for starting operation function in application
WO2022121445A1 (en) Widget adding method, apparatus, and computer-readable storage medium
WO2022063037A1 (en) Method and apparatus for installing patch package
CN111246299A (en) Communication terminal and application management method
CN111158735B (en) Hot patch file processing method and communication terminal
CN113709026A (en) Method, device, storage medium and program product for processing instant communication message
WO2023109764A1 (en) Wallpaper display method and electronic device
CN114510186A (en) Cross-device control method and device
WO2023143377A1 (en) Content management method, and electronic device and system
CN116561459A (en) Content management method, electronic equipment and system
WO2022105716A1 (en) Camera control method based on distributed control, and terminal device
US9077696B2 (en) Transferring data items amongst computing devices using metadata that identifies a location of a transferred item
CN114138293A (en) Terminal and method for upgrading portable system of external memory card
CN114595203A (en) File synchronization method based on dual systems, terminal device and storage medium
CN114138343A (en) Terminal and terminal starting method
CN113642010A (en) Method for acquiring data of extended storage device and mobile terminal
CN115941674B (en) Multi-device application connection method, device and storage medium
CN117093315B (en) Upgrade content display method, electronic equipment and storage medium
WO2024067142A1 (en) Display method and electronic device

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