CN105530295A - Data sharing method between network system and hosts - Google Patents

Data sharing method between network system and hosts Download PDF

Info

Publication number
CN105530295A
CN105530295A CN201510899832.6A CN201510899832A CN105530295A CN 105530295 A CN105530295 A CN 105530295A CN 201510899832 A CN201510899832 A CN 201510899832A CN 105530295 A CN105530295 A CN 105530295A
Authority
CN
China
Prior art keywords
main frame
ftp server
access information
message
network system
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
CN201510899832.6A
Other languages
Chinese (zh)
Other versions
CN105530295B (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.)
Shanghai Wujing Information Technology Co ltd
Original Assignee
Shenzhen Tinno Wireless 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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201510899832.6A priority Critical patent/CN105530295B/en
Publication of CN105530295A publication Critical patent/CN105530295A/en
Application granted granted Critical
Publication of CN105530295B publication Critical patent/CN105530295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a data sharing method between a network system and hosts. The data sharing method comprises the steps that: a first host pushes a first message to a second host, wherein the first message contains access information of an FTP server opened by the second host, and the second host obtains and stores the access information according to the received first message, so the second host can access the FTP server according to the access information, establish a connection with the first host and realize data sharing. By adopting the data sharing method provided by the invention, the opened FTP server can be automatically obtained, and the access information of the FTP server does not need to be manually looked up or input, so the access efficiency is improved.

Description

