CN112039941A - Data transmission method, device and medium - Google Patents

Data transmission method, device and medium Download PDF

Info

Publication number
CN112039941A
CN112039941A CN202010651315.8A CN202010651315A CN112039941A CN 112039941 A CN112039941 A CN 112039941A CN 202010651315 A CN202010651315 A CN 202010651315A CN 112039941 A CN112039941 A CN 112039941A
Authority
CN
China
Prior art keywords
server
client
data transmission
file
preset
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.)
Granted
Application number
CN202010651315.8A
Other languages
Chinese (zh)
Other versions
CN112039941B (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.)
Guangdong Yida Electronic Technology Co ltd
Original Assignee
Guangdong Yida Electronic 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 Guangdong Yida Electronic Technology Co ltd filed Critical Guangdong Yida Electronic Technology Co ltd
Priority to CN202010651315.8A priority Critical patent/CN112039941B/en
Publication of CN112039941A publication Critical patent/CN112039941A/en
Application granted granted Critical
Publication of CN112039941B publication Critical patent/CN112039941B/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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The invention provides a data transmission method, which comprises the steps that a server acquires available broadband resources corresponding to a client, and a preset data file is transmitted between the server and the client through the available broadband resources; the server records and stores data transmission nodes for transmitting preset data files between the server and the client; when the network between the server and the client is disconnected and then is reconnected, the server reads data transmission information between the server and the client and obtains the data transmission node, and the server reestablishes data transmission of the residual preset data file between the server and the client according to the data transmission node. The data transmission method provided by the invention enables the file transmission between the server and the client to continue transmitting the previous file when the connection is reappeared after the network is disconnected, thereby saving the data transmission efficiency and the transmission time.

Description

