Data processing method, server, mobile terminal, and computer-readable storage medium

By converting HTTP to CIFS/SMB protocols on the server side, the problem of mobile terminals being unable to access cloud desktop file data is solved, allowing mobile terminals to access shared file storage without logging in, improving the ease of data processing. and security.

WO2024179289A1PCT designated stage expired Publication Date: 2024-09-06ZTE CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/076254
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-27
Filing Date
2024-02-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

It is difficult for mobile terminals to conveniently and securely access file data in cloud desktops, especially because desktop operating systems such as Windows have poor adaptability to mobile terminals such as mobile phones, and mobile terminals do not support file storage protocols such as CIFS/SMB, making direct access impossible. File data in shared file storage.

Method used

By implementing the conversion between HTTP protocol and CIFS/SMB protocol on the server side, the mobile terminal can communicate with the server. The server accesses the shared file storage based on the CIFS/SMB protocol and returns the result to the mobile terminal, enabling the mobile terminal to operate without logging into the cloud desktop. access file data in shared file storage.

Benefits of technology

It reduces the difficulty for mobile terminals to access cloud desktop file data, enhances the ease of use of mobile terminals to process cloud desktop files, and improves data security through permission control and file type management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024076254_06092024_PF_FP
    Figure CN2024076254_06092024_PF_FP
Patent Text Reader

Abstract

The present disclosure provides a data processing method for a server, comprising: receiving a request message from a mobile terminal, the request message carrying an access request to access file data in a shared file storage; according to the access request and on the basis of a file storage protocol, accessing the file data in the shared file storage; and returning a response message to the mobile terminal. The present disclosure further provides a data processing method applicable to a mobile terminal, a server, a mobile terminal, and a computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method, server, mobile terminal, and computer-readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310208379.4 filed on February 27, 2023, the contents of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, a server, a mobile terminal, and a computer-readable storage medium. Background Art

[0004] Cloud desktops are typically based on desktop operating systems like Windows and are used to replace personal computers (PCs). They require a thin client, mobile terminal, or PC to use. However, desktop operating systems like Windows are poorly compatible with mobile terminals like phones. While mobile-friendly office systems like email, messaging, conferencing, scheduling, tasks, and approvals have enabled mobile terminals to send and receive email, messages, hold remote meetings, and perform approvals, conveniently accessing files on cloud desktops via mobile terminals remains difficult.

[0005] Cloud or network disk technology has recently developed and gained popularity. Users can upload files from their cloud desktops to cloud or network disks, and mobile devices can access files on their cloud desktops by uploading and downloading files from the cloud disks. However, due to data security and privacy concerns, not all data on cloud desktops is suitable for uploading to cloud or network disks. Mobile devices cannot fully and securely access files on cloud desktops through cloud or network disks. Furthermore, cloud or network disks cannot replace local disk storage on cloud desktops, and their access speeds cannot match those of local disks on cloud desktops. Cloud or network disks are typically accessed through browsers, folders, network drive letters, and other methods. Cloud or network disks generally serve only as a supplement to local storage on cloud desktops.

[0006] Cloud desktops also mount shared file storage, such as Network Attached Storage (NAS) and distributed file storage, based on file storage protocols like Common Internet File System (CIFS) and Server Message Block (SMB). However, mobile terminals generally do not support file storage protocols like CIFS / SMB, making it impossible to directly access file data in shared file storage. This further increases the difficulty for mobile terminals to access files in cloud desktops.

[0007] Public content

[0008] In a first aspect, an embodiment of the present disclosure provides a data processing method, comprising: receiving a request message from a mobile terminal, the request message carrying an access request for file data in a shared file storage; accessing the file data in the shared file storage based on a file storage protocol according to the access request; and returning a response message to the mobile terminal.

[0009] In a second aspect, an embodiment of the present disclosure provides a data processing method, comprising: sending a request message to a server, the request message carrying an access request for accessing file data in a shared file storage; and receiving a response message from the server.

[0010] In a third aspect, an embodiment of the present disclosure provides a server, comprising: at least one processor; and a memory on which at least one computer program is stored. When the at least one computer program is executed by the at least one processor, the at least one processor implements the data processing method described in the first aspect of the embodiment of the present disclosure.

[0011] In a fourth aspect, an embodiment of the present disclosure provides a mobile terminal, comprising: at least one processor; and a memory on which at least one computer program is stored. When the at least one computer program is executed by the at least one processor, the at least one processor implements the data processing method described in the second aspect of the embodiment of the present disclosure.

