CN115174603B - NAS service system, implementation method, electronic equipment and storage medium - Google Patents

NAS service system, implementation method, electronic equipment and storage medium Download PDF

Info

Publication number
CN115174603B
CN115174603B CN202210787991.7A CN202210787991A CN115174603B CN 115174603 B CN115174603 B CN 115174603B CN 202210787991 A CN202210787991 A CN 202210787991A CN 115174603 B CN115174603 B CN 115174603B
Authority
CN
China
Prior art keywords
nas service
nas
user terminal
network
service
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
CN202210787991.7A
Other languages
Chinese (zh)
Other versions
CN115174603A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210787991.7A priority Critical patent/CN115174603B/en
Publication of CN115174603A publication Critical patent/CN115174603A/en
Application granted granted Critical
Publication of CN115174603B publication Critical patent/CN115174603B/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/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a NAS service system, an implementation method, electronic equipment and a storage medium, and relates to the technical field of network communication. The NAS service system comprises: a network attached storage NAS service node and a home gateway; the NAS service node is positioned in the edge cloud resource pool and is used for providing NAS service; the home gateway is deployed at a user terminal side and is used for establishing a virtual local area network tunnel so that the NAS service node and the user terminal are positioned in the same large two-layer network, and the user terminal can access the NAS service under the large two-layer network; and the NAS service node and the user terminal in the same large two-layer network are positioned in the same network segment. The application has the advantages of improving the network rate and reducing the network delay.

Description

NAS服务系统、实现方法、电子设备及存储介质NAS service system, implementation method, electronic equipment and storage medium

技术领域technical field

本申请涉及网络通信技术领域,尤其涉及一种NAS服务系统、实现方法、电子设备及存储介质。The present application relates to the technical field of network communication, and in particular to a NAS service system, an implementation method, electronic equipment, and a storage medium.

背景技术Background technique

随着各个领域所产生数据的爆炸式增长,急需一种存储数据的物理介质具有大容量的存储空间和安全性,并要具有非常快的传输速率,以确保整个数据资料的安全、快速存取。With the explosive growth of data in various fields, there is an urgent need for a physical medium for storing data with large storage space and security, and a very fast transmission rate to ensure the safe and fast access of the entire data. .

基于此,现有技术提供了NAS(Network Attached Storage,网络附属存储),其是连接在网络上,具备资料存储功能的装置,因此也称为“网络存储器”。它是一种专用数据存储服务器,是家庭的数据中心,为家庭提供多种功能服务,目前NAS主要有以下两种:第一种是本地NAS,其基于物理设备实现基本服务和功能,家庭用户需要购买NAS硬件设备和存储硬盘,在家庭宽带环境中搭建NAS服务平台;第二种是基于公有云或者私有云实现的、面向企业或者个人用户提供部分NAS功能的网络存储服务,它主要向互联网用户提供文件全生命周期管理,以客户端的形式向用户提供服务。Based on this, the prior art provides NAS (Network Attached Storage, Network Attached Storage), which is a device connected to a network and capable of storing data, so it is also called "network storage". It is a dedicated data storage server, which is the data center of the family and provides a variety of functional services for the family. At present, there are mainly two types of NAS: the first is local NAS, which realizes basic services and functions based on physical equipment, and home users It is necessary to purchase NAS hardware devices and storage hard disks to build a NAS service platform in a home broadband environment; the second is based on public cloud or private cloud, and provides some NAS functions for enterprises or individual users. Users provide full life cycle management of files and provide services to users in the form of clients.

现有的本地NAS具有以下缺陷:(1)使用复杂,需要具备一定的IT技术基础去搭建NAS服务;(2)家庭用户需要购买NAS主机和监控级别以上的存储硬盘,价格非常高,成本巨大;(3)为了实现信息共享,需要厂商云端进行服务支撑,因此带宽速率得不到保障。第二种方式可以克服本地NAS的前两个缺陷,却无法改善第三个缺陷并产生了新的技术问题。以公有云中的互联网网盘为例进行如下分析:互联网网盘缺乏局域网特性和相应的软件能力,传输速率得不到保障,延迟比较大,功能受限,使用户体验差。The existing local NAS has the following defects: (1) It is complicated to use and requires a certain IT technology foundation to build NAS services; (2) Home users need to purchase NAS hosts and storage hard drives above the monitoring level, which are very expensive and costly ; (3) In order to realize information sharing, the vendor's cloud is required for service support, so the bandwidth rate cannot be guaranteed. The second way can overcome the first two deficiencies of local NAS, but it cannot improve the third one and creates new technical problems. Taking the Internet network disk in the public cloud as an example, the following analysis is carried out: the Internet network disk lacks LAN features and corresponding software capabilities, the transmission rate cannot be guaranteed, the delay is relatively large, and the functions are limited, which makes the user experience poor.

发明内容Contents of the invention

本申请提供了一种NAS服务系统、实现方法、电子设备及存储介质,用以解决现有技术中基于云的网络存储服务存在的网络速率低、网络延迟大的技术问题。The present application provides a NAS service system, implementation method, electronic equipment and storage medium, which are used to solve the technical problems of low network speed and large network delay in cloud-based network storage services in the prior art.

根据本申请的第一方面,提供了一种NAS服务系统,包括:网络附属存储NAS服务节点和家庭网关;According to the first aspect of the present application, a NAS service system is provided, including: a network attached storage NAS service node and a home gateway;

所述NAS服务节点位于边缘云资源池内,用于提供NAS业务;The NAS service node is located in the edge cloud resource pool and is used to provide NAS services;

所述家庭网关部署于用户终端侧,用于建立虚拟局域网隧道,以使所述NAS服务节点和所述用户终端处于同一大二层网络,并在所述大二层网络下实现所述用户终端对所述NAS业务的访问;其中,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段。The home gateway is deployed on the user terminal side, and is used to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network, and the user terminal is implemented under the large layer 2 network. Access to the NAS service; wherein, the NAS service node and the user terminal in the same large layer 2 network are in the same network segment.

进一步的,所述NAS服务节点包括控制平台;Further, the NAS service node includes a control platform;

所述控制平台,用于控制所述家庭网关建立所述虚拟局域网隧道。The control platform is configured to control the home gateway to establish the virtual local area network tunnel.

进一步的,所述控制平台包括管理中心模块和虚拟专用网络VPN服务模块,其中:Further, the control platform includes a management center module and a virtual private network VPN service module, wherein:

所述管理中心模块,用于接收用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;The management center module is configured to receive a NAS service subscription request from a user terminal, and start a service activation process based on the NAS service subscription request;

所述VPN服务模块,用于在所述业务开通流程中,与所述家庭网关进行交互通信,并在所述家庭网关成功建立所述虚拟局域网隧道之后,实现从所述用户终端到所述NAS服务节点的网络打通,以使所述NAS服务节点和所述用户终端处于同一大二层网络。The VPN service module is configured to interactively communicate with the home gateway during the service provisioning process, and after the home gateway successfully establishes the virtual local area network tunnel, realize the communication from the user terminal to the NAS The network of the service node is opened, so that the NAS service node and the user terminal are in the same large layer 2 network.

