CN109257420B - File mutual transmission method and device - Google Patents

File mutual transmission method and device Download PDF

Info

Publication number
CN109257420B
CN109257420B CN201810992500.6A CN201810992500A CN109257420B CN 109257420 B CN109257420 B CN 109257420B CN 201810992500 A CN201810992500 A CN 201810992500A CN 109257420 B CN109257420 B CN 109257420B
Authority
CN
China
Prior art keywords
session
cloud computing
computing platform
windows
generated
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
CN201810992500.6A
Other languages
Chinese (zh)
Other versions
CN109257420A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810992500.6A priority Critical patent/CN109257420B/en
Publication of CN109257420A publication Critical patent/CN109257420A/en
Application granted granted Critical
Publication of CN109257420B publication Critical patent/CN109257420B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The invention discloses a file mutual transmission method and a device, wherein the method comprises the following steps: mounting the session generated by the Windows end to a mounting point generated in advance; performing, by the mounting point, any one or more of the following operations: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mounting point; the cloud computing platform is built based on a Linux operating system. The file mutual transmission method solves the problems of complicated file transmission and poor user experience of the cross-operating system between Windows and Linux, realizes simple, safe and stable file mutual transmission of the cross-operating system between Windows and Linux cloud computing platforms, and enhances the user experience.

Description

File mutual transmission method and device
Technical Field
The invention relates to the technical field of computers, in particular to a file mutual transmission method and device.
Background
With the development of information technology, the virtualization technology has outstanding advantages in the aspects of server, network, storage management and the like, so that the management complexity is greatly reduced, the resource utilization rate is improved, and the operation efficiency is improved. In the related virtualization technology, the cloud computing platform is basically built based on a Linux operating system, and most of the clients of users are Windows operating systems, so that the transmission of files between two different operating systems is involved. Although there are many file transmission modes between Linux and Windows at present, for example, file transfer protocol ftp mode, samba mode, secure copy scp mode, etc., most of the file transmission modes require a server to be built in Linux, and the operation for realizing file transmission is cumbersome. In addition, the secure copy scp mode also requires Windows to support the security protocol ssh2, each Windows client is provided with ssh2, which is not practical, and the integration into the virtualization cloud platform requires a lot of workload.
Aiming at the problem of file transmission between Linux and Windows, the solution for realizing simple, safe and stable file transmission between Windows and a Linux cloud computing platform by crossing an operating system has important significance.
Disclosure of Invention
The invention mainly aims to provide a file mutual transmission method and a file mutual transmission device, which are used for realizing simple, safe and stable file mutual transmission between Windows and a Linux cloud computing platform across an operating system.
In order to solve the technical problem, the invention provides a file mutual transmission method, which comprises the following steps:
mounting the session generated by the Windows end to a mounting point generated in advance;
performing, by the mounting point, any one or more of the following operations:
copying the Windows files of the mounting points to the cloud computing platform;
copying the Linux file of the cloud computing platform to the mounting point;
the cloud computing platform is built based on a Linux operating system.
Optionally, the pre-generated mount point is a mount point generated when a Linux end of the cloud computing platform initializes a session channel.
Optionally, before the mounting the session generated by the Windows end to the pre-generated mounting point, the method further includes:
the cloud computing platform obtains a session identification ID of the session generated by the Windows end, the session is registered to the cloud computing platform by using the session ID, and the session ID is added to a flow configuration table according to the session type.
Optionally, the adding the session ID to the traffic configuration table according to the session type includes:
identifying the operating system version information of the Windows end to which the session ID belongs, determining the session type of the session ID according to the operating system version information, and adding the session ID to the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
Optionally, the performing, by the mounting point, any one or more of the following operations: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing, by the mount point, any one or more of the following operations with the acquired bandwidth:
copying the Windows files of the mounting points to the cloud computing platform;
and copying the Linux file of the cloud computing platform to the mounting point.
In order to solve the above problem, the present invention further provides a file mutual transmission device, including: a memory and a processor; wherein:
the memory is used for storing a program for file mutual transmission;
the processor is used for reading and executing the program for file mutual transmission and executing the following operations:
mounting the session generated by the Windows end to a mounting point generated in advance;
performing, by the mounting point, any one or more of the following operations:
copying the Windows files of the mounting points to the cloud computing platform;
copying the Linux file of the cloud computing platform to the mounting point;
the cloud computing platform is built based on a Linux operating system.
Optionally, the pre-generated mount point is a mount point generated when a Linux end of the cloud computing platform initializes a session channel.
Optionally, the processor reads and executes the program for file mutual transmission, and further performs the following operations:
before the session generated by the Windows end is mounted to the pre-generated mounting point,
and acquiring a session Identification (ID) of the session generated by the Windows end, registering the session to the cloud computing platform by using the session ID, and adding the session ID into a flow configuration table according to the session type.
Optionally, the adding the session ID to the traffic configuration table according to the session type includes:
identifying the operating system version information of the Windows end to which the session ID belongs, determining the session type of the session ID according to the operating system version information, and adding the session ID to the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
Optionally, the performing, by the mounting point, any one or more of the following operations: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing, by the mount point, any one or more of the following operations with the acquired bandwidth:
copying the Windows files of the mounting points to the cloud computing platform;
and copying the Linux file of the cloud computing platform to the mounting point.
In summary, according to the file mutual transmission method and device provided by the embodiment of the present invention, the session generated at the Windows end is mounted to the pre-generated mounting point; performing, by the mounting point, any one or more of the following operations: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mounting point; the cloud computing platform is built based on a Linux operating system. The file mutual transmission method solves the problems of complicated file transmission and poor user experience of the cross-operating system between Windows and Linux, realizes simple, safe and stable file mutual transmission of the cross-operating system between Windows and Linux cloud computing platforms, and enhances the user experience.
Drawings
Fig. 1 is a flowchart of a file mutual transmission method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a file transmission device according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a file mutual transmission method of an application example of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a file mutual transmission method according to an embodiment of the present invention. According to the flowchart of fig. 1, the file mutual transmission method of the embodiment is applied to a cloud computing platform, and includes the following steps:
step S1: and mounting the session generated by the Windows end to a mounting point generated in advance.
Step S2: performing any one or more of the following operations via a mounting point:
copying the Windows files of the mounting points to a cloud computing platform;
and copying the Linux file of the cloud computing platform to a mount point.
The cloud computing platform in the above step S1 is a platform built based on the Linux operating system.
Optionally, the pre-generated mount point is a mount point generated when a Linux end of the cloud computing platform initializes the session channel.
The cloud computing platform may include one or more Linux ends, each Linux end may initialize one or more session channels, each session channel corresponds to one mount point, and each mount point has a unique identifier on the cloud computing platform.
Optionally, before mounting the session generated by the Windows end to the pre-generated mounting point, the method further includes:
the cloud computing platform obtains a session ID of the session generated by the Windows end, registers the session to the cloud computing platform by using the session ID, and adds the session ID to a flow configuration table according to the session type.
In an exemplary embodiment, the session generated at the Windows end may be a session generated when a local session channel is initialized based on a common network file system CIFS protocol.
In an exemplary embodiment, the cloud computing platform may receive a message sent by the Windows end to obtain a session ID of a session generated by the Windows end; and sending a query request to the Windows end to acquire the session ID of the session generated by the Windows end. The cloud computing platform may also adopt other embodiments to obtain the session ID of the session generated by the Windows end, which is not specifically limited in the embodiments of the present invention.
In another exemplary embodiment, the session ID of the session generated by the Windows terminal is generated according to the preset rule based on the os version information of the Windows terminal.
In another exemplary embodiment, the obtained session ID is checked for validity before the cloud computing platform registers the session with the cloud computing platform. If the obtained session ID does not pass the validity check, the cloud computing platform does not execute the action of registering the session to the cloud computing platform. In another exemplary embodiment, if the obtained session ID does not pass the validity check, the cloud computing platform does not perform the action of registering the session to the cloud computing platform and gives an error prompt.
Optionally, adding the session ID to the traffic configuration table according to the session category includes:
identifying the operating system version information of the Windows end to which the session ID belongs, determining the session type of the session ID according to the operating system version information, and adding the session ID into the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
In an exemplary embodiment, the Traffic configuration table may be established by using a Traffic Control framework built in the Linux kernel to perform Traffic Control for managing transmission.
In an exemplary embodiment, the os version information for identifying the Windows side to which the session ID belongs is implemented as follows: and analyzing the session ID of the session generated by the Windows end to obtain the version information of the operating system of the Windows end to which the session ID belongs. The version information of the operating system at the Windows end includes type information of the operating system at the Windows end, for example: a 64-bit operating system, a 32-bit operating system, or a 16-bit operating system. The type information of the operating systems of different Windows terminals corresponds to different conversation types, and the different conversation types correspond to different levels in the flow configuration table. One specific example is: if the operating system of the Windows end to which the session ID belongs is a 32-bit operating system, the bandwidth of the level in the corresponding traffic configuration table is Q, where Q is less than or equal to 20 Mbps.
In another exemplary embodiment, adding the session ID to the traffic profile table according to the session class comprises:
inquiring whether the session ID of the flow configuration table is the same as the Windows end to which the session ID belongs; if so, the session ID is added to the level corresponding to the existing session ID, and the session and the existing session share the bandwidth of the corresponding level.
One specific example is: if the existing sessions a and b in the flow configuration table and the Windows end to which the new session c belongs are the same Windows end, assuming that the operating systems of the Windows ends corresponding to the sessions a, b and c are 32-bit operating systems, and the bandwidths of the corresponding levels of the sessions a and b in the flow configuration table are 20 Mbps; session c is also added to the corresponding levels in the traffic profile table for sessions a, b, but the three share 20Mbps bandwidth.
The above-mentioned manner of allocating bandwidth to the session according to the type information of the operating system at the Windows end is to ensure the stability of file mutual transmission. The types of the operating systems of different Windows ends can bear different bandwidths of the transmission files, and the dead halt phenomenon of the Windows end can be caused by transmitting the files with bandwidths beyond the range of the bearing capacity of the operating systems of the Windows ends. Through the configuration of the bandwidth, the stability of the file transmission between the Linux operating system and the Windows operating system is realized.
Optionally, any one or more of the following operations are performed by the mounting point: copying the Windows files of the mounting points to a cloud computing platform; copying the Linux file of the cloud computing platform to a mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing any one or more of the following operations with the acquired bandwidth through the mounting point:
copying the Windows files of the mounting points to a cloud computing platform;
and copying the Linux file of the cloud computing platform to a mount point.
In an exemplary embodiment, when the user passes through the mount point for the first time to perform any one or more of the following operations, the authority of the user may be verified, and if the authority of the user does not meet the corresponding requirement, the user is prohibited from performing any one or more of the following operations: copying the Windows files of the mounting points to a cloud computing platform; and copying the Linux file of the cloud computing platform to a mount point. In another exemplary embodiment, the user is required to enter the correct password in the first pass through the mount point to perform any one or more of the following: copying the Windows files of the mounting points to a cloud computing platform; and copying the Linux file of the cloud computing platform to a mount point. The invention may also adopt other ways to verify to improve the security, which is not limited by the invention.
Optionally, after the file mutual transmission between the cloud computing platform and the Windows end is completed, the session generated by the Windows end is removed from the mount point, and the session generated by the Windows end is logged off.
In summary, the file mutual transmission method provided by the embodiment of the invention solves the problems of complicated file transmission and poor user experience between Windows and Linux across the operating system, realizes simple, safe and stable file mutual transmission between Windows and Linux cloud computing platform across the operating system, and enhances user experience. The Traffic Control framework built in the Linux kernel is used for executing the flow Control of management transmission, so that the method can be adaptive to different Windows local operating systems, can be matched with the bandwidth bearable by a Windows local network card, forms a stable and efficient transmission link, and improves the flexible adaptability to corresponding services.
Fig. 2 is a schematic structural diagram of a file transmission device according to an embodiment of the present invention. According to the schematic diagram shown in fig. 2, the file transferring apparatus of the present embodiment includes a memory 100 and a processor 200. Wherein:
a memory 100 for storing a program for resource information update;
the processor 200 is used for reading and executing the program for updating the resource information and executing the following operations:
mounting the session generated by the Windows end to a mounting point generated in advance;
performing any one or more of the following operations via a mounting point:
copying the Windows files of the mounting points to a cloud computing platform;
copying a Linux file of a cloud computing platform to a mount point;
the cloud computing platform is built based on a Linux operating system.
Optionally, the pre-generated mount point is a mount point generated when a Linux end of the cloud computing platform initializes the session channel.
The cloud computing platform may include one or more Linux ends, each Linux end may initialize one or more session channels, each session channel corresponds to one mount point, and each mount point has a unique identifier on the cloud computing platform.
Optionally, the processor reads and executes the program for file mutual transmission, and further performs the following operations:
before the session generated by the Windows end is mounted to the mounting point generated in advance,
and acquiring a session Identification (ID) of the session generated by the Windows end, registering the session to the cloud computing platform by using the session ID, and adding the session ID into a flow configuration table according to the session type.
In an exemplary embodiment, the session generated at the Windows end may be a session generated when a local session channel is initialized based on a common network file system CIFS protocol.
In an exemplary embodiment, the cloud computing platform may receive a message sent by the Windows end to obtain a session ID of a session generated by the Windows end; and sending a query request to the Windows end to acquire the session ID of the session generated by the Windows end. The cloud computing platform may also adopt other embodiments to obtain the session ID of the session generated by the Windows end, which is not specifically limited in the embodiments of the present invention.
In another exemplary embodiment, the session ID of the session generated by the Windows terminal is generated according to the preset rule based on the os version information of the Windows terminal.
In another exemplary embodiment, the obtained session ID is checked for validity before the cloud computing platform registers the session with the cloud computing platform. If the obtained session ID does not pass the validity check, the cloud computing platform does not execute the action of registering the session to the cloud computing platform. In another exemplary embodiment, if the obtained session ID does not pass the validity check, the cloud computing platform does not perform the action of registering the session to the cloud computing platform and gives an error prompt.
Optionally, adding the session ID to the traffic configuration table according to the session type includes:
identifying the version information of the operating system of the Windows end to which the session ID belongs, determining the session type of the session ID according to the version information of the operating system, and adding the session ID into the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
In an exemplary embodiment, the Traffic configuration table may be established by using a Traffic Control framework built in the Linux kernel to perform Traffic Control for managing transmission.
In an exemplary embodiment, the os version information for identifying the Windows side to which the session ID belongs is implemented as follows: and analyzing the session ID of the session generated by the Windows end to obtain the version information of the operating system of the Windows end to which the session ID belongs. The version information of the operating system at the Windows end includes type information of the operating system at the Windows end, for example: a 64-bit operating system, a 32-bit operating system, or a 16-bit operating system. The type information of the operating systems of different Windows terminals corresponds to different conversation types, and the different conversation types correspond to different levels in the flow configuration table. One specific example is: if the operating system of the Windows end to which the session ID belongs is a 32-bit operating system, the bandwidth of the level in the corresponding traffic configuration table is Q, where Q is less than or equal to 20 Mbps.
In another exemplary embodiment, adding the session ID to the traffic profile table according to the session class comprises:
inquiring whether a session ID in a flow configuration table is the same as a Windows end to which the session ID belongs; if so, adding the session ID into the level corresponding to the existing session ID, and sharing the bandwidth of the corresponding level by the session and the existing session.
One specific example is: if the existing sessions a and b in the flow configuration table and the Windows end to which the new session c belongs are the same Windows end, assuming that the operating systems of the Windows ends corresponding to the sessions a, b and c are 32-bit operating systems, and the bandwidths of the corresponding levels of the sessions a and b in the flow configuration table are 20 Mbps; session c is also added to the corresponding levels in the traffic profile table for sessions a, b, but the three share 20Mbps bandwidth.
The above-mentioned manner of allocating bandwidth to the session according to the type information of the operating system at the Windows end is to ensure the stability of file mutual transmission. The types of the operating systems of different Windows ends can bear different bandwidths of the transmission files, and the dead halt phenomenon of the Windows end can be caused by transmitting the files with bandwidths beyond the range of the bearing capacity of the operating systems of the Windows ends. Through the configuration of the bandwidth, the stability of the file transmission between the Linux operating system and the Windows operating system is realized.
Optionally, any one or more of the following operations are performed by the mounting point: copying the Windows files of the mounting points to a cloud computing platform; copying the Linux file of the cloud computing platform to a mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing any one or more of the following operations at the acquired bandwidth through a mounting point:
copying the Windows files of the mounting points to a cloud computing platform;
and copying the Linux file of the cloud computing platform to a mount point.
In an exemplary embodiment, when the user passes through the mount point for the first time to perform any one or more of the following operations, the authority of the user may be verified, and if the authority of the user does not meet the corresponding requirement, the user is prohibited from performing any one or more of the following operations: copying the Windows files of the mounting points to a cloud computing platform; and copying the Linux file of the cloud computing platform to the mounting point. In another exemplary embodiment, the user is required to enter the correct password to perform any one or more of the following operations when first passing the mount point: copying the Windows files of the mounting points to a cloud computing platform; and copying the Linux file of the cloud computing platform to a mount point. The invention may also adopt other ways to verify to improve the security, which is not limited by the invention.
Optionally, the processor reads and executes the program for file mutual transmission, and further performs the following operations:
after the mutual transmission of the files of the cloud computing platform and the Windows end is completed, the session generated by the Windows end is removed from the mount point, and the session generated by the Windows end is cancelled.
The file inter-transmission method is further described below by using a specific application example.
Step S00: a Linux end of the cloud computing platform initializes a session channel to generate a mount point mount-point, and the mount point has a mount point identifier which is unique within the range of the cloud computing platform.
Step S10: setting a CIFS session strategy at a Windows end; and the Windows end initializes a local session channel based on the set CIFS session strategy and generates a session.
Step S20: the cloud computing platform obtains a session identification ID of the session generated by the Windows end, the session is registered to the cloud computing platform by using the session identification, and the session ID is added to a flow configuration table according to the session type.
Step S30: and the cloud computing platform initializes the mount point mount-point before mounting the session generated by the Windows end to the Linux end.
Step S40: if the cloud computing platform wants to transmit the Windows file to the Linux end, a flow configuration table needs to be inquired to acquire the bandwidth corresponding to the session ID of the session generated by the Windows end, and the mount point file is copied to the local of the Linux end by the acquired bandwidth; if the cloud computing platform wants to transmit the Linux file to the Windows end, the Linux local file needs to be copied to a mount point according to the acquired bandwidth.
Step S50: and if the file mutual transmission is not carried out any more, removing the session generated by the Windows end from the mount point, and logging off the session generated by the Windows end.
The first step, the second step and the third step in the application example are not strictly defined in sequence, and the steps of the second step, the first step and the third step can be executed first; the step two can also be executed firstly, then the step three is executed, and finally the step one is executed; the order of the above steps may be arbitrarily adjusted as long as a logical relationship is satisfied.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of a software functional module. The present invention is not limited to any specific form of combination of hardware and software.
The foregoing is only a preferred embodiment of the present invention, and naturally there are many other embodiments of the present invention, and those skilled in the art can make various corresponding changes and modifications according to the present invention without departing from the spirit and the essence of the present invention, and these corresponding changes and modifications should fall within the scope of the appended claims.

Claims (8)

1. A file mutual transmission method is applied to a cloud computing platform and comprises the following steps:
mounting the session generated by the Windows end to a mounting point generated in advance;
performing, by the mounting point, any one or more of the following operations:
copying the Windows files of the mounting points to the cloud computing platform;
copying the Linux file of the cloud computing platform to the mounting point;
the cloud computing platform is built based on a Linux operating system;
before the mounting the session generated by the Windows end to the pre-generated mounting point, the method further includes:
the cloud computing platform obtains a session identification ID of the session generated by the Windows end, the session is registered to the cloud computing platform by using the session ID, and the session ID is added to a flow configuration table according to the session type.
2. The method of claim 1, wherein the pre-generated mount point is a mount point generated when a Linux side of the cloud computing platform initializes a session channel.
3. The method of claim 2, wherein the adding the session ID to a traffic profile table according to a session category comprises:
identifying the operating system version information of the Windows end to which the session ID belongs, determining the session type of the session ID according to the operating system version information, and adding the session ID to the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
4. The method of claim 3, wherein said passing through said mounting point performs any one or more of: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing, by the mount point, any one or more of the following operations with the acquired bandwidth:
copying the Windows files of the mounting points to the cloud computing platform;
and copying the Linux file of the cloud computing platform to the mounting point.
5. A file mutual transmission device is applied to a cloud computing platform and comprises: a memory and a processor; wherein:
the memory is used for storing a program for file mutual transmission;
the processor is used for reading and executing the program for file mutual transmission and executing the following operations:
mounting the session generated by the Windows end to a mounting point generated in advance;
performing, by the mounting point, any one or more of the following operations:
copying the Windows files of the mounting points to the cloud computing platform;
copying the Linux file of the cloud computing platform to the mounting point;
the cloud computing platform is built based on a Linux operating system;
the processor reads and executes the program for file mutual transmission, and further executes the following operations:
before the session generated by the Windows end is mounted to the pre-generated mounting point,
and acquiring a session Identification (ID) of the session generated by the Windows end, registering the session to the cloud computing platform by using the session ID, and adding the session ID into a flow configuration table according to the session type.
6. The apparatus of claim 5, wherein the pre-generated mount point is a mount point generated when a Linux side of the cloud computing platform initializes a session channel.
7. The apparatus of claim 5, wherein the adding the session ID to a traffic profile table according to a session category comprises:
identifying the operating system version information of the Windows end to which the session ID belongs, determining the session type of the session ID according to the operating system version information, and adding the session ID to the corresponding level of the flow configuration table according to the session type; wherein different levels are allocated different bandwidths.
8. The apparatus of claim 7, wherein said passing through said mounting point performs any one or more of: copying the Windows files of the mounting points to the cloud computing platform; copying the Linux file of the cloud computing platform to the mount point comprises:
inquiring the session ID corresponding to the mounting point, and acquiring the bandwidth of the session ID at the corresponding level in the flow configuration table;
performing, by the mount point, any one or more of the following operations with the acquired bandwidth:
copying the Windows files of the mounting points to the cloud computing platform;
and copying the Linux file of the cloud computing platform to the mounting point.
CN201810992500.6A 2018-08-29 2018-08-29 File mutual transmission method and device Active CN109257420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810992500.6A CN109257420B (en) 2018-08-29 2018-08-29 File mutual transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810992500.6A CN109257420B (en) 2018-08-29 2018-08-29 File mutual transmission method and device

