CN110191143B - Resource publishing method, device and system - Google Patents

Resource publishing method, device and system Download PDF

Info

Publication number
CN110191143B
CN110191143B CN201811528559.6A CN201811528559A CN110191143B CN 110191143 B CN110191143 B CN 110191143B CN 201811528559 A CN201811528559 A CN 201811528559A CN 110191143 B CN110191143 B CN 110191143B
Authority
CN
China
Prior art keywords
resource
information
node
distribution
request
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
CN201811528559.6A
Other languages
Chinese (zh)
Other versions
CN110191143A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201811528559.6A priority Critical patent/CN110191143B/en
Publication of CN110191143A publication Critical patent/CN110191143A/en
Application granted granted Critical
Publication of CN110191143B publication Critical patent/CN110191143B/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/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a resource publishing method, device and system, and relates to the field of resource sharing. The method comprises the steps that a central node receives resource release information including resource information sent by a resource node, then a routing table including the corresponding relation between the resource release information and a distribution node is generated according to the resource release information, then the resource information is sent to the distribution node according to the routing table, then the central node receives resource request information including request information sent by a request node, wherein the request information corresponds to the resource information, and then resource distribution information is sent to the distribution node according to the request information and the routing table, so that the distribution node sends the resource information to the request node. Because the resources of the subordinate nodes are issued to the central node, the superior nodes directly carry out the interaction of the shared resource messages with the central node and the distribution nodes, and the problem that the interaction of the shared resource messages between the subordinate nodes and the superior nodes can influence the service of the superior nodes when the service of the subordinate nodes is busy is solved.

Description

