CN116760836A - Distributed service enabling method, device, system, communication equipment and storage medium - Google Patents

Distributed service enabling method, device, system, communication equipment and storage medium Download PDF

Info

Publication number
CN116760836A
CN116760836A CN202311029747.5A CN202311029747A CN116760836A CN 116760836 A CN116760836 A CN 116760836A CN 202311029747 A CN202311029747 A CN 202311029747A CN 116760836 A CN116760836 A CN 116760836A
Authority
CN
China
Prior art keywords
target
service request
operator
node
distributed node
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.)
Granted
Application number
CN202311029747.5A
Other languages
Chinese (zh)
Other versions
CN116760836B (en
Inventor
张琳峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China 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 CN202311029747.5A priority Critical patent/CN116760836B/en
Publication of CN116760836A publication Critical patent/CN116760836A/en
Application granted granted Critical
Publication of CN116760836B publication Critical patent/CN116760836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • 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)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a distributed service enabling method, a device, a system, a communication device and a storage medium. The method is applied to distributed nodes in a peer-to-peer network and comprises the following steps: receiving a service request sent by an application; determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators; sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter; and returning the service request processing result. By adopting the method, the business sealing barriers among operators can be broken, and the cross-operator business service can be realized.

Description

Distributed service enabling method, device, system, communication equipment and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a distributed service enabling method, apparatus, system, communication device, computer readable storage medium, and program product.
Background
With the development of mobile communication technology, more and more operators emerge like spring bamboo shoots after raining, and diversified choices are provided for vast users. GSMA in 2023 introduced an open Gateway API program that hoped to provide an open unified telecommunications network capability API interface to the outside. However, the value added service provision of the conventional mobile communication network is generally composed of a service management platform and service enabling (or called service engine), each operator is deployed independently to provide service for users of the home network, no interworking is needed between the operators, the operators rely on the closed service provision environment constructed by the home network, and a third party can perform service development, deployment and settlement based on the service provision environment of the operators.
The current closed business processing mode has the problem that only the local network user can be served.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a distributed service enabling method, apparatus, system, communication device, computer readable storage medium, and program product.
In a first aspect, the present application provides a distributed service enablement method. The method comprises the following steps:
receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter;
and sending a processing result of the target operator for the service request to the application.
In one embodiment, each distributed node in the peer-to-peer network has a unique node identifier, and each distributed node stores a routing table, and the routing table stores node identifiers and path information of adjacent distributed nodes;
the determining a target distributed node based on the operator parameter and/or the equipment parameter in the service request comprises:
and determining the number segment characteristic value corresponding to the operator parameter and/or the hash characteristic value corresponding to the equipment parameter carried by the service request.
Searching a corresponding node identifier in the routing table based on the hash characteristic value, and determining a target distributed node;
or searching the number segment routing information of the routing table based on the number segment characteristic value, and finding out candidate nodes corresponding to the number segment characteristic value; and under the condition that a plurality of candidate nodes are provided, searching node identifiers corresponding to the candidate nodes in the routing table based on the hash characteristic values, and determining target distributed nodes in the plurality of candidate nodes.
In one embodiment, sending, by the target distributed node, the service request to the target operator gateway comprises:
sending a service request to a target operator gateway under the condition that the target distributed node is the node itself; and forwarding the service request to other nodes under the condition that the target distributed node is the other nodes, and sending the service request to the target operator gateway through the other nodes.
In one embodiment, sending the processing result of the target operator for the service request to the application includes:
and under the condition that the target distributed node is the node, receiving a processing result returned by the target operator gateway for the service request, and sending the processing result of the service request to the application.
And under the condition that the target distributed node is other nodes, receiving processing results returned by the other nodes for the service request, and sending the processing results of the service request to the application.
In a second aspect, the present application also provides a distributed service enabling apparatus for use in a distributed node in a peer-to-peer network, the apparatus comprising:
the request receiving module is used for receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
a node determining module, configured to determine a target distributed node in the peer-to-peer network based on the operator parameter and/or the device parameter in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
a request sending module, configured to send, through the target distributed node, the service request to a target operator gateway, where the target operator is an operator corresponding to the operator parameter;
and the result returning module is used for returning the processing result of the target operator for the service request to the application.
In a third aspect, the present application also provides a distributed service enabling system. The system comprises an application and a peer-to-peer network, wherein the peer-to-peer network comprises a plurality of distributed nodes, each distributed node has the function of interconnection with gateway interfaces provided by a plurality of operators, and the specific flow of the operation of the system is as follows:
the application is installed at a terminal or a server and is used for sending a service request to the peer-to-peer network, wherein the service request carries an operator parameter and a device parameter corresponding to the terminal or the server where the application is located;
a distributed node in the peer-to-peer network, configured to receive a service request sent by the application, and determine a target distributed node in the peer-to-peer network based on an operator parameter and/or a device parameter in the service request; the target distributed node is the distributed node itself or other distributed nodes; and sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter.
In a fourth aspect, the present application also provides a communication device. The communication device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter;
and sending a processing result of the target operator for the service request to the application.
In a fifth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter;
and sending a processing result of the target operator for the service request to the application.
In a sixth aspect, the application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter;
and returning a processing result of the target operator for the service request to the application.
Receiving, by a distributed node interconnected with gateways provided by a plurality of operators, a service request sent by an application and carrying an operator parameter and a device parameter corresponding to a terminal or a server where the application is located; the distributed node determines that the node itself or other nodes send the service request to a gateway of a target operator corresponding to the operator parameter based on the operator parameter and/or the equipment parameter in the service request; and finally, the distributed node receiving the service request sent by the application in the peer-to-peer network sends the processing result of the target operator for the service request to the application. In the method, the distributed node is used as an intermediate medium for establishing communication between the application and the gateways provided by the operators, and the distributed node has the function of interconnection with the gateways provided by the operators, so that unified business logic is realized, business services of operators can be provided for users, and the problem that the closed business processing mode of each operator in the prior art can only provide services for users of the local network is effectively solved.
Drawings
FIG. 1 is a diagram of an application environment for a distributed service enablement method in one embodiment;
FIG. 2 is a flow diagram of a distributed service enablement method in one embodiment;
FIG. 3 is a flow diagram of determining a target distributed node in a peer-to-peer network in one embodiment;
FIG. 4 is a detailed flow diagram of a distributed service enablement method according to one embodiment;
FIG. 5 is a block diagram of a distributed service enabled device in one embodiment;
fig. 6 is an internal structural diagram of a communication device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The distributed enabling method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Including distributed application layers (dabp, decentralized application, distributed applications), service enablement layers (SEF, support entity function, supporting entity functions), capability openness layers (NEF, network exposure function, network openness functions), network function layers (NF, network function, operator core network). The dAPP is an application for sending a service request, where the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the service request is located, and the dAPP can be understood as a distributed application. The service enabling layer is composed of a plurality of D-SE nodes, wherein the D-SE nodes can be understood as distributed nodes, the plurality of D-SE nodes form a P2P network, the P2P network refers to a peer-to-peer network, and the same D-SE node can be interconnected with openGateway provided by a plurality of operators to form an open service network architecture. The capability open layer is composed of openGateway of multiple operators, which controls multiple NFs, where openGateway refers to an open gateway. The network function layer is composed of NF under the control of the open gateway of each operator, and the NF is used as a main body for realizing the service request.
In one embodiment, as shown in fig. 2, a distributed service enabling method is provided, and the method is applied to the D-SE node in fig. 1 for illustration, and includes the following steps:
step S210, receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located.
Wherein the application may be a software application that, upon receipt of a specific task or command, sends a service request to distributed nodes in the peer-to-peer network. Specifically, the application mentioned in step 210 above may be the dAPP described in FIG. 1. The service request is a specific task or command, and can be a coordination task, exchange information, query task and the like.
The service request sent by the dAPP to the peer-to-peer network carries an operator parameter, where the operator parameter is an identity code for distinguishing different operators, and the identity code may be a GPSI (Generic Public Subscription Identifier, general public user identifier).
The service request sent by the dAPP to the peer-to-peer network further carries device parameters corresponding to the terminal or the server where the application is located, and different device parameters correspond to different terminals or servers, so that the device parameters may also be necessary conditions for determining the network element identifier of each D-SE node, and specifically, the device parameters may be the IP address and the port number of the terminal or the server device.
The terminal or server where the application is located may be a communication device in a mobile communication network, which is also denoted UE elsewhere in the present disclosure.
The step S210 may be that the first distributed node in the peer-to-peer network receives the service request sent by the application, where the first distributed node may be any node in the peer-to-peer network, and may default to a listening state, where the first distributed node operates in a low power consumption manner, and starts to operate when the service request is monitored.
Step S220, determining a target distributed node in the peer-to-peer network based on the operator parameters and/or the device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the functionality of interconnecting with gateways provided by multiple operators.
Wherein a plurality of operators may be understood as providers providing network services. The gateway provided by the multiple operators may be openGateway as described in fig. 1.
In the present disclosure, each distributed node has a function of interconnecting with gateways provided by multiple operators, which means that the same D-SE node may be interconnected with openGateway of multiple operators, where a peer-to-peer network includes multiple distributed nodes, and for a service request, a node actually connected with an operator gateway may be adjusted according to a type of the service requested, or the requested operator, or a terminal or a server device that sends the request.
In the implementation of step S220, since the operator parameter and/or the device parameter generally include information for distinguishing different service requests sent by different users, the target distributed node in the peer-to-peer network may also be found based on the operator parameter and/or the device parameter.
And step S230, the service request is sent to a target operator gateway through the target distributed node, and the target operator is an operator corresponding to the operator parameter.
In the implementation of step S230, the target operator gateway may be known according to the operator parameters carried in the service request, so that the target distributed node may send the service request to the corresponding target operator gateway. And the target operator gateway receives the service request, then the core network under the control of the target operator gateway executes the service request and returns a service processing result to the target distributed node.
Step S240, sending a processing result of the target operator for the service request to the application.
And under the condition that the target distributed node is the node, the node interconnected with the application receives the processing result returned by the target operator gateway for the service request and sends the processing result of the service request to the application.
And under the condition that the target distributed node is other nodes, the target operator gateway returns the processing result of the service request to the other nodes, and the nodes interconnected with the application receive the processing result returned by the other nodes for the service request and send the processing result of the service request to the application.
In the above embodiment of the present disclosure, a distributed node is used as an intermediary for establishing communication between an application and gateways of a plurality of operators, and a service request, which is sent by the application and carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located, is received through the distributed node interconnected with the gateways provided by the plurality of operators; the distributed node determines that the node itself or other nodes send the service request to a gateway of a target operator corresponding to the operator parameter based on the operator parameter and/or the equipment parameter in the service request; and finally, sending a processing result of the target operator for the service request to the application by a distributed node interconnected with the application in the peer-to-peer network. In the method, the distributed node is used as an intermediate medium for establishing communication between the application and the gateways provided by the operators, and the distributed node has the function of interconnection with the gateways provided by the operators, so that unified business logic is realized, business services of operators can be provided for users, and the problem that the closed business processing mode of each operator in the prior art can only provide services for users of the local network is effectively solved.
In one embodiment, each distributed node in the peer-to-peer network has a unique node identifier, and each distributed node stores a routing table, and the routing table stores node identifiers and path information of adjacent distributed nodes; further, as shown in fig. 3, after the distributed node receives the service request sent by the distributed application, the process of determining the target distributed node in the peer-to-peer network may include the following steps:
step S310, determining a number segment feature value corresponding to the operator parameter and/or a hash feature value corresponding to the equipment parameter carried by the service request.
The number segment characteristic value may be a characteristic value related to number segment information contained in the operator parameter, and the hash characteristic value may be a characteristic value of the device parameter after hash calculation of the IP address and the port number.
In the implementation of the step S310, the distributed node determines a hash feature value according to the device parameter, determines a corresponding number segment feature value according to the operator parameter, and further may use at least one of the two feature values to search the routing table to determine the target distributed node.
Step S320, searching the routing table based on the number segment characteristic value and/or the hash characteristic value, and determining a target distributed node.
The above step S320 may be implemented in the following three cases:
and independently utilizing the hash characteristic value, namely searching the corresponding node identifier in the routing table based on the hash characteristic value, and determining the target distributed node.
And independently utilizing the number segment characteristic value, namely searching the number segment routing information in the routing table based on the number segment characteristic value, and finding out candidate nodes corresponding to the number segment characteristic value.
The method comprises the steps of utilizing two characteristic values in a mixed mode, namely searching number segment routing information in the routing table based on the number segment characteristic values, and finding candidate nodes corresponding to the number segment characteristic values; and under the condition that a plurality of candidate nodes are provided, searching node identifiers corresponding to the candidate nodes in the routing table based on the hash characteristic values, and determining a target distributed node in the plurality of candidate nodes.
According to the embodiment of the disclosure, the corresponding number segment characteristic value and/or the hash characteristic value can be obtained based on the operator parameter and/or the equipment parameter carried in the service request, and then the corresponding target distributed node is more accurately and more rapidly searched by utilizing the hash calculation and/or the number segment characteristic value, so that the efficiency and the accuracy of searching the target distributed node are improved.
In an embodiment, the sending, by the target distributed node, the service request to the target operator gateway includes the following steps:
in the case that the target distributed node is a node itself interconnected with the application, sending a service request to a target operator gateway by the node interconnected with the application; and if the target distributed node is other nodes, the node interconnected with the application forwards the service request to the other nodes, and the service request is sent to the target operator gateway through the other nodes.
According to the embodiment of the disclosure, for a plurality of distributed nodes, different service requests sent by different users are routed to the corresponding target distributed nodes, the target distributed nodes are interconnected with the target operator gateway, and when a single node fails, the service requests can be adjusted to be interconnected with other target distributed nodes and the operator gateway, so that the service requests can be effectively sent to the target operator gateway.
In one embodiment, the foregoing sending, to the application, a processing result of the target operator for the service request includes the following steps:
in the case that the target distributed node is the node itself, the node interconnected with the application receives a processing result returned by the target operator gateway for the service request, and sends the processing result of the service request to the application;
and under the condition that the target distributed node is other nodes, the node interconnected with the application receives processing results returned by the other nodes for the service request and sends the processing results of the service request to the application. And the other nodes receive the processing results of the target operator gateway for the service request through the interconnected target operator gateway.
Through the embodiment, the distributed application can not only realize interconnection with a plurality of operator networks through a plurality of distributed nodes contained in the peer-to-peer network, but also receive service request processing results returned by different operator networks corresponding to the distributed application, thereby realizing bidirectional cross-operator service between the application and a plurality of core networks.
In order to better explain the distributed service enabling method of the present disclosure, as shown in fig. 4, a detailed flow of the distributed service enabling method is further provided, including the following steps:
in step S410, the distributed application dAPP sends a service request to the D-SE1 node, where the service request carries device information of a terminal or a server where the distributed application is located and parameter information of a target operator.
The device information may be an IP address and a port number of a terminal or a server where the device information is located, and the parameter information of the target operator is GPSI number segment information of the UE; the D-SE1 node may be a randomly selected one of the distributed nodes.
In step S420, after receiving the service request, the D-SE1 node calculates a hash feature value corresponding to the IP address and the port number, extracts a number segment feature value contained in the hash feature value, determines a corresponding target distributed node based on at least one of the two feature values, and details of the determined specific scheme are described in the above embodiments, which are not described herein.
Step S430, judging whether the target distributed node is itself, if so, executing steps S440-S450; if not, go to step S460-S490.
Step S440, if the target distributed node is itself, the D-SE1 node sends the service request to the target operator gateway.
Step S450, after receiving the service request sent by the D-SE1 node, the target operator gateway executes the service request, and after executing, the target operator gateway returns a processing result of the target operator gateway for the service request to the D-SE1 node.
In step S460, if the target distributed node is not itself, but is a D-SE2 node, the D-SE1 node forwards the received service request to the D-SE2 node.
Step S470, the D-SE2 node sends the service request to the target operator gateway.
Step S480, after receiving the service request sent by the D-SE2 node, the target operator gateway executes the service request, and after executing, the target operator gateway returns a processing result of the target operator gateway for the service request to the D-SE2 node.
Step S490, the D-SE2 node forwards the processing result of the target operator for the service request to the D-SE1 node.
In step S500, after receiving the processing result of the service request by the target operator (as received in step S450 or as received in step S490), the D-SE1 node returns the processing result of the service request by the target operator to the application.
The embodiments disclosed above have the following advantages over the prior art:
(1) The distributed ad hoc network is supported, and better expandability is achieved. The multi-node in the peer-to-peer network can realize dynamic load balancing more easily through cooperation, and single-node faults can ensure the availability of services and the number of nodes can be increased or reduced dynamically by quickly adjusting the service categories of other nodes;
(2) Unified business logic is realized through an Open Gateway API provided by an operator, and business services of the operator can be provided for users.
(3) The method is suitable for the 4G/5G network and the future 6G network.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a device for realizing the above-mentioned distributed service enabling method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in one or more apparatus embodiments provided below may refer to the limitation of the distributed service enabling method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 5, there is provided a distributed service enabling apparatus applied to a distributed node in a peer-to-peer network, comprising: a request receiving module 510, a node determining module 520, a request sending module 530, a result returning module 540, wherein:
a request receiving module 510, configured to receive a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
a node determination module 520 for determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
a request sending module 530, configured to send, by using the target distributed node, the service request to a target operator gateway, where the target operator is an operator corresponding to the operator parameter;
and the result returning module 540 is configured to send, to the application, a processing result of the target operator for the service request.
In one embodiment, the node determining module 520 further includes: a calculation sub-module and a search sub-module, wherein:
and the computing sub-module is used for determining the number segment characteristic value corresponding to the operator parameter and/or the hash characteristic value corresponding to the equipment parameter in the service request.
And the searching sub-module is used for searching the routing table based on the characteristic values and determining the target distributed node.
In one embodiment, the above-mentioned searching sub-module is specifically configured to: searching a corresponding node identifier in the routing table based on the hash characteristic value, and determining a target distributed node; searching number segment routing information in the routing table based on the number segment characteristic values, and determining corresponding candidate nodes; and under the condition that a plurality of candidate nodes are provided, searching node identifiers corresponding to the candidate nodes in the routing table based on the hash characteristic values, and finally determining the target distributed nodes.
In one embodiment, the request sending module 530 is specifically configured to send a service request to a target operator gateway when the target distributed node is the node itself; and forwarding the service request to the target distributed node under the condition that the target distributed node is other nodes, and sending the service request to the target operator gateway through the other nodes.
In an embodiment, the above-mentioned result returning module 540 is specifically configured to receive, when the target distributed node is the node itself, a processing result returned by the target operator gateway for the service request; sending a processing result of the service request to the application; receiving processing results returned by the other nodes for the service request under the condition that the target distributed node is the other nodes; and sending a processing result of the service request to the application.
Each of the modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the communication device, or may be stored in software in a memory in the communication device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a communication device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The communication device comprises a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the communication device is configured to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the communication equipment is used for storing service request information, and the service request carries operator parameters and equipment parameters corresponding to the terminal or the server where the application is located. The input/output interface of the communication device is used to exchange information between the processor and the external device. The communication interface of the communication device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a distributed service enablement method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the communication device to which the present inventive arrangements are applied, and that a particular communication device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a distributed service enabling system is provided, comprising: applications and peer-to-peer networks that include a plurality of distributed nodes, each having the functionality of interconnecting with gateways provided by a plurality of operators.
The application is installed at a terminal or a server and is used for sending a service request to the peer-to-peer network, wherein the service request carries an operator parameter and a device parameter corresponding to the terminal or the server where the application is located;
a distributed node in the peer-to-peer network, configured to receive a service request sent by the application, and determine a target distributed node in the peer-to-peer network based on an operator parameter and/or a device parameter in the service request; the target distributed node is the distributed node itself or other distributed nodes; and sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter.
In an embodiment, a communication device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the distributed service enabling method of the above embodiments when executing the computer program.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the distributed service enablement method of the above embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the distributed service enabling method of the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (FerroelectricRandom Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (DynamicRandom Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (12)

1. A distributed traffic-enabled method for a distributed node in a peer-to-peer network, the method comprising:
receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
determining a target distributed node in the peer-to-peer network based on operator parameters and/or device parameters in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
the service request is sent to a target operator gateway through the target distributed node, and a target operator is an operator corresponding to the operator parameters;
and sending a processing result of the target operator for the service request to the application.
2. The method of claim 1, wherein each distributed node in the peer-to-peer network has a unique node identification, and each distributed node maintains a routing table, wherein the routing table maintains node identifications and path information for neighboring distributed nodes;
the determining a target distributed node based on the operator parameter and/or the equipment parameter in the service request comprises:
determining a number segment characteristic value corresponding to the operator parameter and/or a hash characteristic value corresponding to the equipment parameter carried by the service request;
and searching the routing table based on the number segment characteristic value and/or the hash characteristic value, and determining a target distributed node.
3. The method of claim 2, wherein looking up the routing table based on the segment eigenvalues and/or hash eigenvalues, determining a target distributed node, comprises:
and searching the corresponding node identification in the routing table based on the hash characteristic value, and determining a target distributed node.
4. The method according to claim 2, wherein said determining a target distributed node based on said number segment characteristic value and/or hash characteristic to look up said routing table comprises:
searching number segment routing information in the routing table based on the number segment characteristic values, and finding candidate nodes corresponding to the number segment characteristic values;
and under the condition that a plurality of candidate nodes are provided, searching node identifiers corresponding to the candidate nodes in the routing table based on the hash characteristic values, and determining target distributed nodes in the plurality of candidate nodes.
5. The method of claim 1, wherein sending, by the target distributed node, the service request to the target operator gateway comprises:
and sending the service request to a target operator gateway under the condition that the target distributed node is the node.
6. The method of claim 1, wherein sending, by the target distributed node, the service request to the target operator gateway, further comprises:
and forwarding the service request to other nodes under the condition that the target distributed node is the other nodes, and sending the service request to the target operator gateway through the other nodes.
7. The method according to claim 1, wherein sending the processing result of the target operator for the service request to the application comprises:
and under the condition that the target distributed node is the node, receiving a processing result returned by the target operator gateway for the service request, and sending the processing result of the service request to the application.
8. The method of claim 1, sending, to the application, a result of processing the service request by the target operator, comprising:
and under the condition that the target distributed node is other nodes, receiving processing results returned by the other nodes for the service request, and sending the processing results of the service request to the application.
9. A distributed service enabling apparatus for use with a distributed node in a peer-to-peer network, the apparatus comprising:
the request receiving module is used for receiving a service request sent by an application; the service request carries an operator parameter and a device parameter corresponding to a terminal or a server where the application is located;
a node determining module, configured to determine a target distributed node in the peer-to-peer network based on the operator parameter and/or the device parameter in the service request; the target distributed node is the distributed node itself or other distributed nodes; each distributed node in the peer-to-peer network has the function of interconnecting with gateways provided by a plurality of operators;
a request sending module, configured to send, through the target distributed node, the service request to a target operator gateway, where the target operator is an operator corresponding to the operator parameter;
and the result return module is used for sending the processing result of the target operator for the service request to the application.
10. A distributed service enabling system, comprising: an application and a peer-to-peer network, the peer-to-peer network comprising a plurality of distributed nodes, each distributed node having the functionality of interconnecting with gateway interfaces provided by a plurality of operators;
the application is installed at a terminal or a server and is used for sending a service request to the peer-to-peer network, wherein the service request carries an operator parameter and a device parameter corresponding to the terminal or the server where the application is located;
a distributed node in the peer-to-peer network, configured to receive a service request sent by the application, and determine a target distributed node in the peer-to-peer network based on an operator parameter and/or a device parameter in the service request; the target distributed node is the distributed node itself or other distributed nodes; and sending the service request to a target operator gateway through the target distributed node, wherein the target operator is an operator corresponding to the operator parameter.
11. A communication device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 8 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
CN202311029747.5A 2023-08-16 2023-08-16 Distributed service enabling method, device, system, communication equipment and storage medium Active CN116760836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311029747.5A CN116760836B (en) 2023-08-16 2023-08-16 Distributed service enabling method, device, system, communication equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311029747.5A CN116760836B (en) 2023-08-16 2023-08-16 Distributed service enabling method, device, system, communication equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116760836A true CN116760836A (en) 2023-09-15
CN116760836B CN116760836B (en) 2023-10-31

Family

ID=87948151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311029747.5A Active CN116760836B (en) 2023-08-16 2023-08-16 Distributed service enabling method, device, system, communication equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116760836B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188144A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 System and method for achieving distributed gateway intercommunication
CN108270689A (en) * 2018-01-10 2018-07-10 中国人民解放军战略支援部队信息工程大学 A kind of method and device for realizing service connection
CN109428820A (en) * 2017-08-29 2019-03-05 贵州白山云科技股份有限公司 A kind of multi-line is by method and system
CN109462825A (en) * 2019-01-04 2019-03-12 中国联合网络通信集团有限公司 Phone number distribution method, equipment and computer readable storage medium
WO2020125539A1 (en) * 2018-12-20 2020-06-25 华为技术有限公司 Node device selecting method and related device thereof
CN113283987A (en) * 2021-05-17 2021-08-20 网易(杭州)网络有限公司 Service processing method, device, block chain gateway, block chain node and storage medium
CN114286416A (en) * 2021-12-23 2022-04-05 中国电信股份有限公司 Communication control method and device, electronic device and storage medium
CN114765468A (en) * 2021-01-11 2022-07-19 中国电信股份有限公司 Routing method, routing device and storage medium
CN116366652A (en) * 2023-04-13 2023-06-30 中国银行股份有限公司 Distributed application operation and maintenance method, system, device, server and gateway equipment
WO2023135799A1 (en) * 2022-01-17 2023-07-20 株式会社Nttドコモ Terminal, wireless communication method, and base station

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188144A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 System and method for achieving distributed gateway intercommunication
CN109428820A (en) * 2017-08-29 2019-03-05 贵州白山云科技股份有限公司 A kind of multi-line is by method and system
CN108270689A (en) * 2018-01-10 2018-07-10 中国人民解放军战略支援部队信息工程大学 A kind of method and device for realizing service connection
WO2020125539A1 (en) * 2018-12-20 2020-06-25 华为技术有限公司 Node device selecting method and related device thereof
CN109462825A (en) * 2019-01-04 2019-03-12 中国联合网络通信集团有限公司 Phone number distribution method, equipment and computer readable storage medium
CN114765468A (en) * 2021-01-11 2022-07-19 中国电信股份有限公司 Routing method, routing device and storage medium
CN113283987A (en) * 2021-05-17 2021-08-20 网易(杭州)网络有限公司 Service processing method, device, block chain gateway, block chain node and storage medium
CN114286416A (en) * 2021-12-23 2022-04-05 中国电信股份有限公司 Communication control method and device, electronic device and storage medium
WO2023135799A1 (en) * 2022-01-17 2023-07-20 株式会社Nttドコモ Terminal, wireless communication method, and base station
CN116366652A (en) * 2023-04-13 2023-06-30 中国银行股份有限公司 Distributed application operation and maintenance method, system, device, server and gateway equipment

Also Published As

Publication number Publication date
CN116760836B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN105340244A (en) Dynamic content distribution network selection based on context from transient criteria
WO2021160676A1 (en) Routing communication in telecommunications network having multiple service communication proxies
US8149840B2 (en) Method, system and processor for processing network address translation service
CN105227602A (en) A kind of method of load balancing, client, registrar and system
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN109218037B (en) Message broadcasting method and device in P2P network
US20130159374A1 (en) Method And Apparatus For Messaging In The Cloud
CN110995591A (en) Method, device and medium for selecting optimal path based on link layer discovery protocol
EP2557823A1 (en) Authentication authorization and accounting server and message processing method thereof
CN113076212A (en) Cluster management method, device and equipment and computer readable storage medium
US7680950B1 (en) Efficient search for storage objects in a network
JP4490484B2 (en) Service routing
CN116760836B (en) Distributed service enabling method, device, system, communication equipment and storage medium
CN117176796A (en) Message pushing method, device, computer equipment and storage medium
CN114553706A (en) Network topology discovery method and device and electronic equipment
CN111917870A (en) Request processing method, system, device, electronic equipment and storage medium
CN115314419B (en) Cloud network-oriented self-adaptive connectivity analysis method, system, equipment and storage medium
US20220263759A1 (en) Addressing method, addressing system, and addressing apparatus
CN114172853B (en) Configuration method and device of traffic forwarding and bare computer server
CN114884880A (en) Data transmission method and system
CN114356575A (en) User request processing method and device
US20120051261A1 (en) Determination of bypass zones from network configuration settings
CN111385371B (en) MAC address acquisition method, device and equipment
US20080091740A1 (en) Method for managing a partitioned database in a communication network
CN116781706A (en) Data processing method, device, computer equipment and storage medium

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