CN109245998A - A kind of method, system and associated component accessing NAS - Google Patents

A kind of method, system and associated component accessing NAS Download PDF

Info

Publication number
CN109245998A
CN109245998A CN201811172962.XA CN201811172962A CN109245998A CN 109245998 A CN109245998 A CN 109245998A CN 201811172962 A CN201811172962 A CN 201811172962A CN 109245998 A CN109245998 A CN 109245998A
Authority
CN
China
Prior art keywords
nas
public network
address
current dynamic
dynamic public
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.)
Pending
Application number
CN201811172962.XA
Other languages
Chinese (zh)
Inventor
李养兆
张月辉
仇锋利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811172962.XA priority Critical patent/CN109245998A/en
Publication of CN109245998A publication Critical patent/CN109245998A/en
Pending legal-status Critical Current

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of method for accessing NAS, the method includes terminals to send access request to NAS, so that current dynamic public network IP address is sent to the terminal by the NAS and starts NAS sharing functionality;When receiving the current dynamic public network IP address, the data in the NAS are accessed according to the current dynamic public network IP address.This method can improve the ease for use of NAS under the premise of reducing economic cost.Disclosed herein as well is a kind of system, a kind of computer readable storage medium and a kind of electronic equipment for accessing NAS, have the above beneficial effect.

Description

