CN110166308B - Data transmission method in local area network based on ONU (optical network Unit) equipment - Google Patents

Data transmission method in local area network based on ONU (optical network Unit) equipment Download PDF

Info

Publication number
CN110166308B
CN110166308B CN201910589680.8A CN201910589680A CN110166308B CN 110166308 B CN110166308 B CN 110166308B CN 201910589680 A CN201910589680 A CN 201910589680A CN 110166308 B CN110166308 B CN 110166308B
Authority
CN
China
Prior art keywords
data
local area
area network
ftp server
file
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
CN201910589680.8A
Other languages
Chinese (zh)
Other versions
CN110166308A (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.)
Shenzhen Youhua Technology Co ltd
Original Assignee
Shenzhen Youhua 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 Youhua Technology Co ltd filed Critical Shenzhen Youhua Technology Co ltd
Priority to CN201910589680.8A priority Critical patent/CN110166308B/en
Publication of CN110166308A publication Critical patent/CN110166308A/en
Application granted granted Critical
Publication of CN110166308B publication Critical patent/CN110166308B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a data transmission method in a local area network based on ONU equipment, which is used for transmitting files or data among a plurality of intelligent terminals, and comprises the following steps: connecting the intelligent terminals to ONU equipment to form a local area network; mapping the connected intelligent terminals to form a connection list; configuring an FTP server and an FTP client according to a preset rule; assigning an upload path to the file or data; and selecting a corresponding FTP client and downloading the file or the data according to the uploading path and the connection list. The invention can realize the sharing transmission of the files and the data by using the existing equipment, and has the advantages of convenient operation, high transmission speed and good use experience.

Description

