[go: up one dir, main page]

CN119440339A - Cross-device file management method, device, electronic device and program product - Google Patents

Cross-device file management method, device, electronic device and program product Download PDF

Info

Publication number
CN119440339A
CN119440339A CN202411448833.4A CN202411448833A CN119440339A CN 119440339 A CN119440339 A CN 119440339A CN 202411448833 A CN202411448833 A CN 202411448833A CN 119440339 A CN119440339 A CN 119440339A
Authority
CN
China
Prior art keywords
file
electronic device
target
files
request
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
CN202411448833.4A
Other languages
Chinese (zh)
Inventor
张腾邺
闫康康
王志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202411448833.4A priority Critical patent/CN119440339A/en
Publication of CN119440339A publication Critical patent/CN119440339A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种跨设备的文件管理方法、装置、电子设备及程序产品。该方法应用于第一电子设备,所述第一电子设备与第二电子设备建立通信连接,该方法包括:获取所述第二电子设备存储的一个或多个文件对应的文件信息;根据所述一个或多个文件对应的文件信息,展示文件管理界面;所述文件管理界面中展示一个或多个所述文件对应的图标,所述文件对应的图标是根据文件对应的文件类型确定的;响应于对所述文件管理界面中的目标图标的触发操作,对所述目标图标对应的目标文件进行管理操作。上述的跨设备的文件管理方法、装置、电子设备及程序产品,提高了用户对跨设备的文件进行管理操作的便捷性及准确性。

The embodiments of the present application disclose a cross-device file management method, apparatus, electronic device, and program product. The method is applied to a first electronic device, and the first electronic device establishes a communication connection with a second electronic device, and the method includes: obtaining file information corresponding to one or more files stored in the second electronic device; displaying a file management interface according to the file information corresponding to the one or more files; displaying one or more icons corresponding to the files in the file management interface, and the icons corresponding to the files are determined according to the file types corresponding to the files; and in response to a trigger operation on a target icon in the file management interface, performing management operations on the target files corresponding to the target icons. The above-mentioned cross-device file management method, apparatus, electronic device, and program product improve the convenience and accuracy of users' management operations on files across devices.

Description