A kind of method, system and associated component accessing NAS
Technical field
The present invention relates to technical field of data storage, in particular to a kind of method, system, a kind of computer for accessing NAS Readable storage medium storing program for executing and a kind of electronic equipment.
Background technique
NAS (Network Attached Storage, network attached storage), is a kind of dress for having data storage function It sets.Under normal conditions, user needs to use domain name access household NAS by configuring dynamic territory analyzing.The above-mentioned prior art is wanted User is asked to buy the duty-free name of domain name or memory inconvenient for use.In addition, after access, being needed to avoid security risk It is long-range to close NAS.This requires user installation, study using associated control software, reduces ease for use.
Therefore, how to improve the ease for use of NAS under the premise of reducing economic cost is that those skilled in the art need at present Technical problems to be solved.
Summary of the invention
The purpose of the application is to provide a kind of method, system, a kind of computer readable storage medium and one kind for accessing NAS Electronic equipment can improve the ease for use of NAS under the premise of reducing economic cost.
In order to solve the above technical problems, the application provides a kind of method for accessing NAS, this method comprises:
Terminal sends access request to NAS, so that current dynamic public network IP address is sent to the terminal simultaneously by the NAS Start NAS sharing functionality;
When receiving the current dynamic public network IP address, according to the current dynamic public network IP address access Data in NAS.
Optionally, terminal includes: to NAS transmission access request
Access request is sent to the second account using the first account in social software;Wherein, first account be The account logged in the social software of the terminal, second account are the account logged in the social software of the NAS.
Optionally, the social software includes wechat or QQ.
Optionally, accessing the data in the NAS according to the current dynamic public network IP address includes:
The data in the NAS are accessed using SMB agreement or NFS protocol according to the current dynamic public network IP address.
Optionally, further includes:
When receiving access command for stopping, access is sent to the NAS and terminates request, it is shared to close the NAS Function.
Optionally, the NAS is specially household NAS.
Present invention also provides a kind of system for accessing NAS, which includes:
Request sending module sends access request to NAS for terminal, so that the NAS will current dynamic public network IP Location is sent to the terminal and starts NAS sharing functionality;
Access modules, for when receiving the current dynamic public network IP address, according to the current dynamic public network IP Address accesses the data in the NAS.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of program realizes above-mentioned access NAS method when executing executes.
Present invention also provides a kind of electronic equipment, including memory and processor, calculating is stored in the memory Machine program, the step that the processor realizes above-mentioned access NAS method when calling the computer program in the memory executes Suddenly.
The present invention provides a kind of methods for accessing NAS, including terminal to send access request to NAS, so that the NAS will Current dynamic public network IP address is sent to the terminal and starts NAS sharing functionality;When receiving the current dynamic public network IP When address, the data in the NAS are accessed according to the current dynamic public network IP address.
The application is without requiring user to buy domain name or duty-free name easily inconvenient to use, it is only necessary to by NAS Access NAS request is sent, current dynamic public network IP is obtained, accesses NAS using the current dynamic public network IP.Therefore the application can be with The ease for use that NAS is improved under the premise of reducing economic cost, realizes the remote access of NAS data.The application also provides simultaneously A kind of system, a kind of computer readable storage medium and a kind of electronic equipment accessing NAS, has above-mentioned beneficial effect, This is repeated no more.
Detailed description of the invention
In ord to more clearly illustrate embodiments of the present application, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, the drawings in the following description are only some examples of the present application, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for the method for accessing NAS provided by the embodiment of the present application;
Fig. 2 is a kind of structural schematic diagram for the system for accessing NAS provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Below referring to Figure 1, Fig. 1 is a kind of flow chart for the method for accessing NAS provided by the embodiment of the present application.
Specific steps may include:
S101: terminal sends access request to NAS, so as to the NAS current dynamic public network IP address is sent to it is described Terminal simultaneously starts NAS sharing functionality;
Wherein, NAS (Network Attached Storage: network attached storage) is that one kind is connected on network and has The device of standby data storage function, therefore also referred to as " network memory ".It is a kind of exclusive data storage server to NAS, it It is data-centered, storage equipment is completely separated with server, manages data concentratedly, to discharge bandwidth, improve performance, drop Low total cost of ownership, protection investment.Its cost is well below using server to store, and efficiency is significantly larger than the latter.
NAS may include office automation NAS, tax NAS, medical data storage NAS and household NAS etc., the present embodiment The purposes and type for not limiting NAS, can be applied in the application scenarios of a variety of NAS.
The subject of implementation of the present embodiment is " terminal ", and terminal and NAS can be two independent devices, and terminal can pass through The Wireless/wired mode such as network, bluetooth and NAS carry out data interaction, do not limit the access request that terminal is sent to NAS herein Mode, those skilled in the art can flexibly set.
As a preferred embodiment, can realize the transmission of access request by social software.Concrete implementation Mode are as follows: send access request to the second account using the first account in social software;Wherein, first account is in institute The account logged in the social software of terminal is stated, second account is the account logged in the social software of the NAS, on Stating the social software mentioned may include wechat or QQ.It should be noted that if to realize access request by social software It sends, needs to be mounted on identical social software in terminal and NAS or the software of information exchange can be carried out between each other; The login account in terminal and the social software of NAS respectively is also needed, the further account can be same account, can also be with It is that two accounts that other side is good friend have been mutually added.
For this step default after terminal sends access request to NAS, NAS inquires current dynamic according to access request automatically Current dynamic public network IP address is sent back terminal, and starts the NAS sharing functionality of NAS itself by public network IP address.It needs to illustrate If NAS does not start NAS sharing functionality, can not be obtained in NAS terminal obtains current dynamic public network IP address The data of storage.After NAS receives access request, there may also be the whether legal operations of verification access request, to protect Demonstrate,prove the Information Security of NAS.
S102: it when receiving the current dynamic public network IP address, is accessed according to the current dynamic public network IP address Data in the NAS.
Wherein, the purpose of this step be access NAS in data, terminal with having been obtained for current dynamic public network IP Under the premise of location and NAS starting NAS sharing functionality, this step can access the number in NAS according to current dynamic public network IP address According to.As a preferred embodiment, SMB agreement or NFS protocol can be utilized according to the current dynamic public network IP address Access the data in the NAS.SMB (Server Message Block) agreement is Microsoft (Microsoft) and Intel (Intel) agreement formulated in 1987, primarily as the communications protocol of Microsoft network;NFS(Network File System) agreement is a kind of agreement for file-sharing, it can to carry out the shared of file between host.Certainly at this Used agreement when accessing the data in the NAS according to the current dynamic public network IP address is not limited in embodiment, Other than SMB agreement and NFS protocol, those skilled in the art can also be using described in other protocol realization S102 Step.
As a preferred embodiment, needing to close NAS after the end of data in S102 access NAS.It can be with Access command for stopping is automatically generated when user exits NAS data access relative program, when terminal detects access command for stopping When, access can be sent to the NAS and terminate request, to close the NAS sharing functionality.
The present embodiment, only need to be by NAS without requiring user to buy domain name or duty-free name easily inconvenient to use Access NAS request is sent, current dynamic public network IP is obtained, accesses NAS using the current dynamic public network IP.Therefore the present embodiment can To improve the ease for use of NAS under the premise of reducing economic cost, the remote access of NAS data is realized.
Illustrate the process of above-described embodiment description below by embodiment in practical applications, which is to pass through society Remote software is handed over to access household NAS, specific steps may include:
Step 1 creates user A and user B in social software, and it is good friend that user A, which adds user B,.
Step 2 starts script on household NAS, logs in social software using B.
Step 3 distally uses A to log in social software, sends message to good friend B and " obtains NAS information and open NAS and be total to It enjoys ".
Step 4, script inquire current dynamic public network IP, reply to A after receiving the message that A is sent, and it is total to start NAS It enjoys.
After step 5, A get public network IP, pass through the data in SMB, NFS protocol access household NAS using the IP.
After step 6, access, user A sends message " it is shared to close NAS " to B.
Step 7, script are closed NAS and are shared, reply and complete after receiving the message that A is sent.
The method that the present embodiment is based on social software and SMB (or NFS) protocol access household NAS: it is sent out by social software The mode of message is sent, the relevant information of household NAS, and executive control operation are obtained.
Fig. 2 is referred to, Fig. 2 is a kind of structural schematic diagram for the system for accessing NAS provided by the embodiment of the present application;
The system may include:
Request sending module 100 sends access request to NAS for terminal, so that the NAS will current dynamic public network IP Address is sent to the terminal and starts NAS sharing functionality;
Access modules 200, for when receiving the current dynamic public network IP address, according to the current dynamic public network IP address accesses the data in the NAS.
The present embodiment is without requiring user to buy domain name or duty-free name easily inconvenient to use, by sending to NAS NAS request is accessed, current dynamic public network IP is obtained, accesses NAS using the current dynamic public network IP.Therefore the present embodiment can be The ease for use that NAS is improved under the premise of reducing economic cost, realizes the remote access of NAS data.
Optionally, terminal includes: to NAS transmission access request
Access request is sent to the second account using the first account in social software;Wherein, first account be The account logged in the social software of the terminal, second account are the account logged in the social software of the NAS.
Optionally, accessing the data in the NAS according to the current dynamic public network IP address includes:
The data in the NAS are accessed using SMB agreement or NFS protocol according to the current dynamic public network IP address.
Optionally, further includes:
When receiving access command for stopping, access is sent to the NAS and terminates request, it is shared to close the NAS Function.
Since the embodiment of components of system as directed is corresponded to each other with the embodiment of method part, the embodiment of components of system as directed is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and step provided by above-described embodiment may be implemented.The storage medium may include: USB flash disk, mobile hard disk, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or The various media that can store program code such as CD.
Present invention also provides a kind of electronic equipment, may include memory and processor, have meter in the memory Calculation machine program may be implemented provided by above-described embodiment when the processor calls the computer program in the memory Step.Certain electronic equipment can also include various network interfaces, the components such as power supply.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.Under the situation not limited more, the element limited by sentence "including a ..." is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (9)