Data sharing method between network system and each main frame thereof
Technical field
The present invention relates to communication technical field, the data sharing method in a kind of network system between each main frame and the network system based on the method.
Background technology
FTP (FileTransferProtocolServer, file transfer protocol (FTP)) server can realize data sharing on different platform different operating system, namely, when there being the main frame of multiple different operating system in local area network (LAN), the data that ftp server comes on shared different main frame can be built.When a certain main frame unlatching ftp server starts the data sharing the machine, if other main frame needs the ftp server of accessing this main frame, need the access information inputting this ftp server just can connect to realize data sharing.But then prior art manually can only be inputted by the access information of the ftp server manually consulting this main frame, low to the access efficiency of ftp server.
Summary of the invention
Given this, the invention provides the data sharing method between a kind of network system and each main frame thereof, without the need to manually consulting and input the access information of ftp server, improve access efficiency.
Data sharing method in a kind of network system provided by the invention between each main frame, this network system comprises the first main frame and the second main frame, first main frame is the main frame of file opening host-host protocol ftp server, the method comprises: the first main frame pushes the first message to the second main frame, and described first message comprises the access information of the ftp server that the first main frame is opened; Second main frame obtains according to the first message received and stores access information, makes the second main frame access ftp server according to access information, thus connects with the first main frame and realize data sharing.
Alternatively, when the first Host Shutdown ftp server, described method comprises: the first main frame pushes the second message to the second main frame, and the second message is for notifying that the ftp server of the second main frame first main frame is closed; The access information of the ftp server that self stores deleted by second main frame.
Alternatively, when the 3rd new access network system of main frame, described method also comprises: the 3rd main frame sends a request message to the first main frame and the second main frame, and request message is used for the access information of the ftp server that acquisition request has been opened; First main frame feeds back a response message to the 3rd main frame, and response message comprises the access information of the ftp server that the first main frame is opened; 3rd main frame obtains according to the response message received and stores access information, makes the 3rd main frame access ftp server according to access information, thus connects with the first main frame and realize data sharing.
Alternatively, when the first Host Shutdown ftp server, described method comprises further: the first main frame pushes the second message to the second main frame and the 3rd main frame, and described second message is for notifying that the ftp server of the second main frame and the 3rd main frame first main frame is closed; The access information of the ftp server that self stores deleted by second main frame and the 3rd main frame.
Alternatively, access information comprises the identify label of the first main frame, the IP of ftp server and incoming end slogan.
A kind of network system provided by the invention, comprise the first main frame and the second main frame, the first main frame is the main frame of file opening host-host protocol ftp server, wherein, first main frame is used for pushing the first message to the second main frame, and the first message comprises the access information of ftp server; The first message that second main frame is used for according to receiving obtains and stores access information, makes the second main frame access ftp server according to access information, thus connects with the first main frame and realize data sharing.
Alternatively, when the first Host Shutdown ftp server, the first main frame is also for pushing the second message to the second main frame, and the second message is for notifying that the ftp server of the second main frame first main frame is closed; Second main frame, for deleting the access information of the ftp server that self stores.
Alternatively, network system also comprises the 3rd main frame of new access, and the 3rd main frame is used for sending a request message to the first main frame and the second main frame, and request message is used for the access information of the ftp server that acquisition request has been opened; First main frame feeds back a response message to being applied to the 3rd main frame, and response message comprises the access information of the ftp server that the first main frame is opened; 3rd main frame also for obtaining according to the response message received and store access information, makes the 3rd main frame access ftp server according to access information, thus connects with the first main frame and realize data sharing.
Alternatively, when the first Host Shutdown ftp server, the first main frame is further used for pushing the second message to the second main frame and the 3rd main frame, and the second message is for notifying that the ftp server of the second main frame and the 3rd main frame first main frame is closed; Second main frame and the 3rd main frame are to the access information being applied to the ftp server deleting the first main frame that self stores.
Alternatively, access information comprises the identify label of the first main frame, the IP of ftp server and incoming end slogan.
Be different from prior art, data sharing method between network system of the present invention and each main frame thereof, the access information of the ftp server that other All hosts have been opened is informed when ftp server opened by a certain main frame, other main frames can be known automatically, and the access information of ftp server and this ftp server opened by which main frame, when needing data sharing without the need to manually consulting and input the access information of ftp server, thus improve the access efficiency to ftp server.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of data sharing method one embodiment of the present invention;
Fig. 2 is the schematic flow sheet of network system one embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of data sharing method of the present invention;
Fig. 4 is the schematic flow sheet of the another embodiment of data sharing method of the present invention.
Embodiment
Fig. 1 is the schematic flow sheet of data sharing method one embodiment of the present invention, and the method is based on the network system of his embodiment shown in 2.This network system shows the annexation between each main frame, as shown in Figure 2, described network system comprises multiple main frame, further, according to whether opening ftp server, multiple main frame being divided into the first main frame 21 and the second main frame 22, being connected by the Internet between the two.Wherein, the first main frame 21 is open the main frame of ftp server, and its sharing files that self can be stored is to other one or more main frames in network system, and the second main frame 22 be the main frame of the data can sharing the first main frame 21 storage.
Described network system can realize the connection between each main frame by predetermined local area network (LAN), serve the same with most of Internet, described network system also can be regarded as a client and server system, the first main frame 21 wherein opening ftp server is client and server, and the second main frame 22 is client.The main frame (computer) connected on a local area network can have any number platform or predetermined number platform, and be not limited to five shown in Fig. 2, these main frames can run different operating system, such as Unix, Dos, Windows and iOS.
Below in conjunction with Fig. 1 ~ Fig. 4 to data sharing method work of the present invention detailed description further, to make object of the present invention, technical scheme and technique effect clearly.
Refer to shown in Fig. 1, the data sharing method of the present embodiment comprises step:
S11: the first main frame pushes the first message to the second main frame, and described first message comprises the access information of the ftp server that the first main frame is opened;
When the first main frame 21 built and open ftp server start the data sharing the machine time, first main frame 21 automatically produces the access information of ftp server and pushes access information to whole second main frame 22 of other in network system, such as push this access information by UDP (UserDatagramProtocol, User Datagram Protoco (UDP)).Alternatively, access information comprises IP and the incoming end slogan of ftp server, can certainly comprise the identify label (ID, Identify) of the first main frame 21.Wherein, the IP of the first main frame 21 is exactly the IP of its ftp server, and the identify label of the IP of this ftp server and the first main frame 21 is all unique.
S12: the second main frame obtains according to the first message received and stores access information;
Every platform main frame (comprising the first main frame 21 and the second main frame 22) in network system has a ftp server information list, and the access information of the identify label of a main frame and the ftp server of correspondence thereof preserved in every bar record of this ftp server information list.
Based on this, the access information obtained separately is added the ftp server information list of self to complete storage by whole second main frames 22 in network system.
S13: the second main frame accesses ftp server according to access information, thus connects with the first main frame and realize data sharing.
This connection is equivalent to TCP (TransmissionControlProtocol, transmission control protocol) and connects.This step S13 does not need can not perform during the file sharing the first main frame 21 at the second main frame.User sends request command by the second main frame 22 of action need sharing data to the ftp server of the first main frame 21, and ftp server performs this request command and the result of execution is turned back to client computer.Such as, user sends a request command, require that ftp server transmits the portion copy of some files to the second main frame 22, ftp server can respond this request command, specified file is transferred on the second main frame 22 operated by user, this the second main frame 22 representative of consumer receives this file, and is left in the catalogue of such as user's setting.
From the above, the access information of the ftp server that the embodiment of the present invention other All hosts when ftp server opened by a certain main frame and in informing network system have been opened, other main frames can be known automatically, and the access information of ftp server and this ftp server opened by which main frame, when needing data sharing without the need to manually consulting and input the access information of this ftp server, thus greatly can improve the access efficiency to ftp server.
Fig. 3 is the schematic flow sheet of another embodiment of data sharing method of the present invention, adds network system for describing new main frame (the 3rd main frame 23 as shown in Figure 2) and needs to realize the situation of data sharing.As described in Figure 3, the data sharing method of the present embodiment comprises:
S31: after access network system, the 3rd main frame sends a request message to the first main frame and the second main frame, and request message is used for the access information of the ftp server that acquisition request has been opened;
S32: the first main frame feeds back a response message to the 3rd main frame, and response message comprises the access information of the ftp server that the first main frame is opened;
S33: the three main frame obtains according to the response message received and stores access information;
S34: the three main frame accesses ftp server according to access information, thus connects with the first main frame and realize data sharing.
That is, when there being new main frame to join network system, new main frame sends UPD broadcast to send request message to the script All hosts (comprising the first main frame 21 and the second main frame 22) in network system, and request obtains the information of all ftp servers opened; After the first main frame 21 having opened ftp server receives request message, send a point-to-point udp broadcast with feeding back response information to new main frame, the access information of the ftp server opened is sent to new main frame; If also have other main frame also to open ftp server, namely the quantity of the first main frame 21 is multiple, then multiple first main frame 21 also all sends a point-to-point udp broadcast with feeding back response information to new main frame; New main frame often receives a udp broadcast, all can read access information from this udp broadcast and be added in the ftp server information list of self.
Fig. 4 is the schematic flow sheet of the another embodiment of data sharing method of the present invention, closes the situation of ftp server for describing the main frame (such as the first main frame 21 shown in Fig. 1) opening ftp server.As described in Figure 4, the data sharing method of the present embodiment comprises:
S41: the first main frame pushes the first message to the second main frame, and described first message comprises the access information of the ftp server that the first main frame is opened;
S42: the second main frame obtains according to the first message received and stores access information;
S43: the second main frame accesses ftp server according to access information, thus connects with the first main frame and realize data sharing;
S44: when the first Host Shutdown ftp server, the first main frame pushes the second message to the second main frame, the second message is for informing that the ftp server of the first main frame is closed;
The access information of the ftp server that self stores deleted by S45: the second main frame.
That is, when opening the Host Shutdown ftp server of ftp server, same meeting sends udp broadcast to send the second message to other All hosts (the second main frame 22 shown in Fig. 2) in network system, tell that the ftp server of other host local is closed, after other main frame receives broadcast, the access information opening ftp server is deleted from the ftp server information list of self.
In like manner, for the situation of the 3rd main frame 23 newly added, namely when the first main frame 21 cuts out ftp server, the first main frame 21 pushes described second message to the second main frame 22 and the 3rd main frame 23; The access information of the ftp server of the first main frame 21 that self stores deleted by second main frame 22 and the 3rd main frame 23 after receiving this second message.
In sum, the embodiment of the present invention informs the access information of the ftp server that other All hosts have been opened when ftp server opened by a certain main frame, other main frames can be known automatically, and the access information of ftp server and this ftp server opened by which main frame, when needing data sharing without the need to manually consulting and input the access information of ftp server, thus improve the access efficiency to ftp server.
On this basis; the foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; such as the be combineding with each other of technical characteristic between each embodiment; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. the data sharing method in network system between each main frame, is characterized in that, described network system comprises the first main frame and the second main frame, and described first main frame is the main frame of file opening host-host protocol ftp server, and described method comprises:
Described first main frame pushes the first message to described second main frame, and described first message comprises the access information of the described ftp server that described first main frame is opened;
Described second main frame obtains according to described first message received and stores described access information, makes described second main frame access described ftp server according to described access information, thus connects with described first main frame and realize data sharing.
2. method according to claim 1, is characterized in that,
When described in described first Host Shutdown during ftp server, described method comprises further:
Described first main frame pushes the second message to described second main frame, and described second message is for notifying that the described ftp server of the first main frame described in described second main frame is closed;
The access information of the described ftp server that self stores deleted by described second main frame.
3. method according to claim 1, is characterized in that,
When the 3rd main frame newly accesses described network system, described method also comprises:
Described 3rd main frame sends a request message to described first main frame and described second main frame, and described request message is used for the access information of the described ftp server that acquisition request has been opened;
Described first main frame feeds back a response message to described 3rd main frame, and described response message comprises the access information of the described ftp server that described first main frame is opened;
Described 3rd main frame obtains according to the described response message received and stores described access information, makes described 3rd main frame access described ftp server according to described access information, thus connects with described first main frame and realize data sharing.
4. method according to claim 3, is characterized in that,
When described in described first Host Shutdown during ftp server, described method comprises further:
Described first main frame pushes the second message to described second main frame and described 3rd main frame, and described second message is for notifying that the described ftp server of the first main frame described in described second main frame and described 3rd main frame is closed;
The access information of the described ftp server that self stores deleted by described second main frame and described 3rd main frame.
5. method according to claim 1, is characterized in that, described access information comprises the identify label of described first main frame, the IP of described ftp server and incoming end slogan.
6. a network system, is characterized in that, described network system comprises the first main frame and the second main frame, and described first main frame is the main frame of file opening host-host protocol ftp server, wherein,
Described first main frame, for pushing the first message to described second main frame, described first message comprises the access information of the described ftp server that described first main frame is opened;
Described second main frame, for obtaining according to described first message received and store described access information, makes described second main frame access described ftp server according to described access information, thus connects with described first main frame and realize data sharing.
7. network system according to claim 6, is characterized in that,
When described in described first Host Shutdown during ftp server,
Described first main frame, also for pushing the second message to described second main frame, described second message is for notifying that the described ftp server of the first main frame described in described second main frame is closed;
Described second main frame, for deleting the access information of the described ftp server that self stores.
8. network system according to claim 6, is characterized in that,
Described network system also comprises the 3rd main frame of new access,
Described 3rd main frame, for sending a request message to described first main frame and described second main frame, described request message is used for the access information of the described ftp server that acquisition request has been opened;
Described first main frame, feeds back a response message to being applied to described 3rd main frame, and described response message comprises the access information of the described ftp server that described first main frame is opened;
Described 3rd main frame, also for obtaining according to the described response message received and store described access information, makes described 3rd main frame access described ftp server according to described access information, thus connects with described first main frame and realize data sharing.
9. network system according to claim 8, is characterized in that,
When described in described first Host Shutdown during ftp server,
Described first main frame, is further used for pushing the second message to described second main frame and described 3rd main frame, and described second message is for notifying that the described ftp server of the first main frame described in described second main frame and described 3rd main frame is closed;
Described second main frame and described 3rd main frame, to being applied to the access information deleting the described ftp server that self stores.
10. network system according to claim 6, is characterized in that, described access information comprises the identify label of described first main frame, the IP of described ftp server and incoming end slogan.
CN201510899832.6A 2015-12-08 2015-12-08 Data sharing method between network system and its each host Active CN105530295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510899832.6A CN105530295B (en) 2015-12-08 2015-12-08 Data sharing method between network system and its each host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510899832.6A CN105530295B (en) 2015-12-08 2015-12-08 Data sharing method between network system and its each host