进一步的,所述控制平台还包括业务中心模块,所述NAS服务节点还包括与所述业务中心模块相连的存储模块;Further, the control platform also includes a business center module, and the NAS service node also includes a storage module connected to the business center module;

所述业务中心模块,用于接收用户终端的NAS业务访问请求,并通过调用所述存储模块的方式向所述用户终端提供与NAS业务访问请求对应的存储资源。The service center module is configured to receive a NAS service access request from a user terminal, and provide the user terminal with storage resources corresponding to the NAS service access request by invoking the storage module.

进一步的,所述家庭网关包括插件;Further, the home gateway includes a plug-in;

所述插件内置于所述家庭网关中,用于接收第一配置请求,并基于所述第一配置请求与所述VPN服务模块进行交互通信,以建立所述虚拟局域网隧道。The plug-in is built in the home gateway, and is used for receiving a first configuration request, and interactively communicating with the VPN service module based on the first configuration request, so as to establish the virtual local area network tunnel.

进一步的,所述的NAS服务系统,还包括:设置在所述NAS服务节点和所述家庭网关之间的插件管理平台;Further, the NAS service system further includes: a plug-in management platform set between the NAS service node and the home gateway;

所述插件管理平台的一端与所述管理中心模块相连,用于在所述业务开通流程中,接收所述管理中心模块下发的业务开通请求;One end of the plug-in management platform is connected to the management center module, and is used for receiving a service activation request issued by the management center module during the service activation process;

所述插件管理平台的另一端与所述插件相连,用于保持与所述插件连接,并在接收到所述业务开通请求之后,向所述插件下发所述第一配置请求。The other end of the plug-in management platform is connected to the plug-in for maintaining connection with the plug-in, and sending the first configuration request to the plug-in after receiving the service activation request.

进一步的,所述插件管理平台,还用于通过下发第二配置请求的方式实现所述插件的全生命周期管理;其中,所述第二配置请求的类型区别于所述第一配置请求的类型。Further, the plug-in management platform is also configured to implement the full lifecycle management of the plug-in by issuing a second configuration request; wherein, the type of the second configuration request is different from that of the first configuration request. type.

根据本申请的第二方面,提供了一种NAS服务实现方法,应用于NAS服务系统中的控制平台,包括:According to the second aspect of the present application, a method for realizing NAS service is provided, which is applied to the control platform in the NAS service system, including:

控制家庭网关建立虚拟局域网隧道,以使NAS服务节点和用户终端处于同一大二层网络;其中,所述家庭网关部署于所述用户终端侧,所述NAS服务节点位于边缘云资源池内,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段;Control the home gateway to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network; wherein, the home gateway is deployed on the user terminal side, the NAS service node is located in the edge cloud resource pool, and the NAS service nodes and user terminals in the same large layer 2 network are in the same network segment;

在所述大二层网络下,控制所述用户终端对于NAS业务的访问;其中,所述NAS业务由所述NAS服务节点提供。Under the large layer 2 network, control the user terminal's access to NAS services; wherein, the NAS services are provided by the NAS service node.

进一步的,所述控制家庭网关建立虚拟局域网隧道,包括:Further, said controlling the home gateway to establish a virtual local area network tunnel includes:

接收所述用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;receiving a NAS service subscription request from the user terminal, and starting a service activation process based on the NAS service subscription request;

向插件管理平台下发业务开通请求,以使所述插件管理平台基于所述业务开通请求向插件下发第一配置请求;Sending a service activation request to the plug-in management platform, so that the plug-in management platform sends a first configuration request to the plug-in based on the service activation request;

控制所述家庭网关基于所述第一配置请求建立虚拟局域网隧道。controlling the home gateway to establish a virtual local area network tunnel based on the first configuration request.

进一步的,所述控制所述用户终端对于NAS业务的访问,包括:Further, the controlling the access of the user terminal to the NAS service includes:

接收所述用户终端发送的NAS业务访问请求;receiving a NAS service access request sent by the user terminal;

通过调用存储模块的方式向所述用户终端提供与所述NAS业务访问请求对应的存储资源。Providing storage resources corresponding to the NAS service access request to the user terminal by calling a storage module.

根据本申请的第三方面,提供了一种电子设备,包括:至少一个处理器和存储器;According to a third aspect of the present application, an electronic device is provided, including: at least one processor and a memory;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第二方面所述的NAS服务实现方法。The at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the NAS service implementation method described in the second aspect above.

根据本申请的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如上第二方面所述的NAS服务实现方法。According to the fourth aspect of the present application, there is provided a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the above-mentioned second aspect when executed by a processor. The implementation method of the NAS service described above.

本申请提供一种NAS服务系统、实现方法、电子设备及存储介质,包括:网络附属存储NAS服务节点和家庭网关;所述NAS服务节点位于边缘云资源池内,用于提供NAS业务;所述家庭网关部署于用户终端侧,用于建立虚拟局域网隧道,以使所述NAS服务节点和所述用户终端处于同一大二层网络,并在所述大二层网络下实现所述用户终端对所述NAS业务的访问;其中,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段。与公有云、私有云相比,边缘云具有靠近用户终端的特性,因此本申请利用该特性将NAS服务节点设置在边缘云资源池内,以使NAS服务节点具有靠近用户终端的特性,同时本申请利用家庭网关建立虚拟局域网隧道,能够在大二层网络下快速实现用户终端对NAS服务节点提供的NAS业务的访问,因此本申请具有提高网络速率,降低网络延迟的优势。The present application provides a NAS service system, implementation method, electronic equipment, and storage medium, including: a network attached storage NAS service node and a home gateway; the NAS service node is located in an edge cloud resource pool and is used to provide NAS services; the home The gateway is deployed on the user terminal side, and is used to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network, and the user terminal can communicate with the user terminal under the large layer 2 network. NAS service access; wherein, the NAS service node and the user terminal in the same large layer 2 network are in the same network segment. Compared with the public cloud and private cloud, the edge cloud has the characteristic of being close to the user terminal, so this application uses this characteristic to set the NAS service node in the edge cloud resource pool, so that the NAS service node has the characteristic of being close to the user terminal. At the same time, this application Using the home gateway to establish a virtual local area network tunnel can quickly realize the user terminal's access to the NAS service provided by the NAS service node under the large layer 2 network. Therefore, this application has the advantages of increasing the network speed and reducing the network delay.

应当理解,本部分所描述的内容并非旨在标识本申请的实施例的关键或重要特征,也不用于限制本申请的范围。本申请的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will be easily understood from the following description.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请实施例涉及的应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of the present application;

图2为本申请实施例提供的一种NAS服务系统的结构示意图;FIG. 2 is a schematic structural diagram of a NAS service system provided by an embodiment of the present application;