Cross-device file management method and device, electronic device and program product
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for managing a file across devices, an electronic device, and a program product.
Background
With the rapid development of information technology, file management across devices has become one of indispensable functions in daily work and life. A user can manage files stored in one electronic device, and the file management requirement of the user is met. In the cross-equipment file management scheme provided in the market at present, the file management interface displayed at the front end has less information, is not visual enough, and influences convenience and accuracy of management operation of a user on files.
Disclosure of Invention
The embodiment of the application discloses a cross-equipment file management method, a device, electronic equipment and a program product, which can display icons corresponding to file types of files on a file management interface, more intuitively embody the file types of the files through the icons, help a user to find the files needing to be managed and operated more quickly, reduce the probability of misoperation and improve the convenience and accuracy of managing and operating the cross-equipment files by the user.
The embodiment of the application discloses a cross-equipment file management method which is applied to first electronic equipment, wherein the first electronic equipment and second electronic equipment are in communication connection, and the method comprises the following steps:
acquiring file information corresponding to one or more files stored in the second electronic equipment;
displaying one or more icons corresponding to the files in the file management interface, wherein the icons corresponding to the files are determined according to the file types corresponding to the files;
And responding to the triggering operation of the target icon in the file management interface, and performing management operation on the target file corresponding to the target icon.
The embodiment of the application discloses a cross-equipment file management method which is applied to second electronic equipment, wherein the second electronic equipment is in communication connection with first electronic equipment, and the method comprises the following steps:
The method comprises the steps of sending file information corresponding to one or more files stored in the second electronic device to the first electronic device, enabling the first electronic device to display a file management interface according to the file information corresponding to the one or more files, displaying one or more icons corresponding to the files in the file management interface, determining the icons corresponding to the files according to the file types corresponding to the files, and providing a management function for the files stored in the second electronic device by the file management interface.
The embodiment of the application discloses a cross-equipment file management device which is applied to first electronic equipment, wherein the first electronic equipment and second electronic equipment are in communication connection, and the device comprises:
the information acquisition module is used for acquiring file information corresponding to one or more files stored in the second electronic equipment;
The display module is used for displaying a file management interface according to the file information corresponding to the one or more files, wherein one or more icons corresponding to the files are displayed in the file management interface, and the icons corresponding to the files are determined according to the file types corresponding to the files;
And the management module is used for responding to the triggering operation of the target icon in the file management interface and carrying out management operation on the target file corresponding to the target icon.
The embodiment of the application discloses a cross-equipment file management device which is applied to second electronic equipment, wherein the second electronic equipment is in communication connection with first electronic equipment, and the device comprises:
The information sending module is used for sending file information corresponding to one or more files stored in the second electronic device to the first electronic device so that the first electronic device can display a file management interface according to the file information corresponding to the one or more files, wherein one or more icons corresponding to the files are displayed in the file management interface, the icons corresponding to the files are determined according to the file types corresponding to the files, and the file management interface is used for providing management functions for the files stored in the second electronic device. .
The embodiment of the application discloses electronic equipment, which comprises a memory, a processor and a receiving and transmitting unit, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic equipment realizes the method in any embodiment.
An embodiment of the application discloses a computer-readable storage medium, on which a computer program is stored which, when executed by a processor in an electronic device, causes the electronic device to implement a method as described in any of the embodiments above.
Embodiments of the application disclose a computer program product comprising a computer program which, when executed by a processor in an electronic device, causes the electronic device to implement a method as described in any of the embodiments above.
According to the method, the device, the electronic equipment and the program product for managing the cross-equipment files, the first electronic equipment acquires file information corresponding to one or more files stored in the second electronic equipment, a file management interface is displayed according to the file information corresponding to the one or more files, icons corresponding to the one or more files are displayed in the file management interface, the icons corresponding to the files are determined according to the file types corresponding to the files, and the first electronic equipment responds to triggering operation of target icons in the file management interface to manage the target files corresponding to the target icons. In the embodiment of the application, the first electronic device can display the icon corresponding to the file type of the file stored in the second electronic device in the file management interface corresponding to the second electronic device, the file type of the file can be more intuitively embodied through the icon, a user can be helped to find the file needing to be managed and operated more quickly, the probability of misoperation is reduced, and the convenience and the accuracy of managing and operating the file crossing the devices by the user are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application scenario diagram of a cross-device file management method in one embodiment;
FIG. 2 is a timing diagram of a method of cross-device file management in one embodiment;
FIG. 3 is a flow diagram of a method of cross-device file management in one embodiment;
FIG. 4 is a schematic diagram of an icon in one embodiment;
FIG. 5A is a schematic diagram of an interface for triggering management operations on files in a second electronic device in one embodiment;
FIG. 5B is a schematic diagram of an interface for triggering management operations on files in a second electronic device according to another embodiment;
FIG. 6 is a flow diagram that illustrates the implementation of a cross-device file search function in one embodiment;
FIG. 7A is an interface diagram of a file management interface in one embodiment;
FIG. 7B is an interface diagram of a file management interface according to another embodiment;
FIG. 7C is an interface diagram of a file management interface according to another embodiment;
FIG. 8 is a flowchart of a first electronic device performing a management operation on a target file in a second electronic device in one embodiment;
FIG. 9 is a timing diagram of a second electronic device transmitting a file to a first electronic device according to one embodiment;
FIG. 10 is a timing diagram illustrating data transfer between a first electronic device and a second electronic device in one embodiment;
FIG. 11 is a timing diagram illustrating data transmission between a first electronic device and a second electronic device according to another embodiment;
FIG. 12 is a timing diagram illustrating data transmission between a first electronic device and a second electronic device according to another embodiment;
FIG. 13 is a flow diagram of a first electronic device downloading a file from a second electronic device, in one embodiment;
FIG. 14 is a timing diagram of a third party application sending a file of a second electronic device to a local location of a first electronic device in one embodiment;
FIG. 15 is an interface diagram of a file management interface in another embodiment;
FIG. 16 is a flow chart of a method of cross-device file management in another embodiment;
FIG. 17 is a block diagram of a cross-device file management apparatus in one embodiment;
FIG. 18 is a block diagram of a cross-device file management apparatus in another embodiment;
fig. 19 is a block diagram of an electronic device in one embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It will be understood that the terms first, second, etc. as used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first electronic device may be referred to as a second electronic device, and similarly, a second electronic device may be referred to as a first electronic device, without departing from the scope of the application. The first electronic device and the second electronic device are both electronic devices, but they are not the same electronic device.
FIG. 1 is an application scenario diagram of a cross-device file management method in one embodiment. As shown in fig. 1, a communication connection may be established between the first electronic device 110 and the second electronic device 120, where the first electronic device 110 and the second electronic device 120 may include, but are not limited to, a mobile phone, a wearable device (such as a smart watch, a smart glasses, etc.), a vehicle-mounted terminal, a tablet computer, a notebook computer, a PC (Personal Computer, a personal computer), a smart home device, etc.
Illustratively, the first electronic device 110 may be a notebook computer or a PC, the second electronic device may be a mobile phone or a wearable device, etc., but is not limited thereto.
In the embodiment of the present application, cross-device file management may be implemented on the first electronic device 110, where cross-device file management may refer to managing files stored on other electronic devices (such as the second electronic device 120) by the first electronic device 110.
The communication connection established between the first electronic device 110 and the second electronic device 120 may include, but is not limited to, a bluetooth communication connection, a Wi-Fi communication connection, a USB (Universal Serial Bus ) connection, and the like.
Alternatively, the communication connection between the first electronic device 110 and the second electronic device 120 may be established based on WebSocket protocol, which is a protocol that performs full duplex communication over a single TCP (Transmission Control Protocol ) connection.
In some embodiments, the first electronic device 110 and the second electronic device 120 may be electronic devices belonging to different vendors, and the operating system of the first electronic device 110 may be different from the operating system of the second electronic device 120, for example, the operating system of the first electronic device 110 may be a Mac operating system or a Windows operating system, etc., and the second electronic device may be an android operating system, etc., but is not limited thereto. In the related art, because the technical standards and data formats supported by the electronic devices of different manufacturers are different, it is generally difficult to implement cross-device file management between the electronic devices of different manufacturers, and the file management interface displayed at the front end has less information, so that the available management operation is simple and cannot meet the use requirement of the user.
In an embodiment of the present application, the first electronic device 110 may install a file management application for implementing a cross-device file management function, which provides a function of managing files stored in the second electronic device 120 by the first electronic device 110. The file management application may expose a file management interface with which a user may interact to manage files stored in the second electronic device 120.
In the case where the first electronic device 110 establishes a communication connection with the second electronic device 120, the second electronic device 120 may send file information corresponding to one or more files stored by itself to the first electronic device 110. The first electronic device 110 may obtain file information corresponding to one or more files stored in the second electronic device 120, and display a file management interface according to the file information corresponding to the one or more files. Further, the first electronic device 110 may expose the file management interface in a file management application. Icons corresponding to one or more files in the second electronic device 120 are displayed in the file management interface, wherein the icons corresponding to the files are determined according to file types corresponding to the files.
The user may manage the files in the second electronic device 120 through the file management interface. The user can select files corresponding to one or more icons in the file management interface to perform management operation. The first electronic device 110 may perform a management operation on a target file corresponding to a target icon in the file management interface in response to a triggering operation on the target icon.
FIG. 2 is a timing diagram of a method of cross-device file management in one embodiment. As shown in fig. 2, the method for managing files across devices may include the steps of:
Step 1, a second electronic device sends file information corresponding to one or more files stored in the second electronic device to a first electronic device, and the first electronic device obtains the file information corresponding to the one or more files stored in the second electronic device.
And 2, the first electronic equipment displays a file management interface according to the file information corresponding to the one or more files. And displaying icons corresponding to one or more files in the second electronic equipment in the file management interface, wherein the icons corresponding to the files are determined according to the file types corresponding to the files.
And 3, the first electronic equipment responds to the triggering operation of the target icon in the file management interface to manage the target file corresponding to the target icon, and further, the first electronic equipment can realize the management operation of the target file in the second electronic equipment through information interaction with the second electronic equipment.
As shown in fig. 3, in one embodiment, a method for managing files across devices is provided, which is applicable to the first electronic device described above. The method for managing the files of the cross-equipment can comprise the following steps:
Step 310, obtaining file information corresponding to one or more files stored in the second electronic device.
Under the condition that the first electronic device and the second electronic device are in communication connection, the second electronic device can send file information corresponding to one or more files stored by the second electronic device to the first electronic device. The files stored by the second electronic device may include, but are not limited to, pictures, videos, audio, documents, application package files, and the like. The file information corresponding to the file may refer to information describing the file, for example, the file information includes, but is not limited to, a file name, an application to which the file belongs, a file type corresponding to the file, and the like.
The second electronic device may send file information corresponding to all files stored in the second electronic device to the first electronic device, or may send file information corresponding to part of files stored in the second electronic device to the first electronic device.
In one embodiment, when the first electronic device starts the file management application, the first electronic device sends a file information acquisition request to the second electronic device, and after receiving the file information acquisition request sent by the first electronic device, the second electronic device may respond to the file information acquisition request and send file information corresponding to one or more files stored by the second electronic device to the first electronic device.
In some embodiments, when a user accesses a file under a certain target in the second electronic device through the file management application, the first electronic device may respond to an access operation of the user to the first directory (for example, click on the first directory), and may send a file information acquisition request corresponding to the first directory to the second electronic device, where the file information acquisition request may carry directory information (such as information of a directory path, a directory name, etc.) of the first directory, and after receiving the file information acquisition request, the second electronic device may send, according to the directory information of the first directory carried in the file information acquisition request, file information of each file under the first directory to the first electronic device. . By adopting the mode, the accuracy of the file displayed in the file management application can be ensured, the condition of file omission is avoided, and the accuracy of the cross-equipment file management is improved.
And 320, displaying a file management interface according to the file information corresponding to the one or more files, wherein icons corresponding to the one or more files are displayed in the file management interface, and the icons corresponding to the files are determined according to the file types corresponding to the files.
The file management interface may refer to an interface in the file management application for exposing files stored by the second electronic device and providing management functions. The first electronic device can display the file management interface according to the file information corresponding to one or more files stored in the second electronic device.
In the related art, a front-end interface of an application for implementing cross-device file management generally depends on an interface of a local file management tool of a first electronic device, where the local file management tool refers to a tool for managing a local file of the first electronic device, and customization cannot be implemented, resulting in poor user experience. In addition, the icon style displayed on the front-end interface generally adopts the icon style of the file management tool local to the first electronic device, the icon style is less and is not easy to distinguish, and under the condition that files of multiple file types are mixed, the error rate of the user for operating the files is higher.
In the embodiment of the application, the front-end interface of the file management application does not depend on a file management tool local to the first electronic device, but is a front-end interface which is independently designed and developed. In some embodiments, the file management interface may be implemented using tools such as Electron, where Electron is to construct a cross-platform desktop application framework using JavaScript, HTML (Hyper Text Markup Language ) and CSS (CASCADING STYLE SHEETS, cascading style sheets), so that multiple different operating systems can be compatible, and the developer can use a development mode of a web page to perform front-end interface development, and can perform high-degree-of-freedom interactive development, so that a front-end interface with more aesthetic and interactivity can be developed, and an application customizable space is improved.
The file management interface may include a file presentation area that may be used to present icons corresponding to one or more files in the second electronic device, which may refer to graphical symbols having a meaning of reference.
The icon corresponding to the file may be determined according to a file type corresponding to the file, and the file type corresponding to the file may be determined according to a format of the file. By way of example, the file types to which the file corresponds may include, but are not limited to, one or more of presentation documents, video, pictures, audio, form documents, text documents, plain text documents, application package files, and the like, without limitation.
Optionally, after the first electronic device obtains file information corresponding to one or more files stored in the second electronic device, the file information may include file names, and the first electronic device may analyze extension names in the file names corresponding to the files to determine file types corresponding to the files. The extension of the file name may refer to a suffix portion in the file name, may be used to characterize the format of the file,
Illustratively, the corresponding file types may be drawing files, the corresponding file types may be key, ppt (PowerPoint), etc., the corresponding file types may be presentation files, the corresponding file types may be plain text files, the corresponding file types may be pages, md (DOCument), etc., the corresponding file types may be text files, the corresponding file types may be jpg (Joint Photographic Experts Group), gif (GRAPHICS INTERCHANGE Format, image interchange Format), etc., the corresponding file types may be pictures, the corresponding file types may be table files, the corresponding file types may be apk (Android application package ), etc., the corresponding file types may be application package files, etc., but not limited thereto.
Different icons may be provided for different file types. Illustratively, FIG. 4 is a schematic diagram of an icon in one embodiment. As shown in fig. 4, the icon corresponding to the drawing file may be the icon 402, the icon corresponding to the presentation file may be the icon 404, the icon corresponding to the text file may be the icon 406, the icon corresponding to the table file may be the icon 408, the icon corresponding to the plain text file may be the icon 410, and the icon corresponding to the application package file may be the icon 412. It should be noted that fig. 4 is only for illustrating the relationship between the file types and the icons in the embodiment of the present application, and is not limited to a specific icon style, and the icon style of the icons may be set according to actual requirements, or may have more or more file types than in fig. 4. Alternatively, the icons corresponding to the file types may be succinct and clear rounded file icons.
In some embodiments, a mapping relationship between file types and icons may be pre-stored in the first electronic device, for example, an icon mapping table may be pre-stored, where the icon mapping table may include icons (or icon information, such as an icon number, an icon name, and the like) corresponding to a plurality of file types and/or extension names, respectively. After the first electronic device obtains the file information of one or more files stored in the second electronic device, the extension names and/or the file types corresponding to the files can be determined, icons corresponding to the extension names and/or the file types of the files are determined according to the mapping relation, and the icons corresponding to the files are displayed in the file management interface. Through the pre-stored mapping relation, icons corresponding to all files can be rapidly and accurately determined, and the efficiency of displaying icons in a file management interface is improved.
In the embodiment of the application, the file management application can customize more concise and clear file icons for different file types, and compared with the mode of displaying files in the related art, the file types of the files are more and divided more finely, the graphic features of each icon are more obvious and clear, so that a user can be helped to quickly find out the thinked file for operation under the condition that the files of various file types are mixed, the misoperation rate is reduced, and the operation convenience is improved.
And 330, responding to the triggering operation of the target icon, and performing management operation on the target file corresponding to the target icon.
The user may select one or more files in the file management interface to perform a management operation according to actual needs, and optionally, the management operation may include, but is not limited to, one or more of a downloading operation, a deleting operation, an editing operation, a file opening operation, a copying operation, an operation of sending the files to a local application program, and the like.
The downloading operation may refer to an operation of downloading a file in the second electronic device to a location of the first electronic device.
The deletion operation may refer to an operation of deleting a file in the second electronic device.
The editing operation may refer to an operation of editing a file in the second electronic device by the first electronic device.
The file opening operation may refer to an operation of opening a second electronic device in a first electronic device.
The copy operation refers to an operation of copying the file in the second electronic device to the local of the first electronic device, such as may refer to copying the file in the second electronic device to the local application in the first electronic device.
The operation of sending the file to the local application refers to sending the file in the second electronic device to the local application in the first electronic device.
It should be noted that, the application program local to the first electronic device may be a third party application program installed in the first electronic device, and the application program may include, but is not limited to, a social application, an audio/video playing application, a game application, and the like. The application program local to the first electronic device may also be an application program other than a third party in the first electronic device, such as a desktop of the first electronic device, a native application of the first electronic device, and the like.
For different management operations, the same or different triggering operations can be corresponding, and the triggering operation can refer to an icon operation mode that a user operates on an icon of a file to trigger the management operation on the file. When the first electronic device detects the triggering operation of the user on the target icon in the file management interface, the first electronic device can respond to the triggering operation for the target icon to perform management operation on the target file corresponding to the target icon. It should be noted that the target icon refers to an icon triggered by the user, and the target icon may be one or more, that is, the user may select only one file to perform the management operation, or may select multiple files to perform the batch management operation.
For example, different management operations may be all corresponding triggering operations by clicking an icon of a file with a right button, displaying a drop-down operation menu, and selecting a management operation in the drop-down operation menu. Exemplary, fig. 5A is an interface diagram of triggering management operations on files in a second electronic device in one embodiment. As shown in fig. 5A, the user may select one or more files displayed on the file management interface 500, right-click an icon of the one or more files, the first electronic device may display a drop-down operation menu 510 on the file management interface 500, where the drop-down operation menu 510 may include a plurality of selectable management operations, and the user may select any one of the management operations to click, thereby triggering the first electronic device to perform the management operation on the selected one or more files.
For example, the copy corresponding trigger operation may be a manner of clicking an icon of a file by right-clicking, displaying a pull-down operation menu, and selecting a copy operation in the pull-down operation menu. The operation of sending the file to the local application program or the downloading operation can be the operation of dragging the icon of the file, the file can be sent to the local application program by dragging the icon of the file to the local application program of the first electronic device, and the file can be downloaded to the local file catalog by dragging the icon of the file to the file catalog of the local electronic device. Fig. 5B is an interface diagram of triggering a management operation on a file in a second electronic device according to another embodiment. As shown in fig. 5B, the user may select one or more files displayed on the file management interface 500, and may trigger the first electronic device to send the one or more files to the third party application by dragging an icon of the one or more files to the interface 520 of the local third party application, that is, to enable the third party application to obtain the one or more files.
The triggering operation may be another operation, for example, an operation of double-clicking an icon, a manner of operating an icon by a shortcut key, a long-pressing a drag icon, a selection of a plurality of icons simultaneously by a frame, or the like, which is not limited herein.
In the embodiment, the file management application can provide richer management operation and trigger operation with higher degrees of freedom, so that the interactive experience of the user is improved, and the file management requirement of the user on cross-equipment can be better met.
In the embodiment of the application, the first electronic device can display the icon corresponding to the file type of the file stored in the second electronic device in the file management interface corresponding to the second electronic device, the file type of the file can be more intuitively embodied through the icon, a user can be helped to find the file needing to be managed and operated more quickly, the probability of misoperation is reduced, and the convenience and the accuracy of managing and operating the file crossing the devices by the user are improved.
In some embodiments, the file management application may also provide a search function that searches for files on the second electronic device. As shown in fig. 6, the method may further include the following steps:
in response to the search operation, search content entered at the search component is obtained 602.
The file management interface of the file management application may include a file presentation area that may be used to present icons corresponding to one or more files and a functional area that may be used to provide one or more functional components, each of which may be used to implement a different function. In an embodiment of the present application, the functional area may include a search component that may be configured to receive search content input by a user, and trigger a search function that searches for files in the second electronic device. Illustratively, the search component can be a search box or the like.
The first electronic device may obtain, in response to a search operation on the search component, search content input by a user in the search component, where the search content refers to content input by the user in the search component, and may be, for example, a search keyword input by the user, or the like.
Step 604, determining one or more files matching the search content according to the search content and file information corresponding to the one or more files.
The first electronic device can search according to the search content and file information corresponding to one or more files stored in the second electronic device, and files with the file information matched with the search content are found. The searching mode can adopt fuzzy searching or precise searching, the fuzzy searching is an approximately matched searching mode, the searching results obtained by searching are allowed to be similar to but not identical to the searching contents, the precise searching is an identical searching mode, and the searching results obtained by searching are identical to the searching contents.
Optionally, a file whose file name matches the search content may be searched, the first electronic device may compare the search content with file names corresponding to one or more files stored in the second electronic device, and if the file names of the files include the search content, the file may be determined to be a file matching the search content.
Alternatively, files whose file contents match the search contents may be searched. For example, the second electronic device may identify file contents of each stored file and generate a file tag corresponding to each file according to the identification result, where the file tag may be used to characterize the file contents, for example, the second electronic device may identify a stored picture and generate a file tag (such as a tag of a person, a landscape, an animal, a food, etc.) that may be used to characterize the image contents according to the identified image contents. The file information corresponding to the file may include a file tag corresponding to the file, after the first electronic device obtains the search content, the search content may be compared with file tags corresponding to one or more files stored in the second electronic device, and if the file tag of the file is the same as or similar to the search content, the file may be determined to be a file matched with the search content.
And step 606, displaying icons corresponding to the matched one or more files in the file display area.
And the first electronic device determines one or more files matched with the search content in the second electronic device, and can display icons corresponding to the matched files in a file display area for a user to view.
Illustratively, FIG. 7A is an interface diagram of a file management interface in one embodiment. As shown in fig. 7A, the file management interface 500 may include a file presentation area 710 and a functional area 720, wherein the functional area 720 may include a search component 722. Illustratively, the search area 720 may be located above the document presentation area 710. The user may enter search content for a desired search in search component 722. The first electronic device searches the files stored in the second electronic device according to the search content, and may display icons corresponding to the searched files in the file display area 710.
In the embodiment of the application, the file management application can also provide a searching function for searching the files on the second electronic equipment, so that the cross-equipment file searching is realized, the searching requirement of a user is met, and the use experience of the user is improved.
In some embodiments, the file management interface may further include a file categorization area that may include a plurality of categories that may be divided in one or more of several ways:
(1) And dividing according to the file types corresponding to the files.
The file management application may divide the files of the second electronic device into a plurality of categories according to the file types corresponding to the files, and the first electronic device may determine the file types corresponding to the files according to the extension names of the files in the second electronic device, and divide the files into the categories to which the corresponding file types belong. Illustratively, files are divided into categories of pictures, videos, music, documents, compression packages, and the like, according to the file type to which the file corresponds. Alternatively, the category corresponding to the divided file type may be determined based on the usage habit of the user, for example, a plurality of file types may be selected in a manner of from high to low according to the usage frequency of the files of the respective file types by the user, and the plurality of categories may be divided based on the selected plurality of file types.
(2) According to the application program division to which the file belongs.
The file management application may divide the files of the second electronic device into a plurality of categories according to the application programs to which the files belong, and the first electronic device may determine the application programs to which each file in the second electronic device belongs, and divide the files into the categories corresponding to the application programs to which each file belongs. Alternatively, the categories corresponding to the divided application programs may be determined based on the usage habits of the user, for example, a plurality of application programs may be selected in such a manner that the usage frequency is from high to low according to the usage frequency of each application program by the user, and a plurality of categories may be divided based on the selected plurality of file types.
(3) And dividing operation time of management operation according to the file.
The file management application may divide the files of the second electronic device into a plurality of categories according to the operation time of performing the management operation on the files, and the first electronic device may determine the operation time of performing the management operation on each file in the second electronic device last time, determine a time interval to which the operation time of performing the management operation last time on each file belongs, and divide the files into categories corresponding to the time intervals. Illustratively, the operation time for performing the management operation according to the file may be classified into the last 1 day, the last 1 week, the last 1 month, and the like.
Illustratively, FIG. 7B is an interface diagram of a file management interface in another embodiment. As shown in fig. 7B, the file management interface 500 may include a file display area 710, a function area 720 and a file classifying area 730, where the function area 720 may be located on a first side (e.g., upper side) of the file display area, and the file classifying area 730 may be located on a second side (e.g., left side) of the file display area. The function area 720 may be displayed with multiple categories, such as a category of pictures, videos, audios, documents, compression packages, and the like according to a file type corresponding to the file, a category of application 1, application 2, and the like according to an application program to which the file belongs, and a category of a latest file (such as a latest 1 day management operation) and a category of device storage (referred to as a non-latest file) according to an operation time for performing a management operation on the file. The user may click on any of the categories, and the file presentation area 710 may display icons corresponding to respective files under the category clicked by the user.
In the embodiment of the application, the cross-device file classification can be realized by adopting a plurality of different dimensions, so that a user can be helped to realize faster cross-device file searching, and the cross-device file management effect is improved. In addition, the files of the cross-equipment can be classified based on the use habit of the user, the classified categories are used to be more fit with the actual use requirements of the user, and the use experience of the user is improved.
In some embodiments, the file management application may also provide functionality to view records of file management operations across devices. The file management interface may also include a recording component that can be utilized to provide functionality for viewing file management records. In the case that the user needs to view the file management record, the user may trigger the recording component (e.g., click on the recording component), and the first electronic device may display one or more file management records in the file management interface in response to the triggering operation on the recording component, where the file management records include operation information for performing the management operation on the file.
Alternatively, the operation information may include, but is not limited to, a file name, an operation type of the management operation, an operation time, etc., wherein the operation type of the management operation may refer to one or more of a specific operation of the management operation, a download operation, a delete operation, an edit operation, a copy operation, an operation of transmitting the target file to a local application (or a share operation), etc.
The file management record displayed in the file management interface may be a file management record corresponding to all management operations performed on the first electronic device, a file management record corresponding to management operations performed by the first electronic device currently running the file management application, or a file management record corresponding to a designated management operation, for example, only a file management record corresponding to a download operation or the like may be displayed, but is not limited thereto. The embodiment of the application does not limit the file management record specifically displayed.
Illustratively, FIG. 7C is an interface diagram of a file management interface in another embodiment. As shown in fig. 7C, the file management interface 500 may further include a recording component 740, further the functional area 720 may include the recording component 740, the recording component 740 may be located on the right side of the search component 722, and a user may view the file management record by clicking on the recording component 740.
In the embodiment of the application, the file management application can also provide the function of checking the record of the cross-equipment file management operation, and the user can check the file management record by triggering the record component on the file management interface, so that the richer cross-equipment file management function is realized, the use requirement of the user is met, and the use experience of the user is improved.
In some embodiments, as shown in fig. 8, the step of managing the target file corresponding to the target icon may include the following steps:
Step 802, obtaining first path information of a target file in a second electronic device.
When the first electronic device detects trigger operation of a user on a target icon in a file management interface, determining that management operation is required on a target file corresponding to the target icon, and determining first path information of the target file in the second electronic device, wherein the first path information can be used for representing a storage path of the target file in the second electronic device.
In some embodiments, the file information corresponding to the one or more files sent by the second electronic device to the first electronic device may include first path information of the files in the second electronic device. When the first electronic device detects the triggering operation of the user on the target icon in the file management interface, the first path information of the target file in the second electronic device can be obtained according to the file information corresponding to the target file.
Step 804, generating an operation request according to the first path information, and sending the operation request to the second electronic device, so that the second electronic device performs processing corresponding to the management operation on the target file corresponding to the first path information according to the operation request.
The first electronic device may generate an operation request corresponding to the target file according to the first path information of the target file in the second electronic device, where the operation request may carry the first path information of the target file in the second electronic device. The first electronic device can send the operation request to the second electronic device, determine a target file corresponding to the first path information according to the first path information carried in the operation request, and perform management operation on the target file.
As an alternative embodiment, the operation request may further include an operation type identifier corresponding to the management operation to be performed, where the operation type identifier may be used to identify an operation type corresponding to the management operation. For example, the operation type identifier may be represented by one or more of a number, letter, symbol, etc. And the second electronic equipment can carry out management operation corresponding to the operation type identifier on the target file according to the operation type identifier carried by the operation request.
Taking the deletion operation of the target file as an example, the first electronic device may send a deletion request to the second electronic device, where the deletion request may include first path information of the target file in the second electronic device and an operation type identifier corresponding to the deletion operation, and after receiving the deletion request sent by the first electronic device, the second electronic device may delete the target file corresponding to the first path information according to the deletion request.
As another alternative embodiment, the management operation to be performed may be an operation requiring data transmission, such as a download operation, a copy operation, a file open operation, an operation of transmitting the target file to a local application program, or the like. The first electronic device may generate an operation request according to the first path information and send the operation request to the second electronic device. The operation request can be used for indicating the second electronic device to create a data transmission channel corresponding to the target file and returning response information.
The operation request can carry first path information of the target file in the second electronic equipment, and after the second electronic equipment receives the operation request sent by the first electronic equipment, the second electronic equipment can determine the target file according to the first path information carried in the operation request, create a data transmission channel corresponding to the target file and send response information to the first electronic equipment.
The data transmission channel may refer to a channel for performing data transmission between the first electronic device and the second electronic device, alternatively, the data transmission channel may be a virtual transmission channel or a physical communication link, and the virtual transmission channel may refer to a virtual connection abstracted on the physical communication link, and may be used for transmitting data, so that no attention is paid to implementation details of underlying physics when performing data transmission.
The first electronic device may receive the response information sent by the second electronic device, and may send a data acquisition request to the second electronic device, where the data acquisition request is used to instruct the second electronic device to transmit file data of the target file to the first electronic device through the data transmission channel.
After the first electronic device receives the response information sent by the second electronic device, the first electronic device can determine that the second electronic device has created the data transmission channel corresponding to the target file according to the response information, and then can send a data acquisition request to the second electronic device. After receiving the data acquisition request sent by the first electronic device, the second electronic device can send file data of the target file to the first electronic device through a data transmission channel corresponding to the target file.
Fig. 9 is a timing diagram illustrating a file transferred from a second electronic device to a first electronic device according to an embodiment. As shown in fig. 9, when the first electronic device detects a triggering operation performed on a target icon in the file management interface by a user, first path information of a target file corresponding to the target icon in the second electronic device may be obtained. The first electronic device may generate an operation request according to the first path information and send the operation request to the second electronic device. The second electronic device receives the operation request sent by the first electronic device, creates a data transmission channel corresponding to the target file according to the operation request, and sends response information to the first electronic device. After receiving the response information sent by the second electronic device, the first electronic device can send a data acquisition request to the second electronic device, the second electronic device receives the data acquisition request sent by the first electronic device, and can send the target file to the first electronic device through a data transmission channel corresponding to the target file according to the data acquisition request so as to complete the transmission of file data of the target file.
In this embodiment, when data transmission needs to be performed on the target file, the first electronic device may first send an operation request carrying the first path information of the target file in the second electronic device to the second electronic device, so that the second electronic device performs transmission preparation, determines the target file and creates a corresponding data transmission channel, and the first electronic device may send a data acquisition request to the second electronic device again, so that the second electronic device transmits the file data of the target file through the data transmission channel, and may separately send the data transmission of the file data and the information triggering the data transmission, thereby improving flexibility and efficiency of data transmission.
In some embodiments, the operation request may further carry a task identifier of a download task corresponding to the target file, in addition to the first path information of the target file in the second electronic device. And the second electronic equipment creates a data transmission channel corresponding to the target file and binds the data transmission channel with the task identifier.
In the case that the first electronic device determines that the management operation to be performed may be an operation requiring data transmission, a download task corresponding to the target file may be created, and a task identifier corresponding to the download task, such as a task ID (Identity document, an identification number), may be allocated. An operation request may be generated based on the first path information of the target file in the second electronic device and the task identity. After the second electronic device receives the operation request, the target file can be determined based on the first path information, a data transmission channel corresponding to the target file is created, and the data transmission channel can be bound with the task identifier.
After the first electronic device receives the response information sent by the second electronic device, a data acquisition request can be generated according to the task identifier of the download task, and the data acquisition request is sent to the second electronic device, and is used for indicating the second electronic device to transmit file data of the target file to the first electronic device through a data transmission channel corresponding to the task identifier.
After receiving the data acquisition request sent by the first electronic device, the second electronic device can determine a data transmission channel corresponding to the task identifier according to the task identifier carried by the data acquisition request, determine a file to be transmitted as a target file, and transmit file data of the target file to the first electronic device through the data transmission channel.
Optionally, if there are multiple target files, the first electronic device may generate a download task corresponding to the multiple target files, and the first electronic device may also generate multiple download tasks corresponding to the multiple target files one by one. The download request sent by the first electronic device may carry task identifiers corresponding to the plurality of download tasks respectively. The second electronic equipment can also establish a plurality of data transmission channels according to the task identifiers respectively corresponding to the plurality of download tasks, and send the file data of the plurality of target files to the first electronic equipment in parallel through the plurality of data transmission channels, wherein the transmission of the plurality of target files is not mutually influenced and interfered.
In the embodiment of the application, the first electronic equipment can create the downloading task and send the operation request carrying the task identifier of the downloading task, so that the second electronic equipment binds the created data transmission channel with the task identifier, thereby realizing more accurate and convenient data transmission and improving the accuracy and the transmission efficiency of the cross-equipment file transmission.
In some embodiments, the data transmission between the first electronic device and the second electronic device may be implemented using a combination of WebSocket protocol and HTTP protocol of the local area network.
The WebSocket protocol may enable full duplex communication over a TCP connection, may enable a persistent connection between a client and a server, and may allow the server to actively push data to the client. The first electronic device may be used as a client of the WebSocket protocol, the second electronic device may be used as a server of the WebSocket protocol, and the first electronic device may send a message to the second electronic device and receive an event-driven response. The WebSocket protocol is suitable for transmitting short messages because the WebSocket protocol allows two-way communication between the server and the client and supports more frequent two-way data exchange.
The HTTP protocol is a simple request-response protocol, after the client side is required to make a data request to the server side, the server side is required to make a response according to the data request, only one-way data transmission can be realized at the same time, but the communication mode is easier to manage, and the buffer and breakpoint continuous transmission are supported, so that the HTTP protocol has higher reliability, and is suitable for transmitting file data of a file.
In the embodiment of the application, the operation request and the response information are transmitted based on the WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on the HTTP protocol.
Illustratively, fig. 10 is a timing diagram of data transfer between a first electronic device and a second electronic device in one embodiment. As shown in fig. 10, the first electronic device may be used as a client, the second electronic device may create a WebSocket server, and a WebSocket connection may be established between the client and the WebSocket server. The client may initiate a download request of the WebSocket protocol to the WebSocket server, where the download request may carry the first path information of the target file in the second electronic device. Further, the first electronic device may further create a download task corresponding to the target file, where the download request may carry a task identifier of the download task. After the second electronic device receives the download request through the WebSocket server, the second electronic device may prepare a target file according to the first path information, create an HTTP server, bind the HTTP server with the task identifier, and the WebSocket server may send an ACK (Acknowledge character, confirm character) to the client.
After receiving the ACK, the client may initiate an HTTP request to the HTTP server of the second electronic device, for example, may request to acquire the target file by means of HTTP: GET, and further, the first electronic device may use the task identifier of the download task as a request path of the HTTP: GET request, for example, may be used as a URL (uniform resource location, uniform resource locator) of the HTTP: GET request. After the HTTP server of the second electronic device receives the acquisition request, file data of the target file can be sent to the client.
By combining the WebSocket protocol with the HTTP protocol, the transmission speed is faster, the communication is more flexible, and the efficiency and the flexibility of the data transmission of the cross-device are improved compared with other near field communication modes (such as Bluetooth, wi-Fi and the like).
In some embodiments, when the file management application of the first electronic device detects the triggering operation of the user on the target icon, it may first determine whether a communication connection is currently established with the second electronic device, if the communication connection is already established, an operation request may be sent to the second electronic device, and if the communication connection is not already established, the first electronic device may first send a connection request to the second electronic device. After receiving the connection request sent by the first electronic device, the second electronic device may respond to the connection request and send connection information, such as information including an IP (Internet Protocol ) address and a port number, to the first electronic device. After the first electronic device receives the connection information, communication connection can be established with the second electronic device according to the connection information.
Further, after receiving the request sent by the first electronic device, the second electronic device may determine a request type corresponding to the request, and if the request type is an operation request, it may determine that an operation request sent by the first electronic device is received, and perform processing corresponding to the management operation on the target file according to the operation request. If the request type is a connection request, it may be determined that the connection request sent by the first electronic device is received, and then connection information may be sent to the first electronic device in response to the connection request.
Optionally, the request sent by the first electronic device may carry a type identifier, where the type identifier may be used to identify a request type corresponding to the request, and the second electronic device may determine, according to the type identifier carried by the request, the request type corresponding to the request. Alternatively, the data formats may be different for requests of different request types, and the second electronic device may determine the request type corresponding to the request by analyzing the data format corresponding to the request.
The second electronic device can automatically identify the request type corresponding to the request sent by the first electronic device and respond correspondingly, so that the accuracy and the flexibility of cross-device file management are ensured.
As a specific implementation manner, a WebSocket connection may be established between the first electronic device and the second electronic device, and communication may be performed based on the WebSocket connection. Under the condition that the file management application of the first electronic device detects the triggering operation of the user on the target icon, whether the WebSocket connection is established with the second electronic device or not can be judged first, and if the WebSocket connection is not established, the client of the first electronic device can send a connection request of the WebSocket to the first second electronic device. After receiving the connection request of the WebSocket, the second electronic device may start or create a WebSocket server, and feed back an IP address and a port number monitored by the WebSocket server to the first electronic device, where the client of the first electronic device may establish WebSocket connection with the WebSocket server of the second electronic device based on the IP address and the port number.
In some embodiments, a file management application running on a first electronic device may run an extension process (or extension module) that may run in the context of a file management tool local to the first electronic device, the extension process (or extension module) may be used to provide file access rights across devices. For example, the extension process (or extension module) may be implemented based on the FileProvider Extension classes. The extension process (or extension module) may communicate with an operating system or a file management process of the first electronic device, so as to implement a file management function of opening a file of the second electronic device at the first electronic device, downloading the file of the second electronic device to a local location of the first electronic device, transmitting the file of the second electronic device to an application program local to the first electronic device, and the like.
Fig. 11 is a timing diagram illustrating data transmission between a first electronic device and a second electronic device according to another embodiment. When the file management application of the first electronic device detects a downloading operation, a copying operation, an operation of sending a file to a local application program and the like triggered by a user on a target icon through a file management interface, the expansion process can call a downloading interface of a downloading module, and the downloading module can start downloading of the target file, wherein the downloading module is used for realizing a downloading function in the file management application. The download module may first determine whether a WebSocket connection is currently established with the second electronic device. The downloading module can also create a downloading task, if the WebSocket connection is already established, a downloading request of a WebSocket protocol can be initiated to the second electronic device, and the downloading request carries first path information corresponding to the target file and a task identifier of the downloading task. After receiving the downloading request, the second electronic device can determine the target file corresponding to the first path information, create a corresponding data transmission channel and send an ACK to the first electronic device. After the downloading module of the first electronic device obtains the ACK, the task identifier can be used as a task_url of the http:GET request, and the http:GET request can be sent to the second electronic device. The second electronic device feeds back the file data of the target file according to the Http-GET request, and the download module can feed back the download path of the target file to the expansion process after receiving the file data of the target file, wherein the download path can refer to a path saved after the target file is downloaded to the first electronic device. The expansion process can feed back the target file according to the download path.
Fig. 12 is a timing diagram illustrating data transmission between a first electronic device and a second electronic device according to another embodiment. If the downloading module determines that the WebSocket connection is not established with the second electronic device currently, connection can be initiated to the second electronic device, the second electronic device starts a WebSocket server and feeds back an IP address and a port number monitored by the WebSocket server to the first electronic device, and the client of the first electronic device establishes WebSocket connection with the WebSocket server of the second electronic device based on the IP address and the port number and then carries out subsequent processes of sending a downloading request, transmitting files and the like.
In the embodiment of the application, the WebSocket connection can be established between the first electronic equipment and the second electronic equipment for communication, the connection process is simple and convenient, excessive operations are not required by users, the convenience of cross-equipment file management is further improved, and the use experience of the users is improved.
In the embodiment of the application, the first electronic equipment can generate the operation request according to the first path information of the target file in the second electronic equipment and send the operation request to the second electronic equipment, so that the second electronic equipment can process the target file corresponding to the first path information according to the operation request and corresponding to the management operation, thereby improving the accuracy and convenience of cross-equipment file management.
In some embodiments, the file management application may provide functions of downloading and saving the file of the second electronic device to the local of the first electronic device, sending the file of the second electronic device to an application program local to the first electronic device, such as by dragging the target icon to a third party application program local to the first electronic device, sending the target file corresponding to the target icon to the third party application program, or copying the target file corresponding to the target icon to the third party application program by copying the target icon with a right key. When implementing a function such as sending a file of the second electronic device to an application program local to the first electronic device, it is necessary to download a target file of the second electronic device to the local of the first electronic device, and then read the target file by the application program local to the first electronic device.
As shown in fig. 13, the step of managing the target file corresponding to the target icon may include the following steps:
Step 1302, obtaining second path information of the target file in the local file system.
The second path information may refer to a storage path of the target file in a local file system of the first electronic device. In some embodiments, the file management application may create a target directory local to the first electronic device that may be used to store non-native files of the first electronic device, i.e., the target directory may be used to store files of the second electronic device. For example, the target directory may be a directory under/Users/[ username ]/Library/CloudStorage/but is not limited thereto. When the file under the target directory is read, an operating system of the first electronic device or a local file management tool initiates a callback to the file management application to trigger the file management application to download the corresponding file from the second electronic device.
After the first electronic device obtains the file information corresponding to one or more files stored in the second electronic device, the first electronic device can generate second path information corresponding to one or more files under the target directory of the local file system, and a mapping relation between the second path information corresponding to each file and the corresponding first path information is established.
As an implementation manner, the first electronic device may obtain first path information of one or more files stored in the second electronic device, encode the first path information corresponding to each file, obtain second path information, and generate the second path information under the target directory.
As another embodiment, the first electronic device may directly generate, under the target directory, second path information corresponding to each file stored in the second electronic device, and then establish a mapping relationship between the second path information corresponding to the file and the corresponding first path information.
The first electronic device generates the second path information mapped by the first path information corresponding to each file under the target directory of the local file system, so that the subsequent path mapping is convenient, the file downloading of the cross-device is initiated, and the accuracy of the cross-device file management is improved.
In some embodiments, the first electronic device may generate, under a target directory of the local file system, second path information corresponding to each file displayed in the file management interface, where icons corresponding to one or more files are displayed in the file management interface.
Because the first electronic device may not fully acquire the file information corresponding to the file stored in the second electronic device when the first electronic device and the second electronic device establish communication connection, for example, only the file information corresponding to a part of the file stored in the second electronic device may be acquired. Therefore, when a user accesses a file under a certain directory of the second electronic device through the file management application, the first electronic device can generate second path information corresponding to each file under the accessed directory of the second electronic device under the target directory of the local file system of the first electronic device. Under the condition that the file management application displays one or more icons corresponding to the files in the file management interface, second path information corresponding to each file displayed in the file management interface can be generated under the target directory of the local file system, so that each file currently displayed is guaranteed to have corresponding second path information in the local file system, and the second path information corresponding to the target file needing management operation can be accurately obtained.
In step 1304, the second path information is mapped to the first path information of the target file in the second electronic device.
After the first electronic device obtains the second path information corresponding to the target file, the second path information can be mapped into the first path information of the target file in the second electronic device, and based on the first path information, an operation request is sent to the second electronic device so as to download the target file from the second electronic device.
Step 1306, generating an operation request according to the first path information, and sending the operation request to the second electronic device, where the operation request is used to instruct the second electronic device to create a data transmission channel corresponding to the target file, and return response information.
Step 1308, receiving response information sent by the second electronic device.
Step 1310, a data acquisition request is sent to the second electronic device, where the data acquisition request is used to instruct the second electronic device to transmit file data of the target file to the first electronic device through the data transmission channel.
In step 1312, file data of the target file sent by the second electronic device is received.
For the description of steps 1306-1312, reference may be made to the related description in each of the above embodiments, and the description is not repeated here.
In step 1314, the file data is saved to the second path information.
After the first electronic device receives the file data of the target file sent by the second electronic device, the file data can be stored in the second path information, so that a user can access the target file through a local file system of the first electronic device, and a local application program in the first electronic device can also read the file data of the target file from the second path information under the target catalog, thereby realizing a more flexible cross-device file management mode.
In some embodiments, when the first electronic device creates the second path information under the target directory of the local file system, the second path information corresponding to one or more files in the second electronic device may be created under the target directory of the local file system, and placeholder files under the respective second path information may be generated. The placeholder file can be used for representing the future content of the second path information under the target directory in the local file system, but no actual data filling exists at present.
After the first electronic device detects the triggering operation of the target icon of the file management application, the second path information of the target file corresponding to the target icon in the local file system is obtained, whether the second path information is a placeholder file or not can be judged, if the second path information is determined to be the placeholder file, the fact that the target file corresponding to the second path information needs to be downloaded is indicated, the first electronic device can map the second path information corresponding to the target file into the first path information of the target file in the second electronic device, and based on the first path information, an operation request is sent to the second electronic device to download the target file from the second electronic device.
The first electronic device may receive the file data of the target file sent by the second electronic device, and write the file data into the placeholder file under the second path information corresponding to the target file, where the placeholder file is updated to the target file, so as to be accessed by a local application program or a local file management tool of the first electronic device.
When a user selects to download a target file in a second electronic device to a certain position of the first electronic device through a file management application running on the first electronic device, an operating system of the first electronic device can acquire second path information of the target file in a local file system and read a file under the second path information. If the operating system of the first electronic device detects that the second path information is located under the target directory in the process of reading the file under the second path information, and determines that the second path information is a placeholder file, the operating system can request a target file corresponding to the second path information from a directory provider (i.e., an extension module in a file management application) of the target directory. The expansion module in the file management application can map the second path information corresponding to the target file into the first path information corresponding to the target file, and call the downloading interface of the downloading module to trigger the downloading module to download the target file from the second electronic device.
Optionally, the file data of the target file downloaded by the downloading module may be saved to a local sandbox path of the first electronic device, where the local sandbox path may be a path under a directory that may be accessed when the file management application runs, for example, a path of an application sandbox directory corresponding to the file management application under a directory such as/Users/[ username ]/Library/Caches/etc. By setting the sandbox catalog of each application, the safety and stability of the system can be improved. The download module may send a local sandbox path of the target file under the application sandbox directory corresponding to the file management application to an expansion module (or an expansion process) in the file management application, and the expansion module may read file data of the target file from the local sandbox path, and then write the file data of the target file into a placeholder file under second path information corresponding to the target file. After the writing of the file data is completed, the operating system of the first electronic device can read the target file from the second path information.
In the embodiment of the application, the file management application of the first electronic equipment can create the target directory in the local file system, can create the second path information corresponding to one or more files in the second electronic equipment under the target directory, and generate the placeholder file under the second path information, when the operating system of the first electronic equipment reads the second path information under the target directory, the file management application can be triggered to download the corresponding file from the second electronic equipment and write the placeholder file under the corresponding second path information, so that the operating system of the first electronic equipment can accurately read the file in the second electronic equipment through the local file system, the compatibility of file management of the cross equipment is realized, and the convenience of file management of the cross equipment is improved.
In some embodiments, the above-described cross-device file downloading manner may implement an operation of sending the target file of the second electronic device to the application program local to the first electronic device. If the file management application of the first electronic device detects a triggering operation of the user on the target icon through the file management interface, for example, copying the target file to a third party application program of the first electronic device through a right-click target icon or dragging the target icon to the third party application program of the first electronic device, the triggering operation on the target icon in the file management interface can be responded, an operation object is generated according to second path information of the target file in a local file system, and the operation object is sent to the local application program, so that the local application program sends a reading request corresponding to the second path information. The first electronic device may obtain second path information of the target file in the local file system in response to the read request.
The file management application may respond to a triggering operation on a target icon in the file management interface, obtain second path information of a target file corresponding to the target icon under a local file system, and encapsulate the second path information into an operation object, where the operation object may include, but is not limited to, a drag item (such as DragItem), a copy item, and the like. The operation object may be sent to a local application program, so that the second path information corresponding to the target file is transferred to the local application program, the local application program detects a trigger event (such as a drag event, a copy event, etc.), may attempt to read the second path information corresponding to the target file, and may send a read request to an operating system of the first electronic device, so as to trigger the operating system of the first electronic device to read the file under the second path information.
Further, the operating system of the first electronic device reads the file under the second path information, so as to invoke the file management application to download the description of the target file from the second electronic device, which may refer to the related description in the above embodiment, and the detailed description is not repeated here.
Illustratively, FIG. 14 is a timing diagram of a third party application sending a file of a second electronic device to a local location of a first electronic device in one embodiment. As shown in fig. 14, the file management application on the first electronic device may detect a triggering operation on the target icon (for example, dragging the target icon, copying the right-click target icon, etc.) through the file management interface, and may encapsulate the second path information of the target file corresponding to the target icon under the local file system into an operation object (for example, dragging an item, copying an item, etc.), where the first electronic device sends the operation object to the third party application according to the operation of the user. After receiving the operation object, the third party application can attempt to read the second path information, trigger the operating system of the first electronic device or a local file management tool to read the file under the second path information, and request the expansion process (or expansion module) of the file management application for the file data of the target file under the condition that the second path information is determined to be the placeholder file.
The expansion process of the file management application may call a download interface of the download module to download the file data of the target file, the download module of the file management application may request the second electronic device to obtain the file data of the target file, and the second electronic device may return the file data of the target file to the download module. The method for downloading the file data of the target file from the second electronic device by the downloading module may refer to the related description in the above embodiments, and will not be repeated here. The download module may return the file data of the target file to the extension process of the file management application, and then the extension process returns the file data to the third party application.
Optionally, the download module may return a local sandbox path corresponding to the target file to the extension process, where the extension process reads file data of the target file from the local sandbox path and writes the file data into the placeholder file under the second path information. After the writing is completed, the third party application can successfully read the target file from the second path information.
In the embodiment of the application, the management operation of sending the file of the second electronic device to the local application program is realized in the first electronic device, more compatible file management functions are provided, the local application program of the first electronic device can read the file of the cross-terminal like reading the local file, and the flexibility and convenience of the file management of the cross-device are improved.
In some embodiments, the file management application may also provide a cross-device file upload function, i.e., uploading files at the first electronic device to the second electronic device. The file management interface further comprises an uploading control, and when a user needs to upload a file to the second electronic device, the uploading control can be triggered (e.g. clicked), and the first electronic device can respond to the triggering operation of the uploading control to determine the file to be transmitted and send the file to be transmitted to the second electronic device.
When the first electronic device detects a triggering operation of the uploading control by the user, a file selection interface may be displayed, where the file selection interface is used to display one or more files that may be selectively uploaded to the second electronic device, for example, a file local to the first electronic device and/or a file in the cloud may be displayed. The user can select a file to be transmitted on the file selection interface, and the first electronic device can acquire the file to be transmitted and send the file to be transmitted to the second electronic device.
Optionally, if the file to be transmitted is a cloud file, the first electronic device may download the file to be transmitted from the cloud first, and then send the file to be transmitted to the second electronic device. Optionally, if the file to be transmitted is a local file, the first electronic device may directly send the file to be transmitted to the second electronic device.
As an optional implementation manner, the first electronic device may first create an upload task and allocate a task identifier of the upload task, and may send an upload request to the second electronic device based on the WebSocket protocol, where the upload request carries the task identifier of the upload task. The second electronic device can create a data transmission channel according to the uploading request, bind the data transmission channel with the task identifier, and can return response information to the first electronic device. The first electronic device receives the response information, and may send a data push request to the first electronic device based on the HTTP protocol, where the data push request may carry a file to be transmitted and a task identifier, for example, the file to be transmitted and the task identifier may be encapsulated in a URL in the HTTP POST request, but is not limited thereto. And the second electronic equipment receives the target file uploaded by the first electronic equipment through the data transmission channel bound with the task identifier, and stores the target file.
Illustratively, FIG. 15 is an interface diagram of a file management interface in another embodiment. As shown in fig. 15, the file management interface 500 may further include an upload control 1502, further, the functional area 720 may include the upload control 1502, the recording component 740 may be located on the right side of the recording component 740, and the user may select to upload the file to the second electronic device by clicking on the upload control 1502.
In the embodiment of the application, the file management application can also realize the cross-equipment file uploading function, enrich the cross-equipment file management function, meet different requirements of users and improve the use experience of the users.
In the embodiment of the application, a cross-device file management scheme combining the front end of an Electron, the rear end of FileProvider and the transmission of the WebSocket protocol and the HTTP protocol is adopted, so that a more attractive, comfortable and convenient front-end interface can be provided for a user, the data transmission speed is considered, the requirements of the support range and the degree of freedom of the cross-device file management operation are met, and the use experience of the user is improved.
In another embodiment, as shown in fig. 16, a method for managing files across devices is provided, which can be applied to the second electronic device described above, and the method may include the following steps:
And 1610, sending file information corresponding to one or more files stored in the second electronic device to the first electronic device, so that the first electronic device displays a file management interface according to the file information corresponding to the one or more files, displaying icons corresponding to the one or more files in the file management interface, wherein the icons corresponding to the files are determined according to the file types corresponding to the files, and the file management interface is used for providing a management function for the files stored in the second electronic device.
In some embodiments, the method further comprises the steps of receiving an operation request sent by the first electronic device, wherein the operation request carries first path information of a target file in the second electronic device, the target file is a file needing management operation, and processing corresponding to the management operation on the target file corresponding to the first path information according to the operation request.
In some embodiments, the step of performing processing corresponding to management operation on a target file corresponding to the first path information according to the operation request includes determining the target file corresponding to the first path information according to the operation request, creating a data transmission channel corresponding to the target file, sending response information to the first electronic device, receiving a data acquisition request sent by the first electronic device, and transmitting file data of the target file to the first electronic device through the data transmission channel in response to the data acquisition request.
In some embodiments, the operation request further carries a task identifier of a download task corresponding to the target file;
determining a target file corresponding to the first path information according to the operation request, and creating a data transmission channel corresponding to the target file, wherein the step comprises the steps of determining the target file corresponding to the first path information according to the operation request, creating the data transmission channel corresponding to the target file, and binding the data transmission channel with a task identifier;
The step of responding to the data acquisition request and transmitting the file data of the target file to the first electronic equipment through the data transmission channel comprises the step of transmitting the file data of the target file to the first electronic equipment through the data transmission channel corresponding to the task identifier according to the task identifier carried by the data acquisition request.
In some embodiments, the operation request and response information are transmitted based on WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on HTTP protocol.
In some embodiments, the step of receiving the operation request sent by the first electronic device includes receiving the request sent by the first electronic device, determining a request type corresponding to the request, and if the request type is the operation request, determining that the operation request sent by the first electronic device is received.
In some embodiments, after determining the request type corresponding to the request in the step, the method further includes determining that a connection request sent by the first electronic device is received if the request type is a connection request, and sending connection information to the first electronic device in response to the connection request, so that the first electronic device establishes communication connection with the second electronic device according to the connection information.
It should be noted that, the description of the cross-device file management method applied to the second electronic device provided in the embodiment of the present application may refer to the related description of the cross-device file management method applied to the first electronic device provided in each embodiment, and the description is not repeated here.
In the embodiment of the application, the second electronic equipment can send the file information corresponding to one or more files stored in the second electronic equipment to the first electronic equipment, the first electronic equipment can display the icon corresponding to the file type of the file stored in the second electronic equipment in the file management interface corresponding to the second electronic equipment, the file type of the file can be more intuitively embodied through the icon, the user can be helped to find the file needing to be managed and operated more quickly, the probability of misoperation is reduced, and the convenience and accuracy of managing and operating the file crossing the equipment by the user are improved.
As shown in fig. 17, in one embodiment, a cross-device file management apparatus 1700 is provided and may be applied to the first electronic device described above, where the cross-device file management apparatus 1700 may include an information obtaining module 1710, a display module 1720, and a management module 1730.
The information obtaining module 1710 is configured to obtain file information corresponding to one or more files stored in the second electronic device.
And a display module 1720, configured to display a file management interface according to the file information corresponding to the one or more files, where icons corresponding to the one or more files are displayed in the file management interface, and the icons corresponding to the files are determined according to file types corresponding to the files.
The management module 1730 is configured to respond to a triggering operation on a target icon in the file management interface, and perform a management operation on a target file corresponding to the target icon.
In one embodiment, the file management interface comprises a file display area and a function area, wherein the file display area is used for displaying icons corresponding to one or more files, and the function area comprises a search component. The cross-device file management apparatus 1700 also includes a search module.
And determining one or more files matched with the search content according to the search content and file information corresponding to the one or more files.
The display module 1720 is further configured to display icons corresponding to the matched one or more files in the file display area.
In one embodiment, the file management interface further comprises a file categorization area comprising a plurality of categories that are divided in one or more of the following ways:
dividing according to the file types corresponding to the files;
dividing according to application programs to which files belong;
and dividing according to the operation time of the management operation on the files.
In one embodiment, the functional area is located on a first side of the document presentation area and the document sorting area is located on a second side of the document presentation area.
In one embodiment, the file management interface includes a record component, and the cross-device file management apparatus 1700 further includes a record viewing module.
And the record checking module is used for responding to the triggering operation of the recording component, displaying one or more file management records in the file management interface, wherein the file management records comprise operation information for performing management operation on the files.
In one embodiment, the management operations include one or more of a download operation, a delete operation, an edit operation, a file open operation, a copy operation, and an operation to send the target file to the local application.
In one embodiment, the management module 1730 includes a path determination unit and a request unit.
And the path determining unit is used for acquiring the first path information of the target file in the second electronic equipment.
The request unit is used for generating an operation request according to the first path information and sending the operation request to the second electronic equipment so that the second electronic equipment can process the target file corresponding to the first path information according to the operation request and the processing corresponding to the management operation.
In one embodiment, the request unit is further configured to generate an operation request according to the first path information, send the operation request to the second electronic device, where the operation request is used to instruct the second electronic device to create a data transmission channel corresponding to the target file and return response information, receive the response information sent by the second electronic device, send a data acquisition request to the second electronic device, where the data acquisition request is used to instruct the second electronic device to transmit file data of the target file to the first electronic device through the data transmission channel.
In one embodiment, the operation request further carries a task identifier of the download task corresponding to the target file, and the operation request is used for indicating the second electronic device to create a data transmission channel corresponding to the target file, and binding the data transmission channel with the task identifier. .
The request unit is further configured to generate a data acquisition request according to the task identifier of the download task, and send the data acquisition request to the second electronic device, where the data acquisition request is used to instruct the second electronic device to transmit file data of the target file to the first electronic device through a data transmission channel corresponding to the task identifier.
In one embodiment, the operation request and response information are transmitted based on WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on HTTP protocol.
In one embodiment, the path determining unit is further configured to obtain second path information of the target file in the local file system, and map the second path information to first path information of the target file in the second electronic device.
In one embodiment, the file information of the file includes first path information of the file in the second electronic device, and the cross-device file management apparatus 1700 further includes a path creation module.
The path creation module is used for generating second path information corresponding to one or more files under the target directory of the local file system, and creating a mapping relation between the second path information corresponding to each file and the corresponding first path information.
In one embodiment, the path creation module is further configured to create second path information corresponding to one or more files under a target directory of the local file system, generate placeholder files under each second path information, and map the second path information corresponding to the target file to the first path information of the target file in the second electronic device if the second path information corresponding to the target file is determined to be the placeholder file.
In one embodiment, the management module 1730 is further configured to receive file data of the target file sent by the second electronic device, and write the file data into the placeholder file under the second path information corresponding to the target file.
In one embodiment, the path creation module is further configured to, in a case where one or more icons corresponding to the files are displayed in the file management interface, generate, under a target directory of the local file system, second path information corresponding to each file displayed in the file management interface.
In one embodiment, the management module 1730 further includes an object generation unit
And the object generating unit is used for responding to the triggering operation of the target icon in the file management interface, generating an operation object according to the second path information of the target file in the local file system, and sending the operation object to the local application program so that the local application program sends a reading request corresponding to the second path information.
And the path determining unit is also used for responding to the reading request and acquiring second path information of the target file in the local file system.
In one embodiment, the file management interface further includes an upload control, and the cross-device file management apparatus 1700 further includes an upload module.
And the uploading module is used for responding to the triggering operation of the uploading control, determining the file to be transmitted and sending the file to be transmitted to the second electronic equipment.
In the embodiment of the application, the first electronic device can display the icon corresponding to the file type of the file stored in the second electronic device in the file management interface corresponding to the second electronic device, the file type of the file can be more intuitively embodied through the icon, a user can be helped to find the file needing to be managed and operated more quickly, the probability of misoperation is reduced, and the convenience and the accuracy of managing and operating the file crossing the devices by the user are improved.
As shown in fig. 18, in one embodiment, a cross-device file management apparatus 1800 is provided and is applicable to the second electronic device described above, where the cross-device file management apparatus 1800 includes an information sending module 1810.
The information sending module 1810 is configured to send file information corresponding to one or more files stored in the second electronic device to the first electronic device, so that the first electronic device displays a file management interface according to the file information corresponding to the one or more files, displays icons corresponding to the one or more files in the file management interface, where the icons corresponding to the files are determined according to file types corresponding to the files, and the file management interface is configured to provide a management function for the files stored in the second electronic device.
In one embodiment, the cross-device file management apparatus 1800 further includes a request processing module.
The system comprises a request processing module, an operation request processing module and a processing module, wherein the request processing module is used for receiving an operation request sent by first electronic equipment, the operation request carries first path information of a target file in second electronic equipment, the target file is a file needing management operation, and the processing module is used for processing the target file corresponding to the first path information according to the operation request, wherein the target file corresponds to the management operation.
In one embodiment, the request processing module includes a channel creation unit, a response sending unit, a request receiving unit, and a transmission unit.
And the channel creation unit is used for determining a target file corresponding to the first path information according to the operation request and creating a data transmission channel corresponding to the target file.
And the response sending unit is used for sending the response information to the first electronic equipment.
And the request receiving unit is used for receiving the data acquisition request sent by the first electronic equipment.
And the transmission unit is used for responding to the data acquisition request and transmitting the file data of the target file to the first electronic equipment through the data transmission channel.
In one embodiment, the operation request further carries a task identifier of a download task corresponding to the target file, and the channel creation unit is further configured to determine, according to the operation request, the target file corresponding to the first path information, create a data transmission channel corresponding to the target file, and bind the data transmission channel with the task identifier.
The transmission unit is further used for transmitting the file data of the target file to the first electronic device through a data transmission channel corresponding to the task identifier according to the task identifier carried by the data acquisition request.
In one embodiment, the operation request and response information are transmitted based on WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on HTTP protocol.
In one embodiment, the request processing module is further configured to receive a request sent by the first electronic device, determine a request type corresponding to the request, and if the request type is an operation request, determine that the operation request sent by the first electronic device is received.
In one embodiment, the request processing module is further configured to determine that a connection request sent by the first electronic device is received if the request type is a connection request, and send connection information to the first electronic device in response to the connection request, so that the first electronic device establishes a communication connection with the second electronic device according to the connection information.
In the embodiment of the application, the second electronic equipment can send the file information corresponding to one or more files stored in the second electronic equipment to the first electronic equipment, the first electronic equipment can display the icon corresponding to the file type of the file stored in the second electronic equipment in the file management interface corresponding to the second electronic equipment, the file type of the file can be more intuitively embodied through the icon, the user can be helped to find the file needing to be managed and operated more quickly, the probability of misoperation is reduced, and the convenience and accuracy of managing and operating the file crossing the equipment by the user are improved.
Fig. 19 is a block diagram of an electronic device in one embodiment. As shown in fig. 19, the electronic device 1900 may include one or more processors 1910, a memory 1920 coupled to the processor 1910, and a transceiver unit, wherein the memory 1920 may store one or more computer programs that, when executed by the one or more processors 1910, may be configured to cause the electronic device 1900 to implement a cross-device file management method as described in the above embodiments as being applied to a first electronic device.
The processor 1910 may include one or more processing cores. The processor 1910 utilizes various interfaces and lines to connect various portions of the overall electronic device 1900, performing various functions of the electronic device 1900 and processing data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1920, and invoking data stored in the memory 1920. Alternatively, the processor 1910 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1910 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like, the GPU is used for rendering and drawing display contents, and the modem is used for processing wireless communication. It will be appreciated that the modems described above may also be implemented solely by a communication chip, rather than being integrated into the processor 1910.
The Memory 1920 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Memory 1920 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1920 may include a stored program area that may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and a stored data area. The storage data area may also store data or the like created by the electronic device 1900 in use.
The transceiver unit may include, but is not limited to, a bluetooth module, a Wi-Fi module, etc., and may be used to provide communication functions.
The embodiment of the application discloses an electronic device, which comprises a memory, a processor and a receiving and transmitting unit, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the earphone device realizes the cross-device file management method applied to the second electronic device.
The embodiment of the application discloses a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor in an electronic device, causes the electronic device to realize a cross-device file management method applied to a first electronic device as described in the above embodiments.
The embodiment of the application discloses a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor in an electronic device, causes the electronic device to implement a cross-device file management method applied to a second electronic device as described in the above embodiments.
Embodiments of the present application disclose a computer program product comprising a computer program which, when executed by a processor in an electronic device, causes the electronic device to implement a method of managing files across devices as described in the above embodiments for a first electronic device.
Embodiments of the present application disclose a computer program product comprising a computer program which, when executed by a processor in an electronic device, causes the electronic device to implement a method of cross-device file management as described in the above embodiments for a second electronic device.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Wherein the storage medium may be a magnetic disk, an optical disk, a ROM, etc.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory can include ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (ELECTRICALLY ERASABLE PROM, EEPROM), or flash memory. Volatile memory can include random access memory (random access memory, RAM), which acts as external cache memory. By way of illustration and not limitation, RAM may take many forms, such as static RAM (STATIC RAM, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (SDRAM), double-data-rate SDRAM (Double DATA RATE SDRAM, DDR SDRAM), enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), synchronous link DRAM (SYNCHLINK DRAM, SLDRAM), memory bus Direct RAM (Rambus DRAM), and Direct memory bus dynamic RAM (DRDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present application. The term "plurality" in the present application includes "two or more".
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing describes in detail a method, an apparatus, an electronic device, and a program product for managing files across devices disclosed in the embodiments of the present application, and specific examples are applied to illustrate the principles and implementation of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application. Meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (28)

1.一种跨设备的文件管理方法,其特征在于,应用于第一电子设备,所述第一电子设备与第二电子设备建立通信连接,所述方法包括:1. A cross-device file management method, characterized in that it is applied to a first electronic device, the first electronic device establishes a communication connection with a second electronic device, and the method comprises: 获取所述第二电子设备存储的一个或多个文件对应的文件信息;Acquire file information corresponding to one or more files stored in the second electronic device; 根据所述一个或多个文件对应的文件信息,展示文件管理界面;所述文件管理界面中展示一个或多个所述文件对应的图标,所述文件对应的图标是根据文件对应的文件类型确定的;Displaying a file management interface according to the file information corresponding to the one or more files; displaying one or more icons corresponding to the files in the file management interface, wherein the icons corresponding to the files are determined according to the file types corresponding to the files; 响应于对所述文件管理界面中的目标图标的触发操作,对所述目标图标对应的目标文件进行管理操作。In response to a triggering operation on a target icon in the file management interface, a management operation is performed on a target file corresponding to the target icon. 2.根据权利要求1所述的方法,其特征在于,所述文件管理界面包括文件展示区域及功能区域,所述文件展示区域用于展示一个或多个所述文件对应的图标;所述功能区域包括搜索组件;所述方法还包括:2. The method according to claim 1, characterized in that the file management interface includes a file display area and a function area, the file display area is used to display one or more icons corresponding to the file; the function area includes a search component; the method further includes: 响应于搜索操作,获取在所述搜索组件输入的搜索内容;In response to a search operation, obtaining search content input in the search component; 根据所述搜索内容以及所述一个或多个文件对应的文件信息,确定与所述搜索内容匹配的一个或多个文件;Determining one or more files matching the search content according to the search content and the file information corresponding to the one or more files; 在所述文件展示区域展示所述匹配的一个或多个文件对应的图标。Icons corresponding to the matched one or more files are displayed in the file display area. 3.根据权利要求2所述的方法,其特征在于,所述文件管理界面还包括文件归类区域,所述文件归类区域包括多个类别,所述多个类别按照以下中的一种或多种方式划分:3. The method according to claim 2, characterized in that the file management interface further comprises a file classification area, the file classification area comprises a plurality of categories, and the plurality of categories are divided according to one or more of the following methods: 按照文件对应的文件类型划分;Divide according to the file type corresponding to the file; 按照文件所属的应用程序划分;Divide by the application to which the file belongs; 按照对文件进行管理操作的操作时间划分。Divided according to the operation time of file management operations. 4.根据权利要求3所述的方法,其特征在于,所述功能区域位于所述文件展示区域的第一侧,所述文件归类区域位于所述文件展示区域的第二侧。4 . The method according to claim 3 , wherein the function area is located on a first side of the document display area, and the document classification area is located on a second side of the document display area. 5.根据权利要求1所述的方法,其特征在于,所述文件管理界面包括记录组件;所述方法还包括:5. The method according to claim 1, wherein the file management interface includes a record component; the method further comprises: 响应于对所述记录组件的触发操作,在所述文件管理界面中显示一条或多条文件管理记录,所述文件管理记录包括对文件进行管理操作的操作信息。In response to a triggering operation on the record component, one or more file management records are displayed in the file management interface, and the file management record includes operation information of a management operation performed on a file. 6.根据权利要求1~5任一项所述的方法,其特征在于,所述管理操作包括下载操作、删除操作、编辑操作、文件开启操作、复制操作、将目标文件发送到本地的应用程序的操作中的一种或多种。6. The method according to any one of claims 1 to 5, characterized in that the management operation includes one or more of a download operation, a delete operation, an edit operation, a file open operation, a copy operation, and an operation of sending a target file to a local application. 7.根据权利要求1所述的方法,其特征在于,所述对所述目标图标对应的目标文件进行管理操作,包括:7. The method according to claim 1, wherein the managing operation on the target file corresponding to the target icon comprises: 获取所述目标文件在所述第二电子设备中的第一路径信息;Acquire first path information of the target file in the second electronic device; 根据所述第一路径信息生成操作请求,并向所述第二电子设备发送所述操作请求,以使所述第二电子设备根据所述操作请求,对所述第一路径信息对应的所述目标文件,进行与所述管理操作对应的处理。An operation request is generated according to the first path information, and the operation request is sent to the second electronic device, so that the second electronic device performs processing corresponding to the management operation on the target file corresponding to the first path information according to the operation request. 8.根据权利要求7所述的方法,其特征在于,所述根据所述第一路径信息生成操作请求,并向所述第二电子设备发送所述操作请求,以使所述第二电子设备根据所述操作请求,对所述第一路径信息对应的所述目标文件,进行与所述管理操作对应的处理,包括:8. The method according to claim 7, wherein generating an operation request according to the first path information and sending the operation request to the second electronic device so that the second electronic device performs processing corresponding to the management operation on the target file corresponding to the first path information according to the operation request comprises: 根据所述第一路径信息生成操作请求,并向所述第二电子设备发送所述操作请求,所述操作请求用于指示所述第二电子设备创建所述目标文件对应的数据传输通道,并返回响应信息;Generate an operation request according to the first path information, and send the operation request to the second electronic device, wherein the operation request is used to instruct the second electronic device to create a data transmission channel corresponding to the target file and return response information; 接收所述第二电子设备发送的所述响应信息;receiving the response information sent by the second electronic device; 向所述第二电子设备发送数据获取请求,所述数据获取请求用于指示所述第二电子设备通过所述数据传输通道,将所述目标文件的文件数据传输给所述第一电子设备。A data acquisition request is sent to the second electronic device, where the data acquisition request is used to instruct the second electronic device to transmit the file data of the target file to the first electronic device through the data transmission channel. 9.根据权利要求8所述的方法,其特征在于,所述操作请求还携带所述目标文件对应的下载任务的任务标识,所述操作请求用于指示所述第二电子设备创建所述目标文件对应的数据传输通道,并将所述数据传输通道与所述任务标识绑定;9. The method according to claim 8, characterized in that the operation request also carries a task identifier of the download task corresponding to the target file, and the operation request is used to instruct the second electronic device to create a data transmission channel corresponding to the target file and bind the data transmission channel to the task identifier; 所述向所述第二电子设备发送数据获取请求,包括:The sending a data acquisition request to the second electronic device includes: 根据所述下载任务的任务标识生成数据获取请求,并向所述第二电子设备发送数据获取请求,所述数据获取请求用于指示所述第二电子设备通过所述任务标识对应的数据传输通道,将所述目标文件的文件数据传输给所述第一电子设备。A data acquisition request is generated according to the task identifier of the download task, and the data acquisition request is sent to the second electronic device, wherein the data acquisition request is used to instruct the second electronic device to transfer the file data of the target file to the first electronic device through the data transmission channel corresponding to the task identifier. 10.根据权利要求8或9所述的方法,其特征在于,所述操作请求及所述响应信息是基于WebSocket协议进行传输的,所述数据获取请求及所述目标文件的文件数据是基于超文本传输协议HTTP协议传输的。10. The method according to claim 8 or 9 is characterized in that the operation request and the response information are transmitted based on the WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on the Hypertext Transfer Protocol HTTP protocol. 11.根据权利要求8或9所述的方法,其特征在于,所述获取所述目标文件在所述第二电子设备中的第一路径信息,包括:11. The method according to claim 8 or 9, characterized in that the obtaining of the first path information of the target file in the second electronic device comprises: 获取所述目标文件在本地文件系统中的第二路径信息;Obtaining second path information of the target file in the local file system; 将所述第二路径信息映射为,所述目标文件在所述第二电子设备中的第一路径信息。The second path information is mapped to the first path information of the target file in the second electronic device. 12.根据权利要求11所述的方法,其特征在于,所述文件的文件信息包括文件在所述第二电子设备中的第一路径信息;在所述获取所述目标文件在本地文件系统中的第二路径信息之前,所述方法还包括:12. The method according to claim 11, wherein the file information of the file includes first path information of the file in the second electronic device; before obtaining the second path information of the target file in the local file system, the method further comprises: 在本地文件系统的目标目录下,生成一个或多个所述文件对应的第二路径信息,并建立各个所述文件对应的第二路径信息与对应的第一路径信息之间的映射关系。In the target directory of the local file system, second path information corresponding to one or more of the files is generated, and a mapping relationship between the second path information corresponding to each of the files and the corresponding first path information is established. 13.根据权利要求12所述的方法,其特征在于,所述在本地文件系统的目标目录下,生成一个或多个所述文件对应的第二路径信息,包括:13. The method according to claim 12, wherein generating the second path information corresponding to one or more files in the target directory of the local file system comprises: 在本地文件系统的目标目录下,创建一个或多个所述文件对应的第二路径信息,并生成各个所述第二路径信息下的占位符文件;In the target directory of the local file system, create one or more second path information corresponding to the file, and generate a placeholder file under each of the second path information; 所述将所述第二路径信息映射为,所述目标文件在所述第二电子设备中的第一路径信息,包括:The mapping the second path information to the first path information of the target file in the second electronic device includes: 确定所述目标文件对应的第二路径信息下为占位符文件,则将所述目标文件对应的第二路径信息映射为,所述目标文件在所述第二电子设备中的第一路径信息。If it is determined that the second path information corresponding to the target file is a placeholder file, the second path information corresponding to the target file is mapped to the first path information of the target file in the second electronic device. 14.根据权利要求13所述的方法,其特征在于,所述方法还包括:14. The method according to claim 13, characterized in that the method further comprises: 接收所述第二电子设备发送的所述目标文件的文件数据;Receiving file data of the target file sent by the second electronic device; 将所述文件数据写入所述目标文件对应的第二路径信息下的占位符文件。The file data is written into a placeholder file under the second path information corresponding to the target file. 15.根据权利要求12~14任一项所述的方法,其特征在于,在本地文件系统的目标目录下,生成一个或多个所述文件对应的第二路径信息,包括:15. The method according to any one of claims 12 to 14, characterized in that generating second path information corresponding to one or more files under the target directory of the local file system comprises: 在所述文件管理界面中展示一个或多个所述文件对应的图标的情况下,在本地文件系统的目标目录下,生成所述文件管理界面中展示的各个文件对应的第二路径信息。When one or more icons corresponding to the files are displayed in the file management interface, second path information corresponding to each file displayed in the file management interface is generated in the target directory of the local file system. 16.根据权利要求11所述的方法,其特征在于,所述管理操作包括将目标文件发送到本地的应用程序的操作;所述响应于对所述文件管理界面中的目标图标的触发操作,对所述目标图标对应的目标文件进行管理操作,还包括:16. The method according to claim 11, wherein the management operation comprises an operation of sending the target file to a local application; and the management operation of the target file corresponding to the target icon in response to the triggering operation of the target icon in the file management interface further comprises: 响应于对所述文件管理界面中的目标图标的触发操作,根据所述目标文件在本地文件系统中的第二路径信息,生成操作对象,并将所述操作对象发送至本地的应用程序,以使所述本地的应用程序发送所述第二路径信息对应的读取请求;In response to a trigger operation on a target icon in the file management interface, an operation object is generated according to second path information of the target file in the local file system, and the operation object is sent to a local application so that the local application sends a read request corresponding to the second path information; 所述获取所述目标文件在本地文件系统中的第二路径信息,包括:The obtaining the second path information of the target file in the local file system includes: 响应于所述读取请求,获取所述目标文件在本地文件系统中的第二路径信息。In response to the read request, second path information of the target file in the local file system is obtained. 17.根据权利要求1~5任一项所述的方法,其特征在于,所述文件管理界面还包括上传控件;所述方法还包括:17. The method according to any one of claims 1 to 5, characterized in that the file management interface further includes an upload control; the method further includes: 响应于对所述上传控件的触发操作,确定待传输的文件,并将所述待传输的文件发送给所述第二电子设备。In response to the triggering operation of the upload control, a file to be transmitted is determined, and the file to be transmitted is sent to the second electronic device. 18.一种跨设备的文件管理方法,其特征在于,应用于第二电子设备,所述第二电子设备与第一电子设备建立通信连接,所述方法包括:18. A cross-device file management method, characterized in that it is applied to a second electronic device, the second electronic device establishes a communication connection with a first electronic device, and the method comprises: 向所述第一电子设备发送,所述第二电子设备存储的一个或多个文件对应的文件信息,以使所述第一电子设备根据所述一个或多个文件对应的文件信息,展示文件管理界面;所述文件管理界面中展示一个或多个所述文件对应的图标,所述文件对应的图标是根据文件对应的文件类型确定的;所述文件管理界面用于提供对所述第二电子设备存储的文件的管理功能。Sending to the first electronic device file information corresponding to one or more files stored in the second electronic device, so that the first electronic device displays a file management interface according to the file information corresponding to the one or more files; displaying one or more icons corresponding to the files in the file management interface, wherein the icons corresponding to the files are determined according to the file types corresponding to the files; and the file management interface is used to provide management functions for files stored in the second electronic device. 19.根据权利要求18所述的方法,其特征在于,所述方法还包括:19. The method according to claim 18, characterized in that the method further comprises: 接收所述第一电子设备发送的操作请求;所述操作请求携带目标文件在所述第二电子设备中的第一路径信息;所述目标文件为需要进行管理操作的文件;receiving an operation request sent by the first electronic device; the operation request carries first path information of a target file in the second electronic device; the target file is a file that needs to be managed; 根据所述操作请求,对所述第一路径信息对应的所述目标文件,进行与所述管理操作对应的处理。According to the operation request, processing corresponding to the management operation is performed on the target file corresponding to the first path information. 20.根据权利要求19所述的方法,其特征在于,所述根据所述操作请求,对所述第一路径信息对应的所述目标文件,进行与所述管理操作对应的处理,包括:20. The method according to claim 19, wherein the step of performing processing corresponding to the management operation on the target file corresponding to the first path information according to the operation request comprises: 根据所述操作请求,确定所述第一路径信息对应的所述目标文件,并创建所述目标文件对应的数据传输通道;According to the operation request, determining the target file corresponding to the first path information, and creating a data transmission channel corresponding to the target file; 向所述第一电子设备发送响应信息;Sending response information to the first electronic device; 接收所述第一电子设备发送的数据获取请求;Receiving a data acquisition request sent by the first electronic device; 响应所述数据获取请求,通过所述数据传输通道,将所述目标文件的文件数据传输给所述第一电子设备。In response to the data acquisition request, the file data of the target file is transmitted to the first electronic device through the data transmission channel. 21.根据权利要求20所述的方法,其特征在于,所述操作请求还携带所述目标文件对应的下载任务的任务标识;21. The method according to claim 20, characterized in that the operation request also carries a task identifier of the download task corresponding to the target file; 所述根据所述操作请求,确定所述第一路径信息对应的所述目标文件,并创建所述目标文件对应的数据传输通道,包括:The step of determining the target file corresponding to the first path information according to the operation request, and creating a data transmission channel corresponding to the target file, includes: 根据所述操作请求,确定所述第一路径信息对应的所述目标文件,创建所述目标文件对应的数据传输通道,并将所述数据传输通道与所述任务标识绑定;According to the operation request, determine the target file corresponding to the first path information, create a data transmission channel corresponding to the target file, and bind the data transmission channel to the task identifier; 所述响应所述数据获取请求,通过所述数据传输通道,将所述目标文件的文件数据传输给所述第一电子设备,包括:The step of transmitting the file data of the target file to the first electronic device through the data transmission channel in response to the data acquisition request includes: 根据所述数据获取请求携带的所述任务标识,通过所述任务标识对应的数据传输通道,将所述目标文件的文件数据传输给所述第一电子设备。According to the task identifier carried in the data acquisition request, the file data of the target file is transmitted to the first electronic device through the data transmission channel corresponding to the task identifier. 22.根据权利要求20或21所述的方法,其特征在于,所述操作请求及所述响应信息是基于WebSocket协议进行传输的,所述数据获取请求及所述目标文件的文件数据是基于超文本传输协议HTTP协议传输的。22. The method according to claim 20 or 21 is characterized in that the operation request and the response information are transmitted based on the WebSocket protocol, and the data acquisition request and the file data of the target file are transmitted based on the Hypertext Transfer Protocol HTTP protocol. 23.根据权利要求19~21任一项所述的方法,其特征在于,所述接收所述第一电子设备发送的操作请求,包括:23. The method according to any one of claims 19 to 21, wherein receiving the operation request sent by the first electronic device comprises: 接收所述第一电子设备发送的请求;receiving a request sent by the first electronic device; 确定所述请求对应的请求类型,若所述请求类型为操作请求,则确定接收到所述第一电子设备发送的操作请求。Determine a request type corresponding to the request, and if the request type is an operation request, determine that the operation request sent by the first electronic device is received. 24.根据权利要求23所述的方法,其特征在于,在所述确定所述请求对应的请求类型之后,所述方法还包括:24. The method according to claim 23, characterized in that after determining the request type corresponding to the request, the method further comprises: 若所述请求类型为连接请求,则确定接收到所述第一电子设备发送的连接请求;If the request type is a connection request, determining that a connection request sent by the first electronic device is received; 响应于所述连接请求,向所述第一电子设备发送连接信息,以使所述第一电子设备根据所述连接信息与所述第二电子设备建立通信连接。In response to the connection request, connection information is sent to the first electronic device, so that the first electronic device establishes a communication connection with the second electronic device according to the connection information. 25.一种跨设备的文件管理装置,其特征在于,应用于第一电子设备,所述第一电子设备与第二电子设备建立通信连接,所述装置包括:25. A cross-device file management device, characterized in that it is applied to a first electronic device, the first electronic device establishes a communication connection with a second electronic device, and the device comprises: 信息获取模块,用于获取所述第二电子设备存储的一个或多个文件对应的文件信息;An information acquisition module, used to acquire file information corresponding to one or more files stored in the second electronic device; 展示模块,用于根据所述一个或多个文件对应的文件信息,展示文件管理界面;所述文件管理界面中展示一个或多个所述文件对应的图标,所述文件对应的图标是根据文件对应的文件类型确定的;A display module, used to display a file management interface according to the file information corresponding to the one or more files; the file management interface displays one or more icons corresponding to the files, and the icons corresponding to the files are determined according to the file types corresponding to the files; 管理模块,用于响应于对所述文件管理界面中的目标图标的触发操作,对所述目标图标对应的目标文件进行管理操作。The management module is used to perform management operations on the target file corresponding to the target icon in response to a trigger operation on the target icon in the file management interface. 26.一种跨设备的文件管理装置,其特征在于,应用于第二电子设备,所述第二电子设备与第一电子设备建立通信连接,所述装置包括:26. A cross-device file management device, characterized in that it is applied to a second electronic device, the second electronic device establishes a communication connection with a first electronic device, and the device comprises: 信息发送模块,用于向所述第一电子设备发送,所述第二电子设备存储的一个或多个文件对应的文件信息,以使所述第一电子设备根据所述一个或多个文件对应的文件信息,展示文件管理界面;所述文件管理界面中展示一个或多个所述文件对应的图标,所述文件对应的图标是根据文件对应的文件类型确定的;所述文件管理界面用于提供对所述第二电子设备存储的文件的管理功能。。The information sending module is used to send the file information corresponding to one or more files stored in the second electronic device to the first electronic device, so that the first electronic device displays a file management interface according to the file information corresponding to the one or more files; the file management interface displays one or more icons corresponding to the files, and the icons corresponding to the files are determined according to the file types corresponding to the files; the file management interface is used to provide a management function for the files stored in the second electronic device. . 27.一种电子设备,其特征在于,包括存储器及处理器、收发单元,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述电子设备实现如权利要求1~17或18~24任一项所述的方法。27. An electronic device, characterized in that it comprises a memory, a processor, and a transceiver unit, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device implements the method according to any one of claims 1 to 17 or 18 to 24. 28.一种计算机程序产品,其特征在于,包括计算机程序,且所述计算机程序被电子设备中的处理器执行时,使得所述电子设备实现如权利要求1~17或18~24任一项所述的方法。28. A computer program product, characterized in that it comprises a computer program, and when the computer program is executed by a processor in an electronic device, the electronic device implements the method according to any one of claims 1 to 17 or 18 to 24.
CN202411448833.4A 2024-10-16 2024-10-16 Cross-device file management method, device, electronic device and program product Pending CN119440339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411448833.4A CN119440339A (en) 2024-10-16 2024-10-16 Cross-device file management method, device, electronic device and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411448833.4A CN119440339A (en) 2024-10-16 2024-10-16 Cross-device file management method, device, electronic device and program product

Publications (1)

Publication Number Publication Date
CN119440339A true CN119440339A (en) 2025-02-14

Family

ID=94510810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411448833.4A Pending CN119440339A (en) 2024-10-16 2024-10-16 Cross-device file management method, device, electronic device and program product

Country Status (1)

Country Link
CN (1) CN119440339A (en)

Similar Documents

Publication Publication Date Title
US20250106598A1 (en) Message extension app store
US10091628B2 (en) Message based application state and card sharing methods for user devices
CN113254121B (en) A messaging app that interfaces with one or more extension apps
US20200257437A1 (en) Methods and systems for web content generation
CN107943547B (en) Multi-service integration method, device, intelligent terminal, server and operating system
US9298747B2 (en) Deployable, consistent, and extensible computing environment platform
EP2731070A1 (en) Methods and systems for open source integration
US20130019189A1 (en) Augmented editing of an online document
TW201508639A (en) Capturing website content through capture services
CN102016833A (en) Techniques to modify a document using a latent transfer surface
US20180239834A1 (en) Data transmission method and device
US20160342691A1 (en) Method and system for processing information in social network system
CN112328140B (en) Image input method, device, equipment and medium thereof
CN111193785A (en) A file cutting and transmission method, device and electronic device
KR101712138B1 (en) System and method for file control using user server
CN119440339A (en) Cross-device file management method, device, electronic device and program product
WO2023082813A1 (en) Information sharing method and apparatus, electronic device and storage medium
CN112199090B (en) Information stream processing method, device and computer readable storage medium
JP4822966B2 (en) Homepage creation support system
CN112487218A (en) Content processing method, system, device, computing equipment and storage medium
CN116610306A (en) Program development method, program development device, program development apparatus, program development program storage medium, and program product
JP2003099263A (en) Document data structure, storage medium, information processing apparatus and information processing system
CN118331463A (en) Method for processing file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication