CN114827266A - Service providing method, network node and storage medium - Google Patents

Service providing method, network node and storage medium Download PDF

Info

Publication number
CN114827266A
CN114827266A CN202210404712.4A CN202210404712A CN114827266A CN 114827266 A CN114827266 A CN 114827266A CN 202210404712 A CN202210404712 A CN 202210404712A CN 114827266 A CN114827266 A CN 114827266A
Authority
CN
China
Prior art keywords
cloud service
node
cloud
service request
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210404712.4A
Other languages
Chinese (zh)
Inventor
马晨昊
李聪
董国珍
解冲锋
李云鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210404712.4A priority Critical patent/CN114827266A/en
Publication of CN114827266A publication Critical patent/CN114827266A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

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

Abstract

The disclosure provides a service providing method, a network node and a storage medium, and relates to the technical field of communication. The service providing method of the present disclosure includes: the cloud node acquires a cloud service request; and under the condition that the cloud node determines that the resource corresponding to the cloud service request exists, the cloud node determines to provide the corresponding cloud service or feeds back the corresponding resource according to the source node of the cloud service request. By the method, the cloud node can make corresponding reactions based on the cached resources and the received cloud service request, provide own resources for other cloud nodes or users in the network, and realize service response and interaction based on the resources.

Description

Service providing method, network node and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a service providing method, a network node, and a storage medium.
Background
The cloud network integration is a deep revolution of information infrastructure brought by the deep integration of communication technology and information technology, and finally, relatively independent cloud computing resources and network facilities are integrated to form a system of integrated supply, integrated operation and integrated service through three stages of cooperation, integration and integration in the development process.
The integrated supply means that network resources and cloud resources are uniformly defined, packaged and arranged to form a uniform, quick and elastic resource supply system. The integrated operation refers to the operation system independent from the cloud and the network, and the whole domain resource perception, the consistent quality assurance, the integrated planning and the operation and maintenance management are turned to. The integrated service is to realize unified acceptance, unified delivery and unified presentation of cloud network services for customers, and realize deep fusion of the cloud services and the network services.
Disclosure of Invention
An object of the present disclosure is to provide a service providing method under cloud network convergence.
According to an aspect of some embodiments of the present disclosure, there is provided a service providing method including: the cloud node acquires a cloud service request; and under the condition that the cloud node determines that the resource corresponding to the cloud service request exists, the cloud node determines to provide the corresponding cloud service or feeds back the corresponding resource according to the source node of the cloud service request.
In some embodiments, determining to build the corresponding cloud service or feed back the corresponding resource according to the source node of the cloud service request includes: if the source node of the cloud service request is the user node, providing corresponding cloud service; and if the source node of the cloud service request is a non-user node, feeding back resources corresponding to the cloud service request through the port for acquiring the cloud service request.
In some embodiments, the cloud node determines whether a resource corresponding to the cloud service request is provided according to cloud service cache information in a CS (Content Store) interest table, where the CS interest table is established for the cloud node according to the cached resource.
In some embodiments, the service providing method further comprises: if the cloud node determines that the resources corresponding to the cloud service request are not available, determining a target forwarding port according to a predetermined routing strategy and cloud service routing information, and forwarding the cloud service request, wherein the cloud service routing information is generated and updated by the cloud node according to local service resources and received routing interaction information, and comprises a naming prefix of the cloud service, a port corresponding to the cloud service, a path packet loss rate and time delay.
In some embodiments, the service providing method further comprises: and under the condition that the resource corresponding to the cloud service request is determined not to be provided, updating a PIT (Pending Interest Table) according to the cloud service request and the target forwarding port.
In some embodiments, updating the PIT comprises: recording the name of the cloud service, a port for receiving the cloud service request and a target forwarding port in the PIT; if the cloud service record corresponding to the cloud service request is in the PIT, judging whether repeated entries appear in the PIT; if duplicate entries appear in the PIT, the duplicate entries are deleted.
In some embodiments, the service providing method further comprises: and the cloud node sends routing interaction information to the network according to the generated cloud service routing information.
In some embodiments, the service providing method further comprises: the cloud node acquires cloud service data information, wherein the cloud service data information comprises a cloud service name, resource requirements, a configuration template and a service source; and under the condition that the cloud node has the resource corresponding to the cloud service data information, determining to provide the corresponding cloud service or forward the cloud service data information according to the source node of the cloud service request corresponding to the cloud service name.
In some embodiments, determining to provide the corresponding cloud service or forward the cloud service data information according to the source node of the cloud service request corresponding to the cloud service name includes: if the source node of the cloud service request is the user node, configuring corresponding cloud service according to the cloud service data information and providing the cloud service for the user node; and if the source node of the cloud service request is a non-user node, feeding back cloud service data information by acquiring a port of the cloud service request.
In some embodiments, the service providing method further comprises: and if the cloud node does not have the resources corresponding to the cloud service data information, deleting the cloud service data information.
In some embodiments, the service providing method further comprises: the network node judges whether a CS interest table is provided; if the network node determines that the CS interest list is provided, determining that the network node is a cloud node; and if the network node determines that the CS interest table is not provided, determining that the network node is a routing node.
In some embodiments, the service providing method further comprises: the routing node acquires a cloud service request; and determining a target forwarding port according to a preset routing strategy and cloud service routing information, and forwarding a cloud service request, wherein the cloud service routing information is generated and updated by the routing node according to the received routing interaction information.
In some embodiments, the service providing method further comprises: and the routing node updates the PIT according to the cloud service request and the target forwarding port.
In some embodiments, the service providing method further comprises: the routing node acquires cloud service data information; judging whether the cloud service corresponding to the cloud service data information is recorded in the PIT or not; if the record is recorded in the PIT, forwarding cloud service data information according to the record in the PIT; and if the data is not recorded in the PIT, deleting the cloud service data information.
According to an aspect of some embodiments of the present disclosure, there is provided a network node comprising: an acquisition unit configured to acquire a cloud service request; and the first processing unit is configured to determine to provide the corresponding cloud service or feed back the corresponding resource according to the source node of the cloud service request under the condition that the resource corresponding to the cloud service request is determined to be provided.
In some embodiments, the network node further comprises: a node type determination unit configured to: judging whether a CS interest table is provided; if the network node determines that the CS interest list is provided, determining that the network node is a cloud node, and activating a first processing unit; if the network node determines that the CS interest table is not available, the network node determines that the network node is a routing node, keeps the first processing unit silent, and activates the second processing unit; and the second processing unit is configured to determine a target forwarding port according to a predetermined routing strategy and cloud service routing information, and forward the cloud service request, wherein the cloud service routing information is generated and updated by the routing node according to the received routing information.
According to an aspect of some embodiments of the present disclosure, there is provided a network node comprising: a memory; and a processor coupled to the memory, the processor configured to perform a service provisioning method as any one of above based on instructions stored in the memory.
According to an aspect of some embodiments of the present disclosure, a non-transitory computer-readable storage medium is proposed, on which computer program instructions are stored, which instructions, when executed by a processor, implement the steps of any one of the service providing methods above.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a flow diagram of some embodiments of a method performed by a cloud node in a service providing method of the present disclosure.
Fig. 2 is a flowchart of another embodiment of a method performed by a cloud node in the service providing method of the present disclosure.
Fig. 3 is a flowchart of further embodiments of methods performed by a cloud node in the service providing method of the present disclosure.
Fig. 4A is a flow diagram of some embodiments of a method performed by a routing node in a service provisioning method of the present disclosure.
Fig. 4B is a flowchart of another embodiment of a method performed by a routing node in a service providing method according to the present disclosure.
Fig. 5 is a schematic diagram of some embodiments of a service provisioning method of the present disclosure.
Fig. 6 is a schematic diagram of some embodiments of network nodes of the present disclosure.
Fig. 7 is a schematic diagram of further embodiments of a network node of the present disclosure.
Fig. 8 is a schematic diagram of still further embodiments of network nodes of the present disclosure.
Detailed Description
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
The traditional IP network is a communication mode taking a server as a center, addresses are used for identifying the server, data acquisition needs to access the data server, the server directly influences the time delay in the distance of the network or a physical position, and a named data network takes data contents as the center, sets a content name as an addressing mode, establishes a routing table based on the content name for communication, and decouples the relationship between the data contents and the server position.
The NDN (Named Data Networking) content-based communication mode is beneficial to realizing cloud network integration, and cloud resources and network resources integration can provide cloud services by adopting a cloud service-based communication mode.
The invention provides a service providing mode under cloud network convergence, which is beneficial to providing services for users by cooperation of a plurality of clouds in a network.
A flow diagram of some embodiments of a method performed by a cloud node in a service providing method of the present disclosure is shown in fig. 1.
In step 110, the cloud node obtains a cloud service request, which may include a name or identification of the requested service. In some embodiments, the cloud service requests nodes from the last hop, such as other cloud nodes or routing nodes, user nodes, and the like.
In step 120, the cloud node determines whether it has resources, such as files or data resources, required by the requested service. If the cloud node determines that it has the required resources, step 130 is executed.
In some embodiments, the cloud node is pre-cached with a portion of the resources, and may also request and cache resources from other nodes in the network in order to provide cloud services. In some embodiments, the cloud node may establish the CS interest table according to the cached resources, and further match the required resources with the cloud service cache information in the CS interest table, and if the matching is successful, it is determined that the required resources are provided, otherwise, the required resources are not provided. In some embodiments, the cloud node may update the CS interest table according to a change of its own resource, for example, according to a predetermined frequency. In some embodiments, the cloud node may send a cloud service request to other nodes in the network to acquire resources and cache the resources, and further update the CS interest table to extend services that the cloud node can provide.
In step 130, the cloud node determines to provide a corresponding cloud service or feed back a corresponding resource based on the resource cached by the cloud node.
In some embodiments, the cloud node may distinguish the types of the cloud service requests, and provide the corresponding cloud service to the user if the cloud service request is a request for providing the cloud service for the user request; if the cloud service request is a request for requesting the cache of the corresponding resource by other nodes (such as cloud nodes) in the network, feeding back the corresponding resource.
In some embodiments, the cloud node may determine the type of the cloud service request by identifying a source node of the cloud service request, for example, if the source node of the cloud service request is a user node, providing a corresponding cloud service; and if the source node of the cloud service request is a non-user node, feeding back resources corresponding to the cloud service request through a port (or interface) for acquiring the cloud service request.
Based on the manner in the above embodiment, the cloud node can make a corresponding reaction based on the cached resources of the cloud node and the received cloud service request, so as to provide the resources of the cloud node to other cloud nodes or users in the network, and implement service response and interaction based on the resources.
In some embodiments, as shown in fig. 1, the service providing method of the present disclosure may further include step 140. In step 120, if the cloud node determines that it does not have the resources required for the requested service, step 140 is executed.
In step 140, the cloud node determines a target forwarding port according to a predetermined routing policy and the cloud service routing information, and forwards the cloud service request. In some embodiments, the cloud service routing information is generated and updated by the cloud node according to the local service resource and the received routing interaction information, and the cloud service routing information may include a naming prefix of the cloud service, a port corresponding to the cloud service, a path packet loss rate, a time delay, and the like.
Based on the method in the embodiment, the cloud node can search the cloud node capable of providing the corresponding resource and forward the cloud service request under the condition that the cloud node does not have the resource required by the cloud service request, so that the cloud service request can be received by other cloud nodes in the network, the corresponding resource is provided for the node requiring the service or the resource, the success rate of providing the cloud service is improved, and the user experience is improved.
In some embodiments, as shown in fig. 1, the service providing method of the present disclosure may further include step 150.
In step 150, the cloud node updates the PIT according to the cloud service request and the target forwarding port when determining that the resource corresponding to the cloud service request is not available. In some embodiments, the steps 140, 150 are not in a fixed order and may be processed in parallel.
In some embodiments, the process of updating the PIT may be as shown in fig. 2.
In step 251, the cloud node records the name of the cloud service, the port receiving the cloud service request, and the target forwarding port in a PIT, where the PIT is mainly used to track the request packet that is not satisfied currently.
In step 252, the cloud node determines whether a cloud service record corresponding to the cloud service request is already recorded in the PIT. If the cloud service corresponding to the cloud service request is not recorded in the PIT, execute step 255; if the cloud service corresponding to the cloud service request is already recorded in the PIT, step 253 is executed.
In step 253, the cloud node determines whether a duplicate entry has occurred in the PIT. In some embodiments, the duplicate entries refer to more than two entries where the name of the cloud service, the port receiving the cloud service request, and the target forwarding port are all the same. If duplicate entries appear in the PIT, go to step 253; otherwise, step 255 is performed.
In step 254, the PIT is deduplicated and only one entry remains for the duplicate. The PIT update operation is completed.
In step 255, the PIT update operation ends.
Based on the mode in the above embodiment, the current unsatisfied request can be recorded and updated in time, so that the storage resource waste, the service resource waste and the service providing confusion caused by the repetition of the recorded request can be avoided, and the stability of the cloud service is ensured.
In some embodiments, when the cloud node needs to establish the cloud service, the cloud node needs to be based on parameters and templates corresponding to the cloud service. The cloud nodes can store parameters and templates corresponding to some services, and the parameters and the templates can be transmitted among the cloud nodes. If the cloud node has the parameters and the templates required by the cloud service to be established, establishing the service based on the stored resources; if the cloud node does not have corresponding parameters and templates, the cloud node needs to obtain the parameters and the templates from other cloud nodes. In addition, the cloud node can update the storage of the cloud node according to the parameters and the template information transmitted in the network.
In some embodiments, the cloud node may determine the corresponding parameter, template, from the name or identity of the cloud service.
A flowchart of further embodiments of the method performed by the cloud node in the service providing method of the present disclosure is shown in fig. 3.
In step 361, the cloud node obtains cloud service data information, where the cloud service data information includes a cloud service name, a resource requirement, a configuration template, and a service source.
In step 362, the cloud node determines whether a resource corresponding to the cloud service data information is available. If the cloud node has the resource corresponding to the cloud service data information, step 363 is executed.
In step 363, the cloud node determines to provide the corresponding cloud service or forward cloud service data information according to the source node of the cloud service request corresponding to the cloud service name. In some embodiments, the cloud node also caches configuration parameter (such as configuration template) information carried in the cloud service data information under the condition of forwarding the cloud service data information, so that the configuration information storage of the cloud node is enriched, and the efficiency of subsequent cloud service establishment is improved.
In some embodiments, the cloud node may determine a subsequent processing manner according to a type of the cloud service request corresponding to the cloud service data information. In some embodiments, if the cloud service request is a request for a user to request provision of cloud services, the user is provided with the corresponding cloud services; if the cloud service request is a request for requesting caching of the corresponding resource by other nodes (such as cloud nodes) in the network, the cloud nodes needing the resource also need the cloud service data information, so that the cloud service data information is sent through a port for acquiring the corresponding cloud service request, and the node for initiating the cloud service request can receive the cloud service data information.
In some embodiments, the cloud node may determine the type of the cloud service request by identifying a source node of the cloud service request, and if the source node of the cloud service request is a user node, construct a corresponding cloud service based on cloud service data information, and provide the cloud service to the user; and if the source node of the cloud service request is a non-user node, feeding back cloud service data information by acquiring a port of the cloud service request.
Based on the mode in the embodiment, the cloud node can store the configuration information and provide the service under the condition that the cloud node can provide the corresponding cloud service after acquiring the configuration information required for establishing the cloud service; meanwhile, the cloud node initiating the resources corresponding to the cache cloud service in the network can receive the corresponding configuration information, and the success rate of cloud service establishment is improved.
In some embodiments, as shown in fig. 3, the service providing method of the present disclosure may further include step 364. In step 362, if the cloud node does not have the resource corresponding to the cloud service data information, step 364 is executed.
In step 364, the cloud node deletes the cloud service data information.
Based on the mode in the embodiment, the cloud node can identify and delete the cloud service data information which is not needed by the cloud node, and the utilization rate of the storage space is improved.
In some embodiments, besides the cloud node which has service resources and can provide cloud services, the routing node which does not have service resources and can not provide cloud services can also perform coordination operations in the construction and the provision of the cloud services. A flow diagram of some embodiments of a method performed by a routing node in a service provisioning method of the present disclosure is shown in fig. 4A.
In step 410, the routing node obtains a cloud service request.
In step 420, the routing node determines a target forwarding port according to a predetermined routing policy and the cloud service routing information, and forwards the cloud service request. In some embodiments, the cloud service routing information is generated and updated by the routing node according to the received routing interaction information, wherein at least one of the routing node and the cloud node in the network sends the cloud service routing information of the routing node and the cloud node to other nodes in the network, so that the other cloud nodes and the routing node can record and update the routing information conveniently.
In some embodiments, the predetermined routing policy may include selection according to remaining resources of the cloud node, selection according to path length, selection according to cloud node priority, selection according to user level, and the like, and in some embodiments, the predetermined routing policy may be set or modified according to requirements.
Based on the method in the embodiment, the routing node can forward the cloud service request to the forwarding port of the cloud node with the corresponding resource, so that the cloud service request reaches the cloud node, and the success rate of cloud service establishment and resource intercommunication is improved.
In some embodiments, the routing node may also update the PIT according to the cloud service request and the target forwarding port. In some embodiments, the process of updating the PIT by the routing node may be similar to that of the cloud node, for example, the PIT of the routing node is updated by using logic as in fig. 2, so that the currently unsatisfied request can be timely recorded and updated, storage resources, waste of service resources, and confusion of service provision caused by repetition of the recorded request are also avoided, and the stability of the cloud service is ensured.
A flow diagram of further embodiments of methods performed by a routing node in a service provisioning method of the present disclosure is shown in fig. 4B.
In step 430, the routing node obtains cloud service data information.
In step 440, the routing node determines whether the cloud service corresponding to the cloud service data information is recorded in its PIT. If the information is recorded in the PIT, determining that the routing node has the capability of forwarding the cloud service data information to the cloud node needing the information, and executing step 450; otherwise, it is determined that the routing node does not have the capability of forwarding the cloud service data information to the cloud node that needs the information, and step 460 is performed.
In step 450, the routing node forwards the cloud service data information according to the record in the PIT.
In step 460, the routing node deletes the cloud service data information.
Based on the mode in the embodiment, the routing node can forward the cloud service data information to the cloud node needing the information according to the PIT, so that the cloud node can conveniently establish the corresponding cloud service in time, and the success rate and the efficiency of establishing the cloud service are improved.
In some embodiments, the state of the network node may be switched between the routing node and the cloud node, and the network node may determine its state by determining whether it has a CS interest table. If the network node has the CS interest table, it is determined that the network node is a cloud node, and after receiving the cloud service data information, the operation performed by the cloud node in the embodiment shown in fig. 3 is performed. If the network node does not have the CS interest table, it is determined that the network node is a routing node, and after receiving the cloud service data information, the operation performed by the routing node in the embodiment shown in fig. 4B is performed.
Based on the mode in the embodiment, the network node can be switched between the states of the routing node and the cloud node, so that the operation flexibility of the network node is improved.
A schematic diagram of some embodiments of a service provisioning method of the present disclosure is shown in fig. 5. The nodes in the network may include routing nodes and cloud nodes. Each cloud node (e.g., N1 to N4) discovers locally available cloud services, generates a cloud service information base, and establishes a CS interest table, which may be, in some embodiments, as shown in a cloud service CS cache table in fig. 5, store services that can be provided, corresponding resources, configuration templates, and source information of the templates. The contents of the tables in the figures are examples only. The cloud node can also calculate and generate local cloud service routing information, including information such as a naming prefix, a corresponding port, a path packet loss rate and time delay of the cloud service. In some embodiments, the cloud node advertises cloud service routing information into the network via Interest packets at regular intervals. In some embodiments, cloud service routing Information is stored in a FIB (forwarding Information dataBase) table.
Each network node (e.g., N1-N6) in the network, including the cloud node and the routing node, adds a route in the FIB according to the received routing information and local policy configuration. Unlike an IP network, a route of the same cloud service name may have a plurality of route entries having different path attributes.
When the network node determines a forwarding exit port, the network node defaults to select a path with low packet loss rate, low time delay and the like according to the path information in the strategy module and the FIB table.
In the figure, a cloud node N1 can provide a service, the corresponding resource is a, and the corresponding configuration template is Conf 1; the cloud node N1 may also provide a B service, where the corresponding resource is B and the corresponding configuration template is Conf 2. The cloud node N2 can provide a service C, the corresponding resource is C, and the corresponding configuration template is Conf 3; the cloud node N1 may also provide a D service, where the corresponding resource is D and the corresponding configuration template is Conf 4.
When the user node N0 initiates a cloud service request, the routing node N5 determines that it is a user request, and searches whether the cloud service corresponding to the request is in the PIT. If the cloud service request is not in the PIT, the cloud service request is a new request, and the PIT records a port for receiving the request and a port for forwarding; if the cloud service request is in the PIT, the cloud service request is a repeated request of the same service, and the PIT records a port for receiving the request and a forwarding port corresponding to the request. Routing node N5 forwards the cloud service request according to the determined forwarded port.
When the cloud node N3 receives the cloud service request, the cloud node first determines whether there is a cache corresponding to the cloud service in its CS interest table. If the CS has a corresponding cache, the cloud node further judges whether the CS is a user request, and if the CS is the user request, the cloud node builds a cloud service locally and provides the cloud service for a port receiving the cloud service request; if the request is not the user request, the cloud node forwards the cache content to the port receiving the request according to the cache content.
If the CS interest table of the cloud node does not have the cache of the cloud service, whether the record of the cloud service request exists is searched in the PIT module, and the PIT module judges whether the cloud service exists in the PIT module. If the cloud service request is not in the PIT, the request is a newly added request, and the PIT records a port for receiving the request and a port for forwarding; if the cloud service request is in the PIT, the cloud service request is a repeated request of the same service, the PIT records a port for receiving the request and a forwarding port corresponding to the request, and the PIT executes deduplication operation.
In addition, cloud service data information may also be transmitted in the network, for example, the node N2 sends the configuration template Conf3 to a port of the node N6, and the configuration template Conf3 is carried by the cloud service data information.
The routing node N6 searches whether a corresponding cloud service request record exists in the PIT according to the cloud service name carried in the cloud service data information, and if not, discards the data packet; and if the port information exists, forwarding the data packet to the corresponding port according to the port information recorded in the PIT.
When the cloud node exists, the node searches whether a cloud service request record exists in the PIT according to the cloud service name, if not, the data packet is discarded, and if so, whether the cloud service request is initiated by the user is judged.
If the cloud service request is initiated by the user, caching data such as a configuration template of the cloud service in the CS, and configuring the cloud service to provide the cloud service for the user according to the port information recorded in the PIT. If the cloud service request is not initiated by the user, forwarding the data packet to the corresponding port according to the port information recorded in the PIT, and caching data such as a configuration template of the cloud service in the CS.
Considering that the manner of providing part of cloud services is similar to the manner of providing data by the NDN, information such as a configuration template for providing the cloud services in the disclosure may be cached in one or more cloud nodes, and when a user requests the services, the cloud nodes build a cloud service environment locally by using the cached information to directly provide the cloud services. According to the characteristics of the cloud service, through the generation of the interest table and the routing table and the improvement of the use mode, the network nodes are divided into the cloud and the routing nodes, the differentiation function is executed when the requests and the data packets are processed, and the efficient and quick cloud service is realized. The network also inherits the excellent characteristics of NDN, endogenous safety, endogenous multicast and the like, and realizes the cooperative service provision among multiple clouds.
A schematic diagram of some embodiments of a network node 60 of the present disclosure is shown in fig. 6.
The acquisition unit 601 can acquire a cloud service request.
The first processing unit 602 can determine to provide the corresponding cloud service or feed back the corresponding resource according to the source node of the cloud service request when determining that the resource corresponding to the cloud service request is provided.
When the network node is used as a cloud node, the network node can make a corresponding reaction based on the cached resources and the received cloud service request, so that the self-owned resources are provided for other network nodes or users in the network, and the service response and interaction based on the resources are realized.
In some embodiments, the first processing unit 602 can further determine a target forwarding port according to a predetermined routing policy and cloud service routing information and forward the cloud service request, in case that it is determined that the current network node does not have resources required by the requested service. When the network node is used as a cloud node, the cloud node capable of providing corresponding resources can be searched under the condition that the network node does not have the resources required by the cloud service request, and the cloud service request is forwarded, so that the cloud service request can be received by other network nodes in the network, the corresponding resources are provided for the nodes needing services or resources, the success rate of providing the cloud service is improved, and the user experience is improved.
In some embodiments, the first processing unit 602 may further update the PIT according to the cloud service request and the target forwarding port, when it is determined that the current network node does not have the resource corresponding to the cloud service request. In some embodiments, the update logic may be as shown in FIG. 2.
The network node can timely record and update the current unsatisfied request, further avoid storage resource and service resource waste and service providing chaos caused by repeated recorded requests and ensure the stability of the cloud service.
In some embodiments, the obtaining unit 601 can further obtain cloud service data information, where the cloud service data information includes a cloud service name, a resource requirement, a configuration template, and a service source. The first processing unit 602 can also determine whether a resource corresponding to the cloud service data information is provided. And if the current network node has the resources corresponding to the cloud service data information, determining to provide the corresponding cloud service or forward the cloud service data information according to the source node of the cloud service request corresponding to the cloud service name. In some embodiments, when the current network node forwards the cloud service data information, the current network node itself also caches configuration parameter (such as configuration template) information carried in the cloud service data information, so that configuration information storage of the current network node itself is enriched, and efficiency of subsequent cloud service establishment is improved.
When the network node is used as a cloud node, after configuration information required for establishing cloud service is acquired, the configuration information is stored and the service is provided under the condition that the network node can provide the corresponding cloud service; meanwhile, the cloud node initiating the resources corresponding to the cache cloud service in the network can receive the corresponding configuration information, and the success rate of cloud service establishment is improved.
In some embodiments, the first processing unit 602 can further delete the cloud service data information when the current node does not have the resource corresponding to the cloud service data information.
When the network node is used as a cloud node, the unnecessary cloud service data information of the network node can be identified and deleted, and the utilization rate of the storage space is improved.
In some embodiments, as shown in fig. 6, the network node may further include a node type determining unit 603, configured to determine whether the current node has a CS interest table; if the network node determines that the CS interest list is provided, determining that the network node is a cloud node, and activating a first processing unit; and if the network node determines that the CS interest table is not provided, determining that the network node is a routing node, keeping the first processing unit silent, and activating the second processing unit. The network node can switch between the states of the routing node and the cloud node and activate the corresponding function, so that the flexibility is improved.
In some embodiments, as shown in fig. 6, the network node may further include a second processing unit 604 capable of determining a target forwarding port according to a predetermined routing policy and cloud service routing information, and forwarding the cloud service request. The cloud service routing information is generated and updated by the routing node according to the received routing information. When the network node is used as a routing node, the cloud service request can be forwarded to a forwarding port of the cloud node with the corresponding resources, so that the cloud service request reaches the cloud node, and the success rate of cloud service establishment and resource intercommunication is improved.
In some embodiments, as shown in fig. 6, the second processing unit 604 can further determine whether the cloud service corresponding to the cloud service data information is recorded in its PIT. If the information is recorded in the PIT, determining that the routing node has the capability of forwarding the cloud service data information to the cloud node needing the information, and forwarding the cloud service data information according to the record in the PIT; otherwise, determining that the routing node does not have the capability of forwarding the cloud service data information to the cloud node needing the information, and deleting the cloud service data information.
When the network node is used as a routing node, the cloud service data information can be forwarded to the cloud node needing the information according to the PIT, so that the cloud node can conveniently establish the corresponding cloud service in time, and the success rate and the efficiency of establishing the cloud service are improved.
A schematic structural diagram of an embodiment of a network node of the present disclosure is shown in fig. 7. The network node comprises a memory 701 and a processor 702. Wherein: the memory 701 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is for storing instructions in the corresponding embodiments of the service provisioning method above. Processor 702 is coupled to memory 701 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 702 is configured to execute instructions stored in the memory, and can provide resources owned by the user to other cloud nodes or users in the network, so as to implement resource-based service response and interaction.
In one embodiment, as also shown in fig. 8, the network node 800 comprises a memory 801 and a processor 802. The processor 802 is coupled to the memory 801 by a BUS 803. The network node 800 may also be connected to an external storage device 805 through a storage port 804 for invoking external data, and may also be connected to a network or another computer system (not shown) through a network port 806. And will not be described in detail herein.
In this embodiment, the data instructions are stored in the memory, and the instructions are processed by the processor, so that resources owned by the cloud nodes or users in the network can be provided, and service response and interaction based on the resources can be realized.
In another embodiment, a computer-readable storage medium has stored thereon computer program instructions which, when executed by a processor, implement the steps of the method in the corresponding embodiment of the service providing method. As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. 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.
Thus far, the present disclosure has been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Finally, it should be noted that: the above examples are intended only to illustrate the technical solutions of the present disclosure and not to limit them; although the present disclosure has been described in detail with reference to preferred embodiments, those of ordinary skill in the art will understand that: modifications to the specific embodiments of the disclosure or equivalent substitutions for parts of the technical features may still be made; all such modifications are intended to be included within the scope of the claims of this disclosure without departing from the spirit thereof.

Claims (18)

1. A service providing method, comprising:
the cloud node acquires a cloud service request;
and under the condition that the cloud node determines that the resource corresponding to the cloud service request is provided, the cloud node determines to provide the corresponding cloud service or feeds back the corresponding resource according to the source node of the cloud service request.
2. The method of claim 1, wherein determining to build the corresponding cloud service or feed back the corresponding resource according to the source node of the cloud service request comprises:
if the source node of the cloud service request is a user node, providing corresponding cloud service;
and if the source node of the cloud service request is a non-user node, feeding back resources corresponding to the cloud service request through the port for acquiring the cloud service request.
3. The method of claim 1, wherein the cloud node determines whether resources corresponding to the cloud service request are available according to cloud service cache information in a repository CS interest table, wherein the CS interest table is established for the cloud node according to cached resources.
4. The method of claim 1 or 3, further comprising:
if the cloud node determines that the resource corresponding to the cloud service request is not available, determining a target forwarding port according to a predetermined routing strategy and cloud service routing information, and forwarding the cloud service request,
the cloud service routing information is generated and updated by the cloud node according to local service resources and received routing interaction information, and comprises a naming prefix of the cloud service, a port corresponding to the cloud service, a path packet loss rate and a time delay.
5. The method of claim 4, further comprising: and under the condition that the resources corresponding to the cloud service request are determined not to be available, updating the pending request table PIT according to the cloud service request and the target forwarding port.
6. The method of claim 5, wherein the updating the PIT comprises:
recording the name of the cloud service, the port for receiving the cloud service request and the target forwarding port in the PIT;
if the cloud service record corresponding to the cloud service request is in the PIT, judging whether repeated entries appear in the PIT;
and if the repeated entries appear in the PIT, deleting the repeated entries.
7. The method of claim 4, further comprising: and the cloud node sends the routing interaction information to a network according to the generated cloud service routing information.
8. The method of claim 1, further comprising:
the cloud node acquires cloud service data information, wherein the cloud service data information comprises a cloud service name, resource requirements, a configuration template and a service source;
and under the condition that the cloud node has the resource corresponding to the cloud service data information, determining to provide corresponding cloud service or forward the cloud service data information according to the source node of the cloud service request corresponding to the cloud service name.
9. The method of claim 8, wherein the determining to provide the corresponding cloud service or forward the cloud service data information according to the source node of the cloud service request corresponding to the cloud service name comprises:
if the source node of the cloud service request is a user node, configuring corresponding cloud service according to the cloud service data information and providing the cloud service to the user node;
and if the source node of the cloud service request is a non-user node, feeding back the cloud service data information by acquiring the port of the cloud service request.
10. The method of claim 8, further comprising:
and if the cloud node does not have the resource corresponding to the cloud service data information, deleting the cloud service data information.
11. The method of claim 1, further comprising:
the network node judges whether a CS interest table is provided;
if the network node determines that the CS interest table is provided, determining that the network node is a cloud node;
and if the network node does not have the CS interest table, determining the network node as a routing node.
12. The method of claim 1 or 11, further comprising:
the routing node acquires the cloud service request;
and determining a target forwarding port according to a preset routing strategy and cloud service routing information, and forwarding the cloud service request, wherein the cloud service routing information is generated and updated by the routing node according to the received routing interaction information.
13. The method of claim 12, further comprising: and the routing node updates the PIT according to the cloud service request and the target forwarding port.
14. The method of claim 8 or 11, further comprising:
the routing node acquires the cloud service data information;
judging whether the cloud service corresponding to the cloud service data information is recorded in the PIT or not;
if the record is recorded in the PIT, forwarding the cloud service data information according to the record in the PIT;
and if the data information is not recorded in the PIT, deleting the cloud service data information.
15. A network node, comprising:
an acquisition unit configured to acquire a cloud service request;
the first processing unit is configured to determine to provide the corresponding cloud service or feed back the corresponding resource according to the source node of the cloud service request under the condition that the resource corresponding to the cloud service request is determined to be provided.
16. The network node of claim 15, further comprising:
a node type determination unit configured to:
judging whether a storage bank CS interest table is provided;
if the network node determines that the CS interest table is provided, determining that the network node is a cloud node, and activating the first processing unit;
if the network node determines that the CS interest table is not provided, determining that the network node is a routing node, keeping the first processing unit silent, and activating a second processing unit;
and
and the second processing unit is configured to determine a target forwarding port according to a predetermined routing strategy and cloud service routing information, and forward the cloud service request, wherein the cloud service routing information is generated and updated for the routing node according to the received routing information.
17. A network node, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-14 based on instructions stored in the memory.
18. A non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 14.
CN202210404712.4A 2022-04-18 2022-04-18 Service providing method, network node and storage medium Pending CN114827266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210404712.4A CN114827266A (en) 2022-04-18 2022-04-18 Service providing method, network node and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210404712.4A CN114827266A (en) 2022-04-18 2022-04-18 Service providing method, network node and storage medium