Data transmission method, device and medium
Technical Field
The present invention relates to the field of data transmission, and in particular, to a data transmission method, device, and medium.
Background
When a file is transmitted between a traditional computer and a server, if the network is disconnected, the file needs to be transmitted from the beginning again next time, and the existing cloud desktop system can not be continuously transmitted after the network is disconnected when the file is transmitted between the server and the computer, and only can the file which is not completely transmitted before be transmitted again.
Disclosure of Invention
In order to overcome the defects of the prior art, an object of the present invention is to provide a data transmission method, which can solve the problem that the existing cloud desktop system cannot continuously transmit files after the network is disconnected and only can retransmit files that have not been transmitted before when the file transmission is performed between the server and the computer.
The second objective of the present invention is to provide an electronic device, which can solve the problem that the existing cloud desktop system cannot continuously transmit the file after the network is disconnected and only can retransmit the file that has not been transmitted before when the file is transmitted between the server and the computer.
The invention also provides a computer-readable storage medium, which can solve the problem that the existing cloud desktop system cannot continuously transmit files after the network is disconnected and only can retransmit files which are not transmitted before when the existing cloud desktop system transmits the files between a server and a computer.
One of the purposes of the invention is realized by adopting the following technical scheme:
a data transmission method for data transmission between a client and a server, the data transmission method comprising the steps of:
data transmission, wherein a server acquires available broadband resources corresponding to a client, and a preset data file is transmitted between the server and the client through the available broadband resources;
recording data transmission nodes, and recording and storing the data transmission nodes for transmitting preset data files between the server and the client by the server;
and when the network between the server and the client is disconnected and then is reconnected, the server reads the data transmission information between the server and the client and acquires the data transmission node, and the server reestablishes the data transmission of the residual preset data file between the server and the client according to the data transmission node.
Further, before the data transmission, a network card MAC address is obtained, and a server obtains the network card MAC address corresponding to the client; the recording data transmission node specifically comprises: and the server records and stores data transmission nodes for transmitting preset data files between the server and the client according to the MAC address of the network card corresponding to the client.
Further, the reading, by the server, of the data transmission information between the server and the client and the obtaining of the data transmission node specifically includes: and the server reads data transmission information between the server and the client according to the MAC address of the network card corresponding to the client and acquires the data transmission node.
Further, before the network card MAC address is obtained, a network connection is established, the client and the server establish a network connection through a preset communication protocol, and the client performs a normalization work using a virtual operating system and virtual software and hardware pre-stored in the server.
Furthermore, each client corresponds to a unique network card MAC address, and when the server is simultaneously connected with a plurality of clients, the server distinguishes different clients according to the network card MAC addresses.
Further, the server and the client transmit the preset data file through the available broadband resource to the client, or the client transmits the preset data file to the server.
Further, when the preset data file is transmitted between the server and the client through the available broadband resource to the server and transmitted to the client, the preset data file comprises an operating system file, an office software file and a working data file.
Further, when the server and the client transmit the preset data file through the available broadband resource to transmit the preset data file, the server completes installation of the operating system of the client according to the operating system file, and the server completes installation of office software of the client according to the office software.
Further, the server installs the operating system file into a hard disk area of the client to obtain an operating system of the client.
Further, the server installs the office software into a local storage module of the client to obtain office application software of the client.
The second purpose of the invention is realized by adopting the following technical scheme:
an electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a data transmission method of the present application.
The third purpose of the invention is realized by adopting the following technical scheme:
a computer-readable storage medium, on which a computer program is stored, which computer program is executed by a processor for performing a data transmission method of the present application.
Compared with the prior art, the invention has the beneficial effects that: the data transmission method comprises the steps that a server obtains available broadband resources corresponding to a client, and a preset data file is transmitted between the server and the client through the available broadband resources; the server records and stores data transmission nodes for transmitting preset data files between the server and the client; when the network between the server and the client is disconnected and then is reconnected, the server reads data transmission information between the server and the client and obtains the data transmission node, and the server reestablishes data transmission of the residual preset data file between the server and the client according to the data transmission node. By recording and storing the data transmission nodes, when the server is reconnected with the client, the server reestablishes the data transmission of the residual preset data files between the server and the client according to the data transmission nodes, so that the file transmission between the server and the client can continuously transmit the previous files when the connection is reappeared after the network is disconnected, the efficiency of data transmission and the transmission time are saved, the client does not need to log in the server through application software and client account information, and the server does not need to set a cache space corresponding to the client to store the preset data files which are not completely transmitted when the network is disconnected, the storage load of the server is reduced, the client can also realize the continuous transmission between the client and the server without installing the application software, and the whole data transmission process is simpler and more efficient.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic flow chart of a data transmission method according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
As shown in fig. 1, a data transmission method in this embodiment is applied to data transmission between a client and a server, and the data transmission method includes the following steps:
establishing network connection, establishing network connection between the client and the server through a preset communication protocol, and carrying out normalized work by using a virtual operating system and virtual software and hardware prestored in the server by the client. In this embodiment, the client is substantially an independent computer terminal, and includes a mouse key device and a display device interface, and also has an independent CPU, a hard disk memory, and the like integrated therein; the server is a virtual cloud server, the computer is factory configured at the moment, an operating system and office software are not installed, the client establishes network connection with the server through a driver of the client and a preset communication protocol when the operating system and the office software are not installed, the virtual operating system and the virtual software and hardware which can be used by the office computer are prestored in the server, and the client can directly use the virtual operating system and the virtual software and hardware in the server to perform normalized office work.
And acquiring a network card MAC address, and acquiring the network card MAC address corresponding to the client by the server. In this embodiment, each client corresponds to a unique network card MAC address, and when the server is simultaneously connected to a plurality of clients, the server distinguishes different clients according to the network card MAC addresses.
And data transmission, wherein the server acquires available broadband resources corresponding to the client, and a preset data file is transmitted between the server and the client through the available broadband resources. In this embodiment, when the server is connected to the clients, the server may automatically obtain the network card MAC address of each client, and at this time, information of available broadband resources of the clients may also be simultaneously obtained by the server, and in order to distinguish the available broadband resources of different clients, the server may determine the available broadband resources corresponding to different clients according to the network card MAC addresses corresponding to the clients, and the server and the clients transmit the preset data file through the available broadband resources to the client, so that the server transmits the preset data file to the client or the client transmits the preset data file to the server. When the server transmits the preset data file to the client, the server transmits data with different clients according to the MAC address of the network card corresponding to the client, and transmits the preset data file.
And recording the data transmission nodes, and recording and storing the data transmission nodes for transmitting the preset data file between the server and the client by the server. The method specifically comprises the following steps: and the server records and stores data transmission nodes for transmitting preset data files between the server and the client according to the MAC address of the network card corresponding to the client.
And when the network between the server and the client is disconnected and then is reconnected, the server reads data transmission information between the server and the client according to the MAC address of the network card corresponding to the client and acquires the data transmission node, and the server reestablishes data transmission of the residual preset data file between the server and the client according to the data transmission node. In this embodiment, when the network interruption and continuous transmission step is executed, the client is a factory configured computer without any operating system and office software, and the client and the server are in a power-on state.
In this embodiment, the server and the client transmit the preset data file to the client or the client transmits the preset data file to the server through the available broadband resource, when the server transmits the preset data file to the client, the preset data file includes an operating system file, an office software file and a working data file, at this time, after the network interruption and transmission step, if the user needs to install the operating system and the office software for the client, the server detects whether the client is in a working state, when the client is in the working state, the server maintains network connection with the client, when the client is in an idle time state, the server completes installation of the operating system of the client according to the operating system file, and the server completes installation of the office software of the client according to the office software, the method comprises the steps that the server installs the operating system file into a hard disk area of a client to obtain an operating system of the client, the server installs office software into a local storage module of the client to obtain office application software of the client, and the server performs data transmission for the client without sensing and completes installation of the operating system and the office software. When the client transmits the preset data file to the server, the preset data file may only contain a working data file, that is, the client uploads the daily working data file to the server for backup or processing.
In addition, the network interruption continuous transmission step in the application only needs to record and store data transmission nodes for transmitting preset data files between the server and the client according to the MAC address of the network card corresponding to the client, account information does not need to be set independently, each client is provided with the network card and has a unique MAC address, and therefore the network interruption continuous transmission step in the application does not need to be operated by the client and installed with application software and an operating system, as long as the client is connected with the server through a network, the client and the server are both in a starting state, the network interruption continuous transmission step can be realized only by operating the starting function of the bottom layer by the client, namely, the DOS system and the like can be started when the bottom layer of the client operates, the operating system entering windows and the like is not required, the application program does not need to be started, and the network interruption continuous transmission process is simpler and more efficient.
In the embodiment, one server can establish network connection with a plurality of clients simultaneously, the clients and the server construct a fog desktop system, the fog desktop system comprises a plurality of clients and servers which run independently, a virtual operating system and virtual software and hardware used by the clients are pre-stored in the server, and the operating system and the virtual software and hardware which are adapted to various conventional computers can be specifically provided for meeting the clients with different configurations; each client is an independent computer which comprises a mouse, keyboard equipment and a display equipment interface, and meanwhile, an independent CPU, a hard disk memory and the like are integrated in the client; each client establishes network connection with the server through a driving component of the client and a preset communication protocol, the client can use a virtual operating system and virtual software and hardware equipment in the server to realize normal work under the condition that no operating system and office software are installed, the server in the fog desktop system can independently transmit corresponding operating system files and office software files to the client according to a network card MAC address corresponding to each client when each client normally runs, and the operating system and the office software of the client are installed when the client is in an idle state, namely, the load is low. The client under the fog desktop system can directly use the operating system and office software installed on the server, resources of the server are not occupied, operating efficiency of the server is improved, the server in the fog desktop system can simultaneously support a larger number of clients, working stability of the server is guaranteed, and compared with an existing cloud desktop system, the number of the clients supported by the server in the fog desktop system is dozens of times that of the clients supported by the server in the cloud desktop. Meanwhile, in the fog desktop system, the server can record and store the data transmission node, when the server is reconnected with the client after the network is disconnected, the server reestablishes the data transmission of the residual preset data file between the server and the client according to the data transmission node, so that the file transmission between the server and the client can continuously transmit the previous file when the connection is reoccurred after the network is disconnected, and the data transmission efficiency and the transmission time are saved.
The embodiment provides an electronic device, including: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a data transmission method of the present application.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program for execution by a processor of a data transmission method of the present application.
The data transmission method comprises the steps that a server obtains available broadband resources corresponding to a client, and a preset data file is transmitted between the server and the client through the available broadband resources; the server records and stores data transmission nodes for transmitting preset data files between the server and the client; when the network between the server and the client is disconnected and then is reconnected, the server reads data transmission information between the server and the client and obtains the data transmission node, and the server reestablishes data transmission of the residual preset data file between the server and the client according to the data transmission node. By recording and storing the data transmission nodes, when the server is reconnected with the client, the server reestablishes the data transmission of the residual preset data files between the server and the client according to the data transmission nodes, so that the file transmission between the server and the client can continuously transmit the previous files when the connection is reappeared after the network is disconnected, and the efficiency of data transmission and the transmission time are saved. The server performs data transmission for the client without sensing and completes the installation of an operating system and office software, so that the client does not need or occupies less resources of the server, and the load capacity of the server is liberated. The purchase quantity of the servers is reduced, and the consumption of electric energy and the purchase cost of the servers are reduced. And the client does not need to log in the server through the application software and the client account information, and the server does not need to set a cache space corresponding to the client to store the preset data file which is not transmitted completely in the case of network interruption, so that the storage load of the server is reduced, the client can realize network interruption and continuous transmission with the server without installing the application software, and the whole data transmission process is simpler and more efficient. And the client does not need to log in the server through the application software and the client account information, and the server does not need to set a cache space corresponding to the client to store the preset data file which is not transmitted completely in the case of network interruption, so that the storage load of the server is reduced, the client can realize network interruption and continuous transmission with the server without installing the application software, and the whole data transmission process is simpler and more efficient.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (12)