Publications (2)

Publication Number Publication Date
CN109257420A CN109257420A (en) 2019-01-22
CN109257420B true CN109257420B (en) 2021-07-02

Family

ID=65049633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810992500.6A Active CN109257420B (en) 2018-08-29 2018-08-29 File mutual transmission method and device

Country Status (1)

Country Link
CN (1) CN109257420B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565458B (en) * 2020-12-25 2021-11-16 北京安华金和科技有限公司 Platform remote control method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516687A (en) * 2014-12-22 2015-04-15 中国科学院信息工程研究所 Windows remote mapping method for Linux block device
CN105978977A (en) * 2016-05-16 2016-09-28 浪潮电子信息产业股份有限公司 Resource sharing and data backup method based on linux server
CN107547645A (en) * 2017-08-30 2018-01-05 厦门天锐科技股份有限公司 The transmission method of cross-platform file between Linux service ends and windows clients

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005072A1 (en) * 2004-09-09 2010-01-07 Pitts William M Nomadic File Systems
US9971776B1 (en) * 2006-06-29 2018-05-15 Veritas Technologies Llc Method and apparatus for extending functionality of an operating system
US9569443B1 (en) * 2007-09-28 2017-02-14 Symantec Corpoartion Method and apparatus for providing access to data in unsupported file systems and storage containers
CN101459669A (en) * 2008-12-29 2009-06-17 成都市华为赛门铁克科技有限公司 Access method and apparatus for network file system
CN101944043A (en) * 2010-09-27 2011-01-12 公安部第三研究所 File access method of Linux virtual machine disk under Windows platform
CN102572009B (en) * 2011-12-09 2015-11-25 华为终端有限公司 The method of shared medium file, gateway and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516687A (en) * 2014-12-22 2015-04-15 中国科学院信息工程研究所 Windows remote mapping method for Linux block device
CN105978977A (en) * 2016-05-16 2016-09-28 浪潮电子信息产业股份有限公司 Resource sharing and data backup method based on linux server
CN107547645A (en) * 2017-08-30 2018-01-05 厦门天锐科技股份有限公司 The transmission method of cross-platform file between Linux service ends and windows clients

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅谈Linux系统如何访问windows文件共享;高源;《计算机光盘软件与应用》;20121231;正文第2节 *