Publications (1)

Publication Number Publication Date
CN114827266A true CN114827266A (en) 2022-07-29

Family

ID=82536480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210404712.4A Pending CN114827266A (en) 2022-04-18 2022-04-18 Service providing method, network node and storage medium

Country Status (1)

Country Link
CN (1) CN114827266A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
US20150113166A1 (en) * 2013-10-18 2015-04-23 Palo Alto Research Center Incorporated Method and apparatus for a named network within an autonomous system
CN108713336A (en) * 2016-03-01 2018-10-26 瑞典爱立信有限公司 The correlation of customer equipment identification and information centre networking request
CN111556514A (en) * 2020-04-14 2020-08-18 北京航空航天大学 Decentralized mobile edge computing resource discovery and selection method and system
CN112351051A (en) * 2019-08-06 2021-02-09 中兴通讯股份有限公司 Cloud service processing method and device, cloud server, cloud service processing system and storage medium
CN113630428A (en) * 2020-05-08 2021-11-09 中国电信股份有限公司 Acquisition method and acquisition system for service data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
US20150113166A1 (en) * 2013-10-18 2015-04-23 Palo Alto Research Center Incorporated Method and apparatus for a named network within an autonomous system
CN108713336A (en) * 2016-03-01 2018-10-26 瑞典爱立信有限公司 The correlation of customer equipment identification and information centre networking request
CN112351051A (en) * 2019-08-06 2021-02-09 中兴通讯股份有限公司 Cloud service processing method and device, cloud server, cloud service processing system and storage medium
CN111556514A (en) * 2020-04-14 2020-08-18 北京航空航天大学 Decentralized mobile edge computing resource discovery and selection method and system
CN113630428A (en) * 2020-05-08 2021-11-09 中国电信股份有限公司 Acquisition method and acquisition system for service data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田铭等: "信息中心网络支持用户自产生业务的联合缓存路由策略", 信息工程大学学报 *