[0012] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements at least one of the data processing method described in the first aspect of the embodiment of the present disclosure and the data processing method described in the second aspect of the embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] FIG1 is a flow chart of a data processing method according to an embodiment of the present disclosure;

[0014] FIG2 is a flow chart of a data processing method according to an embodiment of the present disclosure;

[0015] FIG3 is a schematic diagram of the composition of a server in an embodiment of the present disclosure;

[0016] FIG4 is a schematic diagram of the composition of a mobile terminal according to an embodiment of the present disclosure;

[0017] FIG5 is a schematic diagram of a cloud desktop network environment in an embodiment of the present disclosure;

[0018] FIG6 is a schematic diagram of a cloud desktop system according to an embodiment of the present disclosure;

[0019] FIG7 is a schematic diagram of a cloud desktop system according to an embodiment of the present disclosure;

[0020] FIG8 is a flow chart of a mobile terminal acquiring a primary directory in an embodiment of the present disclosure;

[0021] 9 is a flow chart of a mobile terminal obtaining a list of subordinate directories and files in an embodiment of the present disclosure;

[0022] FIG10 is a flow chart of a mobile terminal online file access embodiment of the present disclosure;

[0023] FIG11 is a flow chart of a mobile terminal downloading a file in an embodiment of the present disclosure;

[0024] FIG12 is a flow chart of a mobile terminal writing a file in an embodiment of the present disclosure;

[0025] FIG13 is a flow chart of a mobile terminal deleting a file in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] To enable those skilled in the art to better understand the technical solutions of the present disclosure, the data processing method, server, mobile terminal, and computer-readable storage medium provided by the present disclosure are described in detail below with reference to the accompanying drawings.

[0027] Hereinafter, example embodiments will be described more fully with reference to the accompanying drawings, but the example embodiments may be embodied in different forms, and the present application should not be construed as limited to the embodiments set forth herein. These examples are provided to make this disclosure more thorough and complete and to enable those skilled in the art to fully understand the scope of this disclosure.

[0028] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0029] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0030] The terms used herein are used only to describe specific embodiments and do not limit the present disclosure. As used herein, the singular forms "a," "an," and "the" also include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, they specify the presence of the features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or possible addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof.

[0031] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.

[0032] In a first aspect, referring to FIG. 1 , an embodiment of the present disclosure provides a data processing method, which is applied to a server and includes steps S11 to S13 .

[0033] S11. Receive a request message from a mobile terminal, where the request message carries an access request for accessing file data in a shared file storage.

[0034] S12: Access the file data in the shared file storage based on a file storage protocol according to the access request.

[0035] S13. Return a response message to the mobile terminal.

[0036] In the embodiments of the present disclosure, the server may be a server that hosts a cloud desktop. The cloud desktop may be any one of an office cloud desktop, an education cloud desktop, a home cloud desktop, etc., and the embodiments of the present disclosure do not specifically limit this.

[0037] In the embodiments of the present disclosure, the mobile terminal includes a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), etc., and the embodiments of the present disclosure do not specifically limit this.

[0038] In the embodiments of the present disclosure, the mobile terminal can communicate with the server. The embodiments of the present disclosure do not specifically limit how the mobile terminal and the server communicate. In some embodiments, the mobile terminal and the server communicate based on the Hypertext Transfer Protocol (HTTP). For example, the mobile terminal sends a request message to the server based on the HTTP protocol, and the server returns a response message to the mobile terminal based on the HTTP protocol.

[0039] In the embodiments of the present disclosure, the shared file storage may be file storage mounted on the cloud desktop, for example, NAS, distributed file storage, etc. The server can access the shared file storage based on the file storage protocol, for example, performing operations such as reading and writing to the shared file storage. The embodiments of the present disclosure do not specifically limit the file storage protocol. In some embodiments, the file storage protocol includes Network File System (NFS), CIFS, SMB, etc.

[0040] In the embodiments of the present disclosure, the server accesses file data in the shared storage based on the file storage protocol, which may include obtaining metadata information of the file directory, reading file content in the shared storage, modifying file content in the shared storage, writing files to the shared storage, deleting files in the shared storage, etc. The embodiments of the present disclosure do not specifically limit this.

[0041] In the embodiment of the present disclosure, the response message returned by the server to the mobile terminal may carry information indicating the result of the server accessing the file data in the shared file storage, or may carry information such as the file content obtained by the server from the shared file storage. This embodiment of the present disclosure does not specifically limit this.