1. a kind of method for accessing NAS characterized by comprising
Terminal sends access request to NAS, so that current dynamic public network IP address is sent to the terminal by the NAS and is started NAS sharing functionality;
When receiving the current dynamic public network IP address, accessed in the NAS according to the current dynamic public network IP address Data.
2. method according to claim 1, which is characterized in that terminal sends access request to NAS and includes:
Access request is sent to the second account using the first account in social software;Wherein, first account is described The account logged in the social software of terminal, second account are the account logged in the social software of the NAS.
3. method according to claim 2, which is characterized in that the social software includes wechat or QQ.
4. method according to claim 1, which is characterized in that access the NAS according to the current dynamic public network IP address In data include:
The data in the NAS are accessed using SMB agreement or NFS protocol according to the current dynamic public network IP address.
5. method according to claim 1, which is characterized in that further include:
When receiving access command for stopping, access is sent to the NAS and terminates request, to close the NAS sharing functionality.
6. method according to claim 1, which is characterized in that the NAS is specially household NAS.
7. a kind of system for accessing NAS characterized by comprising
Request sending module sends access request to NAS for terminal, so that the NAS will currently dynamic public network IP address be sent out It send to the terminal and starts NAS sharing functionality;
Access modules, for when receiving the current dynamic public network IP address, according to the current dynamic public network IP address Access the data in the NAS.
8. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the method that NAS is accessed as described in any one of claim 1 to 6 when for executing the computer program The step of.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the method for accessing NAS as described in any one of claim 1 to 6 is realized when the computer program is executed by processor Step.
CN201811172962.XA 2018-10-09 2018-10-09 A kind of method, system and associated component accessing NAS Pending CN109245998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811172962.XA CN109245998A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component accessing NAS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811172962.XA CN109245998A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component accessing NAS

Publications (1)