Similar Documents

Publication Publication Date Title
CN108989066B (en) Equipment management method and device
TWI431978B (en) Methods, devices and systems for obtaining resources
US9110884B2 (en) Message publishing and subscribing method and apparatus
EP3057270A1 (en) Technologies for modular forwarding table scalability
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
US20170339228A1 (en) Decentralized, hierarchical, and overlay-driven mobility support architecture for information-centric networks
US10554555B2 (en) Hash-based overlay routing architecture for information centric networks
CN108259218B (en) IP address allocation method and device
WO2024093064A1 (en) Identifier management and forwarding optimization method and apparatus in large-scale multi-modal network
JP2013542681A (en) Content sharing method and apparatus using group change information in content-centric network environment
CN103546380A (en) Message forwarding method and device based on strategy routing
CN116762373A (en) Prioritizing network function nodes
WO2014101240A1 (en) Data storage method and apparatus, data operation method and system, and access server
CN112929463A (en) Traffic proxy method, server and system based on DNS (Domain name System)
CN110855627B (en) Application deployment method, device, equipment and medium
EP3384642B1 (en) Forwarding table compression
US10298672B2 (en) Global contact-point registry for peer network devices
CN104737505A (en) Routing method based on cache and route node
CN109450798B (en) Method for managing routing table information and computer-readable storage medium
US20200186463A1 (en) Method and system for name-based in-networking processing
CN114827266A (en) Service providing method, network node and storage medium
CN111200623B (en) Method and system for realizing terminal data synchronization based on distributed storage
US20220350748A1 (en) Consistent hashing for communication devices
US11924294B2 (en) Service request handling
US8855015B2 (en) Techniques for generic pruning in a trill network

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