CN112468454B - Remote file management system and remote file management method thereof - Google Patents

Remote file management system and remote file management method thereof Download PDF

Info

Publication number
CN112468454B
CN112468454B CN202011256303.1A CN202011256303A CN112468454B CN 112468454 B CN112468454 B CN 112468454B CN 202011256303 A CN202011256303 A CN 202011256303A CN 112468454 B CN112468454 B CN 112468454B
Authority
CN
China
Prior art keywords
file management
message
remote file
module
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011256303.1A
Other languages
Chinese (zh)
Other versions
CN112468454A (en
Inventor
牛勇永
凌特利
沈沉
汤洋
宋彦锋
李英明
张荣良
韩啸
信亚磊
张成双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN202011256303.1A priority Critical patent/CN112468454B/en
Publication of CN112468454A publication Critical patent/CN112468454A/en
Application granted granted Critical
Publication of CN112468454B publication Critical patent/CN112468454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a remote file management system and a remote file management method thereof. The method comprises the steps that a client operation module initiates a file operation request; the encryption intermediate module encrypts the operation request according to the message interaction protocol; the remote file management server module receives the encrypted message, decrypts the encrypted message to obtain a plaintext of the file management request, executes corresponding file management operation, and the operation result is re-framed and encrypted and sent to the client operation module which initiates the request; and monitoring the running state of the remote file management server module, and triggering the watchdog module to reset the system when the file management process is abnormal and crashes, so as to recover normal operation. The invention can enhance the network security between the server and the client, and monitor the running health state of the server module through the watchdog process so as to prevent the process abnormality of the server module.

Description

Remote file management system and remote file management method thereof
Technical Field
The invention relates to the technical field of file management and communication, in particular to a remote file management system and a remote file management method thereof.
Background
In modern computer systems, programs, data, IO devices, etc. all exist in the form of files, and thus file management becomes one of the important functions of an operating system. In order to fully utilize the computer and its corresponding resources, users need not only frequent access to the file system of the operating system, but also a series of management operations on the file system, such as creating directories/files, deleting directories/files, etc.
With the development of network technology, a large number of users need to manage not only the file system on the local operating system but also the file system on the remote operating system. Furthermore, for some embedded systems, they do not provide a liquid crystal display during the actual application process, making their in-place file system management extremely difficult, but by connecting to a PC, then remotely managing files by means of the PC is relatively easier to implement. These real needs are advancing the development of remote file management systems.
Remote file management systems often employ a client/server model (abbreviated as the C/S model) that deploys servers on machines that need to provide remote file management services, with clients deployed on user PCs or on local machines that initiate file management request commands. The client and the server realize information interaction through network messages, and in order to realize effective interaction between the client and the server, a set of message interaction protocol is required to be agreed between the client and the server, and the client and the server observe the message interaction protocol and perform network message interaction.
The remote client manages the files of the machine where the server is located, so that the risk of file information leakage of the server is increased to a certain extent. In the prior art, the C/S model lacks a method for encrypting and decrypting the interactive message between the client and the server, and the network security of the C/S model is difficult to ensure. Meanwhile, monitoring of the running health state of the server is lacking, and abnormality of the server process is difficult to discover in time.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a remote file management system and a remote file management method thereof, which can enhance network security between a server and a client, and monitor an operation health status of a server module through a watchdog process to prevent a process abnormality of the server module.
In a first aspect, an embodiment of the present invention provides a remote file management system, including a client operation module, a remote file management server module, and an encryption intermediate module.
The client operation module is deployed locally for the user to operate.
And the remote file management server module and the client operation module perform information interaction through network messages to perform file management.
And the encryption intermediate module performs encryption and decryption operation on the interactive message between the client operation module and the remote file management server module.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the remote file management server module includes:
and the message receiving unit is used for receiving the message and judging the validity and the correctness of the message.
And the message analysis unit is used for decrypting the received message.
And the execution unit is used for executing and responding to the file management command and the request represented by the message.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, which further includes a watchdog module, configured to monitor an operation state of the remote file management server module, reset the system when the remote file management server module is abnormal and crashes, and restore normal operation.
In a second aspect, an embodiment of the present invention further provides a remote file management method using the remote file management system as described above, including:
the client operation module initiates a request for file operations.
The encryption intermediate module encrypts the operation request according to the message interaction protocol.
The remote file management server module receives the encrypted message, decrypts the encrypted message to obtain a plaintext of the file management request, executes corresponding file management operation, and the operation result is re-framed, encrypted and sent to the client operation module which initiates the request.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the method for receiving, by the remote file management server module, an encrypted packet includes:
and receiving the message through the UDP socket, and acquiring the message required by the server through judging the effective identifier.
And checking the validity of the message length through the data length1 and the data length 2.
And determining the position of the message ending identifier through the position of the effective identification character and the data length1, and judging the validity of the message structure according to whether the effective identification character in the message is the ending identification character.
And checking the validity of the data field of the message data through a cyclic redundancy check code.
If the message validity check is not passed, discarding the message.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the method for decrypting, by the remote file management server module, the received message includes:
and determining a data field according to the data length1 and the data length 2, performing AES algorithm decryption on the data field, and obtaining a plaintext of the file operation request.
And generating a default response message through the version number and the serial number of the plaintext.
The current command is determined by comparing the command string in plaintext with a preset value of a predefined command string (of table 2).
And analyzing the command, and acquiring command parameters 1 and 2 representing file management operation according to the subsequent character strings.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the method for executing, by the remote file management server module, a corresponding file management operation includes:
respective command execution functions are set for different command operations.
And transmitting the command parameter 1 and the command parameter 2 to a response command execution function according to the analyzed message request command, and carrying out related file management operation by the command execution function.
And filling in the response message generated by the message analysis module again according to the command execution result.
And performing AES algorithm decryption on the data part, performing cyclic redundancy code calculation on the ciphertext of the data part, and filling the result into a cyclic redundancy code check field of the response message.
And determining a destination end for sending the message through a socket for receiving the message, and sending the message.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the method further includes monitoring an operation state of the remote file management server module in real time, and triggering the watchdog module to reset the system when an abnormality occurs in the file management process and crashes, so that the system resumes normal operation.
With reference to the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the monitoring, in real time, an operation state of the remote file management server module includes:
the global variable P is set.
The global variable P is accumulated in each cycle of the server process.
And comparing the initial P0 and the current value P1 of the global variable, and if the initial P0 and the current value P1 are consistent, indicating that the remote file management server module runs abnormally, and recording the current system time t.
If the current value P1 of the global variable is not changed for 10 seconds continuously, the system is abnormal or the server process crashes, and the system is reset.
The embodiment of the invention has the beneficial effects that:
the invention designs a set of complete message interaction protocol based on UDP protocol, and the server system receives the encrypted message conforming to the message interaction protocol and then decrypts the encrypted message to obtain the plaintext of the file management request. The server side obtains the command and related parameters of the file operation by analyzing the plaintext message, then executes corresponding file management operation, and the operation result is re-framed and encrypted and then sent to the client side initiating the file operation request. In order to monitor the running state of the remote file server, the invention sets a watchdog process parallel to the server process, and when the server process is abnormal and crashes, the watchdog process resets the system, thereby enabling the system to run normally again.
The invention adds a middleware for the C/S model to encrypt and decrypt the interactive message between the client and the server, thereby effectively enhancing the network security of the C/S model. The method adopts AES encryption middleware to enhance network security between the server and the client, and monitors the running health state of the server module through the watchdog process so as to prevent process abnormality of the server module.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a remote file management system according to the present invention.
FIG. 2 is a flow chart of a remote file management method of the present invention.
FIG. 3 is a flow chart of a watchdog process of the remote file management method of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein can be arranged and designed in a wide variety of different configurations.
Referring to fig. 1, a first embodiment of the present invention provides a remote file management system, which includes a client operation module, a remote file management server module, and an encryption middle module.
The client operation module is deployed locally for the user to operate.
And the remote file management server module and the client operation module perform information interaction through network messages to perform file management.
And the encryption intermediate module performs encryption and decryption operation on the interactive message between the client operation module and the remote file management server module.
Wherein the remote file management server module comprises:
and the message receiving unit is used for receiving the message and judging the validity and the correctness of the message.
And the message analysis unit is used for decrypting the received message.
And the execution unit is used for executing and responding to the file management command and the request represented by the message.
The system also comprises a watchdog module, wherein the watchdog module is used for monitoring the running state of the remote file management server module, and resetting the system when the remote file management server module is abnormal and crashed, and recovering the normal operation.
Referring to fig. 2 to 3, a second embodiment of the present invention provides a remote file management method using the remote file management system as described above, including:
the client operation module initiates a request for file operations.
The encryption intermediate module encrypts the operation request according to the message interaction protocol.
The remote file management server module receives the encrypted message, decrypts the encrypted message to obtain a plaintext of the file management request, executes corresponding file management operation, and the operation result is re-framed, encrypted and sent to the client operation module which initiates the request.
The message format of the client operation module requesting the remote file management server module to perform the file management operation is shown in table 1:
TABLE 1
Figure GDA0004108424770000061
In Table 1, the correspondence of cmd to param1 and param2 is shown in Table 2:
TABLE 2
Figure GDA0004108424770000071
The message format of the server in response to the client file management operation request is shown in table 3:
TABLE 3 Table 3
Figure GDA0004108424770000072
In Table 3, the correspondence between cmd_resp and resp is shown in Table 4:
TABLE 4 Table 4
Figure GDA0004108424770000073
Figure GDA0004108424770000081
For the command execution status field status, a fixed 0 is filled in the remote service operation message requested by the client. The field is filled with different values according to the command execution condition in the message of the server responding to the client request, and the meaning of the field is shown in the table 5:
TABLE 5
status Meaning of the following description
0 Execution success or target presence
1 Failure to execute or absence of target
2 Message buffer area crossing boundary
3 Return value anomaly
10 Unknown commands
For the file list command, when the number of files in the requested file directory is large, a frame response message of the server cannot return all the files to the client, and a frame division mechanism of the command response message is needed to be adopted at the moment. The message framing mechanism carries out framing message control through sub_seq, when the 15 th bit (the highest bit) of the sub_seq is 1, the following frame of the message is identified, and when the bit is 0, the frame is the last frame. Bits 1-14 of the sub_seq are the subsequent frame sub sequence number.
The method for receiving the encrypted message by the remote file management server module comprises the following steps:
the message is received through the UDP socket, and the message required by the server is obtained through judging the field of the effective identifier 0xEB 90.
And checking the validity of the message length through a data length 1length0 field and a data length 2length1 field.
And determining the position of the end identifier 0xBD field of the message through the position of the effective identification character 0xEB field and the data length 1length0 field, and judging the validity of the message structure according to whether the effective identification character in the message is the end identification character 0xBD field.
And checking the validity of the data field of the message data through a CRC cyclic redundancy check code.
If the message validity check is not passed, discarding the message.
The method for decrypting the received message by the remote file management server module comprises the following steps:
determining a data field according to the data length 1length0 field and the data length 2length1 field, performing AES algorithm decryption on the data field, and obtaining a plaintext of a file operation request.
And generating a default response message through a version number ver field and a sequence number seq field of the plaintext.
The current command is determined by comparing the command string cmd field of the plaintext with a pre-set value of the predefined command string cmd (of table 2).
And analyzing the command, and acquiring a command parameter 1param1 and a command parameter 2param2 representing file management operation according to the subsequent character strings.
The method for executing the corresponding file management operation by the remote file management server module comprises the following steps:
respective command execution functions are set for different command operations.
And transmitting the command parameters 1param1 and 2param2 to a responsive command execution function according to the analyzed message request command, and carrying out related file management operation by the command execution function.
And filling in the response message generated by the message analysis module again according to the command execution result.
And performing AES algorithm decryption on the data part, performing CRC cyclic redundancy calculation on the ciphertext of the data part, and filling the result into a CRC cyclic redundancy check field of the response message.
And determining a destination end for sending the message through a socket for receiving the message, and sending the message.
The system also comprises a remote file management server module for monitoring the running state of the remote file management server module in real time, and when the file management process is abnormal and crashed, the watchdog module is triggered to reset the system, so that the system is restored to normal operation.
Wherein the monitoring the running state of the remote file management server module in real time includes:
the global variable P is set.
The global variable P is accumulated in each cycle of the server process.
And comparing the initial P0 and the current value P1 of the global variable, and if the initial P0 and the current value P1 are consistent, indicating that the remote file management server module runs abnormally, and recording the current system time t.
If the current value P1 of the global variable is not changed for 10 seconds continuously, the system is abnormal or the server process crashes, and the system is reset.
The embodiment of the invention aims to protect a remote file management system and a remote file management method thereof, and has the following effects:
the invention designs a set of complete message interaction protocol based on UDP protocol, and the server system receives the encrypted message conforming to the message interaction protocol and then decrypts the encrypted message to obtain the plaintext of the file management request. The server side obtains the command and related parameters of the file operation by analyzing the plaintext message, then executes corresponding file management operation, and the operation result is re-framed and encrypted and then sent to the client side initiating the file operation request. In order to monitor the running state of the remote file server, the invention sets a watchdog process parallel to the server process, and when the server process is abnormal and crashes, the watchdog process resets the system, thereby enabling the system to run normally again.
The invention adds a middleware for the C/S model to encrypt and decrypt the interactive message between the client and the server, thereby effectively enhancing the network security of the C/S model. The method adopts AES encryption middleware to enhance network security between the server and the client, and monitors the running health state of the server module through the watchdog process so as to prevent process abnormality of the server module.
The remote file management system and the computer program product of the remote file management method provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, and the instructions included in the program codes can be used for executing the method in the previous method embodiment, and specific implementation can be referred to the method embodiment and will not be repeated here.
In particular, the storage medium can be a general-purpose storage medium, such as a mobile disk, a hard disk, or the like, on which a computer program can be executed to perform the above-described remote file management method, thereby enhancing network security between the server and the client.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A remote file management method using a remote file management system, comprising:
the client operation module initiates a file operation request;
the encryption intermediate module encrypts the operation request according to the message interaction protocol;
the remote file management server module receives the encrypted message, decrypts the encrypted message to obtain a plaintext of the file management request, executes corresponding file management operation, and the operation result is re-framed and encrypted and sent to the client operation module which initiates the request;
the method for receiving the encrypted message by the remote file management server module comprises the following steps:
receiving the message through the UDP socket, and acquiring the message required by the server through judging the effective identifier;
checking the validity of the message length through the data length1 and the data length 2;
determining the position of a message ending identifier through the position of the effective identification character and the data length1, and judging the validity of a message structure according to whether the effective identification character in the message is the ending identification character or not;
checking the validity of the data field of the message data through a cyclic redundancy check code;
if the message validity check is not passed, discarding the message;
the method for decrypting the received message by the remote file management server module comprises the following steps:
determining a data field according to the data length1 and the data length 2, performing AES algorithm decryption on the data field, and obtaining a plaintext of a file operation request;
generating a default response message through the version number and the serial number of the plaintext;
determining a current command by comparing the command string of the plaintext with a preset value of a predefined command string;
and analyzing the command, and acquiring command parameters 1 and 2 representing file management operation according to the subsequent character strings.
2. The remote file management method according to claim 1, wherein the remote file management system comprises a client operation module, a remote file management server module, and an encryption intermediate module;
the client operation module is deployed locally for a user to operate;
the remote file management server module and the client operation module perform information interaction through network messages to perform file management;
and the encryption intermediate module performs encryption and decryption operation on the interactive message between the client operation module and the remote file management server module.
3. The remote file management method according to claim 2, wherein said remote file management server module comprises:
the message receiving unit is used for receiving the message and judging the validity and the correctness of the message;
the message analysis unit is used for decrypting the received message;
and the execution unit is used for executing and responding to the file management command and the request represented by the message.
4. The remote file management method according to claim 2, wherein said remote file management system further comprises a watchdog module for monitoring an operation state of said remote file management server module, resetting the system when said remote file management server module crashes due to an abnormality, and restoring normal operation.
5. The method of claim 1, wherein the method of the remote file management server module performing the corresponding file management operation comprises:
setting respective command execution functions for different command operations;
transmitting the command parameter 1 and the command parameter 2 to a response command execution function according to the message request command obtained by analysis, and carrying out related file management operation by the command execution function;
refilling the response message generated by the message analysis module according to the command execution result;
performing AES algorithm decryption on the data part, performing cyclic redundancy code calculation on the ciphertext of the data part, and filling the result into a cyclic redundancy code check field of the response message;
and determining a destination end for sending the message through a socket for receiving the message, and sending the message.
6. The method of claim 1, further comprising monitoring an operating state of the remote file management server module in real time, resetting the system when an abnormality occurs in the file management process and crashes, and restoring normal operation.
7. The remote file management method according to claim 5, wherein said monitoring in real time an operating state of said remote file management server module comprises:
setting a global variable P;
the global variable P is accumulated in each cycle of the server process;
comparing the initial P of the global variable 0 And the current value P 1 If the two are consistent, the remote file management server module is indicated to run abnormally, and the current system time t is recorded;
if the current value P of the global variable 1 If the continuous 10s is unchanged, the system is abnormal or the server process crashes, and the system is reset.
CN202011256303.1A 2020-11-11 2020-11-11 Remote file management system and remote file management method thereof Active CN112468454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011256303.1A CN112468454B (en) 2020-11-11 2020-11-11 Remote file management system and remote file management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011256303.1A CN112468454B (en) 2020-11-11 2020-11-11 Remote file management system and remote file management method thereof

Publications (2)

Publication Number Publication Date
CN112468454A CN112468454A (en) 2021-03-09
CN112468454B true CN112468454B (en) 2023-06-06

Family

ID=74826612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011256303.1A Active CN112468454B (en) 2020-11-11 2020-11-11 Remote file management system and remote file management method thereof

Country Status (1)

Country Link
CN (1) CN112468454B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172897B (en) * 2021-12-09 2023-08-25 西安邮电大学 Method and system for transmitting files of PC (personal computer) end and Android end

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988473B1 (en) * 2007-05-04 2012-02-08 Helge Hofmeister A server with a core using a virtual file system and a method for securely redirecting a persistent storage device operation to a middleware infrastructure
CN104253832B (en) * 2013-06-26 2018-01-09 北京神州泰岳软件股份有限公司 Distal end file management method and system
CN103561033B (en) * 2013-11-08 2016-11-02 西安电子科技大学宁波信息技术研究院 User remotely accesses the device and method of HDFS cluster
CN103731483B (en) * 2013-12-25 2017-05-03 侯金涛 Virtual file system based on cloud computing
CN105991698A (en) * 2015-02-06 2016-10-05 中科云网科技集团股份有限公司 Method, system and device for mobile terminal remotely managing intelligent router file
CN107707581A (en) * 2015-06-26 2018-02-16 中兴通讯股份有限公司 Document handling method and device
CN110658752A (en) * 2019-09-16 2020-01-07 北京中能云联科技有限公司 Data acquisition system applied to remote cloud monitoring

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor

Also Published As

Publication number Publication date
CN112468454A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US20200106775A1 (en) Method, device, system for authenticating an accessing terminal by server, server and computer readable storage medium
KR20180120157A (en) Data set extraction based pattern matching
JP4674608B2 (en) NODE DEVICE, INFORMATION PROCESSING METHOD, AND NODE DEVICE PROGRAM
KR102177411B1 (en) Method for managing industrial control systems via physical one-way encryption remote monitoring
CN112738117A (en) Data transmission method, device and system, storage medium and electronic device
CN110958239B (en) Method and device for verifying access request, storage medium and electronic device
JP6319369B2 (en) PROCESS CONTROL DEVICE, PROCESS CONTROL METHOD, AND PROCESS CONTROL PROGRAM
CN111741268B (en) Video transmission method, device, server, equipment and medium
CN112468454B (en) Remote file management system and remote file management method thereof
CN109818906B (en) Equipment fingerprint information processing method and device and server
CN113986470B (en) Batch remote proving method for virtual machines without perception of users
US20230244797A1 (en) Data processing method and apparatus, electronic device, and medium
EP3171543B1 (en) Local information acquisition method, apparatus and system
CN100596350C (en) Method for encrypting and decrypting industrial control data
CN110888778A (en) Cloud desktop-based log file monitoring system and method
CN106936844B (en) Data interaction method and system for remote access service
US20230224154A1 (en) Encryption key rotation based on dataset size or time between key rotation intervals
CN114189515B (en) SGX-based server cluster log acquisition method and device
JP5963382B1 (en) One-time authentication system
CN110928564B (en) Method for safely updating application, service server, cluster and storage medium
US11310218B2 (en) Password streaming
CN111130788B (en) Data processing method and system, data reading method and iSCSI server
JP2013045277A (en) Program obfuscation method and remote debug system
CN110324150B (en) Data storage method and device, computer readable storage medium and electronic equipment
CN115859337B (en) Kernel-based method, equipment, server and medium for preventing equipment from cracking

Legal Events

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