图3为本申请实施例提供的另一种NAS服务系统的结构示意图;FIG. 3 is a schematic structural diagram of another NAS service system provided by an embodiment of the present application;

图4为本申请实施例提供的一种NAS服务系统实现方法的流程示意图;FIG. 4 is a schematic flowchart of a method for implementing a NAS service system provided in an embodiment of the present application;

图5为本申请实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application.

为了便于理解,首先对本申请实施例的应用场景进行介绍。For ease of understanding, an application scenario of the embodiment of the present application is firstly introduced.

图1为本申请实施例涉及的应用场景的示意图。如图1所示,本实施例的应用场景涉及用户终端和云存储系统之间的通信。针对于现有技术,用户终端需要经过公网,或者多个复杂链路的路由器才能实现对云存储系统内已有资源的访问。但是该方式容易导致网络速率低、网络延迟大。FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of the present application. As shown in FIG. 1 , the application scenario of this embodiment involves communication between a user terminal and a cloud storage system. In view of the prior art, the user terminal needs to pass through the public network or routers with multiple complex links to realize the access to the existing resources in the cloud storage system. However, this method easily leads to low network speed and large network delay.

为了解决上述技术问题中的至少一种,本申请实施例提供了一种NAS服务系统、实现方法、电子设备及存储介质,应用于网络通信领域,用以解决上述云存储系统网络速率低、网络延迟大的技术问题。In order to solve at least one of the above technical problems, the embodiment of the present application provides a NAS service system, implementation method, electronic equipment and storage medium, which are applied in the field of network communication to solve the problem of low network speed and network Technical issues with large delays.

本申请的整体发明构思如下:基于家庭网关提供固网宽带,利用边缘云资源池中NAS服务节点距离用户终端近的网络特性,将NAS服务节点和所述用户终端配置到同一大二层网络中进行互联互通,与第一种本地NAS相比,本申请无需在用户终端侧配置NAS硬件设备,因此能够解决本地NAS具有的成本高、操作困难等问题。与第二种云存储系统相比,本申请中的边缘云区别于公有云和私有云的特性,其将资源所处的主机放在小区的某个机房里,而公有云中的资源所处的主机可能跨小区、跨城市存在,因此无论是中间线路、还是经过的带宽速率、网络延迟,二者都不是一个量级的,因此本申请能够解决互联网网盘的传输速率不能保障、带宽和功能受限的问题,实现NAS基础功能的同时,极大的便利了用户对NAS系统的使用体验。本申请所提供的技术方案最终使网络带宽、服务质量、功能特性、使用成本都有了很大的改善。The overall inventive concept of this application is as follows: based on the home gateway, fixed network broadband is provided, and the NAS service node and the user terminal are configured in the same large layer-2 network by utilizing the network characteristics that the NAS service node in the edge cloud resource pool is close to the user terminal. For interconnection and intercommunication, compared with the first type of local NAS, this application does not need to configure NAS hardware devices on the user terminal side, so it can solve the problems of high cost and difficult operation of local NAS. Compared with the second type of cloud storage system, the edge cloud in this application is different from the characteristics of public cloud and private cloud. It puts the host where the resources are located in a computer room in the community, and the resources in the public cloud are located in The hosts may exist across communities and cities, so neither the intermediate line nor the passed bandwidth rate nor network delay is of the same order of magnitude. Therefore, this application can solve the problem of the inability to guarantee the transmission rate of the Internet network disk, bandwidth and network delay. The problem of limited functions, while realizing the basic functions of NAS, greatly facilitates the user's experience of using the NAS system. The technical solution provided by this application finally greatly improves network bandwidth, service quality, functional characteristics, and use cost.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below in conjunction with the accompanying drawings.

图2为本申请实施例提供的一种NAS服务系统的结构示意图。本实施例的NAS服务系统可以为软件和/或硬件的形式。如图2所示,本实施例提供的NAS服务系统,包括:网络附属存储NAS服务节点和家庭网关;FIG. 2 is a schematic structural diagram of a NAS service system provided by an embodiment of the present application. The NAS service system in this embodiment may be in the form of software and/or hardware. As shown in Figure 2, the NAS service system provided by this embodiment includes: a network attached storage NAS service node and a home gateway;

所述NAS服务节点位于边缘云资源池内,用于提供NAS业务;The NAS service node is located in the edge cloud resource pool and is used to provide NAS services;

所述家庭网关部署于用户终端侧,用于建立虚拟局域网隧道,以使所述NAS服务节点和所述用户终端处于同一大二层网络,并在所述大二层网络下实现所述用户终端对所述NAS业务的访问;其中,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段。The home gateway is deployed on the user terminal side, and is used to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network, and the user terminal is implemented under the large layer 2 network. Access to the NAS service; wherein, the NAS service node and the user terminal in the same large layer 2 network are in the same network segment.

应理解,由于NAS服务节点位于边缘云资源池内,因此NAS服务节点可以称为边缘云资源池NAS服务节点。本申请实施例对NAS服务节点的具体结构不做具体限制。家庭网关是运营商的终端设备,能够实现用户终端的宽带上网功能,因此可以理解为运营商网关,简称为网关。家庭网关与用户终端一一对应,也就是说,每个用户终端均对应一个家庭网关,并且本申请实施例对用户终端的数量不做具体限制。用户终端可以指手机、平板、电脑等智能设备,并且家庭网关和用户终端之间可以通过WIFI连接。上述虚拟局域网隧道可以指VLAN(Virtual Local Area Network,虚拟局域网)隧道,用于提供VLAN协议;还可以指VxLAN(Visual eXtensible Local Area Network,虚拟扩展本地局域网)隧道,用于提供VxLAN协议。大二层网络自身具有以下优势:能够实现虚拟机的大范围甚至跨地域的动态迁移,将VM(Virtual Machine,虚拟机)迁移可能涉及的所有服务器都纳入同一个二层网络域,能够实现VM的大范围无障碍迁移。因此本申请实施例基于大二层网络的上述优势,可以在同一大二层网络内实现用户终端对所述NAS业务的快速访问,进而保障该NAS服务系统具有提高网络速率,降低网络延迟的优势。It should be understood that since the NAS service node is located in the edge cloud resource pool, the NAS service node may be called an edge cloud resource pool NAS service node. The embodiment of the present application does not specifically limit the specific structure of the NAS service node. A home gateway is a terminal device of an operator, which can realize the broadband Internet access function of a user terminal, so it can be understood as an operator gateway, referred to as a gateway for short. There is a one-to-one correspondence between the home gateway and the user terminals, that is, each user terminal corresponds to one home gateway, and the embodiment of the present application does not specifically limit the number of user terminals. The user terminal may refer to smart devices such as mobile phones, tablets, and computers, and the home gateway and the user terminal may be connected through WIFI. The virtual local area network tunnel above can refer to a VLAN (Virtual Local Area Network, virtual local area network) tunnel, which is used to provide the VLAN protocol; it can also refer to a VxLAN (Visual eXtensible Local Area Network, virtual extended local area network) tunnel, which is used to provide the VxLAN protocol. The large layer-2 network itself has the following advantages: it can realize the dynamic migration of virtual machines in a large range or even across regions, incorporate all servers that may be involved in VM (Virtual Machine, virtual machine) migration into the same layer-2 network domain, and realize VM Large-scale barrier-free migration. Therefore, based on the above-mentioned advantages of the large layer 2 network, the embodiment of the present application can realize fast access of the user terminal to the NAS service in the same large layer 2 network, thereby ensuring that the NAS service system has the advantages of increasing network speed and reducing network delay .