[0042] For example, a mobile terminal communicates with a server using HTTP, and the server accesses shared file storage using CIFS / SMB. The data processing process on the server includes: the server receives a request message from the mobile terminal using HTTP; based on the access request carried in the request message, the server accesses the file data in the shared file storage using CIFS / SMB; and the server returns a response message to the mobile terminal using HTTP. The server effectively completes protocol conversion between HTTP and CIFS / SMB, enabling the mobile terminal to access file data in the shared file storage without logging into the cloud desktop.

[0043] In the data processing method provided by the embodiment of the present disclosure, the mobile terminal and the server can communicate. After receiving the request message sent by the mobile terminal, the server can access the file data in the shared file storage based on the file storage protocol according to the access request carried in the request message, and return a response message to the mobile terminal, thereby overcoming the problem that the mobile terminal does not support the file storage protocol, enabling the mobile terminal to access the file data in the shared file storage without logging into the cloud desktop, reducing the difficulty of the mobile terminal in accessing the file data in the cloud desktop, and enhancing the ease of use of the mobile terminal in processing cloud desktop files.

[0044] In some embodiments, the server can control whether the mobile terminal can access the file data in the shared file storage; when receiving a request message from the mobile terminal, the server can access the file data in the shared file storage according to the access request only if the mobile terminal is allowed to access the file data in the shared file storage.

[0045] Accordingly, in some embodiments, accessing the file data in the shared file storage based on the file storage protocol according to the access request (i.e., step S12) includes: determining whether the mobile terminal can access the file data according to the access request; and accessing the file data in the shared file storage based on the file storage protocol according to the access request if the mobile terminal can access the file data.

[0046] It should be noted that, in the embodiments of the present disclosure, "a mobile terminal is able to access file data" means that the mobile terminal is permitted to access the file data; and "determining whether a mobile terminal is able to access file data" means determining whether the mobile terminal is permitted to access the file data. In the embodiments of the present disclosure, "a mobile terminal is permitted to access file data" may mean that the mobile terminal has permission to access the file data, or that the file data requested by the mobile terminal falls within the range of file types permitted to be accessed by the mobile terminal; the embodiments of the present disclosure do not impose any particular limitation on this.

[0047] In the disclosed embodiment, the server controls whether the mobile terminal can access the file data in the shared file storage, which is beneficial to ensuring information security.

[0048] In some embodiments, based on the access request, determining whether the mobile terminal can access the file data includes performing at least one of the following operations: determining whether the mobile terminal has permission to access the file data based on the user configuration of the mobile terminal; or determining whether the type of the file data meets a preset condition based on the system configuration; in at least one of the following cases, determining that the mobile terminal can access the file data: the mobile terminal has permission to access the file data, or the type of the file data meets the preset condition.

[0049] It should be noted that judging whether the type of the file data satisfies the preset condition is intended to determine whether the file data requested to be accessed by the mobile terminal is within the range of file types allowed to be accessed by the mobile terminal.

[0050] In the disclosed embodiments, controlling the access rights of mobile terminals to file data is beneficial to protecting sensitive data and improving data security.

[0051] In the disclosed embodiment, controlling the range of file types that mobile terminals are allowed to access is beneficial for controlling the scope of data dissemination and ensuring information security.

[0052] The embodiments of the present disclosure do not specifically limit the preset conditions, that is, how to control the range of file types allowed to be accessed by the mobile terminal. In some implementations, at least one of a whitelist or a blacklist is used to control the range of file types allowed to be accessed by the mobile terminal.

[0053] Accordingly, in some embodiments, determining whether the type of the file data satisfies a preset condition includes: when the type of the file data belongs to a type in a whitelist, determining that the type of the file data satisfies the preset condition; or when the type of the file data does not belong to a type in a blacklist, determining that the type of the file data satisfies the preset condition.

[0054] In the embodiment of the present disclosure, the types in the whitelist are file data types that the mobile terminal is allowed to access, and the types in the blacklist are file data types that the mobile terminal is not allowed to access.

[0055] The embodiments of the present disclosure do not impose any special restrictions on access requests.

[0056] In some embodiments, the access request includes an access request to obtain a first-level directory; according to the access request, accessing the file data in the shared file storage based on the file storage protocol (i.e., step S12) includes: obtaining metadata information of the first-level directory from the shared file storage based on the file storage protocol.

[0057] Returning a response message to the mobile terminal (ie, step S13 ) includes: generating the response message carrying the metadata information of the primary directory; and sending the response message to the mobile terminal.

