Data interaction method and data interaction system
By mounting a network storage server as a cloud computer network drive and utilizing the interaction between the network drive server and the network storage, the problem of data access when the cloud computer is offline is solved, achieving efficient and secure data management and multi-device collaborative work.
Patent Information
- Application Number
- CN202510895941.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-17
AI Technical Summary
Data access is restricted when cloud computers are powered off, in hibernation, or malfunctioning. The reliance on third-party platforms for data interaction between user terminals and cloud computers leads to inefficiency, security risks, and inconvenience in integration, limiting the application of multi-device collaborative work and mobile office.
By mounting the network storage in the network storage server as a cloud computer's network drive, and through the interaction between the network drive server and the network storage, data access is provided to user terminals, building an efficient data path and avoiding the need for third-party platform transfers.
It enables users to efficiently and securely access and manage personal data on cloud computers when they are offline, improving the flexibility and user experience of multi-device collaborative work.
Smart Images

Figure CN120805178A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of communication, and in particular, to a data interaction method and a data interaction system. BACKGROUND
[0002] The cloud computer service provides the function of remotely accessing the virtual host through the network, facilitating the office and application program operation of the individual and enterprise user. In the related technology, the user data is stored in the local or associated storage of the cloud computer, and the data access is strictly limited to the running state of the cloud computer, that is, the data can be accessed only when the cloud computer is powered on and connected to the network. Therefore, the related technology has the following defects: 1. The data access process is long in the shutdown or hibernation state, affecting the efficiency of emergency data retrieval; 2. The data interaction between the user terminal and the cloud computer is not convenient, relying on third-party services, which is not only cumbersome but also has potential security risks; 3. When the cloud computer is powered off due to failure or maintenance, the user cannot directly access the stored data, hindering the "always available" data access requirement, especially limiting the wide application of the cloud computer in the multi-device collaborative work and mobile office scenarios. SUMMARY
[0003] Embodiments of the present application provide a data interaction method and a data interaction system to at least solve the problems in the related art that the data access is limited to the running state of the cloud computer (such as the data being unreachable when the cloud computer is powered off, hibernation or failure) and the efficiency is low, the security risk and the inconvenient docking in the process of data interaction between the user terminal and the cloud computer due to the reliance on the third-party platform.
[0004] According to an embodiment of the present application, a data interaction method is provided, applied to a cloud computer, comprising: mounting a network storage in a network storage server as a network disk of the cloud computer; and providing the user terminal with access to the data in the network disk through the interaction between the network disk server and the network storage.
[0005] According to another embodiment of the present application, a data interaction system is provided, comprising a cloud computer, a network storage server and a network disk server, the cloud computer is configured to mount the network storage in the network storage server as a network disk of the cloud computer; and provide the user terminal with access to the data in the network disk through the interaction between the network disk server and the network storage; the network storage server is configured to store data into the network storage; and the network disk server is configured to interact with the network storage server.
[0006] According to still another embodiment of the present application, a computer readable storage medium is also provided, and the computer readable storage medium stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0007] According to a further embodiment of the present application, there is also provided an electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor being arranged to execute the computer program to perform the steps of any of the method embodiments described above.
[0008] According to a further embodiment of the present application, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
[0009] According to the above embodiments of the present application, since the cloud computer mounts the network storage in the network storage server as a network disk of the cloud computer, and the interaction between the network disk server and the network storage provides the user terminal with access to the data in the network disk. Therefore, it can solve the problems in the related art that the data access is limited by the running state of the cloud computer (such as the data being unreachable when the cloud computer is powered off, hibernating or malfunctioning), and the low efficiency, security risks and inconvenience caused by the dependence on third-party platforms in the data interaction process between the user terminal and the cloud computer, etc. It realizes that even in the case of cloud computer offline, the user can efficiently and securely access and manage personal data through the user terminal, greatly improving the flexibility and user experience of multi-device collaborative office. BRIEF DESCRIPTION OF DRAWINGS
[0010] Figure 1 is a flow chart of a data interaction method according to an embodiment of the present application;
[0011] Figure 2 is a structural block diagram of a data interaction system according to an embodiment of the present application;
[0012] Figure 3 is a schematic diagram of cloud computer network disk cross-user terminal data interaction according to an embodiment of the present application;
[0013] Figure 4 is a data interaction system structure diagram in the cloud computer off situation according to an embodiment of the present application. DETAILED DESCRIPTION
[0014] Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.
[0015] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence.
[0016] Introduction to related art:
[0017] Cloud computer, also known as desktop virtualization, cloud desktop, replaces the traditional computer. It realizes centralized management, efficient resource sharing, and can also be personalized. The central processing unit (CPU) and related components such as memory contained in the host are virtually created by the server in the back end. Users install the client and access the virtual machine host on the back-end server through a special communication protocol to realize interactive operation, achieving the same experience as a computer.
[0018] Common Internet File System (CIFS) is a network protocol widely used for file sharing on Windows. CIFS allows users to operate files on Windows clients as if they were operating on a local computer, including reading, writing, renaming, deleting, etc. In fact, these files are not on the local computer but on the remote server.
[0019] Network Attached Storage (NAS) is defined as a special dedicated data storage server that provides cross-platform file sharing capabilities. NAS itself can support multiple protocols (such as Network File System (NFS), CIFS, File Transfer Protocol (FTP), Hypertext Transfer Protocol (HTTP), etc.), and clients can operate data on NAS through network protocols such as NFS and CIFS.
[0020] Network storage protocols, Network storage protocols are communication standards used to implement data storage and sharing in computer networks. Common types include file-level protocols (such as NFS, CIFS, etc.) and block-level protocols (such as Internet Small Computer System Interface (iSCSI), Fibre Channel (FC)). NFS is commonly used for file sharing between Unix / Linux systems, CIFS is commonly used in Windows environments and can also be used in Unix / Linux systems; iSCSI transmits block data over Internet Protocol (IP) networks, and FC provides high-speed, low-latency Storage Area Network (SAN) connections. These protocols define data organization, transmission, and security mechanisms, support storage architectures such as NAS and SAN, and serve enterprise data management, virtualization, and cloud computing scenarios. Their performance and functional differences adapt to different storage needs.
[0021] WEB protocols, WEB protocols are application layer standards supporting the communication of the World Wide Web, mainly including Hypertext Transfer Protocol (HTTP) / Hypertext Transfer Protocol Secure (HTTPS), WebSocket, etc. HTTP defines the request / response rules between the client and the server, realizes the transmission of web pages; HTTPS guarantees the security of communication through Secure Socket Layer / Transport Layer Security (SSL / TLS) encryption. WebSocket supports full-duplex real-time interaction and is used in instant messaging scenarios. Hypertext Transfer Protocol version 2 (HTTP / 2) optimizes multiplexing and header compression, and Hypertext Transfer Protocol version 3 (HTTP / 3) reduces latency based on Quick UDP Internet Connections (QUIC) protocol. In addition, the Domain Name System (DNS) resolves domain names, and the Representational State Transfer Application Programming Interface (RESTful API) specification resource operation. These protocols work together to ensure reliable data transmission, secure encryption, and efficient interaction, support modern Web application architecture, and promote the development of web browsing, online services, and cloud computing.
[0022] A data interaction method running on a cloud computer is provided in the embodiment, Figure 1 The flow chart of the data interaction method according to the embodiment of the present application is shown in Figure 1 The flow chart includes the following steps:
[0023] Step S102, mounting the network storage in the network storage server as the network disk of the cloud computer.
[0024] For example, the cloud computer can mount the network storage in the network storage server as the network disk (Net Disk) of the cloud computer, for example, the cloud computer can automatically mount the network storage (such as NAS storage) through the network storage protocol (such as CIFS protocol) when starting up as a network disk (such as E disk) inside the cloud computer.
[0025] For example, the cloud computer can also mount multiple network storages in the network storage server as multiple network disks of the cloud computer, for example, mount the first network storage as the first network disk (e.g., E disk) and mount the second network storage as the second network disk (e.g., F disk).
[0026] In an example embodiment, step S102 includes:
[0027] receiving the account information sent by the user terminal;
[0028] sending a mounting request to the network storage server through a network storage protocol, wherein the mounting request carries the account information;
[0029] in response to receiving the response of the account information authentication success sent by the network storage server, mounting the network storage of the network storage server as a network disk of the cloud computer.
[0030] For example, the account information can include the account number, password, user authority, encryption key and the like of the cloud computer. The cloud computer receives the account information sent by the user through the user terminal, and sends a mounting request carrying the account information to the network storage server through a network storage protocol (e.g., CIFS protocol). The network storage server authenticates the account information through a unified account center. When the authentication is successful, the network storage server sends a response of the account information authentication success. The cloud computer mounts the network storage (e.g., NAS storage) of the network storage server as a network disk (e.g., E disk) of the cloud computer.
[0031] Step S104: providing the user terminal with access to the data in the network disk through the interaction between the network disk server and the network storage.
[0032] For example, the cloud computer can provide the user terminal with access to the data in the network disk through the interaction between the network disk server and the network storage. The IP address of the network disk can be hidden through API (application programming interface), editing the registry, NDIS (network driver interface specification) and the like, so that the user can perform file operations on the network disk as if operating a local disk when using the cloud computer, and completely unaware that the E disk is a network disk. The user can store personal data on the disk.
[0033] The problems in the related art that the data access is limited by the running state of the cloud computer (e.g., the data is unreachable when the cloud computer is powered off, hibernating or malfunctioning) and the low efficiency, security risk and inconvenience of the interface caused by the dependence on the third-party platform in the data interaction process between the user terminal and the cloud computer are solved. Even in the case that the cloud computer is offline, the user can efficiently and securely access and manage personal data through the user terminal, which greatly improves the flexibility and user experience of multi-device collaborative office.
[0034] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software on a general hardware platform as necessary, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing an end device (which can be a mobile phone, a computer, a server, or a network device) to execute the method of each embodiment of the present application.
[0035] In the present embodiment, a data interaction system is also provided, which is used to realize the above embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that realizes a predetermined function. Although the apparatus described in the following embodiments is preferably realized in software, realization by hardware or a combination of software and hardware is also possible and is contemplated.
[0036] Figure 2 is a structural block diagram of a data interaction system according to an embodiment of the present application, as shown in Figure 2 the system 200 includes a cloud computer 202, a network storage server 204, a network disk server 206,
[0037] The cloud computer 202 is used to mount the network storage in the network storage server as a network disk of the cloud computer; and the interaction between the network disk server and the network storage provides the user terminal with access to the data in the network disk.
[0038] The network storage server 204 is used to store data into the network storage.
[0039] The network disk server 206 is used to interact with the network storage server.
[0040] For example, the E disk in the cloud computer is a network disk mounted on the network storage server, and the user's addition, deletion, modification, and query of the files of the disk are operated to the network storage server through the network storage protocol, and the E disk data is finally stored in the network storage server. The network storage server can be used to store the user's personal data. The network disk server can interact with the personal data on the network storage server through the network storage protocol, which is equivalent to directly accessing the E disk data in the user's cloud computer. At the same time, the network disk server also provides a WEB protocol interface to the outside for use by the network disk mobile terminal application APP, and the WEB interface finally calls the interface of the network storage protocol to operate the user's personal data on the network storage server.
[0041] In one example embodiment, the user terminal 208 is further included,
[0042] The user terminal 208 is configured to interact with the network storage server through the network disk service end.
[0043] For example, the user terminal (such as a mobile phone, a PAD, etc.) is installed with a network disk mobile terminal APP, which can perform uploading (such as automatic synchronization of a mobile phone album), downloading (batch acquisition of cloud computer documents), real-time synchronization (bidirectional synchronization of directories (Two-way sync for short)), etc. through a WEB protocol. The network disk service end converts these operations into a call to a network storage protocol interface to directly interact with the network storage server, which is equivalent to interacting with the network disk E disk in the user's cloud computer (such as the dashed line in Figure 2 The E disk is a network disk, and data is stored on the network storage server. Even if the user's cloud computer is powered off or cannot be started due to a fault, the user can access the data of the disk through the terminal, which is very friendly to the collaborative office scene.
[0044] In one example embodiment, the user terminal 208 is further included,
[0045] The user terminal 208 is further configured to send account information to the cloud computer through the network disk mobile terminal application;
[0046] The cloud computer 202 is further configured to receive the account information, send a mounting request to the network storage server through a network storage protocol, wherein the mounting request carries the account information, and mount the network storage server as a network disk of the cloud computer according to a response of successful authentication of the account information;
[0047] The network storage server 204 is further configured to authenticate the account information through a unified account center, and send a mounting success response to the cloud computer in response to successful authentication of the account information.
[0048] For example, the unified account center can be implemented by using a Lightweight Directory Access Protocol (LDAP) and the like, and the cloud computer, the network storage, and the network disk service end can all use the account information of the center.
[0049] For example, a user terminal sends account information to a cloud computer via its installed cloud disk mobile app. After receiving the account information, the cloud computer sends a mount request carrying the account information to the network storage server via a network storage protocol. Upon receiving the mount request, the network storage server authenticates the account information through a unified account center. If authentication is successful, the network storage server sends a mount success response to the cloud computer, allowing the user to access files and other operations using the network disk. If authentication fails, a mount failure response is sent to the cloud computer.
[0050] In one exemplary embodiment, the invention includes:
[0051] The user terminal 208 is further configured to send a login request to the network disk server through the network disk mobile application according to the WEB protocol interface of the network disk server, wherein the login request carries the account information of the user terminal; and receive a response indicating a successful login;
[0052] The network disk server 206 is further configured to receive a login request; authenticate the account information through the unified account center; and, in response to successful authentication of the account information, send a login success response to the user terminal.
[0053] For example, the user terminal can send a login request containing account information to the cloud disk server through the cloud disk mobile application using the cloud disk server's web protocol interface. After receiving the login request, the cloud disk server authenticates the account information through the unified account center. If the account information authentication is successful, the cloud disk server sends a successful login response to the user terminal. After receiving the successful login response, the user terminal can display it to the user to notify the user of the successful login. If the account information authentication fails, a login failure response is sent to the user terminal.
[0054] In one exemplary embodiment, the invention includes:
[0055] The user terminal 208 is further configured to send a data operation request to the network disk server through the network disk mobile terminal application according to the WEB protocol interface of the network disk server, wherein the data operation request carries the account information of the user terminal; and receive a response of the data operation result sent by the network disk server;
[0056] The network disk server 206 is further configured to receive a data operation request; send a data operation request to the network storage server via a network storage protocol interface; receive and send a response to the data operation result returned by the network storage server to the user terminal;
[0057] The network storage server 204 is further configured to authenticate the account information through the unified account center; in response to successful authentication of the account information, perform data operations according to the data operation request; and send a response of the data operation result to the network disk server.
[0058] Exemplarily, the user terminal can send a data operation request carrying account information to the network disk server through the network disk mobile application according to the WEB protocol interface of the network disk server. After receiving the data operation request, the network disk server sends a data operation request to the network storage server through the network storage protocol interface. The network storage server authenticates the account information through the unified account center. If the account information authentication is successful, the network storage server performs the data operation according to the data operation request and sends a response of the data operation result to the network disk server. The network disk server receives and sends a response of the data operation result returned by the network storage server to the user terminal. After receiving the response of the data operation result sent by the network disk server, the user terminal can display it to the user to notify the user that the data operation is completed. If the account information authentication fails, a response of account information authentication failure is sent to the network disk server.
[0059] In an exemplary embodiment, a unified account center 210 is further included.
[0060] The network storage server 204 is further configured to send the account information sent by the user terminal to the unified account center; and receive a response indicating successful authentication of the account information;
[0061] The unified account center 210 is used to determine whether the received account information is consistent with the account information in the unified account center; in response to the received account information being consistent with the account information in the unified account center, send a response to the network storage server indicating successful account information authentication.
[0062] Exemplarily, the network storage server can authenticate account information through the unified account center in the following manner: the network storage server sends the account information sent by the user terminal to the unified account center. After receiving the account information, the unified account center determines whether the account information sent by the user terminal is consistent with the account information stored in the unified account center. If the account information sent by the user terminal is consistent with the account information in the unified account center, the unified account center sends a response to the network storage server indicating successful account information authentication; otherwise, it sends a response indicating failed account information authentication.
[0063] In an exemplary embodiment, a unified account center 210 is further included.
[0064] The network disk server 206 is also used to send the account information sent by the user terminal to the unified account center; receive a response indicating successful authentication of the account information;
[0065] The unified account center 210 is used to determine whether the received account information is consistent with the account information in the unified account center; in response to the received account information being consistent with the account information in the unified account center, a response of successful account information authentication is sent to the network disk server.
[0066] For example, the network disk server can authenticate the account information through the unified account center in the following manner: the network disk server sends the account information sent by the user terminal to the unified account center, and the unified account center judges whether the account information sent by the user terminal is consistent with the account information stored by the unified account center. If the account information sent by the user terminal is consistent with the account information in the unified account center, the unified account center sends a response of successful authentication of the account information to the network disk server, otherwise, sends a response of failed authentication of the account information.
[0067] The data interaction system provided by the embodiment can first mount the network storage to the cloud computer in the form of a network disk, so that even if the cloud computer is powered off or encounters a failure, the user can still access personal data through a plurality of terminal devices, and the problem of limited data access due to the running state of the cloud computer is completely solved. Secondly, an efficient data path of "terminal device-network disk server-network disk" is constructed, and the use of a third-party platform for data transfer is avoided, which not only simplifies the process of cross-terminal data interaction and reduces the complexity of operation, but also significantly improves the security of data transmission and eliminates the potential risks brought by the third-party platform. Furthermore, the system improves the efficiency of collaborative office of the plurality of terminal devices and the cloud computer, and the user can conveniently perform operations such as uploading, downloading and synchronizing files between the terminal such as a mobile phone and a PAD and the cloud computer, without worrying about the online state of the cloud computer, which greatly improves the work efficiency in the mobile office and the multi-device collaborative scenario.
[0068] Figure 3 is a schematic diagram of cross-terminal data interaction of the network disk of the cloud computer according to the embodiment of the present application, as shown in Figure 3
[0069] In step S301, the network storage is mounted as a network disk on the user's cloud computer through a network storage protocol, such as mounting to the E disk.
[0070] For example, the user inputs account information in the cloud computer, the authentication module in the cloud computer receives the account information, and judges the correctness and authenticity of the account information. The same unified account center (such as using LDAP) is used in the network storage and the cloud computer. When the user logs in the cloud computer using the cloud computer account, the account information can also be used to connect the network storage. The boot automatic mounting module in the cloud computer sends a mounting request carrying the account information to the network storage server through the network storage protocol. The module can connect the network storage according to the account password used to log in the cloud computer when the cloud computer is booted, and mount it as the network disk (such as E disk) of the cloud computer. The network storage server sends the account information sent by the user terminal to the unified account center, and the unified account center judges whether the account information sent by the user terminal is consistent with the account information in the unified account center. If the account information sent by the user terminal is consistent with the account information in the unified account center, the unified account center sends a response of successful account information authentication to the network storage server. The network storage server sends a response of successful mounting to the cloud computer, and the user can use the E disk to perform file operations and other operations.
[0071] For example, the IP address of the network disk can be hidden through API (application programming interface), registry editing, network driver interface specification (NDIS), and the like, so that the user can perform file operations on the network disk when using the cloud computer, and completely perceive that the E disk is a network disk. The user stores personal data on the disk.
[0072] Step S302, the network disk mobile terminal APP logs in.
[0073] For example, according to the WEB protocol interface provided by the network disk server, the login interface, file display interface, upload menu, download menu, mobile menu, copy menu, delete menu, APP and network disk bidirectional synchronization menu and other functions can be realized on the network disk mobile terminal APP interface. The network disk mobile terminal APP can be packaged and published to form an installation package that can be installed and used. After the user terminal (mobile phone, PAD, etc.) installs the installation package of the network disk mobile terminal APP, the user logs in the network disk mobile terminal APP using the cloud computer account.
[0074] For example, the network disk server uses the same unified account center (such as using LDAP) as the network storage and the cloud computer account. The network disk server implements a WEB protocol login interface, which implements identity authentication with the help of the unified account center. If the authentication is successful, the login is successful, so that the user uses the cloud computer account to log in the network disk server in the network disk mobile terminal APP of the user terminal.
[0075] Exemplarily, the network disk server implements a Web Distributed Authoring and Versioning (WEBDAV) interface based on a WEB protocol. The WEBDAV interface includes a folder creation interface, a file (folder) uploading interface, a file (folder) downloading interface, a file deletion interface, a file (folder) copying interface, a file (folder) moving interface, a file (folder) querying interface, a file (folder) renaming interface, and the like. Each WEBDAV interface is provided to a client through a WEB protocol. Meanwhile, each WEBDAV interface is connected to a network storage by using a logged account password, and then an interface of a network storage protocol is called inside the interface to implement a related function.
[0076] Step S303: The network disk mobile terminal APP performs a file operation.
[0077] Exemplarily, a user selects a file operation (such as viewing and downloading a file in a cloud computer network disk) on a network disk mobile terminal APP of a user terminal. The user terminal sends a data operation request carrying account information of the user terminal to the network disk server through the network disk mobile terminal application according to a WEB protocol interface of the network disk server. The network disk server calls a network storage protocol interface, which is equivalent to that the user terminal directly operates a network disk in a user cloud computer. The network storage server sends the account information sent by the user terminal to the unified account center, and the unified account center judges whether the account information sent by the user terminal is consistent with account information in the unified account center. If the account information sent by the user terminal is consistent with the account information in the unified account center, the unified account center sends a response of successful account information authentication to the network storage server. The network storage server responds to the interface, executes a data operation according to the data operation request, and sends a response of a data operation result to the network disk server. The network disk server receives and sends the response of the data operation result returned by the network storage server to the user terminal.
[0078] Exemplarily, after successful login, the user can view files in the cloud computer network disk at any time, upload files of the user terminal to the cloud computer network disk, specify a photo album or the like to be synchronized with a certain directory on the network disk, and perform file operations such as downloading, renaming, moving, copying, and deleting on the files on the network disk. This is very convenient for multi-user terminal collaborative office, and is not affected even when the cloud computer is powered off, hibernated, or fails.
[0079] It should be noted that each of the above modules can be implemented by software or hardware. For the latter, the following implementation manners can be used, but are not limited thereto: all the above modules are located in the same processor; or the above modules are located in different processors in any combination.
[0080] Embodiment
[0081] Figure 4 is a data interaction system structure diagram in a cloud computer off scenario according to an embodiment of the present application, as shown in the figure, the present embodiment takes the cloud computer off scenario as an example, a user can use a network disk mobile APP of a user terminal to access data in a cloud computer network disk at any time in the scenario, wherein, a network storage server uses a NAS server, network storage uses NAS storage, a network storage protocol uses a CIFS protocol, a WEB protocol uses an HTTPS protocol, and a unified account center uses an LDAP. Figure 4
[0082] Step S401, after a user cloud computer is started, the NAS storage is automatically mounted as a network disk through a CIFS protocol, for example, mounted to an E disk. The user stores data on the E disk, and then turns off the cloud computer.
[0083] Illustratively, the user cloud computer is in an off state, and the E disk data thereof is stored on a NAS server, as shown by the dashed line in the figure. Figure 4
[0084] Step S402, the network disk server will interact with the NAS storage through a CIFS protocol interface, and simultaneously provides an HTTPS protocol interface for the network disk mobile APP.
[0085] Illustratively, the network disk mobile APP can realize functions such as login, display, upload, download, deletion, movement, renaming, copying, and bidirectional synchronization of a specified directory, which will interact with the network disk server through an HTTPS protocol. According to the HTTPS interface provided by the server, a login interface, a file display interface, and upload, download, movement, copy, rename, deletion, and bidirectional synchronization menus of a client and a network disk can be realized on an APP interface, and the network disk mobile APP is packaged and published to form an installation package that can be installed and used.
[0086] Illustratively, the network disk server uses the same LDAP as the NAS storage and a cloud computer account, the network disk server realizes an HTTPS login interface, the login interface realizes identity authentication by means of an LDAP, so that a user can log in to the network disk server using a cloud computer account in the network disk mobile APP.
[0087] Exemplarily, the network disk server implements a WEBDAV interface based on HTTPS. The WEBDAV interface includes file operation interfaces such as creating a folder, uploading a file (folder), downloading a file (folder), deleting a file, copying a file (folder), moving a file (folder), querying a file (folder), and renaming a file (folder), each of which is provided to the client by using the HTTPS protocol. Meanwhile, each of the above WEBDAV interfaces is connected to the NAS storage by using a logged account password, and then a CIFS protocol interface is called inside the interface to implement the related function.
[0088] In step S403, the user terminal (mobile phone, PAD, etc.) installs a network disk mobile terminal APP, and the user can use the network disk mobile terminal APP after logging in by using a cloud computer account to operate and view, download, upload, and bidirectionally synchronize functions, and the network disk server will call a CIFS protocol interface, which is equivalent to that the user terminal directly operates the network disk in the user cloud computer.
[0089] Exemplarily, the user installs a network disk mobile terminal APP package by using the user terminal, and then logs in by using a cloud computer account. After successful login, the user can view the files in the cloud computer network disk at any time, can upload the files of the user terminal to the cloud computer network disk, can specify a photo album or the like to be bidirectionally synchronized with a certain directory on the network disk at a specified time, and can also download, rename, move, copy, delete, and the like on the files on the network disk, which is very convenient for multi-user terminal collaborative office and is not affected even if the cloud computer is powered off.
[0090] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0091] In an example embodiment, the above computer readable storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.
[0092] Embodiments of the present application also provide an electronic device, which includes a memory storing a computer program and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
[0093] In an example embodiment, the above electronic device can further include a transmission device connected to the processor and an input / output device connected to the processor.
[0094] The specific examples in the present embodiments can refer to the examples described in the above embodiments and exemplary embodiments, which will not be repeated here.
[0095] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, which can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different order, or they can be respectively manufactured into individual integrated circuit modules, or multiple modules or steps among them can be manufactured into a single integrated circuit module to realize. Thus, the present application is not limited to any specific combination of hardware and software.
[0096] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A data interaction method, characterized in that: Applied to cloud computers, including: Mounting the network storage in the network storage server as the network disk of the cloud computer; The interaction between the network disk server and the network storage provides the user terminal with access to the data in the network disk.
2. The method according to claim 1, characterized in that Mounting the network storage of the network storage server as the network disk of the cloud computer includes: receiving account information sent by the user terminal; Sending a mount request to the network storage server through a network storage protocol, wherein the mount request carries the account information; In response to receiving a response indicating successful authentication of the account information sent by the network storage server, the network storage of the network storage server is mounted as the network disk of the cloud computer.
3. A data interaction system, characterized in that: Including cloud computers, network storage servers, and network disk servers, The cloud computer is used to mount the network storage in the network storage server as the network disk of the cloud computer; and provide the user terminal with access to the data in the network disk through the interaction between the network disk server and the network storage; The network storage server is used to store data into the network storage; The network disk server is used to interact with the network storage server for data.
4. The system according to claim 3, characterized in that Also includes user terminals, The user terminal is used to exchange data with the network storage server through the network disk service end.
5. The system according to claim 4, characterized in that The user terminal is further used to send account information to the cloud computer via the network disk mobile application; The cloud computer is further configured to receive the account information; send a mount request to the network storage server via a network storage protocol, wherein the mount request carries the account information; and mount the network storage of the network storage server as the network disk of the cloud computer based on a response indicating a successful authentication of the account information; The network storage server is further configured to authenticate the account information through a unified account center; in response to successful authentication of the account information, send a mount success response to the cloud computer.
6. The system according to claim 4, characterized in that The user terminal is further configured to send a login request to the network disk server through the network disk mobile terminal application according to the WEB protocol interface of the network disk server, wherein the login request carries the account information of the user terminal; and receive a response indicating a successful login; The network disk server is further configured to receive the login request; authenticate the account information through a unified account center; and send a login success response to the user terminal in response to successful authentication of the account information.
7. The system according to claim 4, wherein: The user terminal is further configured to send a data operation request to the network disk server through the network disk mobile terminal application according to the WEB protocol interface of the network disk server, wherein the data operation request carries the account information of the user terminal; and receive a response of the data operation result sent by the network disk server; The network disk server is further configured to receive the data operation request; send the data operation request to the network storage server via a network storage protocol interface; receive and send a response of the data operation result returned by the network storage server to the user terminal; The network storage server is further configured to authenticate the account information through a unified account center; in response to successful authentication of the account information, perform data operations according to the data operation request; and send a response of the data operation result to the network disk server.
8. The system according to claim 5 or 7, characterized in that It also includes a unified account center, The network storage server is further configured to send the account information sent by the user terminal to the unified account center; and receive a response indicating successful authentication of the account information; The unified account center is used to determine whether the received account information is consistent with the account information in the unified account center; in response to the received account information being consistent with the account information in the unified account center, send a response to the network storage server indicating that the account information authentication is successful.
9. The system according to claim 6, wherein: It also includes a unified account center, The network disk server is further configured to send the account information sent by the user terminal to the unified account center; and receive a response indicating successful authentication of the account information; The unified account center is used to determine whether the received account information is consistent with the account information in the unified account center; in response to the received account information being consistent with the account information in the unified account center, a response of successful authentication of the account information is sent to the network disk server.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 2 when executed by a processor.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 2 are implemented.
12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 2 are implemented.