在上述实施例的基础上,下面结合具体的实施例对本申请技术方案进行更详细的描述。On the basis of the above embodiments, the technical solution of the present application will be described in more detail below in conjunction with specific embodiments.

一种可能的实现方式中,如图3所示,所述NAS服务节点包括控制平台;所述控制平台,用于控制所述家庭网关建立所述虚拟局域网隧道。In a possible implementation manner, as shown in FIG. 3 , the NAS service node includes a control platform; the control platform is configured to control the home gateway to establish the virtual local area network tunnel.

在实际应用中,家庭网关并不是主动进行虚拟局域网隧道建立的,而是受控制平台的控制。另外,本申请实施例对构成控制平台的模块不做具体限定。In practical application, the home gateway does not actively establish the virtual local area network tunnel, but is controlled by the control platform. In addition, the embodiment of the present application does not specifically limit the modules constituting the control platform.

一种可能的实现方式中,如图3所示,所述控制平台包括管理中心模块和虚拟专用网络VPN服务模块,其中:In a possible implementation, as shown in Figure 3, the control platform includes a management center module and a virtual private network VPN service module, wherein:

所述管理中心模块,用于接收用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;The management center module is configured to receive a NAS service subscription request from a user terminal, and start a service activation process based on the NAS service subscription request;

在实际应用中,用户可以在用户终端在公网下通过APP(Application,应用程序)的方式或者通过WEB(World Wide Web,互联网)的方式向NAS服务节点的管理中心模块发送NAS业务订购请求,因此本申请实施例对NAS业务订购请求的具体发送方式并不做具体限定。进一步的,NAS业务订购请求可以包括但不限于:用户终端作为业务订购方的账号、密码、IP地址、所需开通的目标业务等。进一步的,业务开通流程包括但不限于:对NAS业务订购请求进行鉴权、根据目标业务向用户终端发送对应的收费请求、将用户终端的付费信息以及用户终端的一些属性信息(例如:账号、密码)形成一个订单信息、根据订单信息授权实现用户终端对大二层网络的接入,最终实现目标业务的开通。在上述业务开通流程中,管理中心模块可以依据AAA功能实现上述业务开通流程,其中,AAA功能是Authentication(认证)、Authorization(授权)和Accounting(计费)的简称,提供了认证、授权、计费3种安全功能。也就是说,在订购完成后,经过一系列操作,NAS服务节点最终授权用户终端NAS的各类应用服务,以使用户终端可以访问业务中心模块提供的各类NAS软件及与NAS业务访问请求对应的存储资源。In practical applications, the user can send a NAS service order request to the management center module of the NAS service node through the APP (Application, application program) mode or the WEB (World Wide Web, Internet) mode on the user terminal under the public network, Therefore, the embodiment of the present application does not specifically limit the specific sending manner of the NAS service subscription request. Further, the NAS service subscription request may include but not limited to: account number, password, IP address of the user terminal as the service subscriber, target services to be activated, and the like. Further, the service provisioning process includes but is not limited to: authenticating the NAS service subscription request, sending a corresponding charging request to the user terminal according to the target service, sending the payment information of the user terminal and some attribute information of the user terminal (for example: account number, Password) to form an order information, according to the order information authorization to realize the access of the user terminal to the large two-layer network, and finally realize the opening of the target service. In the above-mentioned service opening process, the management center module can realize the above-mentioned service opening process according to the AAA function, wherein, the AAA function is the abbreviation of Authentication (authentication), Authorization (authorization) and Accounting (accounting), providing authentication, authorization, accounting 3 security features. That is to say, after the order is completed, after a series of operations, the NAS service node finally authorizes various application services of the user terminal NAS, so that the user terminal can access various NAS software provided by the business center module and correspond to NAS service access requests storage resources.

所述VPN服务模块,用于在所述业务开通流程中,与所述家庭网关进行交互通信,并在所述家庭网关成功建立所述虚拟局域网隧道之后,实现从所述用户终端到所述NAS服务节点的网络打通,以使所述NAS服务节点和所述用户终端处于同一大二层网络。The VPN service module is configured to interactively communicate with the home gateway during the service provisioning process, and after the home gateway successfully establishes the virtual local area network tunnel, realize the communication from the user terminal to the NAS The network of the service node is opened, so that the NAS service node and the user terminal are in the same large layer 2 network.

应理解,在业务开通流程中,需要利用VPN服务模块与家庭网关进行交互通信,以实现从所述用户终端到所述NAS服务节点的网络打通。本申请对交互通信的具体内容不做具体限定。It should be understood that during the service provisioning process, it is necessary to use the VPN service module to perform interactive communication with the home gateway, so as to realize network connection from the user terminal to the NAS service node. This application does not specifically limit the specific content of the interactive communication.

一种可能的实现方式中,如图3所示,所述控制平台还包括业务中心模块,所述NAS服务节点还包括与所述业务中心模块相连的存储模块;In a possible implementation manner, as shown in FIG. 3, the control platform further includes a business center module, and the NAS service node further includes a storage module connected to the business center module;

所述业务中心模块,用于接收用户终端的NAS业务访问请求,并通过调用所述存储模块的方式向所述用户终端提供与NAS业务访问请求对应的存储资源。The service center module is configured to receive a NAS service access request from a user terminal, and provide the user terminal with storage resources corresponding to the NAS service access request by invoking the storage module.

本实施例中,在业务开通流程结束后,开始进行业务/资源访问流程,NAS业务访问请求可以包括资源地址、以及对资源的下载、上传或收藏等不同权限的操作方式,当操作方式为下载时,业务中心模块通过调用存储模块的方式向用户终端提供与NAS业务访问请求对应的存储资源;当操作方式为上传时,业务中心模块通过调用存储模块的方式向用户终端提供与NAS业务访问请求对应的存储地址;当操作方式为收藏时,业务中心模块通过调用存储模块的方式向用户终端提供与NAS业务访问请求对应的存储资源标记功能。In this embodiment, after the service activation process ends, the service/resource access process starts. The NAS service access request may include the resource address, and the operation mode of different permissions such as downloading, uploading or collecting resources. When the operation mode is download When the operation mode is upload, the service center module provides the user terminal with the storage resource corresponding to the NAS service access request by calling the storage module; when the operation mode is upload, the service center module provides the user terminal with the NAS service access request The corresponding storage address; when the operation mode is collection, the service center module provides the user terminal with the storage resource marking function corresponding to the NAS service access request by calling the storage module.

