[go: up one dir, main page]

CN108540546B - Network node access control method, electronic device, network system and storage medium - Google Patents

Network node access control method, electronic device, network system and storage medium Download PDF

Info

Publication number
CN108540546B
CN108540546B CN201810266606.8A CN201810266606A CN108540546B CN 108540546 B CN108540546 B CN 108540546B CN 201810266606 A CN201810266606 A CN 201810266606A CN 108540546 B CN108540546 B CN 108540546B
Authority
CN
China
Prior art keywords
node
network
service server
information
accessed
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
CN201810266606.8A
Other languages
Chinese (zh)
Other versions
CN108540546A (en
Inventor
朱秀军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technologies Co Ltd
Original Assignee
Shenzhen Onething Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technologies Co Ltd filed Critical Shenzhen Onething Technologies Co Ltd
Priority to CN201810266606.8A priority Critical patent/CN108540546B/en
Publication of CN108540546A publication Critical patent/CN108540546A/en
Application granted granted Critical
Publication of CN108540546B publication Critical patent/CN108540546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
    • 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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • 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
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
    • 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/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

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

Abstract

本发明公开了网络节点入网控制方法、电子设备、网络系统和存储介质,其中该方法包括获取待入网节点的入网请求;获取第一业务服务器的资源占用信息;若资源占用信息满足扩容条件,则与第二业务服务器建立连接;向待入网节点和/或第二业务服务器发送使待入网节点与第二业务服务器建立连接的指令。通过监测网络系统中第一业务服务器的资源占用情况,在第一业务服务器不能满足新增网络节点时,增加第二业务服务器以使得网络系统可以扩容,进而与待入网节点建立连接;因此可以实现网络系统资源的统筹预警,便于掌握业务服务器的压力情况,可以根据压力情况及时增设新的业务服务器,进行及时扩容,避免影响网络节点的顺畅运行以及其用户的体验。

Figure 201810266606

The invention discloses a network node access control method, an electronic device, a network system and a storage medium, wherein the method includes acquiring a network access request of a node to be connected to the network; acquiring resource occupation information of a first service server; if the resource occupation information satisfies expansion conditions, then Establishing a connection with the second service server; sending an instruction for establishing a connection between the node to be connected and the second service server to the node to be connected to the network and/or the second service server. By monitoring the resource occupancy of the first service server in the network system, when the first service server cannot meet the requirements for adding new network nodes, a second service server is added so that the network system can be expanded, and then a connection is established with the node to be connected to the network; therefore, it is possible to achieve The overall early warning of network system resources is easy to grasp the pressure of business servers. New business servers can be added in time according to the pressure situation, and the capacity can be expanded in time to avoid affecting the smooth operation of network nodes and the experience of their users.

Figure 201810266606

Description

Network node access control method, electronic device, network system, and storage medium
Technical Field
The present invention relates to the field of network topology, and in particular, to a network node access control method, an electronic device, a network system, and a storage medium.
Background
With the development of network technology and the increase of network demand, the P2P network and the network technology fusing P2P and CDN have gained attention and great progress.
However, due to the promotion of dedicated devices and the incentive for corresponding rewarding measures, the number of nodes in such networks is increasing; the bearing capacity of the service server is limited, and when the resource occupied by the network node connected to a certain service server exceeds the bearing capacity of the service server, the smooth operation of the network node is influenced, the request is correspondingly slow, and the user experience is influenced; and user feedback and even complaints are required to know that the resources of the service server are not sufficient.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the purposes of the present invention is to provide a network node network access control method, which can realize the overall pre-warning of network system resources, facilitate the grasping of the pressure condition of a service server, add a new service server in time according to the pressure condition, perform lossless and timely capacity expansion, and avoid the influence on the smooth operation of a network node and the user experience thereof.
The second purpose of the invention is to provide an electronic device, which can realize the overall pre-warning of network system resources, facilitate the grasping of the pressure condition of the service server, add a new service server in time according to the pressure condition, perform lossless and timely capacity expansion, and avoid the influence on the smooth operation of the network node and the user experience.
The third purpose of the invention is to provide a network system, which can realize the overall pre-warning of network system resources, facilitate the mastering of the pressure condition of the service server, add a new service server in time according to the pressure condition, perform lossless and timely capacity expansion, and avoid influencing the smooth operation of network nodes and the user experience.
The fourth purpose of the present invention is to provide a storage medium storing a computer program, which can implement the overall pre-warning of network system resources, facilitate the mastering of the pressure condition of the service server, add a new service server in time according to the pressure condition, perform lossless and timely capacity expansion, and avoid the influence on the smooth operation of the network node and the user experience.
One of the purposes of the invention is realized by adopting the following technical scheme:
the network node network access control method comprises the following steps:
acquiring a network access request of a node to be accessed to the network;
acquiring resource occupation information of a first service server;
if the resource occupation information meets the capacity expansion condition, connection is established with a second service server;
and sending an instruction for establishing connection between the node to be accessed and the second service server to the node to be accessed and/or the second service server.
Further, after the resource occupation information of the first service server is obtained, the method further includes the following steps:
and if the resource occupation information does not meet the capacity expansion condition, sending an instruction for establishing connection between the node to be accessed and the first service server to the node to be accessed and/or the first service server.
Further, before the network access request of the node to be accessed to the network is obtained, the method further includes the following steps:
acquiring a node network access instruction sent by a corresponding client of the node to be networked;
and sending a checking instruction to the node to be accessed according to the node access instruction.
Further, the network access request of the node to be accessed to the network includes the node information of the node to be accessed to the network.
Further, before the acquiring the resource occupation information of the first service server, the method further includes the following steps:
and the first service server calculates the resource occupation information of the first service server according to the node information of the first network node connected with the first service server.
Further, before the first service server calculates the resource occupation information of the first service server according to the node information of the first network node, the method further includes the following steps:
and the first service server acquires the node information of the first network node every other preset time.
Further, before the first service server calculates the resource occupation information of the first service server according to the node information of the first network node, the method further includes the following steps:
the first service server acquires a reporting instruction sent by a corresponding client of the first network node;
and the first service server acquires the node information of the first network node according to the reporting instruction.
Further, the node information includes at least one of storage capacity, network bandwidth, configuration information.
Further, the network access request further includes state information of the node to be accessed, and after the node network access instruction sent by the corresponding client of the node to be accessed is obtained, the method further includes the following steps:
if the state information meets the operable condition, an operation request is sent to the client;
and if the operation confirmation information of the client is acquired, operating the node to be accessed to the network.
Further, the state information includes a software version of the node to be networked;
if the state information meets the operable condition, sending an operation request to the client, specifically: if the software version of the node to be accessed to the network does not meet the version requirement, sending an operation request to the client;
if the operation confirmation information of the client is obtained, operating the node to be accessed to the network, specifically: and if the operation confirmation information of the client is acquired, sending a version updating instruction to the node to be accessed.
Further, the first service server is specifically an online service server, and the second service server is specifically an offline service server.
Further, if the resource occupation information satisfies the capacity expansion condition, establishing a connection with a second service server, specifically including the following steps:
if the resource occupation information meets the capacity expansion condition, sending a starting instruction to the second service server;
and acquiring the starting confirmation information of the second service server.
Further, the node to be networked and the first network node are specifically P2P node devices.
The second purpose of the invention is realized by adopting the following technical scheme:
electronic equipment comprising a memory, a processor and a program stored in the memory, the program being configured to be executed by the processor, the processor implementing the steps of the network node network entry control method described above when executing the program.
The third purpose of the invention is realized by adopting the following technical scheme:
the network system comprises the electronic equipment and a plurality of service servers, wherein at least part of the service servers are connected with the electronic equipment; and the electronic equipment and the service server are used for being in communication connection with the network node.
The fourth purpose of the invention is realized by adopting the following technical scheme:
a storage medium storing a computer program which, when executed by a processor, implements the steps of the network node network access control method described above.
Compared with the prior art, the invention has the beneficial effects that: by monitoring the resource occupation condition of a first service server in the network system, when the first service server cannot meet the requirement of a newly added network node, a second service server is added so that the capacity of the network system can be expanded, and then the network system is connected with the node to be accessed; therefore, overall resource planning and early warning of a network system can be realized, the pressure condition of the service server can be conveniently mastered, a new service server can be added in time according to the pressure condition, lossless and timely capacity expansion can be carried out, and smooth operation of network nodes and user experience are prevented from being influenced.
Drawings
Fig. 1 is a schematic structural diagram of a network system according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of the electronic device in FIG. 1;
fig. 3 is a schematic flow chart of a network node network access control method according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of the electronic device in fig. 1.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Example one
The network system shown in fig. 1 includes an electronic device 110, and a plurality of service servers, where the electronic device 110 and the service servers are configured to be communicatively connected to a network node. The network node can be a P2P node, and is used for realizing tasks such as data downloading, content distribution and the like; the service server is used for tracking the online state of the network node and counting the bandwidth, storage capacity and the like of the network node connected with the service server; the electronic device 110 is configured to designate a network node to connect to a service server.
In the network system, at least a part of the service servers are connected to the electronic device 110, in this embodiment, the service server communicably connected to the electronic device 110 is a first service server 141, that is, a service server in an online state; the network node communicatively connected to a first service server 141 is the first network node 121, and specifically, the first network node 121 establishes a long connection with the first service server 141. The network node to be connected to the service server is the node to be networked 122, and the service server not connected to the electronic device 110, that is, the service server in the offline state, is the second service server 142.
As shown in fig. 2, the electronic device 110 includes a memory 200, a processor 300, and a program stored in the memory 200, where the program is configured to be executed by the processor 300, and the processor 300 executes the program to implement the steps of the network node network access control method provided in the embodiment of the present invention.
Fig. 3 shows a network node access control method, which includes the following steps:
step S110, the electronic device 110 obtains a network access request of the node 122 to be networked.
As a preferred embodiment, in step S110, the electronic device 110 obtains a network access request of the node 122 to be networked, specifically, after the node 122 to be networked accesses the network system, the electronic device 110 actively sends the network access request to the electronic device 110.
Step S120, the electronic device 110 obtains the resource occupation information of the first service server 141.
Due to the limitation of conditions such as network bandwidth and computing power of the service server, the number of network nodes that the service server can connect to is limited, and resources that can support normal operation of the network nodes are also limited, so with the increase of network nodes in the network system, a new service server needs to be added as required to realize the capacity expansion of the network system. The electronic device 110 may be responsible for monitoring in real time whether the first service server 141 is saturated and can continue to access new network nodes.
As a preferred embodiment, before the electronic device 110 acquires the resource occupation information of the first service server 141 in step S120, the method further includes the following steps:
in step S101, the first service server 141 calculates resource occupation information of the first service server 141 according to the node information of the first network node 121 connected thereto. That is, the first service server 141 counts the resource occupation of each first network node 121 connected thereto, calculates the resource occupied by the first service server 141, and reports the resource occupation information to the electronic device 110.
Specifically, the node information may include at least one of storage capacity, network bandwidth, and configuration information.
As a preferred embodiment, the first service server 141 may obtain the node information of the first network node 121 by the following two ways:
one is as follows: the first service server 141 acquires the node information of the first network node 121 every preset time. I.e. the first network node 121 reports the node information to the first traffic server 141 periodically, either actively or passively.
The second step is as follows: the user of the first network node 121 reports actively. The user may change the hardware configuration or the usage right of the first network node 121, such as network speed limiting operation, and may actively report the node information of the first network node 121 after the change. The method may include the steps of:
step S1011, the first service server 141 obtains a reporting instruction sent by a corresponding client (not shown) of the first network node 121; the reporting instruction may include a node ID of the first network node 121. The first network node 121 corresponding client may bind the node ID of the first network node 121 after logging in.
Step S1012, the first service server 141 obtains the node information of the first network node 121 according to the node ID in the report instruction. The first service server 141 may send a request to the first network node 121 corresponding to the node ID according to the node ID and then receive node information thereof.
Then, the electronic device 110 may obtain the resource occupation information of the first service server 141 through the first service server 141, and determine whether it has the capability to access a network node of the new network.
Step S130, if the resource occupation information satisfies the capacity expansion condition, the electronic device 110 establishes a connection with the second service server 142.
The first service server 141 does not have the capability of accessing to a newly-accessed network node, that is, the resource occupation information of the first service server 141 meets the capacity expansion condition, a new service server, that is, the second service server 142, needs to be added to achieve capacity expansion of the network system. For example, the service bearing capacity of the first service server 141 is connected to 10 ten thousand network nodes, and at this time, the network nodes can smoothly complete operations such as data uploading and downloading, and if a new network node is accessed, the requests of each network node are correspondingly slowed down, and even the use of the network node is affected; at this time, the node to be networked 122 needs to access the second service server 142.
As a preferred embodiment, if the resource occupation information satisfies the capacity expansion condition, the step S130 establishes a connection with the second service server 142, and specifically includes the following steps:
step S131, if the resource occupation information satisfies the capacity expansion condition, the electronic device 110 sends a start instruction to the second service server 142. The electronic device 110 may remotely boot or wake up the second service server 142.
Step S132, acquiring the start confirmation information of the second service server 142.
The second service server 142 is started after receiving the start instruction, and sends start confirmation information to the electronic device 110 after the start is successful. After the electronic device 110 receives the start confirmation message, it is determined that the second service server 142 has started and established a connection with the electronic device 110, and a heartbeat is maintained between the second service server 142 and the electronic device 110.
Step S140, the electronic device 110 sends an instruction to the node to be networked 122 and/or the second service server 142, so that the node to be networked 122 establishes a connection with the second service server 142.
The instruction for establishing connection may be sent to one or both of the node to be networked 122 and the second service server 142, and the node to be networked 122 and/or the second service server 142 establish connection after receiving the instruction, thereby implementing capacity expansion operation of the network system.
According to the network node access control method and the network system provided by the embodiment of the invention, by monitoring the resource occupation condition of the first service server 141 in the network system, when the first service server 141 cannot meet the requirement of a newly added network node, the second service server 142 is added so that the capacity of the network system can be expanded, and then the connection with the node 122 to be accessed is established; therefore, overall resource planning and early warning of a network system can be realized, the pressure condition of the service server can be conveniently mastered, a new service server can be added in time according to the pressure condition, lossless and timely capacity expansion can be carried out, and smooth operation of network nodes and user experience are prevented from being influenced.
In another embodiment, after the step S120 obtains the resource occupation information of the first service server 141, the method further includes the following steps:
step S150, if the resource occupation information does not satisfy the capacity expansion condition, send an instruction to the node to be networked 122 and/or the first service server 141, so as to establish a connection between the node to be networked 122 and the first service server 141.
If the normal and smooth operation of the first service server 141 is not affected after the new access node, the network system does not need to be expanded, and therefore the node to be networked 122 may still be connected to the first service server 141.
As a preferred embodiment, the network nodes such as the to-be-networked node 122 and the first network node 121 are specifically P2P node devices.
Example two
In this embodiment, the network node access control method includes the following steps:
step S201, the electronic device 110 obtains a node network access instruction sent by the client 151 corresponding to the node 122 to be networked.
The user of the node 122 to be networked needs to log in the client 151 by using an account, associate the account with the node 122 to be networked, and then send a node networking instruction to the electronic device 110 through the client 151.
Step S202, the electronic device 110 sends a checking instruction to the node to be networked 122 according to the node networking instruction.
After acquiring the network access request of the node 122 to be networked, the electronic device 110 needs to check whether the node 122 to be networked is already connected to the network system, and if not, abandons the establishment of the connection with the node 122 to be networked.
As a further improvement of the embodiment of the present invention, the network access request further includes state information of the node 122 to be networked, and after the step S201 obtains a node network access instruction sent by the client 151 corresponding to the node 122 to be networked, the method further includes the following steps:
in step S2011, if the status information satisfies the operable condition, the electronic device 110 sends an operation request to the client 151.
As a preferred embodiment, the status information of the to-be-networked node 122 may include a storage capacity, a memory size, and the like of the to-be-networked node 122, and when the storage capacity is small or the memory of the to-be-networked node 122 is too small and may not meet the work requirement, an operation request that the to-be-networked node 122 cannot be networked and hardware needs to be upgraded may be returned.
Step S2012, if the electronic device 110 acquires the operation confirmation information of the client 151, operate the node to be networked 122.
In a preferred embodiment, the status information includes a software version of the node to be networked 122.
In step S2011, if the status information satisfies the operable condition, an operation request is sent to the client 151, specifically: and if the software version of the node to be networked 122 does not meet the version requirement, sending an operation request to the client 151.
In step S2012, if the operation confirmation information of the client 151 is obtained, the node to be networked 122 is operated, which specifically includes: and if the operation confirmation information of the client 151 is obtained, sending a version updating instruction to the node to be networked 122.
Since the node 122 to be networked may not have access to the network for a long time, the software versions such as firmware may be outdated and may affect the work, and therefore, the authorization of the user of the node 122 to be networked may be obtained in step S2011, and the software version is updated in step S2012 after the authorization is obtained, so that the network system is accessed after the version is updated. In this embodiment, the node to be networked 122 is implemented by the electronic device 110, and in other embodiments, it may be implemented by other existing means.
Step S210, the electronic device 110 obtains a network access request of the node to be networked 122.
Step S220, the electronic device 110 obtains the resource occupation information of the first service server 141.
Step S230, if the resource occupation information meets the capacity expansion condition, the electronic device 110 establishes a connection with the second service server 142.
Step S240, the electronic device 110 sends an instruction to the node to be networked 122 and/or the second service server 142, so that the node to be networked 122 establishes a connection with the second service server 142.
Steps S210, S220, S230, and S240 respectively correspond to S110, S120, S130, and S140 in the first embodiment, and are not described again.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. With such an understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments, such as:
a storage medium storing a computer program which, when executed by a processor, implements the steps of the aforementioned network node network access control method.
The invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: smart storage devices, personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics 110, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like, i.e., the aforementioned electronic device 110.
As a further improvement of the embodiment of the present invention, the electronic device 110 may be implemented in two subsystems, for example, as a network system shown in fig. 4, a resource overall planning and warning system may be installed in the first subsystem, and is configured to implement the tasks of obtaining the resource occupation information of the first service server 141 in step S120, determining whether the resource occupation information of the first service server 141 meets the capacity expansion condition in step S130, and controlling the second subsystem to establish a connection with the second service server 142. The second subsystem is used for keeping heartbeat with the service server, acquiring a network access request of the network node, and distributing the service server to be connected to the network node.
As a preferred embodiment, the second subsystem may include a load scheduler and a server pool composed of at least one scheduling server, forming an lvs (linux virtual system) cluster, and when the number of network nodes in the entire network system exceeds the processing capacity of the current server pool, servers may be added to the server pool to meet the increasing request load, so that the network system may be further expanded.
The electronic device 110 and the method in the embodiment of the present invention are based on two aspects of the same inventive concept, and the method implementation process has been described in detail in the foregoing, so that those skilled in the art can clearly understand the structure and implementation process of the system in the embodiment according to the foregoing description, and for the sake of brevity of the description, details are not repeated here.
The electronic device 110 provided in the embodiment of the present invention monitors the resource occupation of the first service server 141 in the network system, and when the first service server 141 cannot satisfy the requirement of a newly added network node, adds the second service server 142 so that the network system can expand the capacity, and further establishes a connection with the node 122 to be networked; therefore, overall resource planning and early warning of a network system can be realized, the pressure condition of the service server can be conveniently mastered, a new service server can be added in time according to the pressure condition, lossless and timely capacity expansion can be carried out, and smooth operation of network nodes and user experience are prevented from being influenced.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (14)

1. A network node network access control method, performed by an electronic device, comprising:
acquiring a network access request of a node to be accessed to the network;
acquiring resource occupation information of a first service server; the first service server is a service server which can be in communication connection with the electronic equipment;
if the resource occupation information meets the capacity expansion condition, connection is established with a second service server; the second service server is a service server which is not connected with the electronic equipment;
sending an instruction for establishing connection between the node to be accessed and the second service server to the node to be accessed and/or the second service server;
before the network access request of the node to be accessed is obtained, a node network access instruction sent by a corresponding client of the node to be accessed is obtained;
the network access request comprises state information of the node to be accessed, and the state information comprises a software version of the node to be accessed; after the node network access instruction sent by the corresponding client of the node to be networked is obtained, the method further comprises the following steps:
if the software version of the node to be accessed to the network does not meet the version requirement, sending an operation request to the client;
and if the operation confirmation information of the client is acquired, sending a version updating instruction to the node to be accessed.
2. The network node network access control method of claim 1, wherein: after the resource occupation information of the first service server is obtained, the method further includes the following steps:
and if the resource occupation information does not meet the capacity expansion condition, sending an instruction for establishing connection between the node to be accessed and the first service server to the node to be accessed and/or the first service server.
3. The network node network access control method of claim 1, wherein: before the network access request of the node to be accessed to the network is obtained, the method further comprises the following steps:
and sending a checking instruction to the node to be accessed according to the node access instruction.
4. The network node network access control method of claim 3, wherein: the network access request of the node to be accessed to the network comprises the node information of the node to be accessed to the network.
5. The network node network access control method of claim 4, wherein: before the resource occupation information of the first service server is obtained, the method further includes the following steps:
and the first service server calculates the resource occupation information of the first service server according to the node information of the first network node connected with the first service server.
6. The network node network access control method of claim 5, wherein: before the first service server calculates the resource occupation information of the first service server according to the node information of the first network node, the method further includes the following steps:
and the first service server acquires the node information of the first network node every other preset time.
7. The network node network access control method of claim 6, wherein: before the first service server calculates the resource occupation information of the first service server according to the node information of the first network node, the method further includes the following steps:
the first service server acquires a reporting instruction sent by a corresponding client of the first network node;
and the first service server acquires the node information of the first network node according to the reporting instruction.
8. The network node network entry control method of any of claims 4-7, wherein: the node information includes at least one of storage capacity, network bandwidth, configuration information.
9. The network node network entry control method of any of claims 1-7, wherein: the first service server is specifically a service server in an online state, and the second service server is specifically a service server in a non-online state.
10. The network node network access control method of claim 9, wherein: if the resource occupation information meets the capacity expansion condition, establishing connection with a second service server, specifically comprising the following steps:
if the resource occupation information meets the capacity expansion condition, sending a starting instruction to the second service server;
and acquiring the starting confirmation information of the second service server.
11. The network node network entry control method of any of claims 1-7, wherein: the node to be networked and the first network node are specifically P2P node devices.
12. An electronic device, characterized in that: comprising a memory, a processor and a program stored in the memory, the program being configured to be executed by the processor, the processor realizing the steps of the network node network access control method according to any of the claims 1-11 when executing the program.
13. A network system, characterized by: comprising an electronic device according to claim 12, and a plurality of service servers, at least part of which are connected to the electronic device; and the electronic equipment and the service server are used for being in communication connection with the network node.
14. A storage medium storing a computer program, characterized in that: the computer program realizing the steps of the network node network access control method according to any of claims 1-11 when being executed by a processor.
CN201810266606.8A 2018-03-28 2018-03-28 Network node access control method, electronic device, network system and storage medium Active CN108540546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810266606.8A CN108540546B (en) 2018-03-28 2018-03-28 Network node access control method, electronic device, network system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810266606.8A CN108540546B (en) 2018-03-28 2018-03-28 Network node access control method, electronic device, network system and storage medium

Publications (2)

Publication Number Publication Date
CN108540546A CN108540546A (en) 2018-09-14
CN108540546B true CN108540546B (en) 2021-10-08

Family

ID=63481568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810266606.8A Active CN108540546B (en) 2018-03-28 2018-03-28 Network node access control method, electronic device, network system and storage medium

Country Status (1)

Country Link
CN (1) CN108540546B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064642B (en) * 2019-12-25 2021-12-03 深圳市网心科技有限公司 Dialing networking method and related equipment thereof
CN111669629A (en) * 2020-05-19 2020-09-15 湖南快乐阳光互动娱乐传媒有限公司 Video CDN node instant capacity expansion method, scheduler and CND storage system
CN116192775B (en) * 2022-11-22 2025-02-18 海尔优家智能科技(北京)有限公司 Network node access method and device, computer readable storage medium, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127632A (en) * 2006-08-15 2008-02-20 腾讯科技(深圳)有限公司 A method, system and redirector for server traffic control
CN102255875A (en) * 2010-05-20 2011-11-23 华为软件技术有限公司 Server switching method and system
CN103414584A (en) * 2013-08-01 2013-11-27 南京邮电大学 Method for rapidly expanding computer cluster based on P2P network technology
CN105812465A (en) * 2016-03-11 2016-07-27 厦门翼逗网络科技有限公司 Load balancing method, device and system of game servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8443086B2 (en) * 2011-06-22 2013-05-14 National Chiao Tung University Decentralized structured peer-to-peer network and load balancing methods thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127632A (en) * 2006-08-15 2008-02-20 腾讯科技(深圳)有限公司 A method, system and redirector for server traffic control
CN102255875A (en) * 2010-05-20 2011-11-23 华为软件技术有限公司 Server switching method and system
CN103414584A (en) * 2013-08-01 2013-11-27 南京邮电大学 Method for rapidly expanding computer cluster based on P2P network technology
CN105812465A (en) * 2016-03-11 2016-07-27 厦门翼逗网络科技有限公司 Load balancing method, device and system of game servers

Also Published As

Publication number Publication date
CN108540546A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
US20200028793A1 (en) Dynamic resource allocation for sensor devices on a cellular network
US9952851B2 (en) Intelligent mobile application update
US8191068B2 (en) Resource management system, resource information providing method and program
US9934020B2 (en) Intelligent mobile application update
WO2022088835A1 (en) Edge computing method and apparatus, intelligent terminal, and computer-readable storage medium
CN106657314B (en) Cross-data center data synchronization system and method
TW201424305A (en) CDN load balancing in the cloud
CN108540546B (en) Network node access control method, electronic device, network system and storage medium
CN110795041A (en) Quota method, quota device, server and storage medium of distributed file system
CN109428926B (en) Method and device for scheduling task nodes
JP2020024646A (en) Resource reservation management device, resource reservation management method, and resource reservation management program
JP6191695B2 (en) Virtual resource control system and virtual resource control method
CN108683730A (en) Resource regulating method, service server, client terminal, network system and medium
CN109039899B (en) Data transmission method, system and computer readable storage medium
EP2274889B1 (en) System for delivery of content to be played autonomously
KR101379105B1 (en) System and method for offering cloud computing service
CN113472638B (en) Edge gateway control method, system, device, electronic equipment and storage medium
EP3146442B1 (en) Methods and apparatus for storing electronic documents
CN119557373A (en) Data storage method, device, system and storage medium
CN110286854B (en) Method, device, equipment and storage medium for group member management and group message processing
CN115686813A (en) Resource scheduling method and device, electronic equipment and storage medium
CN112217853B (en) Resource access method and device
CN116032932B (en) Cluster management method, system, equipment and medium for edge server
EP3479550A1 (en) Constraint based controlled seeding
US8214839B1 (en) Streaming distribution of file data based on predicted need

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