Data transmission method in local area network based on ONU (optical network Unit) equipment
Technical Field
The invention relates to the technical field of network communication, in particular to a data transmission method in a local area network based on ONU equipment.
Background
At present, when people use intelligent terminals such as mobile phones and computers, files in one intelligent terminal are often required to be transferred to another intelligent terminal so as to realize information and file collaborative sharing. The method mainly adopts a USB data line connection and downloading mode, the operations such as opening a development mode of a mobile phone and the like are required to be firstly carried out, then a corresponding driver is installed on a computer, after the corresponding driver is installed successfully, a storage device corresponding to the intelligent terminal can be found, and then a file is copied to the computer. The transmission speed is high, but the operation is very inconvenient. Some PC computers are provided with an independent Bluetooth module, connected with the PC computer by adopting Bluetooth and used for receiving and transmitting files, music or videos. In this way, the PC computer needs to purchase additional accessories, which not only does not simplify the operation, but also increases the use cost. Some methods adopt a mode of establishing a private network to connect with a PC computer, and the connection mode needs professional operation. Some software such as QQ and WeChat is connected with a computer by wire or wirelessly. This method is convenient, but requires the computer to be installed with software such as QQ and WeChat of PC end in advance, and the function of large file and multi-file transmission is weak, and the transmission line is the Internet, so the speed is very slow. The operations are difficult to meet the requirements of people on convenience and high efficiency, professional knowledge is sometimes needed, people need to be found for help, and the use feeling of users is poor.
Disclosure of Invention
Based on this, it is necessary to provide a method for transmitting data in a local area network based on ONU devices, which can utilize existing ONU devices in which an optical fiber network is already installed in each household to construct a temporary local area network and implement transmission and sharing of files, music, videos, and the like.
In order to achieve the above purpose, the invention adopts the following technical scheme.
The invention provides a data transmission method in a local area network based on ONU equipment, which is used for transmitting files or data among a plurality of intelligent terminals, and comprises the following steps:
connecting the intelligent terminals to ONU equipment to form a local area network;
mapping the connected intelligent terminals to form a connection list;
configuring an FTP server and an FTP client according to a preset rule;
assigning an upload path to the file or data;
and selecting a corresponding FTP client and downloading the file or the data according to the uploading path and the connection list.
Preferably, the intelligent terminal is a mobile phone, a tablet computer or a PC.
Preferably, the step of connecting the plurality of intelligent terminals to an ONU device to form a local area network specifically includes:
connecting a PC to the ONU equipment through a wire or WIFI;
connecting a mobile phone or a tablet computer to the ONU equipment through WIFI;
and distributing a temporary IP address for the connected mobile phone, tablet personal computer or PC by using the gateway function of the ONU equipment to construct a local area network.
Preferably, the step of configuring the FTP server and the FTP client according to the predetermined rule specifically includes:
selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to upload files or data; configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP server;
selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to download the file or the data; and configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP client.
Preferably, the step of configuring the intelligent terminal corresponding to the terminal name to become the FTP server specifically includes:
judging whether an FTP server exists in the current local area network;
if yes, closing the FTP server or configuring the FTP server as an FTP client;
otherwise, the next step is entered.
Preferably, before the step of closing the FTP server or configuring the FTP server as an FTP client, the method further comprises the steps of:
judging whether the network state of the FTP server is normal or not;
if yes, closing the FTP server or configuring the FTP server as an FTP client;
if not, the next step is entered.
Preferably, the step of assigning an upload path to the file or the data specifically includes:
and creating a download link based on the local area network according to the position of the file or the data on the FTP server, and updating the connection list.
Preferably, the step of selecting a corresponding FTP client and downloading the file or data according to the upload path and the connection list specifically includes:
and checking the connection list on the intelligent terminal which is specified by the user and needs to download the file or the data, acquiring the current FTP server and an uploading path, establishing a link between the FTP client and the current FTP server, and downloading the file or the data.
The invention utilizes the existing ONU equipment of each household with an optical fiber network, connects a plurality of intelligent terminals to the ONU equipment, constructs a temporary local area network, configures an FTP server and an FTP client according to the preset rule and appoints an uploading path for the file or the data, and then can select the corresponding FTP client to download the file or the data, thereby realizing the transmission and sharing of the file, the music, the video and the like. The invention can realize the sharing transmission of the files and the data by using the existing equipment, and has the advantages of convenient operation, high transmission speed and good use experience.
Drawings
Fig. 1 is a schematic flowchart of a data transmission method in a local area network based on an ONU device in this embodiment.
Detailed Description
The following further description is made with reference to the drawings and specific embodiments.
As shown in fig. 1, the present embodiment provides a method for transmitting data in a local area Network based on an ONU (Optical Network Unit) device, which is used for transferring files or data among a plurality of intelligent terminals, where the files or data include documents, pictures, music and videos, and the method includes the following steps:
s1: connecting a plurality of intelligent terminals to ONU equipment to form a local area network;
s2: mapping the connected intelligent terminals to form a connection list;
s3: configuring an FTP server and an FTP client according to a preset rule;
s4: assigning an upload path to the file or data;
s5: and selecting a corresponding FTP client and downloading the file or the data according to the uploading path and the connection list.
The intelligent terminal is a mobile phone, a tablet computer or a PC (personal computer), or other intelligent products including but not limited to intelligent household appliances, intelligent instruments, intelligent glasses and the like.
In step S1, the step of connecting the plurality of intelligent terminals to an ONU device to form a local area network specifically includes:
connecting a PC to the ONU equipment through a wire or WIFI;
connecting a mobile phone or a tablet computer to the ONU equipment through WIFI;
and distributing a temporary IP address for the connected mobile phone, tablet personal computer or PC by using the gateway function of the ONU equipment to construct a local area network.
Further, the ONU device is one or more cascaded ONU devices in a GPON Network (Gigabit-Capable Passive Optical Network, Gigabit Passive Optical Network), and can implement data and file transmission between multiple levels of local area networks.
In step S3, the step of configuring the FTP server and the FTP client according to the predetermined rule specifically includes:
selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to upload files or data; configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP server;
selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to download the file or the data; and configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP client.
The step of configuring the intelligent terminal corresponding to the terminal name to make the intelligent terminal become the FTP server specifically includes:
s31: judging whether an FTP server exists in the current local area network;
s32: if yes, closing the FTP server or configuring the FTP server as an FTP client;
if not, the process proceeds to step S3.
Further, before step S32, the method further includes the steps of:
s33: judging whether the network state of the FTP server is normal or not;
if yes, go to step S32;
if not, the process proceeds to step S3.
In step S4, the step of assigning an upload path to the file or the data specifically includes:
and creating a download link based on the local area network according to the position of the file or the data on the FTP server, and updating the connection list.
In step S5, the step of selecting a corresponding FTP client and downloading the file or data according to the upload path and the connection list specifically includes:
and checking the connection list on the intelligent terminal which is specified by the user and needs to download the file or the data, acquiring the current FTP server and an uploading path, establishing a link between the FTP client and the current FTP server, and downloading the file or the data.
Through ONU equipment of GPON network, when the intelligent terminal will be come out, can be as FTP server, will be as FTP customer end when coming in. Therefore, the path of the file and the data to be transmitted is appointed in the intelligent terminal corresponding to the appointed FTP server, or the file or the data to be transmitted of the intelligent terminal where the FTP server is located is appointed by other intelligent terminals by force, and the other intelligent terminals can upload and download the file, so that the FTP server is very convenient.
In the invention, the existing ONU equipment of each household, which is provided with the optical fiber network, is utilized to connect a plurality of intelligent terminals to the ONU equipment, construct the temporary local area network, configure the FTP server and the FTP client according to the preset rule and appoint an uploading path for the file or the data, and then the corresponding FTP client can be selected to download the file or the data, thereby realizing the transmission and sharing of the file, the music, the video and the like. The invention can realize the sharing transmission of the files and the data by using the existing equipment, and has the advantages of convenient operation, high transmission speed and good use experience.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (7)