1. A method of data transmission, characterized by: the data transmission method is used for data transmission between a client and a server, and comprises the following steps:
data transmission, wherein a server acquires available broadband resources corresponding to a client, and a preset data file is transmitted between the server and the client through the available broadband resources;
recording data transmission nodes, and recording and storing the data transmission nodes for transmitting preset data files between the server and the client by the server;
and when the network between the server and the client is disconnected and then is reconnected, the server reads the data transmission information between the server and the client and acquires the data transmission node, and the server reestablishes the data transmission of the residual preset data file between the server and the client according to the data transmission node.
2. A data transmission method according to claim 1, characterized in that: before the data transmission, a network card MAC address is obtained, and a server obtains the network card MAC address corresponding to the client; the recording data transmission node specifically comprises: and the server records and stores data transmission nodes for transmitting preset data files between the server and the client according to the MAC address of the network card corresponding to the client.
3. A data transmission method according to claim 2, characterized in that: the server reads data transmission information between the server and the client and acquires the data transmission node specifically as follows: and the server reads data transmission information between the server and the client according to the MAC address of the network card corresponding to the client and acquires the data transmission node.
4. A data transmission method according to claim 2, characterized in that: before the network card MAC address is obtained, network connection is established, a client side and a server establish network connection through a preset communication protocol, and the client side performs normalization work by using a virtual operating system and virtual software and hardware which are prestored in the server.
5. A data transmission method according to claim 2, characterized in that: each client corresponds to a unique network card MAC address, and when the server is simultaneously connected with a plurality of clients, the server distinguishes different clients according to the network card MAC addresses.
6. A data transmission method according to claim 1, characterized in that: and the server and the client transmit the preset data file through the available broadband resources to transmit the preset data file to the client for the server or transmit the preset data file to the server by the client.
7. A data transmission method according to claim 6, characterized in that: and when the preset data file is transmitted between the server and the client through the available broadband resource to the server and transmitted to the client, the preset data file comprises an operating system file, an office software file and a working data file.
8. A data transmission method according to claim 7, characterized in that: and when the preset data file is transmitted between the server and the client through the available broadband resource to transmit the preset data file to the server, the server completes the installation of the operating system of the client according to the operating system file, and the server completes the installation of the office software of the client according to the office software.
9. A data transmission method according to claim 8, characterized in that: and the server installs the operating system file into a hard disk area of the client to obtain an operating system of the client.
10. A data transmission method according to claim 8, characterized in that: and the server installs the office software into a local storage module of the client to obtain the office application software of the client.
11. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out the method of any one of claims 1-10.
12. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method according to any of claims 1-10.
CN202010651315.8A 2020-07-08 2020-07-08 Data transmission method, device and medium Active CN112039941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010651315.8A CN112039941B (en) 2020-07-08 2020-07-08 Data transmission method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010651315.8A CN112039941B (en) 2020-07-08 2020-07-08 Data transmission method, device and medium