结合图3可知,NAS服务节点,此功能实体包含管理中心模块、业务中心模块、VPN服务模块、存储模块四个功能实体,是家庭云NAS(即上述NAS服务系统)的承载者。由于边缘云要求本地IDC(Internet Data Center,数据中心)就地接入,因此极大的满足了家庭云NAS的功能感知需求。其中,管理中心模块提供了家庭云NAS的用户接入、AAA功能等业务开通和管理能力;业务中心模块提供了NAS的流媒体服务、AI相册、文件存储下载等业务能力;VPN服务模块能够实现从家庭网关到NAS服务节点的网络打通,构建大二层局域网拓扑结构,以使用户终端能够直接访问业务中心模块提供的软件服务;存储模块可以通过S3接口与业务中心模块实现对接,面向用户终端提供存储资源。上述S3接口可以替换为其他接口,因此本实施例对接口类型不做具体限制。It can be seen from Fig. 3 that the NAS service node, this functional entity includes four functional entities of management center module, business center module, VPN service module, and storage module, and is the bearer of the family cloud NAS (that is, the above-mentioned NAS service system). Since the edge cloud requires local IDC (Internet Data Center, data center) access, it greatly meets the function perception requirements of the home cloud NAS. Among them, the management center module provides the user access of home cloud NAS, AAA function and other business activation and management capabilities; the business center module provides NAS streaming media service, AI photo album, file storage and download and other business capabilities; the VPN service module can realize The network from the home gateway to the NAS service node is connected to build a large two-layer LAN topology, so that user terminals can directly access the software services provided by the business center module; the storage module can be connected to the business center module through the S3 interface, facing user terminals Provide storage resources. The foregoing S3 interface can be replaced with other interfaces, so this embodiment does not specifically limit the interface type.

一种可能的实现方式中,如图3所示,所述家庭网关包括插件;In a possible implementation manner, as shown in FIG. 3, the home gateway includes a plug-in;

所述插件内置于所述家庭网关中,用于接收第一配置请求,并基于所述第一配置请求与所述VPN服务模块进行交互通信,以建立所述虚拟局域网隧道。本申请实施例对插件的类型、型号不做具体限定。The plug-in is built in the home gateway, and is used for receiving a first configuration request, and interactively communicating with the VPN service module based on the first configuration request, so as to establish the virtual local area network tunnel. The embodiment of the present application does not specifically limit the type and model of the plug-in.

应理解,第一配置请求包括以下至少之一:IP地址、VXLAN的属性信息和端口号。插件在出厂前内置在家庭网关的固件中,运行在网关的操作系统上,能够实现家庭网关和NAS服务节点的二层网络穿透,使运营商边缘云资源池内的NAS服务节点和家庭内部网络(即用户终端所处的网络)处于同一个网段(即同一个虚拟局域网内),拉通NAS服务节点中的业务中心模块和用户终端之间的互联互通,实现了基本的网络连接功能。本申请中的网段可以根据实际需要进行配置。It should be understood that the first configuration request includes at least one of the following: IP address, attribute information of VXLAN, and port number. The plug-in is built into the firmware of the home gateway before leaving the factory and runs on the operating system of the gateway. It can realize the penetration of the two-layer network between the home gateway and the NAS service node, and make the NAS service node in the operator's edge cloud resource pool and the home internal network (that is, the network where the user terminal is located) is in the same network segment (that is, in the same virtual local area network), and the interconnection and intercommunication between the business center module in the NAS service node and the user terminal is realized to realize the basic network connection function. The network segments in this application can be configured according to actual needs.

如图3所示,本申请实施例主要有四个功能实体,除了包含上述的家庭网关和NAS服务节点,还包括:用户终端和插件管理平台。其中用户终端可以称为家庭用户终端。一种可能的实现方式中,如图3所示,所述NAS服务系统还包括:设置在所述NAS服务节点和所述家庭网关之间的插件管理平台;As shown in FIG. 3 , the embodiment of the present application mainly includes four functional entities, including the above-mentioned home gateway and NAS service node, as well as user terminals and plug-in management platforms. The user terminal may be called a home user terminal. In a possible implementation manner, as shown in FIG. 3, the NAS service system further includes: a plug-in management platform set between the NAS service node and the home gateway;

所述插件管理平台的一端与所述管理中心模块相连,用于在所述业务开通流程中,接收所述管理中心模块下发的业务开通请求;One end of the plug-in management platform is connected to the management center module, and is used for receiving a service activation request issued by the management center module during the service activation process;

所述插件管理平台的另一端与所述插件相连,用于保持与所述插件连接,并在接收到所述业务开通请求之后,向所述插件下发所述第一配置请求。插件可以通过TCP连接方式与插件管理平台进行连接,也可以通过其他连接方式,本申请对具体的连接方式不做具体的限定。The other end of the plug-in management platform is connected to the plug-in for maintaining connection with the plug-in, and sending the first configuration request to the plug-in after receiving the service activation request. The plug-in can be connected to the plug-in management platform through a TCP connection, or through other connection methods. This application does not specifically limit the specific connection method.

插件管理平台用于实现对插件的配置,本实施例对第一配置请求中的内容不做具体限制。此外,该插件管理平台还用于实现对插件的管理,具体的,一种可能的实现方式中,所述插件管理平台,还用于通过下发第二配置请求的方式实现所述插件的全生命周期管理;其中,所述第二配置请求的类型区别于所述第一配置请求的类型。全生命周期管理包括以下至少之一:安装、卸载、更新和修复。需要注意的是,下发第二配置请求之前,插件在家庭网关上电运行后,主动发起注册请求到插件管理平台。The plug-in management platform is used to configure the plug-ins, and this embodiment does not specifically limit the content in the first configuration request. In addition, the plug-in management platform is also used to realize the management of the plug-ins. Specifically, in a possible implementation manner, the plug-in management platform is also used to realize the full configuration of the plug-ins by issuing a second configuration request. Life cycle management; wherein, the type of the second configuration request is different from the type of the first configuration request. Full life cycle management includes at least one of the following: installation, uninstallation, update and repair. It should be noted that before sending the second configuration request, the plug-in initiates a registration request to the plug-in management platform after the home gateway is powered on and running.

总的来说,插件管理平台能够实现插件的配置管理功能,家庭网关上电运行后,插件主动发起注册请求到插件管理平台,同插件管理平台保持TCP连接,插件管理平台能够实现插件的卸载、更新、安装、修复等全生命周期管理。In general, the plug-in management platform can realize the configuration management function of the plug-in. After the home gateway is powered on and running, the plug-in initiates a registration request to the plug-in management platform and maintains a TCP connection with the plug-in management platform. The plug-in management platform can realize the uninstallation of the plug-in, Full life cycle management such as updates, installations, and repairs.