[0058] In the disclosed embodiments, the first-level directory can be a general directory or any first-level directory. The disclosed embodiments do not specifically limit this. It should be noted that, in the disclosed embodiments, the metadata information of the first-level directory is information used to generate the first-level directory, and the mobile terminal can generate the first-level directory based on the metadata information.

[0059] The embodiment of the present disclosure does not impose any special limitation on how to obtain metadata information of a primary directory.

[0060] In some embodiments, obtaining metadata information of the first-level directory from the shared file storage based on the file storage protocol includes: determining a display format of the first-level directory in the mobile terminal according to configuration information; and obtaining metadata information of the first-level directory from the shared file storage based on the file storage protocol according to the display format.

[0061] The embodiments of this disclosure do not specifically limit how to determine the display format of the first-level directory. For example, determining the display format includes: determining whether to display the network disk in the cloud desktop, determining whether to display the most recently accessed, determining whether to display the personalized data as the main directory or some or all subdirectories in the lower levels (My Documents, My Desktop, My Downloads, etc.), and determining the arrangement order of the first-level directories.

[0062] In some embodiments, the access request includes an access request to obtain a list of sub-directories and files of a target directory; according to the access request, accessing the file data in the shared file storage based on a file storage protocol (i.e., step S12) includes: obtaining information on sub-directories and file lists of the target directory from the shared file storage based on the file storage protocol.

[0063] Returning a response message to the mobile terminal (ie, step S13 ) includes: generating the response message carrying a list of sub-directories and files of the target directory; and sending the response message to the mobile terminal.

[0064] In some implementations, the data processing method further includes: determining recently accessed file list information based on the file access statistics information; and carrying the recently accessed file list information in the response message.

[0065] In some implementations, steps S11 to S13 support online browsing of files in a shared file storage by a mobile terminal.

[0066] Accordingly, in some embodiments, the access request includes an access request for online file viewing; according to the access request, accessing the file data in the shared file storage based on the file storage protocol (i.e., step S12) includes: obtaining the file to be viewed corresponding to the access request from the shared file storage based on the file storage protocol.

[0067] Returning a response message to the mobile terminal (ie, step S13 ) includes: generating the response message carrying the file to be consulted; and sending the response message to the mobile terminal.

[0068] In some implementations, steps S11 to S13 support the mobile terminal downloading files in the shared file storage.

[0069] Accordingly, in some embodiments, the access request includes an access request for downloading a file; according to the access request, accessing the file data in the shared file storage based on the file storage protocol (i.e., step S12) includes: obtaining the file to be downloaded corresponding to the access request from the shared file storage based on the file storage protocol.

[0070] Returning a response message to the mobile terminal (ie, step S13 ) includes: generating the response message carrying the file to be downloaded; and sending the response message to the mobile terminal.

[0071] In some implementations, steps S11 to S13 support the mobile terminal performing a write operation on a file in the shared file storage.

[0072] Accordingly, in some embodiments, the access request includes an access request to write a file; according to the access request, accessing the file data in the shared file storage based on the file storage protocol (i.e., step S12) includes: writing the content of the file to be written to the target file in the shared file storage based on the file storage protocol.

[0073] Returning a response message to the mobile terminal (ie, step S13 ) includes returning the response message representing the writing result to the mobile terminal.

[0074] In some implementations, steps S11 to S13 support the mobile terminal to perform a deletion operation on files in the shared file storage.

[0075] Accordingly, in some embodiments, the access request includes an access request to delete a file; according to the access request, accessing the file data in the shared file storage based on the file storage protocol (i.e., step S12) includes: deleting the file to be deleted in the shared file storage based on the file storage protocol.

[0076] Returning a response message to the mobile terminal (ie, step S13 ) includes returning the response message representing the deletion result to the mobile terminal.

[0077] In some embodiments, the data processing method further includes at least one of the following steps: configuring a display format of file data in the mobile terminal; configuring a type range of file data accessed by the mobile terminal; and configuring permissions for the mobile terminal to access file data.

[0078] In a second aspect, referring to FIG. 2 , an embodiment of the present disclosure provides a data processing method, including steps S21 and S22 .

[0079] S21. Send a request message to the server, where the request message carries an access request for accessing file data in a shared file storage.

[0080] S22. Receive a response message from the server.

[0081] In the embodiments of the present disclosure, the server may be a server that hosts a cloud desktop. The cloud desktop may be any one of an office cloud desktop, an education cloud desktop, a home cloud desktop, etc., and the embodiments of the present disclosure do not specifically limit this.