Publications (2)

Publication Number Publication Date
CN112039941A true CN112039941A (en) 2020-12-04
CN112039941B CN112039941B (en) 2023-02-28

Family

ID=73578962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010651315.8A Active CN112039941B (en) 2020-07-08 2020-07-08 Data transmission method, device and medium

Country Status (1)

Country Link
CN (1) CN112039941B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070008973A1 (en) * 2005-07-11 2007-01-11 Galea Nicholas P A Thin client server
CN104980399A (en) * 2014-04-08 2015-10-14 腾讯科技(深圳)有限公司 File transfer method, client and proxy server
WO2015198299A1 (en) * 2014-06-26 2015-12-30 Agent Video Intelligence Ltd. System and method for management of data transmission in a communication network
CN105812456A (en) * 2016-03-08 2016-07-27 北京恒华伟业科技股份有限公司 File transmission method and device
CN107465644A (en) * 2016-06-03 2017-12-12 中兴通讯股份有限公司 Data transmission method, data transmission client and data transmission actuator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070008973A1 (en) * 2005-07-11 2007-01-11 Galea Nicholas P A Thin client server
CN104980399A (en) * 2014-04-08 2015-10-14 腾讯科技(深圳)有限公司 File transfer method, client and proxy server
WO2015198299A1 (en) * 2014-06-26 2015-12-30 Agent Video Intelligence Ltd. System and method for management of data transmission in a communication network
CN105812456A (en) * 2016-03-08 2016-07-27 北京恒华伟业科技股份有限公司 File transmission method and device
CN107465644A (en) * 2016-06-03 2017-12-12 中兴通讯股份有限公司 Data transmission method, data transmission client and data transmission actuator