1. A data transmission method in a local area network based on ONU equipment is used for transmitting files or data among a plurality of intelligent terminals, and is characterized by comprising the following steps:
connecting the intelligent terminals to ONU equipment to form a local area network;
mapping the connected intelligent terminals to form a connection list;
selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to upload files or data; configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP server; selecting a corresponding terminal name in the connection list according to an intelligent terminal which is specified by a user and needs to download the file or the data; configuring the intelligent terminal corresponding to the terminal name to enable the intelligent terminal to become an FTP client;
assigning an upload path to the file or data;
and selecting a corresponding FTP client and downloading the file or the data according to the uploading path and the connection list.
2. The method for transmitting data in the local area network based on the ONU device of claim 1, wherein the smart terminal is a mobile phone, a tablet PC or a PC.
3. The method for transmitting data in a local area network based on ONU devices according to claim 2, wherein said step of connecting a plurality of intelligent terminals to an ONU device comprises:
connecting a PC to the ONU equipment through a wire or WIFI;
connecting a mobile phone or a tablet computer to the ONU equipment through WIFI;
and distributing a temporary IP address for the connected mobile phone, tablet personal computer or PC by using the gateway function of the ONU equipment to construct a local area network.
4. The method for transmitting data in a local area network based on ONU devices according to claim 1, wherein said step of configuring the intelligent terminal corresponding to the terminal name to become an FTP server specifically comprises:
judging whether an FTP server exists in the current local area network;
if yes, closing the FTP server or configuring the FTP server as an FTP client;
otherwise, the next step is entered.
5. The method for transmitting data in a local area network based on ONU device according to claim 4, wherein before said step of turning off FTP server or configuring said FTP server as FTP client, further comprising the steps of:
judging whether the network state of the FTP server is normal or not;
if yes, closing the FTP server or configuring the FTP server as an FTP client;
if not, the next step is entered.
6. The method for transmitting data in the local area network based on the ONU device of claim 1 or 5, wherein the step of assigning an upload path to the file or the data specifically comprises:
and creating a download link based on the local area network according to the position of the file or the data on the FTP server, and updating the connection list.
7. The method for transmitting data in a local area network based on ONU devices according to claim 6, wherein said step of selecting a corresponding FTP client and downloading said file or data according to an upload path and a connection list specifically comprises:
and checking the connection list on the intelligent terminal which is specified by the user and needs to download the file or the data, acquiring the current FTP server and an uploading path, establishing a link between the FTP client and the current FTP server, and downloading the file or the data.
CN201910589680.8A 2019-07-02 2019-07-02 Data transmission method in local area network based on ONU (optical network Unit) equipment Active CN110166308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910589680.8A CN110166308B (en) 2019-07-02 2019-07-02 Data transmission method in local area network based on ONU (optical network Unit) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910589680.8A CN110166308B (en) 2019-07-02 2019-07-02 Data transmission method in local area network based on ONU (optical network Unit) equipment