[0082] In the embodiments of the present disclosure, mobile terminals include mobile phones, tablet computers, PDAs, etc., and the embodiments of the present disclosure do not impose any special limitations on these.

[0083] In the embodiments of the present disclosure, the mobile terminal can communicate with the server. The embodiments of the present disclosure do not specifically limit how the mobile terminal and the server communicate. In some embodiments, the mobile terminal and the server communicate based on the Hypertext Transfer Protocol (HTTP). For example, the mobile terminal sends a request message to the server based on the HTTP protocol and receives a response message returned by the server based on the HTTP protocol.

[0084] In the disclosed embodiments, the shared file storage may be file storage mounted on a cloud desktop, such as NAS or distributed file storage. The server can access the shared file storage based on a file storage protocol, for example, performing operations such as reading and writing to the shared file storage. The disclosed embodiments do not specifically limit the file storage protocol. In some implementations, the file storage protocol includes NFS, CIFS, SMB, and the like.

[0085] In the embodiments of the present disclosure, the mobile terminal accessing file data in the shared storage may include obtaining metadata information of the file directory, reading file content in the shared storage, modifying file content in the shared storage, writing files to the shared storage, deleting files in the shared storage, etc. The embodiments of the present disclosure do not specifically limit this.

[0086] In the embodiment of the present disclosure, the response message returned by the server to the mobile terminal may carry information indicating the result of the server accessing the file data in the shared file storage, or may carry information such as the file content obtained by the server from the shared file storage. This embodiment of the present disclosure does not specifically limit this.

[0087] In the data processing method provided by the embodiment of the present disclosure, the mobile terminal and the server can communicate. After receiving the request message sent by the mobile terminal, the server can access the file data in the shared file storage based on the file storage protocol according to the access request carried in the request message, and return a response message to the mobile terminal, thereby overcoming the problem that the mobile terminal does not support the file storage protocol, enabling the mobile terminal to access the file data in the shared file storage without logging into the cloud desktop, reducing the difficulty of the mobile terminal in accessing the file data in the cloud desktop, and enhancing the ease of use of the mobile terminal in processing cloud desktop files.

[0088] In some embodiments, the access request includes any one of an access request to obtain a first-level directory, an access request to obtain a list of sub-directories and files of a target directory, an access request to view files online, an access request to download files, an access request to write files, and an access request to delete files.

[0089] In the third aspect, referring to Figure 3, an embodiment of the present disclosure provides a server, including: at least one processor 101; a memory 102, on which at least one computer program is stored. When the at least one computer program is executed by the at least one processor 101, the at least one processor 101 implements the data processing method described in the first aspect of the embodiment of the present disclosure.

[0090] The server may further include at least one I / O interface 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .

[0091] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize information exchange between the processor 101 and the memory 102, including but not limited to a data bus (Bus), etc.

[0092] In some implementations, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.

[0093] In the fourth aspect, referring to Figure 4, an embodiment of the present disclosure provides a mobile terminal, including: at least one processor 201; a memory 202, on which at least one computer program is stored. When the at least one computer program is executed by the at least one processor 201, the at least one processor 201 implements the data processing method described in the second aspect of the embodiment of the present disclosure.

[0094] The mobile terminal further includes at least one I / O interface 203 connected between the processor 201 and the memory 202 and configured to implement information interaction between the processor 201 and the memory 202 .

[0095] The processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 202 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize information exchange between the processor 201 and the memory 202, including but not limited to a data bus (Bus), etc.

[0096] In some implementations, the processor 201 , the memory 202 , and the I / O interface 203 are connected to each other via a bus 204 , and further connected to other components of the computing device.

[0097] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements at least one of the data processing method described in the first aspect of the embodiment of the present disclosure and the data processing method described in the second aspect of the embodiment of the present disclosure.

[0098] In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through specific examples:

[0099] Example 1

[0100] The network environment of the cloud desktop is shown in Figure 5, which includes computing nodes, storage nodes (including local storage and shared storage), management nodes, terminals, network devices, etc. Users access the cloud desktop through terminals (either through the intranet or the extranet).

[0101] The cloud desktop system provided in this example is shown in Figures 6 and 7, and includes a terminal, a computing unit, a local storage unit, a shared storage unit, a mobile service unit, a desktop access statistics unit, etc.

[0102] Mobile terminals: Users access cloud desktop services through mobile terminals, including mobile phones and tablets.

[0103] Computing unit: Provides computing virtualization resources and the computing power to host multiple cloud desktop virtual machines.