Also Published As

Publication number Publication date
CN112039941B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
US8327022B2 (en) Method and apparatus for updating a domain name server
US7490175B2 (en) Computer system and method for supporting network-enabled devices
JP5132770B2 (en) Dynamic router configuration to find the best DHCP server
US11789628B1 (en) Systems, methods, and computer readable media for managing a hosts file
US7953830B2 (en) Automatic network reconfiguration upon changes in DHCP IP addresses
US8886698B2 (en) Electronic device monitoring method, electronic device computer and program thereof
US8316133B2 (en) Thin client system using session managing server and session managing method
US8612553B2 (en) Method and system for dynamically purposing a computing device
JP3629513B2 (en) Data processing system and method
WO2011090818A2 (en) Roaming application settings across multiple computing devices
US20080168163A1 (en) Information processing device assignment method, information processing system and management server
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
WO2020135131A1 (en) Network hotspot switching method, intelligent terminal and computer-readable storage medium
CN113032099A (en) Cloud computing node, file management method and device
US20110283276A1 (en) System and Method for Automated Information Handling System Network Device Discovery and Support
CN111506547A (en) Folder loading method, device, equipment and medium
CN112039941B (en) Data transmission method, device and medium
CN112506574A (en) Method for modifying BIOS configuration options in ARM server based on CentOS in-band
JP2003281072A (en) Method and device for controlling device
CN111367761A (en) Information management method, system and related components of universal server
JP2002135254A (en) Communication processor and its program-recording medium
CN112039940B (en) Non-sensing intelligent transmission method, equipment and medium
CN112416698A (en) Monitoring system expansion method and device, storage medium and electronic equipment
CN114726719B (en) Network element operating system deployment method and device, electronic equipment and storage medium
CN112671561B (en) Network card configuration method and equipment of cloud host

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