本申请实施例基于家庭网关为用户终端提供固网宽带,同步利用边缘云资源池中NAS服务节点距离用户终端近的网络特性,将用户终端和NAS服务节点拉到同一个大二层网络,以使二者之间互联互通。本申请保留现有的家庭网络拓扑结构(用户终端和家庭网关),在此基础上能够有效解决现有NAS实现具有的网络带宽差、网络延迟大的问题。也就是说,本申请的NAS服务的开通和取消均可以使用插件进行实现,通过插件利用VxLAN协议穿透运营商的网络节点BRAS实现大二层网络的打通,使NAS服务系统的配置和调度比较灵活。进一步的,本申请利用NAS服务节点部署距离用户终端近的网络特性,可以实现硬件NAS的网络体验。The embodiment of this application is based on the home gateway providing fixed network broadband for the user terminal, synchronously utilizing the network characteristics that the NAS service node in the edge cloud resource pool is close to the user terminal, and pulling the user terminal and the NAS service node to the same large two-layer network, so as to make the two interconnected. This application retains the existing home network topology (user terminal and home gateway), and on this basis can effectively solve the problems of poor network bandwidth and large network delay in existing NAS implementations. That is to say, both the activation and cancellation of the NAS service of this application can be implemented using a plug-in, through which the plug-in uses the VxLAN protocol to penetrate the operator's network node BRAS to realize the connection of a large two-layer network, so that the configuration and scheduling of the NAS service system can be compared flexible. Furthermore, this application utilizes the network characteristic that the NAS service node is deployed close to the user terminal, so as to realize the network experience of the hardware NAS.

图4为本申请实施例提供的一种NAS服务系统实现方法的流程示意图。如图4所示,本实施例的方法,应用于NAS服务系统中的控制平台,包括:FIG. 4 is a schematic flowchart of a method for implementing a NAS service system provided by an embodiment of the present application. As shown in Figure 4, the method of this embodiment is applied to the control platform in the NAS service system, including:

S401:控制家庭网关建立虚拟局域网隧道,以使NAS服务节点和用户终端处于同一大二层网络;其中,所述家庭网关部署于所述用户终端侧,所述NAS服务节点位于边缘云资源池内,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段;S401: Control the home gateway to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network; wherein, the home gateway is deployed on the side of the user terminal, and the NAS service node is located in the edge cloud resource pool, The NAS service node and the user terminal in the same large two-layer network are in the same network segment;

S402:在所述大二层网络下,控制所述用户终端对于NAS业务的访问;其中,所述NAS业务由所述NAS服务节点提供。S402: Under the large Layer 2 network, control the user terminal's access to NAS services; wherein, the NAS services are provided by the NAS service node.

应理解,本申请实施例可以通过执行S401和S402的方式,解决互联网网盘的传输速率不能保障、带宽和功能受限的问题,其中,S401和S402的具体步骤如下:It should be understood that the embodiment of the present application can solve the problem that the transmission rate of the Internet network disk cannot be guaranteed, and the bandwidth and functions are limited by performing S401 and S402. The specific steps of S401 and S402 are as follows:

一种可能的实现方式中,所述S401中的控制家庭网关建立虚拟局域网隧道,包括:In a possible implementation manner, the controlling home gateway in S401 establishes a virtual local area network tunnel, including:

S501:接收所述用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;S501: Receive a NAS service subscription request from the user terminal, and start a service activation process based on the NAS service subscription request;

S502:向插件管理平台下发业务开通请求,以使所述插件管理平台基于所述业务开通请求向插件下发第一配置请求;S502: Send a service activation request to the plug-in management platform, so that the plug-in management platform sends a first configuration request to the plug-in based on the service activation request;

S503:控制所述家庭网关基于所述第一配置请求建立虚拟局域网隧道。S503: Control the home gateway to establish a virtual local area network tunnel based on the first configuration request.

在本申请实施例中,不同类型的NAS业务对应不同的交易金额,NAS业务的具体类型根据实际需求进行设置,例如:会员包月、会员包年等。In the embodiment of this application, different types of NAS services correspond to different transaction amounts, and the specific types of NAS services are set according to actual needs, for example: monthly membership subscription, membership subscription annual subscription, etc.

一种可能的实现方式中,所述S402中的控制所述用户终端对于NAS业务的访问,包括:In a possible implementation manner, the control of the user terminal's access to the NAS service in S402 includes:

S601:接收所述用户终端发送的NAS业务访问请求;S601: Receive a NAS service access request sent by the user terminal;

S602:通过调用存储模块的方式向所述用户终端提供与所述NAS业务访问请求对应的资源。S602: Provide the resource corresponding to the NAS service access request to the user terminal by calling a storage module.

综上,用户终端可以通过APP或者WEB方式向边缘云资源池的管理中心模块发送NAS业务订购请求,管理中心模块在接收到上述业务订购请求后进行鉴权、收费、授权等操作,并开启业务开通流程,向插件管理平台发起业务开通请求,插件管理平台接收到业务开通请求后向插件下发第一配置请求(或称为VPN配置),插件接收到第一配置请求后向边缘云资源池的VPN服务模块请求创建VxLAN隧道,隧道创建成功后,边缘云资源池NAS服务节点中的管理中心模块、业务中心模块、存储模块及用户终端处于一个大二层的局域网内,完成了业务开通流程,进而实现了网络打通。用户终端可以访问边缘云资源池的业务中心模块,业务中心模块通过S3接口调用存储模块向用户终端提供多媒体中心、文件存储、共享协同、离线下载、NAS各类应用软件等基础云NAS服务。本申请实施例利用边缘云靠近用户终端的网络特性,有效解决带宽、网络延迟的问题,使用户使用NAS服务没有网络延迟感知。To sum up, the user terminal can send a NAS service subscription request to the management center module of the edge cloud resource pool through APP or WEB. The activation process initiates a service activation request to the plug-in management platform. After receiving the service activation request, the plug-in management platform sends the first configuration request (or VPN configuration) to the plug-in. After receiving the first configuration request, the plug-in sends a request to the edge cloud resource pool The VPN service module requests to create a VxLAN tunnel. After the tunnel is successfully created, the management center module, business center module, storage module, and user terminal in the NAS service node of the edge cloud resource pool are in a large two-layer LAN, and the service activation process is completed. , thus achieving network connectivity. The user terminal can access the business center module of the edge cloud resource pool, and the business center module calls the storage module through the S3 interface to provide the user terminal with basic cloud NAS services such as multimedia center, file storage, shared collaboration, offline download, and various NAS application software. The embodiment of the present application utilizes the network characteristic that the edge cloud is close to the user terminal to effectively solve the problems of bandwidth and network delay, so that the user does not have the perception of network delay when using NAS services.

本实施例提供的NAS服务系统实现方法基于上述NAS服务系统实现,因此其实现原理和技术效果类似,此处不做赘述。The method for implementing the NAS service system provided in this embodiment is implemented based on the above-mentioned NAS service system, so its implementation principles and technical effects are similar, and details are not described here.