Publications (2)

Publication Number Publication Date
CN110166308A CN110166308A (en) 2019-08-23
CN110166308B true CN110166308B (en) 2022-02-01

Family

ID=67637401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910589680.8A Active CN110166308B (en) 2019-07-02 2019-07-02 Data transmission method in local area network based on ONU (optical network Unit) equipment

Country Status (1)

Country Link
CN (1) CN110166308B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739808A (en) * 2012-07-27 2012-10-17 优视科技有限公司 Cloud storage server, user terminal as well as system and method for transmitting cloud end data
CN102833337A (en) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 FTP (File Transfer Protocol) file uploading, downloading method and device
CN103078902A (en) * 2012-12-21 2013-05-01 安科智慧城市技术(中国)有限公司 Data transmission method and device of embedded monitoring equipment
CN103873592A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Data transmission method and system
CN104967668A (en) * 2015-05-28 2015-10-07 百度在线网络技术(北京)有限公司 Inter-equipment file transmission method, apparatus and system based on WIFI hot spot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739808A (en) * 2012-07-27 2012-10-17 优视科技有限公司 Cloud storage server, user terminal as well as system and method for transmitting cloud end data
CN102833337A (en) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 FTP (File Transfer Protocol) file uploading, downloading method and device
CN103078902A (en) * 2012-12-21 2013-05-01 安科智慧城市技术(中国)有限公司 Data transmission method and device of embedded monitoring equipment
CN103873592A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Data transmission method and system
CN104967668A (en) * 2015-05-28 2015-10-07 百度在线网络技术(北京)有限公司 Inter-equipment file transmission method, apparatus and system based on WIFI hot spot

Also Published As

Publication number Publication date
CN110166308A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN104702665B (en) Information sharing method and information sharing apparatus
JP6072132B2 (en) Method of establishing a communication path using active connection of relay server of mobile terminal
CN103152392B (en) Installation kit supplying method, acquisition methods, equipment and system
KR20090056914A (en) Method and system for sharing data in near field communication network
CN103973899A (en) Mobile terminal and configuration sharing method thereof
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
CN104601205A (en) Content sharing method and device
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
CN104601715A (en) File sharing method and system and mobile terminal based on two-dimension code
CN102904959A (en) Network accelerating method and gateway
CN103997521A (en) File operating method and device based on router and router
TW201310947A (en) File download system
EP3979071B1 (en) Method, user equipment, and application server for downloading application
CN103220283A (en) Method, equipment and system for network sharing
CN110166308B (en) Data transmission method in local area network based on ONU (optical network Unit) equipment
CN106488483B (en) Method for configuring WIFI gateway equipment and corresponding gateway equipment
CN104301419A (en) Non-local-machine remote download control system and method
KR100412365B1 (en) Home Appliance Network System Including Bridge device and Its Operating Method
KR20220006605A (en) Cloud communication method and device, user device, network device
CN103647818B (en) A kind of method and system for realizing function setting
CN106973014B (en) Anycast route publishing system and method and electronic equipment
JP2011004347A (en) Function setting system for mobile terminal apparatus, mobile terminal apparatus, information terminal device, function setting method and program
KR20100006325A (en) Apparatus and method for holding data between devices using local wireless communication
KR100905559B1 (en) Communication service system and its method using by a mobile communication terminal
CN116136731A (en) Interactive information transmission method and device, storage medium and electronic device

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