[0104] Local storage: Cloud desktop local storage hosts the local system and data disks of cloud desktop VMs, typically providing exclusive storage space for each VM. Cloud desktop local storage can utilize storage area network (SAN) arrays, distributed storage, or local server hard drives. Cloud desktop local storage is connected to the cloud desktop service server, and storage resources are allocated to cloud desktop VMs through the cloud desktop management node.

[0105] Shared storage unit: Shared storage supports multiple cloud desktop virtual machines to share access to the same storage space data. Shared storage can use NAS disk arrays, distributed file storage, cloud disks, etc. Shared storage is directly connected to the cloud desktop virtual machine.

[0106] Desktop access statistics unit: Counts the user's access records to specified file types and specified time periods in the cloud desktop, generates desktop access record statistics, and reports the desktop access record statistics to the mobile service unit.

[0107] Mobile service unit: The mobile service unit consists of an HTTP protocol parsing and encapsulation module, a business logic processing module, and a file protocol encapsulation and parsing module. The HTTP protocol parsing and encapsulation module is responsible for receiving HTTP requests, parsing request fields, encapsulating the request processing results into HTTP response messages, and returning them. The business logic processing module is responsible for collecting and counting user access records on cloud desktops and mobile terminals, providing a list of recently accessed files to the mobile terminal for display, configuring and controlling the default format for mobile APP data display, configuring and controlling the range of data types accessible to mobile APPs, and configuring and controlling the permissions for mobile APPs to access data. The file protocol encapsulation and parsing module is responsible for encapsulating the HTTP request messages processed by the business logic module into file protocols, calling shared file storage protocols, accepting shared file storage responses, and parsing the execution results.

[0108] Example 2

[0109] This example is based on the cloud desktop system provided in Example 1.

[0110] As shown in FIG8 , the process of the mobile terminal acquiring the first-level directory includes: (1) to (6).

[0111] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to obtain the first-level directory information that can be displayed.

[0112] (2) The mobile service unit obtains the local system configuration and user configuration.

[0113] (3) The mobile terminal service unit determines whether the user has the permission to directly read the directory information on the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the permission, it directly jumps to (6). If the user has the permission, it continues to execute (4).

[0114] (4) If the user has read permission, the mobile service unit determines the format of the first-level directory displayed to the user based on the obtained configuration information, including whether the "network disk" is displayed, whether the "recent visits" are displayed, whether the profile personality data displays a general directory or some or all sub-directories in the lower level (My Documents, My Desktop, My Downloads, etc.), and the arrangement order of the first-level directory; based on the determined display format, the metadata information of the first-level directory is obtained from the shared file storage through the file storage protocol such as CIFS.

[0115] (5) Organize the metadata information of the first-level directory into HTTP messages.

[0116] (6) Return the operation results to the mobile terminal APP.

[0117] Example 3

[0118] This example is based on the cloud desktop system provided in Example 1.

[0119] As shown in FIG9 , the process of the mobile terminal obtaining the list of lower-level directories and files includes: (1) to (9).

[0120] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to obtain a list of subdirectories and files in a certain directory.

[0121] (2) The mobile service unit obtains the local system configuration and user configuration.

[0122] (3) The mobile terminal service unit determines whether the user has the permission to directly read the directory information on the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the permission, it will jump directly to (9); if the user has the permission, it will continue to execute (4).

[0123] (4) If there is read permission, the mobile terminal service unit determines whether it needs to obtain the list of recently accessed files based on the request message. If it needs to obtain, it jumps to (6); if it does not need to obtain, it continues to execute (5).

[0124] (5) The mobile service unit obtains the sub-directory and file information of the specified directory from the shared file storage through the CIFS or other file storage protocols, and jumps to (8).

[0125] (6) The mobile service unit merges and sorts the access time based on the desktop file access statistics reported by the desktop access statistics unit and its own mobile file access statistics.

[0126] (7) Determine the recently accessed file list information based on the configured number of recently accessed file lists (such as 100), the time period of the recently accessed file list (such as the last 3 months), etc.

[0127] (8) Organize the subdirectories and file information of the specified directory into HTTP messages.

[0128] (9) Return the operation result to the mobile terminal APP.

[0129] Example 4

[0130] This example is based on the cloud desktop system provided in Example 1.

[0131] As shown in FIG10 , the process of online file browsing by a mobile terminal includes: (1) to (8).

[0132] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to access a file online.

[0133] (2) The mobile service unit identifies the file type of the file to be retrieved and obtains the local system configuration and user configuration.