本申请的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of this application, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved are all in compliance with relevant laws and regulations, and do not violate public order and good customs.

根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present application, the present application also provides an electronic device and a readable storage medium.

图5为本申请实施例提供的一种电子设备的结构示意图。该电子设备包括接收器50、发送器51、处理器52和存储器53,由上述部件构成的该电子设备可以用来实施本申请上述几个具体的实施例,此处不再赘述。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a receiver 50, a transmitter 51, a processor 52, and a memory 53. The electronic device composed of the above-mentioned components can be used to implement the above-mentioned several specific embodiments of the present application, which will not be repeated here.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当处理器执行计算机指令时,实现上述实施例中方法中的各个步骤。The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored, and when the processor executes the computer instructions, each step in the method in the foregoing embodiments is implemented.

本申请以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above in this application can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-chip Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.

用于实施本申请的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或电子设备上执行。Program codes for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or electronic device.

在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, Random Access Memory (RAM), Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据电子设备)、或者包括中间件部件的计算系统(例如,应用电子设备)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as data electronics), or a computing system that includes middleware components (e.g., application electronics), or a computing system that includes front-end components (e.g., For example, a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the disclosure of this application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the application can be achieved, no limitation is imposed herein.

上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above specific implementation methods are not intended to limit the protection scope of the present application. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims (11)

1.一种NAS服务系统,其特征在于,包括:网络附属存储NAS服务节点和家庭网关;1. A NAS service system, characterized in that it comprises: a network-attached storage NAS service node and a home gateway; 所述NAS服务节点位于边缘云资源池内,用于提供NAS业务;The NAS service node is located in the edge cloud resource pool and is used to provide NAS services; 所述家庭网关部署于用户终端侧,用于建立虚拟局域网隧道,以使所述NAS服务节点和所述用户终端处于同一大二层网络,并在所述大二层网络下实现所述用户终端对所述NAS业务的访问;其中,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段;The home gateway is deployed on the user terminal side, and is used to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network, and the user terminal is implemented under the large layer 2 network. Access to the NAS service; wherein, the NAS service node and the user terminal in the same large layer 2 network are in the same network segment; 所述NAS服务节点包括控制平台;The NAS service node includes a control platform; 所述控制平台,用于控制所述家庭网关建立所述虚拟局域网隧道。The control platform is configured to control the home gateway to establish the virtual local area network tunnel. 2.根据权利要求1所述的NAS服务系统,其特征在于,所述控制平台包括管理中心模块和虚拟专用网络VPN服务模块,其中:2. The NAS service system according to claim 1, wherein the control platform includes a management center module and a virtual private network (VPN) service module, wherein: 所述管理中心模块,用于接收用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;The management center module is configured to receive a NAS service subscription request from a user terminal, and start a service activation process based on the NAS service subscription request; 所述VPN服务模块,用于在所述业务开通流程中,与所述家庭网关进行交互通信,并在所述家庭网关成功建立所述虚拟局域网隧道之后,实现从所述用户终端到所述NAS服务节点的网络打通,以使所述NAS服务节点和所述用户终端处于同一大二层网络。The VPN service module is configured to interactively communicate with the home gateway during the service provisioning process, and after the home gateway successfully establishes the virtual local area network tunnel, realize the communication from the user terminal to the NAS The network of the service node is opened, so that the NAS service node and the user terminal are in the same large layer 2 network. 3.根据权利要求2所述的NAS服务系统,其特征在于,所述控制平台还包括业务中心模块,所述NAS服务节点还包括与所述业务中心模块相连的存储模块;3. The NAS service system according to claim 2, wherein the control platform further comprises a business center module, and the NAS service node further comprises a storage module connected to the business center module; 所述业务中心模块,用于接收用户终端的NAS业务访问请求,并通过调用所述存储模块的方式向所述用户终端提供与NAS业务访问请求对应的存储资源。The service center module is configured to receive a NAS service access request from a user terminal, and provide the user terminal with storage resources corresponding to the NAS service access request by invoking the storage module. 4.根据权利要求2所述的NAS服务系统,其特征在于,所述家庭网关包括插件;4. The NAS service system according to claim 2, wherein the home gateway includes a plug-in; 所述插件内置于所述家庭网关中,用于接收第一配置请求,并基于所述第一配置请求与所述VPN服务模块进行交互通信,以建立所述虚拟局域网隧道。The plug-in is built in the home gateway, and is used for receiving a first configuration request, and interactively communicating with the VPN service module based on the first configuration request, so as to establish the virtual local area network tunnel. 5.根据权利要求4所述的NAS服务系统,其特征在于,还包括:设置在所述NAS服务节点和所述家庭网关之间的插件管理平台;5. The NAS service system according to claim 4, further comprising: a plug-in management platform arranged between the NAS service node and the home gateway; 所述插件管理平台的一端与所述管理中心模块相连,用于在所述业务开通流程中,接收所述管理中心模块下发的业务开通请求;One end of the plug-in management platform is connected to the management center module, and is used for receiving a service activation request issued by the management center module during the service activation process; 所述插件管理平台的另一端与所述插件相连,用于保持与所述插件连接,并在接收到所述业务开通请求之后,向所述插件下发所述第一配置请求。The other end of the plug-in management platform is connected to the plug-in for maintaining connection with the plug-in, and sending the first configuration request to the plug-in after receiving the service opening request. 6.根据权利要求5所述的NAS服务系统,其特征在于,所述插件管理平台,还用于通过下发第二配置请求的方式实现所述插件的全生命周期管理;其中,所述第二配置请求的类型区别于所述第一配置请求的类型。6. The NAS service system according to claim 5, wherein the plug-in management platform is further configured to implement full life cycle management of the plug-in by issuing a second configuration request; wherein, the first The type of the second configuration request is different from the type of the first configuration request. 7.一种NAS服务实现方法,其特征在于,应用于NAS服务系统中的控制平台,包括:7. A NAS service implementation method, characterized in that it is applied to a control platform in a NAS service system, comprising: 控制家庭网关建立虚拟局域网隧道,以使NAS服务节点和用户终端处于同一大二层网络;其中,所述家庭网关部署于所述用户终端侧,所述NAS服务节点位于边缘云资源池内,所述同一大二层网络内的NAS服务节点和用户终端处于同一网段;Control the home gateway to establish a virtual local area network tunnel, so that the NAS service node and the user terminal are in the same large layer 2 network; wherein, the home gateway is deployed on the user terminal side, the NAS service node is located in the edge cloud resource pool, and the NAS service nodes and user terminals in the same large layer 2 network are in the same network segment; 在所述大二层网络下,控制所述用户终端对于NAS业务的访问;其中,所述NAS业务由所述NAS服务节点提供。Under the large layer 2 network, control the user terminal's access to NAS services; wherein, the NAS services are provided by the NAS service node. 8.根据权利要求7所述的NAS服务实现方法,其特征在于,所述控制家庭网关建立虚拟局域网隧道,包括:8. The NAS service implementation method according to claim 7, wherein said controlling the home gateway to establish a virtual local area network tunnel comprises: 接收所述用户终端的NAS业务订购请求,并基于所述NAS业务订购请求开启业务开通流程;receiving a NAS service subscription request from the user terminal, and starting a service activation process based on the NAS service subscription request; 向插件管理平台下发业务开通请求,以使所述插件管理平台基于所述业务开通请求向插件下发第一配置请求;Sending a service activation request to the plug-in management platform, so that the plug-in management platform sends a first configuration request to the plug-in based on the service activation request; 控制所述家庭网关基于所述第一配置请求建立虚拟局域网隧道。controlling the home gateway to establish a virtual local area network tunnel based on the first configuration request. 9.根据权利要求7所述的NAS服务实现方法,其特征在于,所述控制所述用户终端对于NAS业务的访问,包括:9. The NAS service implementation method according to claim 7, wherein the controlling the user terminal's access to the NAS service comprises: 接收所述用户终端发送的NAS业务访问请求;receiving a NAS service access request sent by the user terminal; 通过调用存储模块的方式向所述用户终端提供与所述NAS业务访问请求对应的存储资源。Providing storage resources corresponding to the NAS service access request to the user terminal by calling a storage module. 10.一种电子设备,其特征在于,包括:至少一个处理器和存储器;10. An electronic device, comprising: at least one processor and a memory; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求7至9任一项所述的NAS服务实现方法。The at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the NAS service implementation method according to any one of claims 7 to 9. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求7至9任一项所述的NAS服务实现方法。11. A computer-readable storage medium, wherein computer-readable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any one of claims 7 to 9 when executed by a processor The method for implementing the NAS service.
CN202210787991.7A 2022-07-06 2022-07-06 NAS service system, implementation method, electronic equipment and storage medium Active CN115174603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210787991.7A CN115174603B (en) 2022-07-06 2022-07-06 NAS service system, implementation method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210787991.7A CN115174603B (en) 2022-07-06 2022-07-06 NAS service system, implementation method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115174603A CN115174603A (en) 2022-10-11
CN115174603B true CN115174603B (en) 2023-08-22

Family

ID=83490630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210787991.7A Active CN115174603B (en) 2022-07-06 2022-07-06 NAS service system, implementation method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115174603B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116233655A (en) * 2022-12-23 2023-06-06 中国联合网络通信集团有限公司 Service processing method, device and storage medium
CN116684766B (en) * 2023-07-04 2024-11-05 深圳市西迪特科技股份有限公司 Data reading and writing method, communication equipment, optical network unit and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731462A (en) * 2012-10-16 2014-04-16 中兴通讯股份有限公司 Remote storage system and method of network attached storage (NAS) device
CN105657026A (en) * 2016-01-27 2016-06-08 浪潮电子信息产业股份有限公司 Method for realizing cross-domain work of NAS (network attached storage) server
CN106161163A (en) * 2016-09-06 2016-11-23 深圳市乙辰科技股份有限公司 The multimedia intelligent home gateway of a kind of high integration, management system and TV box
CN110336843A (en) * 2015-02-24 2019-10-15 深圳梨享计算有限公司 A content distribution method for crowdsourcing, a central node and an edge node
CN111711656A (en) * 2020-05-15 2020-09-25 山东省计算中心(国家超级计算济南中心) A network edge storage device with security function
CN111901428A (en) * 2020-07-29 2020-11-06 广州市番禺区中心医院 Multi-tenant access system based on wide-area medical cloud
CN112995348A (en) * 2021-05-12 2021-06-18 北京金山云网络技术有限公司 Control method, device and system of Internet of things equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10412163B2 (en) * 2015-01-30 2019-09-10 Hitachi, Ltd. Computer system, distributed object sharing method, and edge node
US20220083433A1 (en) * 2020-09-17 2022-03-17 EMC IP Holding Company LLC Data center backup at the edge

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731462A (en) * 2012-10-16 2014-04-16 中兴通讯股份有限公司 Remote storage system and method of network attached storage (NAS) device
CN110336843A (en) * 2015-02-24 2019-10-15 深圳梨享计算有限公司 A content distribution method for crowdsourcing, a central node and an edge node
CN105657026A (en) * 2016-01-27 2016-06-08 浪潮电子信息产业股份有限公司 Method for realizing cross-domain work of NAS (network attached storage) server
CN106161163A (en) * 2016-09-06 2016-11-23 深圳市乙辰科技股份有限公司 The multimedia intelligent home gateway of a kind of high integration, management system and TV box
CN111711656A (en) * 2020-05-15 2020-09-25 山东省计算中心(国家超级计算济南中心) A network edge storage device with security function
CN111901428A (en) * 2020-07-29 2020-11-06 广州市番禺区中心医院 Multi-tenant access system based on wide-area medical cloud
CN112995348A (en) * 2021-05-12 2021-06-18 北京金山云网络技术有限公司 Control method, device and system of Internet of things equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
新型数据中心布线解决方案――满足更高性能、更高密度的应用需求.IB智能建筑与城市信息.2006,(07),全文. *

Also Published As

Publication number Publication date
CN115174603A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US10686761B2 (en) Methods and apparatus for providing a secure overlay network between clouds
US10554646B2 (en) Providing domain-joined remote applications in a cloud environment
US9191364B2 (en) Extensible framework for communicating over a firewall with a software application regarding a user account
CN109672602B (en) Method and equipment for remotely accessing VPN
CN115174603B (en) NAS service system, implementation method, electronic equipment and storage medium
KR20150013860A (en) Clientless cloud computing
US11226883B2 (en) Secure method for managing a virtual test platform
US9413560B2 (en) Differentiated quality of service using security as a service
CN105610675A (en) Creating method and device of virtual VPN gateway
US20220232101A1 (en) Virtual workspace experience visualization and optimization
CN103513858A (en) Remote assistance method and device
CN103595759A (en) Desktop presenting method based on cloud
KR20210089113A (en) A method, an apparatus, an electronic device and a storage medium for communicating between private networks
US20130151721A1 (en) Remote Session Management
CN110620706A (en) Processing method and equipment
CN116032691B (en) Shooting range interconnection method, electronic equipment and readable storage medium
US11979438B2 (en) Integrated video conferencing platform
US20180335894A1 (en) Messaging and orchestrating platform in a computer network environment
CN114979128A (en) Cross-region communication method and device and electronic equipment
US11290523B1 (en) High-speed transfer of data from device to service
US11212237B1 (en) Sharing resources between client devices in a virtual workspace environment
US20250036450A1 (en) Remotely performing data analysis using a virtual desktop
EP4498243A1 (en) Configuring a virtual desktop in a vehicle device for data analytics
CN115913977A (en) Data communication equipment connection method, device and equipment for resource capability center
CN117478521A (en) Recommended virtual private cloud networking methods and related equipment based on multi-cloud scenarios

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