Publications (2)

Publication Number Publication Date
CN105530295A true CN105530295A (en) 2016-04-27
CN105530295B CN105530295B (en) 2018-10-12

Family

ID=55772271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510899832.6A Active CN105530295B (en) 2015-12-08 2015-12-08 Data sharing method between network system and its each host

Country Status (1)

Country Link
CN (1) CN105530295B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071789A (en) * 2021-11-15 2022-02-18 合众新能源汽车有限公司 File sharing method and system, sending end equipment and receiving end equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551563A (en) * 2003-05-14 2004-12-01 ������������ʽ���� Service providing apparatus, data processing apparatus, information providing method, program for implementing the method, and storage medium storing the program
CN101951410A (en) * 2010-10-13 2011-01-19 国电南瑞科技股份有限公司 Method for automatically and remotely upgrading embedded terminal
US20110016230A1 (en) * 2000-08-17 2011-01-20 Bally Technologies, Inc. Data transfer system and method
CN103873566A (en) * 2014-02-28 2014-06-18 联想(北京)有限公司 Method and device of accessing mobile equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110016230A1 (en) * 2000-08-17 2011-01-20 Bally Technologies, Inc. Data transfer system and method
CN1551563A (en) * 2003-05-14 2004-12-01 ������������ʽ���� Service providing apparatus, data processing apparatus, information providing method, program for implementing the method, and storage medium storing the program
CN101951410A (en) * 2010-10-13 2011-01-19 国电南瑞科技股份有限公司 Method for automatically and remotely upgrading embedded terminal
CN103873566A (en) * 2014-02-28 2014-06-18 联想(北京)有限公司 Method and device of accessing mobile equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071789A (en) * 2021-11-15 2022-02-18 合众新能源汽车有限公司 File sharing method and system, sending end equipment and receiving end equipment