Publication Number Publication Date
CN109245998A true CN109245998A (en) 2019-01-18

Family

ID=65055850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811172962.XA Pending CN109245998A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component accessing NAS

Country Status (1)

Country Link
CN (1) CN109245998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722810A (en) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 Deployment method, device and storage medium of local data center

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1476204A (en) * 2002-08-16 2004-02-18 华为技术有限公司 Virtual specsel net realizing method based on dynamic IP address and system
CN101873463A (en) * 2010-05-20 2010-10-27 杭州海康威视***技术有限公司 Video playback method, monitoring client and digital hard disk video recorder
US20130073717A1 (en) * 2011-09-15 2013-03-21 International Business Machines Corporation Optimizing clustered network attached storage (nas) usage
CN103281348A (en) * 2008-03-12 2013-09-04 高通股份有限公司 Providing multiple levels of service for wireless communication
CN105791206A (en) * 2014-12-15 2016-07-20 金蝶软件(中国)有限公司 Local area network service acquiring method and device
CN106161663A (en) * 2015-04-07 2016-11-23 中兴通讯股份有限公司 Terminal applies accesses the method and device of NAS
US20170168692A1 (en) * 2015-12-14 2017-06-15 Microsoft Technology Licensing, Llc Dual-Modality Client Application
CN107147945A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Multimedia resource play system, method and device
CN107249043A (en) * 2017-07-26 2017-10-13 郑州云海信息技术有限公司 A kind of communication means and system based on hard disk

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1476204A (en) * 2002-08-16 2004-02-18 华为技术有限公司 Virtual specsel net realizing method based on dynamic IP address and system
CN103281348A (en) * 2008-03-12 2013-09-04 高通股份有限公司 Providing multiple levels of service for wireless communication
CN101873463A (en) * 2010-05-20 2010-10-27 杭州海康威视***技术有限公司 Video playback method, monitoring client and digital hard disk video recorder
US20130073717A1 (en) * 2011-09-15 2013-03-21 International Business Machines Corporation Optimizing clustered network attached storage (nas) usage
CN105791206A (en) * 2014-12-15 2016-07-20 金蝶软件(中国)有限公司 Local area network service acquiring method and device
CN106161663A (en) * 2015-04-07 2016-11-23 中兴通讯股份有限公司 Terminal applies accesses the method and device of NAS
US20170168692A1 (en) * 2015-12-14 2017-06-15 Microsoft Technology Licensing, Llc Dual-Modality Client Application
CN107147945A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Multimedia resource play system, method and device
CN107249043A (en) * 2017-07-26 2017-10-13 郑州云海信息技术有限公司 A kind of communication means and system based on hard disk

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722810A (en) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 Deployment method, device and storage medium of local data center

Similar Documents

Publication Publication Date Title
CN103746812B (en) A kind of access authentication method and system
TWI745473B (en) Network verification method and device
US10523748B2 (en) Managing health status of network devices in a distributed global server load balancing system
TWI333776B (en) Method, apparatus and article to remotely associate wireless communications devices with subscriber identities and /or proxy wireless communications devices
JP6515207B2 (en) Internet access authentication method and client, and computer storage medium
CN100433645C (en) Network device management method and network management system
CN102307215A (en) Method for peer-to-peer (p2p) communication
CN102695167B (en) Mobile subscriber identity management method and apparatus thereof
CN104158891A (en) Method, device and system of cross-regional data transmission, and server
WO2016165505A1 (en) Connection control method and apparatus
CN103392353A (en) Wireless network capacity open system, gateway, agent and method
CN102783119A (en) Access control method and system, and access terminal
CN102346823B (en) The method and system that in a kind of internet, user logs in
CN103067372B (en) Cloud terminal logs in method and the login system of Cloud Server
CN103780641A (en) Cloud desktop access method, home gateway and system
CN103179099A (en) Unified certification method for accessing to open website platforms and website platform
CN104702634B (en) Data operation request treatment method, apparatus and system
CN103338296B (en) Communication record storage method and communication record storage device
CN103068052B (en) Dynamic resource allocation method, system and Portal server
CA2968439C (en) Charging control apparatus, method, and system
CN103685485A (en) Mobile terminal VoIP (voice over internet protocol) communication audio management system
CN109245998A (en) A kind of method, system and associated component accessing NAS
CN103856496A (en) Information publishing method, information publishing equipment and information publishing system
CN107465724A (en) Download method, user equipment and the application server of application program
CN102546552B (en) Authentication method, equipment and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118