Also Published As

Publication number Publication date
CN109257420A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN108549580B (en) Method for automatically deploying Kubernets slave nodes and terminal equipment
CN108881228B (en) Cloud registration activation method, device, equipment and storage medium
US8843650B2 (en) Trusted network booting system and method
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN110049048B (en) Data access method, equipment and readable medium for government affair public service
CN110505162B (en) Message transmission method and device and electronic equipment
WO2021243666A1 (en) Information processing method and system, and device, medium, chip and program
CN104009880A (en) Web test method, proxy server and Web test device
WO2018000394A1 (en) Method and apparatus for arranging network resources
CN111737681A (en) Resource acquisition method and device, storage medium and electronic device
CN109558710B (en) User login method, device, system and storage medium
CN109257420B (en) File mutual transmission method and device
CN112995164B (en) Resource access authentication method and device, storage medium and electronic equipment
CN108964904B (en) Group key security management method and device, electronic equipment and storage medium
CN111090881A (en) Database access method and device
CN106936643B (en) Equipment linkage method and terminal equipment
CN109739615B (en) Mapping method and device of virtual hard disk and cloud computing platform
CN113886803A (en) Object storage system of instant messaging, object storage request method and device
CN115269541A (en) File interconversion method, device, equipment and storage medium
CN113765962B (en) Data processing method and system for service platform, computer system and medium
CN110474954B (en) Block chain-based file sharing method and device, computer equipment and readable storage medium
CN112217852A (en) Platform-as-a-service system and method based on workflow engine
CN114143048B (en) Method, device and storage medium for managing safety resources
CN115297066B (en) Resource dynamic cooperation method, device, server and medium
CN117119456B (en) 5G MEC multi-container remote certification method, system, device and medium

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