Also Published As

Publication number Publication date
CN105530295B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
EP3297213B1 (en) Method and apparatus for identifying application information in network traffic
EP3179701B1 (en) File upload and download methods and associated server
EP1203297B1 (en) Method and system for extracting application protocol characteristics
DE202015009311U1 (en) Open local browser applications
US9253128B2 (en) Instant messaging with browser collaboration
CN101582856B (en) Session setup method of portal server and BAS (broadband access server) device and system thereof
CN103780700A (en) Application system and method for achieving compatibility and sharing among multi-source heterogeneous systems
US20160173452A1 (en) Multi-connection system and method for service using internet protocol
US10116538B2 (en) Attributing network address translation device processed traffic to individual hosts
CN103401883A (en) Single sign-on method and system
CN108200158A (en) Ask Transmission system, method, apparatus and storage medium
CN111224894A (en) Traffic collection marking method and system for iOS device
CN103327008A (en) HTTP reorienting method and HTTP reorienting device
US11444998B2 (en) Bit rate reduction processing method for data file, and server
CN113766013B (en) Session creation method, device, equipment and storage medium
US7650392B1 (en) Dynamic content processing in a reverse proxy service
CN108882262B (en) Equipment state synchronization method and system, intelligent terminal and readable storage medium
CN113873057A (en) Data processing method and device
CN105530295A (en) Data sharing method between network system and hosts
CN104660728A (en) NAT (network address translator) traversal method based on intelligent home control system
Cisco XRemote Configuration Commands
Cisco XRemote Configuration Commands
Cisco XRemote Configuration Commands
Cisco XRemote Configuration Commands
CN104935645A (en) Viral transmission prevention method for safely transmitting USB flash disk file on financial network counter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190715

Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Patentee after: WEISHIBO INFORMATION SERVICE (SHENZHEN) CO.,LTD.