Resource publishing method, device and system
Technical Field
The invention relates to the field of resource sharing, in particular to a resource publishing method, device and system.
Background
In a wide area network, resource sharing between multiple levels of nodes is a common technical means, at present, two nodes are interconnected through a monitoring inter-domain protocol, and when an upper level node wants to acquire resources of a lower level node, the lower level node needs to perform interaction of shared resource messages, that is, the lower level node sends resource information to the upper level node.
However, when a plurality of upper nodes need to acquire resource information of a certain lower node, the lower node needs to perform interaction of shared resource information on each upper node and send the resource information to the plurality of upper nodes one by one, such interaction of shared resource information needs to occupy a large amount of performance resources of the lower nodes, and when the service of the lower nodes is busy, the service of the upper nodes is affected.
Disclosure of Invention
The embodiment of the invention aims to provide a resource publishing method, a device and a system, because the resource of a lower node is published to a distribution node through a central node, a higher node directly interacts with the central node and the distribution node for sharing resource messages, thereby solving the problem that the interaction of the sharing resource messages between the lower node and the higher node influences the service of the higher node when the service of the lower node is busy.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a resource publishing method, where the method is applied to a central node, the central node is in communication connection with at least one distribution node, and the central node is in communication connection with a resource node and a request node, respectively, and the method includes: the central node receives resource release information sent by the resource node, wherein the resource release information comprises resource information. And then generating a routing table according to the resource release information, wherein the routing table comprises the corresponding relation between the resource release information and the distribution nodes. And then the resource information is sent to the distribution nodes according to the routing table so that the distribution nodes can store the resource information. And then, the central node receives resource request information sent by the request node, wherein the resource request information comprises request information, and the request information corresponds to the resource information. And finally, the central node determines the distribution nodes according to the request information and the routing table, and finally sends resource distribution information to the distribution nodes so that the distribution nodes can send the resource information to the request nodes according to the resource distribution information.
In a second aspect, an embodiment of the present invention provides a resource publishing method, where the method is applied to a resource node, and the resource node is in communication connection with a central node, and the method includes: and sending resource release information to a central node so that the central node stores the resource information and sends the resource information to other nodes, wherein the resource release information comprises the resource information.
In a third aspect, an embodiment of the present invention provides a resource publishing device, where the device is applied to a central node, the central node is in communication connection with at least one distribution node, and the central node is in communication connection with a resource node and a request node, and the device includes a first resource transceiving module, a maintenance module, and a determination module, where the first resource transceiving module is configured to receive resource publishing information sent by the resource node, where the resource publishing information includes a resource information maintenance module configured to generate a routing table according to the resource publishing information, where the routing table includes a correspondence between the resource publishing information and the distribution node, the first resource transceiving module is further configured to send resource information to the distribution node according to the routing table so that the distribution node stores the resource information, and is further configured to receive resource request information sent by the request node, where the resource request information includes request information, and the determination module corresponding to the request information is configured to determine one of the sub-nodes according to the request information and the correspondence The first resource transceiver module of the distribution node is further configured to send resource distribution information to the distribution node, so that the distribution node sends the resource information to the request node according to the resource distribution information.
In a fourth aspect, an embodiment of the present invention provides a resource publishing device, where the device is applied to a resource node, and the resource node is in communication connection with a central node, and the device includes: and the third resource receiving module is used for receiving the authentication information, and the third resource sending module is used for sending resource publishing information to the central node, wherein the resource publishing information comprises resource information, and is used for judging whether to send authorization information to the central node according to the authentication information so that the central node judges whether to send the resource information to other nodes according to the authorization information.
In a fifth aspect, an embodiment of the present invention provides a resource publishing system, which includes a central node, at least one distribution node, a resource node, and a request node, where the central node is in communication connection with the distribution node, and the central node is in communication connection with the resource node and the request node, respectively, and is configured to receive resource publishing information sent by the resource node, where the resource publishing information includes a resource information central node used to generate a routing path in a routing table according to the resource publishing information, where the routing path includes a correspondence relationship between the resource publishing information and the distribution node, and the central node is configured to send the resource information to the distribution node according to the routing table, so that the distribution node stores the resource request information, which is sent by the request node, and the resource request information includes request information, and the resource information central node corresponding to the request information is configured to determine, according to the request information and the routing table, that the distribution node central node is used to send the resource request information to the sub-node And the distribution node sends the resource distribution information so that the distribution node sends the resource information to the request node according to the resource distribution information.
The resource publishing method, the device and the system provided by the embodiment of the invention are applied to a central node, the central node is in communication connection with at least one distribution node, the central node is in communication connection with a resource node and a request node respectively, and the method comprises the following steps: the central node receives resource publishing information sent by the resource node, wherein the resource publishing information comprises resource information. And then generating a routing table according to the resource release information, wherein the routing table comprises the corresponding relation between the resource release information and the distribution nodes. And then the resource information is sent to the distribution nodes according to the routing table so that the distribution nodes can store the resource information. And then, the central node receives resource request information sent by the request node, wherein the resource request information comprises request information, and the request information corresponds to the resource information. And finally, the central node determines the distribution nodes according to the request information and the routing table, and finally sends resource distribution information to the distribution nodes so that the distribution nodes can send the resource information to the request nodes according to the resource distribution information. Because the resources of the subordinate nodes are issued to the distribution nodes through the central nodes, the superior nodes directly interact the shared resource messages with the central nodes and the distribution nodes, thereby solving the problem that the interaction of the shared resource messages between the subordinate nodes and the superior nodes can influence the service of the superior nodes when the service of the subordinate nodes is busy.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a schematic diagram of a resource publishing system according to an embodiment of the present invention.
Fig. 2 shows a flowchart of a resource publishing method according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a routing table according to an embodiment of the present invention.
Fig. 4 shows a flowchart of another resource publishing method according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating camera resource information managed by a monitoring server according to an embodiment of the present invention.
Fig. 6 is a schematic diagram illustrating a routing table for generating a routing path according to a resource hierarchy according to an embodiment of the present invention.
Fig. 7 is a schematic diagram illustrating a routing table for generating a routing path according to a resource type according to an embodiment of the present invention.
Fig. 8 is a schematic diagram illustrating a routing table for generating a routing path according to administrative divisions according to an embodiment of the present invention.
Fig. 9 is a flowchart illustrating a resource publishing method involving a routing path according to an embodiment of the present invention.
Fig. 10 illustrates a route representation intent including an amount of resource information provided by an embodiment of the present invention.
Fig. 11 is a flowchart illustrating a third resource publishing method according to an embodiment of the present invention.
Fig. 12 is a flowchart illustrating a fourth resource publishing method according to an embodiment of the present invention.
Fig. 13 is a flowchart illustrating a fifth resource publishing method according to an embodiment of the present invention.
Fig. 14 is an interaction flow diagram illustrating another resource publishing method according to an embodiment of the present invention.
Fig. 15 shows a block diagram of a node device according to an embodiment of the present invention.
Fig. 16 is a schematic functional module diagram of a first resource publishing device according to an embodiment of the present invention.
Fig. 17 is a schematic diagram illustrating functional modules of a second resource publishing device according to an embodiment of the present invention.
Fig. 18 is a schematic diagram illustrating functional modules of a third resource publishing device according to an embodiment of the present invention.
Icon: 10-a resource publishing system; 101-a central node; 102-a resource node; 103-distribution nodes; 104-a requesting node; 200-a node device; 210-a memory; 220-a processor; 230-a communication interface; 300-a first resource publishing device; 310-a first resource transceiver module; 320-maintenance module; 330-a judgment module; 400-a second resource publishing means; 410-a second resource receiving module; 420-a second resource sending module; 500-a third resource issuing means; 510-a third resource receiving module; 520-third resource sending module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 1 is a schematic diagram of a resource publishing system 10 according to an embodiment of the present invention. Central node 101 is communicatively coupled to resource nodes 102, central node 101 is communicatively coupled to distribution nodes 103 managed by central node 101, requesting nodes 104 are communicatively coupled to central node 101, and all distribution nodes 103 may establish a communication connection with requesting nodes 104 over a network to send information to requesting nodes 104.
In this embodiment, the resource node 102 sends the resource publishing information to the central node 101, where the resource publishing information includes the resource information. After receiving the resource publishing information, the central node 101 generates a routing path in a routing table maintained in advance according to the resource publishing information, where the routing path includes a correspondence between the resource publishing information and the distribution node 103, and then the central node 101 sends the resource information to the distribution node 103 according to the routing table so that the distribution node 103 stores the resource information. The requesting node 104 sends resource request information to the central node 101, the resource request information including request information and the request information corresponding to the resource information requested by the requesting node 104. After receiving the resource request information, the central node 101 determines the distribution node 103 according to the resource request information and the routing table, wherein the distribution node 103 stores the resource information requested by the request node 104, and then sends resource distribution information to the distribution node 103. The distribution node 103 receives the resource distribution information and transmits the resource information to the requesting node 104 according to the resource distribution information.
In this embodiment, the resource node 102 may be a monitoring server of a lower monitoring platform, the central node 101 and the distribution node 103 may be storage servers, and the request node 104 may be a monitoring server of a higher monitoring platform. Based on the embodiment shown in fig. 1, a lower node may publish owned resources to a distribution node 103 through a central node 101, and an upper node directly performs interaction of shared resource messages with the central node 101 and the distribution node 103, thereby solving the problem that when the service of the lower node is busy, the interaction of the shared resource messages between the lower node and the upper node may affect the service of the upper node.
Based on the embodiment shown in fig. 1, a possible implementation manner of a resource publishing method is given below, please refer to fig. 2, which is a flowchart illustrating a resource publishing method according to an embodiment of the present invention, where an execution subject of the method is a central node 101, and the method includes the following steps:
step 100, receiving resource release information sent by a resource node;
the resource publishing information comprises resource information.
Step 110, generating a routing path in a routing table according to the resource release information;
the routing path comprises the corresponding relation between the resource release information and the distribution nodes.
And step 120, sending the resource information to the distribution nodes according to the routing table so that the distribution nodes can store the resource information.
Step 130, receiving resource request information sent by a requesting node;
the resource request information comprises request information, and the request information corresponds to resource information.
Step 140, determining the distribution nodes according to the request information and the routing table.
Step 150, sending the resource distribution information to the distribution node, so that the distribution node sends the resource information to the request node according to the resource distribution information.
In this embodiment, the central node is communicatively connected to at least one distribution node, and the central node is communicatively connected to the resource node and the request node, respectively. After receiving the resource publishing information including the resource information sent by the resource node, the central node generates a routing path in a pre-maintained routing table according to the resource publishing information, as shown in fig. 3, where the routing path includes a corresponding relationship between the resource publishing information and the distribution node 1, and then the central node sends the resource information to the distribution node 1 according to the routing table so that the distribution node 1 stores the resource information. After receiving the resource request information sent by the request node, the central node determines a distribution node (the request information corresponds to the resource information requested by the request node) according to the request information and the routing table included in the resource request information, and sends resource distribution information to the determined distribution node, so that the distribution node sends the resource information to the request node according to the resource distribution information.
On the basis of fig. 2, a possible implementation manner of the complete solution is given below, and specifically, refer to fig. 4, which is a schematic flow chart of another resource publishing method provided in the embodiment of the present invention. It should be noted that, the resource issuing method provided in the embodiment of the present invention is not limited by fig. 4 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the resource issuing method provided in the embodiment of the present invention may be interchanged according to actual needs, or some steps in the resource issuing method may also be omitted or deleted. The resource publishing method can be applied to the resource publishing system, and the specific flow shown in fig. 4 will be described in detail below.
Step 100, receiving resource release information sent by a resource node;
the resource release information comprises resource information, verification information and attribute information.
In this embodiment, when the resource node is a monitoring server of a lower monitoring platform, the resource information may be resource information managed by the monitoring server, such as an organization structure of camera resources managed by the monitoring server, a camera list, a camera peripheral list (e.g., an alarm source), and the like. As shown in fig. 5, for example, the tree connection relationship between a province a, B1 to B3, C1 to C3, and D1 to D3 is the above organization structure, the cameras 1 to 8 are the above camera list, and the warning sources 1 and 2 are the above camera peripheral list. The verification information may be a user name and a password corresponding to the resource information. The attribute information may be a common attribute of the resource information, for example, when the resource information is the above organization structure, the camera list, and the camera peripheral list, the common attribute of the resource information may include a resource hierarchy, a resource type, and an administrative division of the camera resource, and as shown in fig. 5, the camera and the warning source directly connected to the province a belong to a first resource hierarchy, the camera and the warning source directly connected to the city B1 through B3 belong to a second resource hierarchy, the camera and the warning source directly connected to the region C1 through C3 belong to a third resource hierarchy, and the camera and the warning source directly connected to the regions D1 through D3 belong to a fourth resource hierarchy. The camera No. 1 and the camera No. 8 belong to the type of camera resource, the warning sources No. 1 to No. 2 belong to the type of warning resource, and the tree-shaped connection relationship among province A, city B1 to B3, region C1 to C3 and street D1 to D3 is the type of structural resource. Administrative divisions include provincial, municipal, district, street levels, e.g., the provincial division of province a includes jurisdictional B1-B3 cities and directly connected cameras and warning sources of province a, and the municipal division of B1 city includes jurisdictional C1 areas and directly connected cameras and warning sources of B1 cities.
Step 111, generating a routing path according to the attribute information so as to correspond resource information with the same attribute information to the same distribution node;
in this embodiment, the resource publishing information further includes attribute information, where the attribute information is a common attribute of the resource information. Routing paths can be generated according to the resource hierarchy, the resource types and the administrative division so as to enable resource information with the same attribute information to correspond to the same distribution node. Referring to fig. 5, as shown in fig. 6, for example, when a routing path is generated according to a resource hierarchy, resource information belonging to the same resource hierarchy is mapped to the same distribution node, and then a routing path is generated in a routing table according to the mapping relationship; as shown in fig. 7, taking four resource types as an example, when a routing path is generated according to a resource type, resource information belonging to the same resource type is mapped to the same distribution node, and then a routing path is generated in a routing table according to the mapping relationship; as shown in fig. 8, taking four administrative divisions as an example, when a routing path is generated according to the administrative divisions, resource information belonging to the same administrative division is mapped to the same distribution node, and then the routing path is generated in the routing table according to the mapping relationship.
It should be noted that, in the embodiment of the present invention, the number of the resource hierarchy, the resource type, and the administrative division is not limited, and it is understood that the number of the resource hierarchy, the resource type, and the administrative division may be at least one.
In this embodiment, as shown in fig. 9, for the routing path involved in step 102 in fig. 4, the following provides a possible implementation manner, including:
and step 111-1, determining the distribution nodes corresponding to the resource information according to the attribute information.
In this embodiment, when the distribution node corresponding to the resource information is determined according to the resource hierarchy, as shown in fig. 6, the resource information belonging to the same resource hierarchy corresponds to the same distribution node, for example, the distribution node corresponding to the resource information belonging to the first resource hierarchy is a distribution node 1.
And step 111-2, judging whether the quantity of the resource information stored by the distribution nodes exceeds a preset threshold value according to the routing table.
In this embodiment, the routing table further includes the quantity of the resource information stored by the distribution node corresponding to the resource information, when the quantity of the resource information stored by the corresponding distribution node exceeds a preset threshold, it is determined that the storage space of the distribution node is insufficient, and the resource information needs to be sent to another distribution node, and step 111-4 is executed; and when the quantity of the resource information stored by the corresponding distribution node does not exceed the preset threshold value, judging that the storage space of the distribution node is enough, and executing the step 111-3. As shown in fig. 10, assuming that the preset threshold is that the number of resource information occupies 70% of the distributed node space, the number of resource information stored by the distributed node 4 recorded in the routing table occupies 80% of the distributed node space, the number of resource information stored by the distributed node 2 occupies 40% of the distributed node space, and the number of resource information stored by the distributed node 3 occupies 50% of the distributed node space, when it is determined that a routing path needs to be generated according to the correspondence between the resource information of the fourth resource hierarchy of the resource node 1 and the distributed node 4, since 80% > 70%, it is determined that the storage space of the distributed node is insufficient, and the resource information needs to be sent to another distributed node, and step 111-4 is executed; when it is determined that the routing path needs to be generated according to the correspondence relationship between the resource information of the third resource hierarchy of the resource node 1 and the distribution node 3 according to the resource hierarchy, since 50% < 70%, it is determined that the storage space of the distribution node is sufficient, and step 111-3 is performed.
And step 111-3, generating a routing path according to the attribute information.
In this embodiment, the distribution node corresponding to the resource information is determined according to the attribute information, a routing path is generated, where the routing path includes a correspondence between the resource information and the corresponding distribution node, and then the routing path is written in the routing table.
Step 111-4, generating a routing path according to the routing table;
the routing path comprises a corresponding relation between the resource information and another distribution node, and the quantity of the resource information stored by the another distribution node does not exceed a preset threshold value.
In this embodiment, it is assumed that the preset threshold is 70% of the resource information, and as shown in fig. 10, the number of the resource information stored by the distribution node 4 and the number of the resource information stored by the distribution node 3, which are recorded in the routing table, account for 80% of the distribution node space, and the number of the resource information stored by the distribution node 3 accounts for 50% of the distribution node space, and when it is determined that a routing path needs to be generated according to the resource hierarchy from the correspondence relationship between the resource information of the fourth resource hierarchy of the resource node 1 and the distribution node 4, since 80% is > 70%, at this time, the distribution node in which the number of the resource information stored in the routing table is smaller than the preset threshold is selected to generate the routing path, for example, the correspondence relationship between the resource information of the distribution node 3 and the fourth resource hierarchy of the resource node 1 is generated into the routing path to store the resource information.
It should be noted that, in this embodiment, it may also be configured to first determine, according to the attribute information in the resource publishing information, a distribution node corresponding to the resource information, and then determine whether the distribution node can accommodate the resource information, or determine whether the number of the resource information stored by the distribution node exceeds a preset threshold, and when the number of the resource information stored by the distribution node exceeds the preset threshold, detect a distribution node with the smallest number of the resource information in all the distribution nodes, and generate a routing path according to a correspondence relationship between the resource information and the distribution node with the smallest number of the resource information.
With continued reference to fig. 3, step 120, the resource information is sent to the distribution node according to the routing table so that the distribution node stores the resource information.
In this embodiment, the resource information is sent to the distribution node according to the routing path in the routing table so that the distribution node stores the resource information.
Step 130, receiving resource request information sent by a requesting node;
the resource request information comprises request information and matching information, and the request information corresponds to the resource information.
In this embodiment, the request information corresponds to resource information, and referring to fig. 5, when the requesting node needs to request the camera and the warning source directly connected to the C1 district governed by B1 city and the B1 city, that is, the request information corresponds to resource information of the B1 city whose attribute is a city-level district. The matching information includes a user name and a password corresponding to the verification information.
And step 131, judging whether the verification information is consistent with the matching information.
In this embodiment, when the verification information is consistent with the matching information, that is, when the user name and the password are both consistent, it is determined that the requested information is verified, and step 140 is performed to determine the distribution node storing the resource information requested by the requesting node. When the verification information does not match the matching information, it is determined that the request information is not verified, step 132 is performed so that the request for resource information by the requesting node will be denied.
Step 132, the reject request message is sent to the requesting node.
In this embodiment, a denial request message is sent to the requesting node to deny the sending of resource information to the requesting node.
Step 140, determining the distribution nodes according to the request information and the routing table.
In this embodiment, the request information corresponds to resource information, and a distribution node that stores the resource information requested by the request node is determined according to the request information and the routing table, so that the distribution node sends the resource information requested by the request node to the request node.
And 150, sending the resource distribution information to the distribution node so that the distribution node sends the resource information to the request node according to the resource distribution information.
In this embodiment, the resource distribution information includes a resource information list requested by the requesting node and an address of the requesting node, so that the distribution node sends resource information to the requesting node according to the resource information list and the address.
Further, the method further includes steps 104-1 and 104-2, and the steps 104-1 and 104-2 may be performed before or after the step 105, or may be performed simultaneously with the step 105, which is not limited in this application. That is, in this embodiment, the step of the central node sending the authentication information to the resource node and determining whether the authorization information is received and the step of determining whether the check information is consistent are not limited by the order. As shown in fig. 11, taking the example performed before step 105, after step 130, the method further includes:
step 130-1, the authentication information is sent to the resource node so that the resource node judges whether to send the authorization information to the central node according to the authentication information after receiving the authentication information.
In this embodiment, after sending the authentication information to the resource node, the resource node may determine, according to the authentication information, whether the requesting node has a right to obtain the requested resource information, so as to determine whether to send the authorization information to the central node.
And step 130-2, judging whether to receive the authorization information sent by the resource node.
In this embodiment, when receiving the authorization information sent by the resource node, step 131 is executed to continuously determine whether the check information is consistent with the matching information, and when not receiving the authorization information sent by the resource node, it is determined that the request node is not authorized, and step 132 is executed to refuse to send the resource information to the request node.
Based on the embodiment shown in fig. 1, a possible implementation manner of a resource publishing method is given below, please refer to fig. 12, which is a flowchart of a fourth resource publishing method provided in the embodiment of the present invention, where an execution subject of the method is a distribution node, and the method includes the following steps:
and 20, receiving and storing the resource information sent by the central node.
Step 21, receiving resource distribution information sent by a central node;
wherein the resource distribution information corresponds to the requesting node.
And step 22, sending the resource information to the request node according to the resource distribution information.
In this embodiment, the resource distribution information includes a resource information list requested by the requesting node and an address of the requesting node, the distribution node determines the resource information to be sent according to the resource information list, and then sends the resource information to the requesting node according to the address, so that the resource node can issue the owned resource to the distribution node through the central node, and the requesting node directly performs interaction of shared resource information with the central node and the distribution node to acquire the resource information.
Based on the embodiment shown in fig. 1, a possible implementation manner of the resource publishing method is given below, where an execution subject of the method is a resource node, and the method includes the following steps:
sending resource release information to the central node so that the central node stores the resource information and sends the resource information to other nodes;
the resource publishing information comprises resource information.
Specifically, the resource node sends the resource publishing information to the central node so that the central node stores the resource information and sends the resource information to other nodes, thereby realizing that the resource node can publish the owned resources to the distribution node through the central node, and the request node directly performs interaction of shared resource information with the central node and the distribution node to acquire the resource information.
On the basis of fig. 1, a possible implementation manner of a complete solution is given below, and specifically, referring to fig. 13, is a schematic flow chart of a fifth resource publishing method provided in the embodiment of the present invention, where an execution subject of the method is a resource node, and the method includes the following steps:
step 30, sending resource release information to the central node, so that the central node stores the resource information and sends the resource information to other nodes;
the resource publishing information comprises resource information.
In this embodiment, when the resource node is a monitoring server of a lower monitoring platform, the sent resource publishing information includes resource information, verification information, and attribute information. The resource information may be resource information managed by the monitoring server, such as an organization structure of camera resources managed by the monitoring server, a camera list, a camera peripheral list (e.g., a warning source), and the like. The verification information may be a user name and a password corresponding to the resource information. The attribute information may be a common attribute of the resource information, for example, when the resource information is the above-described organization structure, camera list, and camera peripheral list. The common attributes of the resource information may include a resource hierarchy, a resource type, and an administrative division of the camera resource.
Step 31, receiving authentication information.
In this embodiment, the resource node receives authentication information sent by the central node.
And step 32, judging whether to send authorization information to the central node or not according to the authentication information.
In this embodiment, the resource node determines whether the requesting node has the right to obtain the resource information requested by the requesting node according to the authentication information, so as to determine whether to send the authorization information to the central node, so that the central node determines whether to send the resource information to the requesting node according to whether to receive the authorization information.
A complete flow implementation is given below for the flow of the above embodiment. Specifically, fig. 14 is an interaction flow diagram of another resource publishing method according to an embodiment of the present invention, which takes a resource node, a central node, a distribution node, and a request node as an example, where the central node is respectively in communication connection with the resource node, the distribution node, and the request node is in communication connection with the distribution node. Referring to fig. 14, the method flow includes:
step 100, the resource node sends resource release information to the central node.
Specifically, the resource release information includes resource information, verification information, and attribute information. The resource information may be resource information managed by the monitoring server, such as an organization structure of camera resources managed by the monitoring server, a camera list, a camera peripheral list (e.g., a warning source), and the like. The verification information may be a user name and a password corresponding to the resource information. The attribute information may be a common attribute of the resource information, and when the resource information is the above-described organization structure, camera list, and camera peripheral list, for example, the common attribute of the resource information may include a resource hierarchy, a resource type, an administrative division, and the like of the camera resource.
And step 111, the central node generates a routing path in the routing table according to the resource release information.
Specifically, the routing path may be generated according to the resource hierarchy, the resource type, and the administrative division, so that the resource information with the same attribute information corresponds to the same distribution node.
In this embodiment, this step further includes another specific implementation manner: the central node determines a distribution node corresponding to the resource information according to the attribute information; the central node judges whether the quantity of the resource information stored by the distributed nodes exceeds a preset threshold value or not according to the routing table; when the quantity of the resource information stored by the distributed nodes exceeds a preset threshold value, the central node generates a routing path according to the routing table; and when the quantity of the resource information stored by the distribution node does not exceed a preset threshold value, the central node generates a routing path according to the attribute information.
And step 120, the central node sends the resource information to the distribution nodes according to the routing table.
Specifically, the resource information is sent to the distribution node according to the routing path in the routing table so that the distribution node stores the resource information.
Step 130, the requesting node sends the resource request information to the central node.
Specifically, the resource request information includes request information and matching information, the request information corresponds to the resource information, and the matching information includes a user name and a password corresponding to the verification information.
Step 130-1, the central node sends the authentication information in the resource request information to the resource node;
and the resource node judges whether to send the authorization information to the central node or not according to the authentication information.
Specifically, after the authentication information is sent to the resource node, the resource node may determine, according to the authentication information, whether the requesting node has a right to obtain the requested resource information, so as to determine whether to send the authorization information to the central node.
Step 130-2, the resource node sends authorization information to the central node.
Step 130-2, the central node determines whether authorization information is received.
Specifically, when receiving the authorization information sent by the resource node, step 131 is executed to continuously determine whether the check information is consistent with the matching information. It should be noted that, the above steps 130-1 to 130-2 may be performed before or after the above step 131, or may be performed simultaneously with the step 131, which is not limited in this application. That is, in this embodiment, the central node has no restriction on the order of the step of sending the authentication information to the resource node and the step of determining whether the authorization information is received and the step of determining the check information.
Step 131, the central node determines whether the check information is consistent with the matching information.
Specifically, when the verification information is consistent with the matching information, that is, the user name and the password are both consistent, it is determined that the request information passes the verification, and step 140 is executed to determine the distribution node storing the resource information requested by the request node; when the verification information does not match the matching information, it is determined that the request information is not verified, step 132 is performed so that the request for resource information by the requesting node will be denied.
The central node sends a denial request message to the requesting node, step 132.
Specifically, request rejection information is sent to the requesting node to reject sending the requested resource information to the requesting node.
Step 140, the central node determines the distribution nodes according to the request information and the routing table.
Step 150, the central node sends resource distribution information to the distribution nodes;
the distribution node sends resource information to the requesting node.
Specifically, the resource distribution information includes a resource information list requested by the requesting node and an address of the requesting node, so that the distribution node sends resource information to the requesting node according to the resource information list and the address.
It should be noted that, the steps in fig. 14 may refer to the above method embodiment, and step 111 in fig. 14 generates a routing path in a routing table according to the resource publishing information, and fig. 14 is simplified.
Fig. 15 is a block diagram of a node device 200 according to an embodiment of the present invention. The node device 200 may include a memory 210, a processor 220, and a communication interface 230, the memory 210, the processor 220, and the communication interface 230 being electrically connected to each other, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The resource issuing means includes at least one software functional module which may be stored in the memory 210 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the node apparatus 200. The memory 210 may be used to store software programs and modules, such as program instructions/modules corresponding to the resource issuing method and apparatus provided in the embodiment of the present invention, and the processor 220 executes the software programs and modules stored in the memory 210, so as to execute various functional applications and data processing. The communication interface 230 may be used for communication of signaling or data with other node apparatuses 200.
The Memory 210 may be, but is not limited to, a Random Access Memory 210 (RAM), a Read Only Memory 210 (ROM), a Programmable Read Only Memory 210 (PROM), an Erasable Read Only Memory 210 (EPROM), an electrically Erasable Read Only Memory 210 (EEPROM), and the like.
The processor 220 may be an integrated circuit chip having signal processing capabilities. The Processor 220 may be a general-purpose Processor 220, including a Central Processing Unit (CPU) 220, a Network Processor 220 (NP), and the like; but may also be a digital signal processor 220(DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
It will be appreciated that the configuration shown in fig. 15 is merely illustrative and that node device 200 may include more or fewer components than shown in fig. 15 or may have a different configuration than shown in fig. 15. The components shown in fig. 15 may be implemented in hardware, software, or a combination thereof.
Fig. 16 is a schematic functional module diagram of a first resource publishing device 300 according to an embodiment of the present invention. It should be noted that the resource distribution apparatus provided in this embodiment may adopt a specific implementation structure of the node device 200 shown in fig. 15, and may also adopt other physical device structures, for example, the transceiving function, the determining function, and the maintaining function are deployed on different physical devices of the system to implement, which is not limited herein. The basic principle and the technical effect thereof are the same as those of the foregoing method embodiment applied to the central node, and for a brief description, no part mentioned in this embodiment may refer to the corresponding content in the foregoing method embodiment applied to the central node. The resource issuing apparatus is applied to the above central node, and includes a first resource transceiver module 310, a maintenance module 320, and a determination module 330.
The first resource transceiver module 310 is configured to receive resource publishing information sent by a resource node, where the resource publishing information includes resource information.
It is understood that the first resource transceiver module 310 may perform the above-described step 100.
The maintenance module 320 is configured to generate a routing path in the routing table according to the resource publishing information, where the routing path includes a correspondence between the resource publishing information and the distribution node.
It is understood that the maintenance module 320 may perform step 110 described above.
The first resource transceiver module 310 is further configured to send resource information to the distribution node according to the routing table so that the distribution node stores the resource information, and is further configured to receive resource request information sent by the request node, where the resource request information includes request information, and the request information corresponds to the resource information.
It is understood that the first resource transceiver module 310 may perform the above steps 120 and 130.
The determining module 330 is configured to determine distribution nodes according to the request information and the routing table, and determine distribution nodes according to the request information and the routing table when the verification information is consistent with the matching information.
It is understood that the determining module 330 may perform the step 140.
The first resource transceiver module 310 is further configured to send resource distribution information to the distribution node, so that the distribution node sends resource information to the requesting node according to the resource distribution information.
It is understood that the first resource transceiver module 310 may perform the above-mentioned step 150.
The maintenance module 320 is further configured to generate a routing path according to the attribute information, so as to correspond resource information with the same attribute information to the same distribution node, where the resource issuing information further includes the attribute information, and the attribute information is a common attribute of the resource information.
It is understood that the maintenance module 320 may perform step 111 described above.
The determining module 330 is further configured to determine whether the check information is consistent with the matching information.
It is understood that the determining module 330 may perform the step 131.
The first resource transceiver module 310 is further configured to send a request rejection message to the requesting node when the check message is inconsistent with the matching message.
It is understood that the first resource transceiver module 310 may perform the above step 132.
The determining module 330 is further configured to determine a distribution node corresponding to the resource information according to the attribute information, determine whether the quantity of the resource information stored by the distribution node exceeds a preset threshold according to the routing table, generate a routing path according to the attribute information when the quantity of the resource information stored by the distribution node exceeds the preset threshold, and generate a routing path according to the routing table when the quantity of the resource information stored by the distribution node does not exceed the preset threshold.
It is understood that the determining module 330 can perform the steps 111-1, 111-2, 111-3 and 111-4.
The first resource transceiving module 310 is further configured to send the authentication information to the resource node, so that the resource node determines whether to send the authorization information to the central node according to the authentication information after receiving the authentication information.
It is understood that the first resource transceiver module 310 may perform the above step 130-1.
The determining module 330 is further configured to determine whether to receive authorization information sent by the resource node.
It is understood that the determining module 330 can perform the step 130-2.
Fig. 17 is a schematic functional module diagram of a second resource distribution apparatus 400 according to an embodiment of the present invention. It should be noted that the resource distribution apparatus provided in this embodiment may adopt a specific implementation structure of the node device shown in fig. 15, and may also adopt other entity device structures, for example, the transceiving function, the determining function, and the maintaining function are deployed on different entity devices of the system to implement, which is not limited herein. The basic principle and the generated technical effect are the same as those of the foregoing method embodiment applied to the distribution node, and for a brief description, no part mentioned in this embodiment may refer to the corresponding content in the foregoing method embodiment applied to the distribution node. The resource distribution apparatus is applied to the distribution node, and includes a second resource receiving module 410 and a second resource sending module 420.
The second resource receiving module 410 is configured to receive and store the resource information sent by the central node, and is configured to receive the resource distribution information sent by the central node.
It is understood that the second resource receiving module 410 may perform the above steps 20 and 21.
The second resource sending module 420 is configured to send the resource information to the requesting node according to the resource distribution information.
It is understood that the second resource transmitting module 420 may perform the above step 22.
Fig. 18 is a functional module diagram of a third resource issuing apparatus 500 according to an embodiment of the present invention. It should be noted that the resource distribution apparatus provided in this embodiment may adopt a specific implementation structure of the node device shown in fig. 15, and may also adopt other entity device structures, for example, the transceiving function, the determining function, and the maintaining function are deployed on different entity devices of the system to implement, which is not limited herein. The basic principle and the generated technical effect are the same as those of the foregoing method embodiment applied to the resource node, and for a brief description, no part mentioned in this embodiment may refer to the corresponding content in the foregoing method embodiment applied to the resource node. The resource issuing apparatus is applied to the resource node, and includes a third resource receiving module 510 and a third resource sending module 520.
The third resource sending module 520 is configured to send resource publishing information to the central node.
It is understood that the third resource transmitting module 520 may perform the above-mentioned step 30.
The third resource receiving module 510 is configured to receive authentication information.
It is understood that the third resource receiving module 510 may perform the above step 31.
The third resource sending module 520 is further configured to determine whether to send authorization information to the central node according to the authentication information.
It is understood that the third resource transmitting module 520 may perform the above step 32.
In summary, the method, the apparatus, and the system for resource release provided in the embodiments of the present invention are applied to a central node, where the central node is in communication connection with at least one distribution node, the central node is in communication connection with a resource node and a request node, respectively, and the central node receives resource release information sent by the resource node, where the resource release information includes resource information. And then generating a routing table according to the resource release information, wherein the routing table comprises the corresponding relation between the resource release information and the distribution nodes. And then the resource information is sent to the distribution nodes according to the routing table so that the distribution nodes can store the resource information. And then, the central node receives resource request information sent by the request node, wherein the resource request information comprises request information, and the request information corresponds to the resource information. And finally, the central node determines the distribution nodes according to the request information and the routing table, and finally sends resource distribution information to the distribution nodes so that the distribution nodes can send the resource information to the request nodes according to the resource distribution information. Because the resources of the subordinate nodes are issued to the distribution nodes through the central node, the superior nodes directly carry out the interaction of the shared resource messages with the distribution nodes, thereby solving the problem that the interaction of the shared resource messages between the subordinate nodes and the superior nodes can influence the service of the superior nodes when the service of the subordinate nodes is busy.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, device or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the embodiments provided in the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes at least one instruction for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above description is only an alternative embodiment of the present invention and is not intended to limit the present invention, and various modifications and variations of the present invention may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (8)

1. A resource publishing method is applied to a central node, the central node is in communication connection with at least one distribution node, the central node is in communication connection with a resource node and a request node respectively, and the method comprises the following steps:
receiving resource publishing information sent by the resource node, wherein the resource publishing information comprises resource information;
generating a routing path in a routing table according to the resource release information, wherein the routing path comprises a corresponding relation between the resource release information and the distribution nodes;
sending the resource information to the distribution node according to the routing table so that the distribution node can store the resource information;
receiving resource request information sent by the request node, wherein the resource request information comprises request information, and the request information corresponds to the resource information; the resource request information also comprises authentication information, and the authentication information corresponds to the resource node;
sending the authentication information to the resource node so that the resource node judges whether to send authorization information to the central node or not according to the authentication information after receiving the authentication information;
when the authorization information is received, determining the distribution node according to the request information and the routing table; sending resource distribution information to the distribution node so that the distribution node can send the resource information to the request node according to the resource distribution information;
and when the authorization information is not received, sending refusal request information to the request node.
2. The resource issuing method according to claim 1, wherein the resource issuing information further includes check information, the resource request information further includes matching information, and after the step of receiving the resource request information sent by the requesting node, the method further includes:
judging whether the check information is consistent with the matching information;
when the check information is consistent with the matching information, executing the step of determining the distribution nodes according to the request information and the routing table;
and when the verification information is inconsistent with the matching information, sending request refusing information to the request node.
3. The resource distribution method according to claim 1, wherein the resource distribution information further includes attribute information, wherein the attribute information is a common attribute of the resource information, and the step of generating the routing path in the routing table according to the resource distribution information includes:
and generating the routing path according to the attribute information so as to enable the resource information with the same attribute information to correspond to the same distribution node.
4. The resource issuing method according to claim 3, wherein the routing table further includes the number of the resource information stored by the distribution node, and the step of generating the routing path according to the attribute information so as to correspond the resource information having the same attribute information to the same distribution node includes:
determining the distribution nodes corresponding to the resource information according to the attribute information;
judging whether the quantity of the resource information stored by the distribution node exceeds a preset threshold value or not according to the routing table;
when the quantity of the resource information stored by the distribution node does not exceed the preset threshold value, generating the routing path according to the attribute information;
and when the quantity of the resource information stored by the distribution node exceeds a preset threshold value, generating the routing path according to the routing table, wherein the routing path comprises a corresponding relation between the resource information and another distribution node, and the quantity of the resource information stored by the another distribution node does not exceed the preset threshold value.
5. A resource publishing method is applied to a resource node, wherein the resource node is in communication connection with a central node, and the method comprises the following steps:
sending resource release information to the central node so that the central node sends and stores the resource information to a distribution node, wherein the resource release information comprises resource information;
receiving authentication information;
and judging whether to send authorization information to the central node according to the authentication information so that the central node judges whether to send the resource information of the distributed nodes to the request node according to the authorization information.
6. A resource release device is characterized in that the device is applied to a central node, the central node is in communication connection with at least one distribution node, the central node is in communication connection with a resource node and a request node, and the device comprises a first resource transceiving module, a maintenance module and a judgment module;
the first resource transceiver module is configured to receive resource publishing information sent by the resource node, where the resource publishing information includes resource information;
the maintenance module is used for generating a routing path in a routing table according to the resource publishing information, wherein the routing path comprises a corresponding relation between the resource publishing information and the distribution node;
the first resource transceiving module is further configured to send the resource information to the distribution node according to the routing table so that the distribution node stores the resource information, and is further configured to receive resource request information sent by the request node, where the resource request information includes request information, and the request information corresponds to the resource information; the resource request information also comprises authentication information, and the authentication information corresponds to the resource node;
the first resource transceiving module is further configured to send the authentication information to the resource node so that the resource node, after receiving the authentication information, determines whether to send authorization information to the central node according to the authentication information; the judging module is used for determining the distribution node according to the request information and the routing table when the authorization information is received;
the first resource transceiver module is further configured to send resource distribution information to the distribution node, so that the distribution node sends the resource information to the request node according to the resource distribution information;
the judging module is also used for sending refusing request information to the request node when the authorization information is not received.
7. A resource distribution apparatus, applied to a resource node, the resource node being communicatively connected to a central node, the apparatus comprising:
the third resource receiving module is used for receiving authentication information;
and the third resource sending module is used for sending resource publishing information to the central node, wherein the resource publishing information comprises resource information, and is used for judging whether to send authorization information to the central node according to the authentication information so that the central node judges whether to send the resource information to other nodes according to the authorization information.
8. A resource release system is characterized by comprising a central node, at least one distribution node, a resource node and a request node, wherein the central node is in communication connection with the distribution node, and is respectively in communication connection with the resource node and the request node;
the central node is used for receiving resource release information sent by the resource node, wherein the resource release information comprises resource information;
the central node is used for generating a routing path in a routing table according to the resource publishing information, wherein the routing path comprises the corresponding relation between the resource publishing information and the distribution nodes;
the central node is used for sending the resource information to the distribution nodes according to the routing table so that the distribution nodes can store the resource information conveniently;
the central node is configured to receive resource request information sent by the requesting node, where the resource request information includes request information, and the request information corresponds to the resource information; the resource request information also comprises authentication information, and the authentication information corresponds to the resource node;
the central node is used for sending the authentication information to the resource node so that the resource node judges whether to send authorization information to the central node or not according to the authentication information after receiving the authentication information;
the central node is used for determining the distribution nodes according to the request information and the routing table when receiving the authorization information; the central node is used for sending resource distribution information to the distribution nodes so that the distribution nodes can send the resource information to the request nodes according to the resource distribution information;
the central node is used for sending request refusing information to the request node when the authorization information is not received.
CN201811528559.6A 2018-12-13 2018-12-13 Resource publishing method, device and system Active CN110191143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811528559.6A CN110191143B (en) 2018-12-13 2018-12-13 Resource publishing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811528559.6A CN110191143B (en) 2018-12-13 2018-12-13 Resource publishing method, device and system

Publications (2)

Publication Number Publication Date
CN110191143A CN110191143A (en) 2019-08-30
CN110191143B true CN110191143B (en) 2022-09-30

Family

ID=67713886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811528559.6A Active CN110191143B (en) 2018-12-13 2018-12-13 Resource publishing method, device and system

Country Status (1)

Country Link
CN (1) CN110191143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988407B (en) * 2019-12-16 2024-04-05 浙江宇视科技有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494830A (en) * 2008-01-25 2009-07-29 北京美科互动科技有限公司 Movable data transmission method and system, and application in news coverage
CN101594292A (en) * 2008-05-30 2009-12-02 中兴通讯股份有限公司 Content delivery method, service redirection method and system, node device
US7636764B1 (en) * 2008-09-29 2009-12-22 Gene Fein Cloud resource usage in data forwarding storage
CN103200272A (en) * 2013-04-18 2013-07-10 南京工业大学 Streaming media storage system and storage method
CN107391261A (en) * 2017-07-29 2017-11-24 安徽云帮邦网络技术有限公司 A kind of cloud data platform

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447910B (en) * 2007-11-26 2012-04-25 华为技术有限公司 Distributed network storage control method, device and distribution system
JP5005527B2 (en) * 2007-12-27 2012-08-22 株式会社日立製作所 Storage system and data management method in storage system
CN101710901B (en) * 2009-10-22 2012-12-05 乐视网信息技术(北京)股份有限公司 Distributed type storage system having p2p function and method thereof
CN102916930B (en) * 2011-08-02 2018-01-23 中兴通讯股份有限公司 Fused business network and its node, resource request routing iinformation acquisition methods
US9774739B2 (en) * 2014-03-20 2017-09-26 Genesys Telecommunications Laboratories, Inc. Resource sharing in a peer-to-peer network of contact center nodes
CN104461740B (en) * 2014-12-12 2018-03-20 国家电网公司 A kind of cross-domain PC cluster resource polymerization and the method for distribution
CN105404469B (en) * 2015-10-22 2018-11-13 浙江宇视科技有限公司 A kind of storage method and system of video data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494830A (en) * 2008-01-25 2009-07-29 北京美科互动科技有限公司 Movable data transmission method and system, and application in news coverage
CN101594292A (en) * 2008-05-30 2009-12-02 中兴通讯股份有限公司 Content delivery method, service redirection method and system, node device
US7636764B1 (en) * 2008-09-29 2009-12-22 Gene Fein Cloud resource usage in data forwarding storage
CN103200272A (en) * 2013-04-18 2013-07-10 南京工业大学 Streaming media storage system and storage method
CN107391261A (en) * 2017-07-29 2017-11-24 安徽云帮邦网络技术有限公司 A kind of cloud data platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络地理信息系统;颜辉武 等;《网络地理信息系统》;20071231;第86-87页 *

Also Published As

Publication number Publication date
CN110191143A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN111488595B (en) Method for realizing authority control and related equipment
US8813225B1 (en) Provider-arbitrated mandatory access control policies in cloud computing environments
CN112532675B (en) Method, device and medium for establishing network edge computing system
CN112100675A (en) Zero-trust data storage access method and system
CN109274782B (en) Method and device for collecting website data
CN110858833B (en) Access control policy configuration method, device and system and storage medium
US8484309B2 (en) Owner controlled access to shared data resource
CN103716326A (en) Resource access method and URG
CN107111510B (en) Method and device for operating VNF packet
US10897467B2 (en) Method and arrangement for configuring a secure domain in a network functions virtualization infrastructure
CN105302920A (en) Optimal management method and system for cloud storage data
CN107306247B (en) Resource access control method and device
CN106095641A (en) A kind of monitoring methods, devices and systems
CN113612754A (en) Cross-domain access method and system based on block chain
CN105468619A (en) Resource distribution method and device used for database connection pool
CN105991596A (en) Access control method and system
CN110191143B (en) Resource publishing method, device and system
CN113596168B (en) Verification method and device based on block chain alliance chain
CN111124591B (en) Mirror image transmission method and device, electronic equipment and storage medium
CN113542405B (en) Block chain-based network communication system, method, equipment and storage medium
CN106656936B (en) A kind of access control method, PRP entity, PDP entity and PEP entity
CN114567678B (en) Resource calling method and device for cloud security service and electronic equipment
CN115176452B (en) Method and system for data management in a communication network
CN115617781A (en) Digital object creating and data management method and device
CN112819468A (en) Intelligent contract processing method and device and electronic equipment

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