[0134] (3) The mobile terminal service unit determines whether the user has the authority to directly access files online in the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the authority, it directly jumps to (7); if the user has the authority, it continues to execute (4).

[0135] (4) The mobile terminal service unit determines whether the file type is allowed to be viewed by the mobile terminal based on the identified file type to be viewed. If not allowed, it directly jumps to (7); if allowed, it continues to execute (5).

[0136] (5) The mobile service unit obtains file content from the shared file storage through file storage protocols such as CIFS.

[0137] (6) Organize the obtained file content into an HTTP message for response.

[0138] (7) Return the operation result to the mobile terminal APP; if the operation result is the HTTP message, continue to execute (8).

[0139] (8) The mobile terminal APP displays the file content. After the user closes the file, the mobile terminal APP clears the local cache and does not save it locally.

[0140] Example 5

[0141] This example is based on the cloud desktop system provided in Example 1.

[0142] As shown in FIG11 , the process of downloading a file by a mobile terminal includes: (1) to (8).

[0143] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to download a file.

[0144] (2) The mobile service unit identifies the file type of the file to be downloaded and obtains the local system configuration and user configuration.

[0145] (3) The mobile terminal service unit determines whether the user has the permission to download files directly on the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the permission, it directly jumps to (6); if the user has the permission, it continues to execute (4).

[0146] (4) The mobile terminal service unit determines whether the file type is allowed to be downloaded by the mobile terminal based on the identified file type to be downloaded. If not allowed, it directly jumps to (7); if allowed, it continues to execute (5).

[0147] (5) The mobile service unit obtains file content from the shared file storage through file storage protocols such as CIFS.

[0148] (6) Organize the obtained file content into an HTTP message for response.

[0149] (7) Return the operation result to the mobile terminal APP; if the operation result is the HTTP message, continue to execute (8).

[0150] (8) The mobile terminal APP saves the file locally on the terminal.

[0151] Example 6

[0152] This example is based on the cloud desktop system provided in Example 1.

[0153] As shown in FIG12 , the process of writing a file by a mobile terminal includes: (1) to (8).

[0154] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to write a file, including creating a new file and modifying an existing file.

[0155] (2) The mobile service unit identifies the type of the written file and obtains the local system configuration and user configuration.

[0156] (3) The mobile service unit determines whether the user has the permission to write files directly on the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the permission, it directly jumps to (7); if the user has the permission, it continues to execute (4).

[0157] (4) Determine whether the file type of the file to be written allows the mobile terminal to write. If not allowed, jump directly to (7); if allowed, continue to execute (5).

[0158] (5) The mobile service unit writes the file content to the shared file storage through file storage protocols such as CIFS.

[0159] (6) Organize the file writing results into HTTP messages.

[0160] (7) The write operation result is returned to the mobile terminal APP.

[0161] The process of creating a directory is similar to writing a file. The difference lies in the determination in (4) whether to allow the creation of a directory on the mobile terminal.

[0162] Example 7

[0163] This example is based on the cloud desktop system provided in Example 1.

[0164] As shown in FIG13 , the process of deleting a file in a mobile terminal includes: (1) to (6).

[0165] (1) The mobile terminal APP sends an HTTP message to the mobile terminal service unit to delete a file.

[0166] (2) The mobile service unit obtains the local system configuration and user configuration.

[0167] (3) The mobile terminal service unit determines whether the user has the permission to delete files directly on the mobile terminal APP without logging into the cloud desktop based on the obtained configuration information. If the user does not have the permission, it directly jumps to (6); if the user has the permission, it continues to execute (4).

[0168] (4) The mobile service unit deletes files from the shared file storage through file storage protocols such as CIFS.

[0169] (5) Organize the file deletion result into an HTTP message.

[0170] (6) Return the deletion operation result to the mobile terminal APP.

[0171] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor (such as a central processing unit, a digital signal processor, or a microprocessor), or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0172] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. A data processing method, include: Receiving a request message from a mobile terminal, the request message carrying an access request for accessing file data in a shared file storage; Accessing the file data in the shared file storage based on a file storage protocol according to the access request; A response message is returned to the mobile terminal.

2. The data processing method according to claim 1, in, The accessing the file data in the shared file storage based on the file storage protocol according to the access request includes: According to the access request, determining whether the mobile terminal can access the file data; In a case where the mobile terminal is able to access the file data, the file data in the shared file storage is accessed based on a file storage protocol according to the access request.