Address before: 518053 Guangdong city of Shenzhen province Nanshan District overseas Chinese town in Eastern Industrial Zone H3 building 501B

Patentee before: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20190812

Address after: E-S-215-2, Block E, 6596 Dongfanghong Road, Yuanqiao Town, Dezhou Economic and Technological Development Zone, 250000 Shandong Province

Patentee after: Dezhou Tang Seng Intellectual Property Service Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Patentee before: WEISHIBO INFORMATION SERVICE (SHENZHEN) CO.,LTD.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190830

Address after: Room 510, Block A, No. 977 Shangfeng Road, Pudong New Area, Shanghai 20101

Patentee after: Shanghai Wujing Information Technology Co.,Ltd.

Address before: E-S-215-2, Block E, 6596 Dongfanghong Road, Yuanqiao Town, Dezhou Economic and Technological Development Zone, 250000 Shandong Province

Patentee before: Dezhou Tang Seng Intellectual Property Service Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Data sharing methods between network systems and their respective hosts

Effective date of registration: 20230522

Granted publication date: 20181012

Pledgee: Industrial Bank Co.,Ltd. Shanghai Zhabei sub branch

Pledgor: Shanghai Wujing Information Technology Co.,Ltd.

Registration number: Y2023310000203

PE01 Entry into force of the registration of the contract for pledge of patent right