3. The data processing method according to claim 2, in, The determining, according to the access request, whether the mobile terminal can access the file data comprises performing at least one of the following operations: Determining whether the mobile terminal has permission to access the file data according to the user configuration of the mobile terminal; or determining whether the type of the file data meets a preset condition according to the system configuration; In at least one of the following situations, it is determined that the mobile terminal can access the file data: The mobile terminal has permission to access the file data, or the type of the file data meets the preset condition.

4. The data processing method according to claim 3, in, The determining whether the type of the file data meets a preset condition includes: In a case where the type of the file data belongs to a type in the whitelist, determining that the type of the file data satisfies the preset condition; or When the file data type does not belong to a type in the blacklist, it is determined that the type of the file data meets the preset condition.

5. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request for obtaining a primary directory; and accessing the file data in the shared file storage based on the file storage protocol according to the access request includes: Acquire metadata information of the primary directory from the shared file storage based on the file storage protocol; The returning a response message to the mobile terminal comprises: Generate the response message carrying the metadata information of the primary directory; The response message is sent to the mobile terminal.

6. The data processing method according to claim 5, in, The acquiring metadata information of the primary directory from the shared file storage based on the file storage protocol includes: Determining, according to the configuration information, a display format of the primary directory in the mobile terminal; According to the presentation format, metadata information of the primary directory is obtained from the shared file storage based on the file storage protocol.

7. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request for obtaining a list of sub-directories and files of a target directory; The accessing the file data in the shared file storage based on the file storage protocol according to the access request includes: Based on the file storage protocol, obtaining the sub-directory and file list information of the target directory from the shared file storage; The returning a response message to the mobile terminal comprises: Generate the response message carrying the list of sub-directories and files of the target directory; The response message is sent to the mobile terminal.

8. The data processing method according to claim 7, further comprising: include: Determine the most recently accessed file list information based on the file access statistics information; The response message carries the most recently accessed file list information.

9. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request for online file viewing; and accessing the file data in the shared file storage based on the file storage protocol according to the access request includes: Based on the file storage protocol, obtaining the to-be-searched file corresponding to the access request from the shared file storage; The returning a response message to the mobile terminal comprises: Generate the response message carrying the file to be consulted; The response message is sent to the mobile terminal.

10. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request for downloading a file; and accessing the file data in the shared file storage based on a file storage protocol according to the access request includes: Based on the file storage protocol, obtaining the to-be-downloaded file corresponding to the access request from the shared file storage; The returning a response message to the mobile terminal comprises: Generate the response message carrying the file to be downloaded; The response message is sent to the mobile terminal.

11. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request for writing a file; and accessing the file data in the shared file storage based on the file storage protocol according to the access request includes: Based on the file storage protocol, writing the content of the file to be written into the target file in the shared file storage; The returning a response message to the mobile terminal comprises: The response message indicating the writing result is returned to the mobile terminal.

12. The data processing method according to any one of claims 1 to 4, in, The access request includes an access request to delete a file; and accessing the file data in the shared file storage based on a file storage protocol according to the access request includes: Based on the file storage protocol, deleting the to-be-deleted files in the shared file storage; The returning a response message to the mobile terminal comprises: The response message indicating the deletion result is returned to the mobile terminal.

13. The data processing method according to any one of claims 1 to 4, further comprising at least one of the following steps: Configure the display format of file data in the mobile terminal; Configure the type range of file data accessed by mobile terminals; Configure the permissions for mobile terminals to access file data.

14. A data processing method, include: Sending a request message to the server, wherein the request message carries an access request to access file data in the shared file storage; A response message is received from the server.

15. The data processing method according to claim 14, in, The access request includes any one of an access request to obtain a first-level directory, an access request to obtain a list of sub-directories and files of a target directory, an access request to view a file online, an access request to download a file, an access request to write a file, and an access request to delete a file.

16. A server, include: at least one processor; A memory having at least one computer program stored thereon, wherein when the at least one computer program is executed by the at least one processor, the at least one processor implements the data processing method according to any one of claims 1 to 13.

17. A mobile terminal, include: at least one processor; A memory having at least one computer program stored thereon, wherein when the at least one computer program is executed by the at least one processor, the at least one processor implements the data processing method according to any one of claims 14 to 15.

18. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data processing method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Method and system for realizing file sharing access control based on protocol proxy

    CN101841537A

  • Data access storage and interprocess data sharing system

    CN104462546A

  • Shared file access control method and device, equipment and readable storage medium

    CN113709100A

  • Method for sharing data saved storage on web and device thereof

    KR1020090132338A

  • Method using access information in a distributed file server virtual machine (FSVM) architecture, including web access

    US20210224233A1