CN108471601A - Inter-network settlement method, apparatus, equipment and storage medium - Google Patents
Inter-network settlement method, apparatus, equipment and storage medium Download PDFInfo
- Publication number
- CN108471601A CN108471601A CN201810642824.7A CN201810642824A CN108471601A CN 108471601 A CN108471601 A CN 108471601A CN 201810642824 A CN201810642824 A CN 201810642824A CN 108471601 A CN108471601 A CN 108471601A
- Authority
- CN
- China
- Prior art keywords
- node
- communication network
- network
- inter
- settlement
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
- H04L12/1446—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level inter-operator billing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of inter-network settlement method, apparatus of offer of the embodiment of the present invention, equipment and storage medium.This method includes:First node in first communication network sends the first solicited message to obtain the IP address of the inter-network settlement node in first communication network to the core node of first communication network;The first node calls the second node in the second communication network, and converses with the second node;For the first node according to the IP address of the inter-network settlement node in first communication network, the call-information after the first node and the second node are conversed is sent to the inter-network settlement node in first communication network.The embodiment of the present invention constitutes block chain by the fringe node in different communication network, after the inter-network settlement node of calling party calculates the transfer information between different communication network, the transfer information is broadcast in the block chain network, the real-time for improving inter-network settlement avoids the expense occurred between different operators and is in arrears with problem.
Description
Technical field
The present embodiments relate to a kind of field of communication technology more particularly to inter-network settlement method, apparatus, equipment and storages
Medium.
Background technology
In the prior art, the terminal device in different communication network is communicated, such as, the end in unicom network
End equipment such as mobile phone needs to communicate with the terminal device such as mobile phone in mobile network.Assuming that the mobile phone in unicom network
A is caller, and the mobile phone B in mobile network is called, then the expense needs that mobile phone A and mobile phone B call generate are paid by mobile phone A
Unicom operator, then by unicom operator part payment expense to mobile operator.
In the prior art, inter-network settlement is not usually real-time, but settled accounts with fixed billing cycle, to
Lead to that between different operators expense may be in arrears with.
Invention content
A kind of inter-network settlement method, apparatus of offer of the embodiment of the present invention, equipment and storage medium, to improve inter-network settlement
Real-time avoids the expense occurred between different operators from being in arrears with problem.
In a first aspect, the embodiment of the present invention provides a kind of inter-network settlement method, including:
First node in first communication network sends the first solicited message to the core node of first communication network,
IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;
The first node receives the inter-network settlement node in first communication network that the core node is sent
IP address;
The first node calls the second node in the second communication network, and converses with the second node;
The first node is according to the IP address of the inter-network settlement node in first communication network, by the first segment
The inter-network settlement node that the call-information after being conversed with the second node is sent in first communication network is put, with
The inter-network settlement node in first communication network is set to calculate between first communication network and second communication network
Transfer information, and by the transfer information be broadcast to including at least in first communication network inter-network settlement node and institute
In the block chain network for stating the inter-network settlement node in the second communication network.
Second aspect, the embodiment of the present invention provide a kind of inter-network settlement method, including:
The core node of first communication network receives the first request of the transmission of the first node in first communication network
Information, IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;
The IP address of inter-network settlement node in first communication network is sent to described first by the core node
Node, so that IP address of the first node according to the inter-network settlement node in first communication network, by described first
Call-information after second node in node and the second communication network is conversed is sent in first communication network
Inter-network settlement node, so that inter-network settlement node in first communication network calculates first communication network and described the
Transfer information between two communication networks, and the transfer information is broadcast to including at least the net in first communication network
Between clearing node and the inter-network settlement node in second communication network block chain network in.
The third aspect, the embodiment of the present invention provide a kind of inter-network settlement device, including:
Sending module, for sending the first solicited message to the core node of first communication network, described first asks
Ask information for the IP address of the inter-network settlement node in the first communication network described in acquisition request;
Receiving module, for receiving the inter-network settlement node in first communication network that the core node is sent
IP address;
Calling module for calling the second node in the second communication network, and is conversed with the second node;
The sending module is additionally operable to:According to the IP address of the inter-network settlement node in first communication network, by institute
State first node and the second node conversed after the net that is sent in first communication network of call-information between tie
Operator node, so that the inter-network settlement node in first communication network calculates first communication network and second communication
Transfer information between network, and the transfer information is broadcast to including at least the inter-network settlement in first communication network
In the block chain network of node and the inter-network settlement node in second communication network.
Fourth aspect, the embodiment of the present invention provide a kind of inter-network settlement device, including:
Receiving module, the first solicited message for receiving the transmission of the first node in first communication network are described
IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;
Sending module, for the IP address of the inter-network settlement node in first communication network to be sent to described first
Node, so that IP address of the first node according to the inter-network settlement node in first communication network, by described first
Call-information after second node in node and the second communication network is conversed is sent in first communication network
Inter-network settlement node, so that inter-network settlement node in first communication network calculates first communication network and described the
Transfer information between two communication networks, and the transfer information is broadcast to including at least the net in first communication network
Between clearing node and the inter-network settlement node in second communication network block chain network in.
5th aspect, the embodiment of the present invention provide a kind of communication equipment, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor
Method described in existing first aspect or second aspect.
6th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize the method described in first aspect or second aspect.
Inter-network settlement method, apparatus, equipment and storage medium provided in an embodiment of the present invention, by different communication network
Fringe node constitute block chain, when the inter-network settlement node of calling party calculates the transfer information between different communication network
Afterwards, which is broadcast in the block chain network, improves the real-time of inter-network settlement, avoid different operators it
Between the expense that occurs be in arrears with problem.
Description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is inter-network settlement method flow diagram provided in an embodiment of the present invention;
Fig. 3 is the inter-network settlement method flow diagram that another embodiment of the present invention provides;
Fig. 4 is the inter-network settlement method flow diagram that another embodiment of the present invention provides;
Fig. 5 is the inter-network settlement method flow diagram that another embodiment of the present invention provides;
Fig. 6 is the structural schematic diagram of inter-network settlement device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of inter-network settlement device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of communication equipment provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Inter-network settlement method provided by the invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, the communication
System includes:Communication network A, communication network B and communication network C, wherein communication network A includes fringe node 11, fringe node
12, fringe node 13, fringe node 14, fringe node 15, core node 16;Communication network B includes fringe node 21, edge section
Point 22, fringe node 23, fringe node 24, fringe node 25, core node 26;Communication network C includes fringe node 31, edge
Node 32, fringe node 33, fringe node 34, fringe node 35, core node 36.Wherein, communication network A, communication network B and
Communication network C is specially different operators network, for example, communication network A is unicom network, communication network B is mobile network, logical
Communication network C is telecommunication network, and fringe node 11, fringe node 12, fringe node 13, fringe node 14, fringe node 15 can structures
At the proprietary chain of communication network A oneself, complete to tie between the certification, account control, net that the core node of communication network A undertakes together
The functions such as calculation.Fringe node 21, fringe node 22, fringe node 23, fringe node 24, fringe node 25 may make up communication network
The proprietary chain of B oneself, the functions such as certification, account control, inter-network settlement that the core node of completion communication network B undertakes together.
Fringe node 31, fringe node 32, fringe node 33, fringe node 34, fringe node 35 may make up the special of communication network C oneself
There is chain, the functions such as certification, account control, inter-network settlement that the core node of completion communication network C undertakes together.Only show herein
Meaning property explanation, does not limit the node number and position relationship in each communication network, additionally, it is appreciated that each communication
In network other than fringe node and core node, also non-edge node.In the present embodiment, the side in communication network A
The fringe node in fringe node 21, fringe node 22, communication network C in edge node 11, fringe node 12, communication network B
31, fringe node 32 can be in communication with each other, and fringe node 11, fringe node 12, fringe node 21, fringe node 22, edge
Node 31, fringe node 32 constitute a proprietary block chain.The present embodiment can pass through the side of each different carrier network
The block chain of edge node composition carries out inter-network settlement.
Inter-network settlement method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How the technical solution of technical scheme of the present invention and the application is solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is inter-network settlement method flow diagram provided in an embodiment of the present invention.The embodiment of the present invention is for the prior art
Technical problem as above, provides inter-network settlement method, and this method is as follows:
First node in step 201, the first communication network sends first to the core node of first communication network
Solicited message, first solicited message is with being used for the IP of the inter-network settlement node in the first communication network described in acquisition request
Location.
In the present embodiment, the first communication network can be specifically communication network A shown in FIG. 1, the second communication network tool
Body can be communication network B shown in FIG. 1.First node in first communication network can be specifically one in communication network A
A non-edge node or fringe node.The core node of first communication network can be the core node 16 in communication network A.Core
Heart node 16 generates wound generation block as the founder of the block chain where communication network A, and core node 16 is by the mark of oneself
The information such as information and IP address are written in the wound generation block.In addition, communication network A may include multiple cores node, it is multiple
Core node may make up star topology, the star topology it is as shown in Figure 1 17 shown in, similarly, communication network B can be with
Including multiple cores node, multiple core node may make up star topology, the star topology it is as shown in Figure 1 27
It is shown;Communication network C may include multiple cores node, and multiple core node may make up star topology, which opens up
Flutter structure it is as shown in Figure 1 37 shown in.
Specifically, as the wound of the block chain where a core node in multiple core node generates communication network A
Generation block, the core node should by the information such as the identification information of each core node and IP address write-in in multiple core node
It creates in generation block, so that the node being subsequently added in the block chain is inquired.
Any one node such as first node in communication network A is added the communication network and is namely added for the first time for the first time
When block chain where the communication network, which obtains the wound generation of the block chain to the multiple adjacent nodes of oneself first
Then the wound generation block received is compared by block, determine whether the wound generation block got from multiple adjacent nodes is consistent,
If consistent, then it is assumed that the wound generation block is true wound generation block.If inconsistent, it is determined that be more than certain amount percentage threshold
Wound generation block be true.After the first node gets true wound generation block, communication is obtained from the wound generation block
The identification information and IP address of the core node of network A, and the true wound generation block is stored in first node local.It is logical
The core node of communication network A such as core node 16 is stored with the IP address of inter-network settlement node in communication network A, in other realities
It applies in example, the core node of communication network A is also stored with the identification information of the inter-network settlement node in communication network A.Communication network
Inter-network settlement node in network A can be not limited to one, for example, fringe node 11, fringe node 12 can be in communication network A
Inter-network settlement node.Optionally, there are one lists for the core node storage of communication network A, which includes fringe node 11
IP address and identification information and fringe node 12 IP address and identification information.If fringe node 11 or fringe node 12
IP address update when, updated IP address can be sent to communication network A's by fringe node 11 or fringe node 12
Core node, so that the core node of communication network A updates the IP address of fringe node 11 or fringe node 12 in the list.Or
Person, fringe node 11 or fringe node 12 can periodically send the IP address of oneself to the core node of communication network A, with
Just when the core node of communication network A determines that the IP address of fringe node 11 or fringe node 12 updates, side in the list is updated
The IP address of edge node 11 or fringe node 12.
In the present embodiment, the first node in communication network A can be according to the IP address of the core node of communication network A
The first solicited message is sent to the core node, which is used for the inter-network settlement in acquisition request communication network A
The IP address of node, for example, the first node in communication network A to the core node of communication network A by sending the first request
Information is to obtain as the inter-network settlement node in communication network the A such as IP address of fringe node 11 and identification information or side
The IP address and identification information of edge node 12.Optionally, which can be used the private key of the first node and first is asked to this
It asks information to sign, and the first solicited message after signature is sent to the core node of communication network A.
Step 202, the first node are tied between receiving the net in first communication network that the core node is sent
The IP address of operator node.
After the core node of communication network A receives the first solicited message of first node transmission, inquiry is locally stored
List, and from the list obtain fringe node 11 IP address and identification information or fringe node 12 IP address and mark
Know information, and the IP address and identification information of the IP address of fringe node 11 and identification information or fringe node 12 are sent to
First node.For example, first node has received the IP address and mark of the fringe node 11 of the core node transmission of communication network A
Know information.Specifically, the core node of communication network A uses IP address and identification information of the private key of oneself to fringe node 11
It signs, and the result after signature is sent to first node.
Step 203, the first node call the second node in the second communication network, and are carried out with the second node
Call.
Second communication network can be specifically communication network B shown in FIG. 1, and the first node in communication network A is as master
It is the second node in node call communication network B, optionally, the second node in communication network B can be in communication network B
A non-edge node or fringe node.Assuming that second node in first node and communication network B in communication network A into
Normal call is gone.
Step 204, the first node are according to the IP address of the inter-network settlement node in first communication network, by institute
State first node and the second node conversed after the net that is sent in first communication network of call-information between tie
Operator node, so that the inter-network settlement node in first communication network calculates first communication network and second communication
Transfer information between network, and the transfer information is broadcast to including at least the inter-network settlement in first communication network
In the block chain network of node and the inter-network settlement node in second communication network.
After second node end of conversation in the first node and communication network B in communication network A, in communication network A
First node can determine the second node according to information such as the number sections, mark or IP address of the phone number of the second node
Whether it is node in same communication network with the first node.
If the first node determines that the second node and the first node belong to different communication networks, the first segment
Point according to the IP address of such as fringe node 11 of the inter-network settlement node in communication network A, by the call-information such as duration of call,
The information such as called number, mark or the IP address of second node are sent to fringe node 11.It is logical that fringe node 11 receives this
After talking about information, the standard settlement data for reading in clearing object data, acquiring pretreatment output checks, filtering is different before carrying out wholesale price
Normal ticket, abnormal inventory enter dealing of abnormal data flow, and normal inventory generation waits for rating data.It detects and closes through fringe node 11
The standard settlement data of lattice enters inventory wholesale price link, judge data whether need carry out inventory wholesale price, as need not if directly
Storage carries out subsequent processing;Wholesale price is such as needed, then is combined with clearing object data, clearing product information, carries out expense meter
It calculates, forms statement of account data, dealing of abnormal data flow is entered for the abnormal inventory filtered in wholesale price;System queries function
It is middle to increase the correctness that of that month ticket proof rule is extracted to left and right regular random, and form report.Fringe node 11 is by data
It statement of account that the abnormal inventory that is generated in the abnormal inventory that is generated in preparation, wholesale price, wholesale price generate and is not required to rating data and enters
Library.The regular way settlement data of storage are judged whether to secondary wholesale price by fringe node 11, carry out settlement data if needing
Secondary wholesale price, by after secondary wholesale price settlement data and be not required to the settlement data of secondary wholesale price according to summarize rule, transformation rule,
Clearing object, clearing product information carry out wholesale price and summarize, and providing wholesale price for flow of entering an item of expenditure in the accounts summarizes data.Further fringe node 11
In module of entering an item of expenditure in the accounts according to data are summarized, transfer information is broadcast to by the responsible inter-network settlement of each different communication network
Fringe node composition proprietary block chain for example by fringe node 11, fringe node 12, fringe node 21, fringe node 22,
In the block chain that fringe node 31, fringe node 32 are constituted, communication is had called to complete the first node in this communication network A
The inter-network settlement process of the call of second node in network B.
The embodiment of the present invention constitutes block chain by the fringe node in different communication network, when the inter-network settlement of calling party
After node calculates the transfer information between different communication network, which is broadcast in the block chain network, is improved
The real-time of inter-network settlement, avoids the expense occurred between different operators and is in arrears with problem.
Fig. 3 is the inter-network settlement method flow diagram that another embodiment of the present invention provides.On the basis of the above embodiments, originally
The inter-network settlement method that embodiment provides specifically comprises the following steps:
The phone number, identification information and IP address of the first node are sent to institute by step 301, the first node
The core node of the first communication network is stated, so that after the core node passes through the authentication of the first node, record
Phone number, identification information and the IP address of the first node.
In the present embodiment, it is namely added for the first time when the communication network is added in the first node in communication network A for the first time
When block chain where the communication network, the wound generation block of the block chain is obtained, details are not described herein again for specific acquisition process.When
After the first node gets true wound generation block, the mark of the core node of communication network A is obtained from the wound generation block
Information and IP address, and the true wound generation block is stored in first node local.Further, which can be with
According to the identification information and IP address of the core node of communication network A, by the phone number, identification information and IP of first node
Location is sent to the core node.The core node can carry out identity to the first node according to the phone number of the first node and test
Card, to determine that the first node is the user in communication network A.Pass through when the core node carries out authentication to first node
Afterwards, the phone number, identification information and IP address of the first node are recorded.It, should if the IP address of the first node changes
Updated IP address can be sent to the core node by first node, alternatively, the first node can be periodically to the core
Node reports the IP address of the first node.
First node in step 302, the first communication network sends first to the core node of first communication network
Solicited message, first solicited message is with being used for the IP of the inter-network settlement node in the first communication network described in acquisition request
Location.
The realization method and concrete principle of step 302 are consistent with the realization method and concrete principle of step 201, herein not
It repeats again.
Step 303, the first node are tied between receiving the net in first communication network that the core node is sent
The IP address of operator node.
The realization method and concrete principle of step 303 are consistent with the realization method and concrete principle of step 202, herein not
It repeats again.
Step 304, the first node call the second node in the second communication network, and are carried out with the second node
Call.
The realization method and concrete principle of step 304 are consistent with the realization method and concrete principle of step 203, herein not
It repeats again.
The phone number, identification information or IP address of the second node are sent to institute by step 305, the first node
Core node is stated, so that the core node judges whether the first node and the second node are in same communication network
Node.
In the present embodiment, first node, which does not have, judges whether the second node and the first node belong to same communication
The ability of network, at this point, after second node end of conversation in the first node and communication network B in communication network A, communication
The information such as the number section, mark or IP address of the phone number of the second node can be sent to logical by the first node in network A
Core node in communication network A.Core node in communication network A can be according to the phone number of the second node number section, mark
Know or the information such as IP address, determines whether the second node and the first node are nodes in same communication network.
It is appreciated that judge that operator is easy to according to the number section of phone number, but if it is according to mark or
It is IP to judge that operator is difficult to.It necessarily requires the core node of communication network A to be stored with and this block chain is added
The correspondence of the phone number and mark and IP address of all nodes of network.Therefore need all nodes that this is being added
At the beginning of block chain, it is required for reporting the information such as phone number, mark and the IP address of oneself to core node.
If the core node in communication network A determines that the second node and the first node are in same communication network
Node then can no longer execute subsequent step.
Step 306, the first node receive the judging result that the core node is sent, and the judging result identifies institute
It states first node and the second node is node in different communication network.
If the core node in communication network A determines that the second node and the first node are not in same communication network
Node, then the core node second node and the first node can be not belonging to the judging result of same communication network send out
Give first node.
Step 307, the first node are according to the IP address of the inter-network settlement node in first communication network, by institute
State first node and the second node conversed after the net that is sent in first communication network of call-information between tie
Operator node, so that the inter-network settlement node in first communication network calculates first communication network and second communication
Transfer information between network, and the transfer information is broadcast to including at least the inter-network settlement in first communication network
In the block chain network of node and the inter-network settlement node in second communication network.
The realization method and concrete principle of step 307 are consistent with the realization method and concrete principle of step 204, herein not
It repeats again.
The embodiment of the present invention by the fringe node in communication network come complete certification that the core node of communication network undertakes,
The functions such as account control, inter-network settlement, realize the decentralization between fringe node, to ensure that network can safely, it is credible,
Stable operation.
Fig. 4 is the inter-network settlement method flow diagram that another embodiment of the present invention provides.On the basis of the above embodiments, originally
The inter-network settlement method that embodiment provides specifically comprises the following steps:
Step 401, the first communication network core node receive the first node in first communication network transmission
First solicited message, IP of first solicited message for the inter-network settlement node in the first communication network described in acquisition request
Address.
The IP address of inter-network settlement node in first communication network is sent to by step 402, the core node
The first node, so that IP address of the first node according to the inter-network settlement node in first communication network, it will
Call-information after the first node is conversed with the second node in the second communication network is sent to described first and communicates
Inter-network settlement node in network, so that the inter-network settlement node in first communication network calculates first communication network
Transfer information between second communication network, and the transfer information is broadcast to including at least first communication network
In the block chain network of inter-network settlement node in network and the inter-network settlement node in second communication network.
The realization principle of the present embodiment the method is consistent with the realization principle of above-described embodiment, and details are not described herein again.
The embodiment of the present invention constitutes block chain by the fringe node in different communication network, when the inter-network settlement of calling party
After node calculates the transfer information between different communication network, which is broadcast in the block chain network, is improved
The real-time of inter-network settlement, avoids the expense occurred between different operators and is in arrears with problem.
Fig. 5 is the inter-network settlement method flow diagram that another embodiment of the present invention provides.On the basis of the above embodiments, originally
The inter-network settlement method that embodiment provides specifically comprises the following steps:
Step 501, the core node receive at least one fringe node is sent in first communication network second
Solicited message, second solicited message indicate that at least one fringe node applies to become in first communication network
Inter-network settlement node.
As shown in Figure 1, communication network A includes fringe node 11, fringe node 12, fringe node 13, fringe node 14, side
Edge node 15, any one edge in fringe node 11, fringe node 12, fringe node 13, fringe node 14, fringe node 15
Node can ask to become the inter-network settlement node in communication network A.For example, fringe node 11 is from the wound generation block being locally stored
Middle inquiry obtains the IP address and identification information of the core node 16 of communication network A, and sends the second request to core node 16
Information, second solicited message indicate that fringe node 11 applies to become the inter-network settlement node in communication network A.Specifically, should
Fringe node 11 can be used the private key of oneself and sign to second solicited message, and the second solicited message after signature is sent out
Give core node 16.
Step 502, the core node record the IP of at least one fringe node according to second solicited message
Address and identification information.
After core node 16 receives the second solicited message of the transmission of fringe node 11, by the IP address of fringe node 11 and
In identification information storage to local list, optionally, if fringe node 12 also sends the second solicited message to core node 16,
Then core node 16 can also will be in the IP address and identification information storage to local list of fringe node 12.
Step 503, the core node receive the phone number, identification information and IP address of the first node.
Step 504, the core node are according to the phone number, identification information and IP address of the first node to described
The identity of first node is verified.
After step 505, the core node pass through the authentication of the first node, the first node is recorded
Phone number, identification information and IP address.
Step 506, the first communication network core node receive the first node in first communication network transmission
First solicited message, IP of first solicited message for the inter-network settlement node in the first communication network described in acquisition request
Address.
The IP address of inter-network settlement node in first communication network is sent to by step 507, the core node
The first node, so that IP address of the first node according to the inter-network settlement node in first communication network, it will
Call-information after the first node is conversed with the second node in the second communication network is sent to described first and communicates
Inter-network settlement node in network, so that the inter-network settlement node in first communication network calculates first communication network
Transfer information between second communication network, and the transfer information is broadcast to including at least first communication network
In the block chain network of inter-network settlement node in network and the inter-network settlement node in second communication network.
The embodiment of the present invention by the fringe node in communication network come complete certification that the core node of communication network undertakes,
The functions such as account control, inter-network settlement, realize the decentralization between fringe node, to ensure that network can safely, it is credible,
Stable operation.
Fig. 6 is the structural schematic diagram of inter-network settlement device provided in an embodiment of the present invention.The inter-network settlement device specifically may be used
To be the first node in above-described embodiment.Inter-network settlement device provided in an embodiment of the present invention can execute inter-network settlement method
The process flow that embodiment provides, as shown in fig. 6, inter-network settlement device 60 includes:Sending module 61, receiving module 62 and calling
Module 63;Wherein, sending module 61 is used to send the first solicited message to the core node of first communication network, and described the
IP address of one solicited message for the inter-network settlement node in the first communication network described in acquisition request;Receiving module 62 is used for
Receive the IP address of the inter-network settlement node in first communication network that the core node is sent;Calling module 63 is used for
The second node in the second communication network is called, and is conversed with the second node;Sending module 61 is additionally operable to:According to institute
The IP address for stating the inter-network settlement node in the first communication network, after the first node and the second node are conversed
Call-information be sent to the inter-network settlement node in first communication network so that between the net in first communication network
Clearing node calculates the transfer information between first communication network and second communication network, and by the transfer information
It is broadcast to including at least the inter-network settlement in the inter-network settlement node and second communication network in first communication network
In the block chain network of node.
Optionally, sending module 61 is additionally operable to:The phone number, identification information and IP address of the first node are sent
To the core node of first communication network, so that after the core node passes through the authentication of the first node,
Record the phone number, identification information and IP address of the first node.
Optionally, sending module 61 is additionally operable to:The phone number, identification information or IP address of the second node are sent
To the core node, so that the core node judges whether the first node and the second node are same communication network
Node in network;Receiving module 62 is additionally operable to:The judging result that the core node is sent is received, the judging result identifies institute
It states first node and the second node is node in different communication network.
The inter-network settlement device of embodiment illustrated in fig. 6 can be used for executing the technical solution of above method embodiment, realize
Principle is similar with technique effect, and details are not described herein again.
Fig. 7 is the structural schematic diagram of inter-network settlement device provided in an embodiment of the present invention.The inter-network settlement device specifically may be used
To be the core node of communication network A in above-described embodiment.Inter-network settlement device provided in an embodiment of the present invention can execute net
Between settlement method embodiment provide process flow, as shown in fig. 7, inter-network settlement device 70 includes:Receiving module 71 and transmission
Module 72;Wherein, receiving module 71 is used to receive the first solicited message that the first node in first communication network is sent,
IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;Sending module
72 for by the IP address of the inter-network settlement node in first communication network being sent to the first node, so that described the
One node is according to the IP address of the inter-network settlement node in first communication network, by the first node and the second communication network
Call-information after second node in network is conversed is sent to inter-network settlement node in first communication network, so that
Inter-network settlement node in first communication network calculates between first communication network and second communication network
Transfer information, and the transfer information is broadcast to including at least inter-network settlement node in first communication network and described
In the block chain network of inter-network settlement node in second communication network.
Optionally, receiving module 71 is additionally operable to:Receive what at least one fringe node in first communication network was sent
Second solicited message, second solicited message indicate that at least one fringe node applies to become first communication network
In inter-network settlement node;Inter-network settlement device 70 further includes:Logging modle 73, logging modle 73 according to described second for asking
Information is asked to record the IP address and identification information of at least one fringe node.
Optionally, receiving module 71 is additionally operable to:Receive the phone number, identification information and IP address of the first node;
Inter-network settlement device 70 further includes:Authentication module 74, authentication module 74 are used for the phone number according to the first node, mark
Information and IP address verify the identity of the first node;Logging modle 73 is additionally operable to:The authentication module is to described
After the authentication of first node passes through, the phone number, identification information and IP address of the first node are recorded.
The inter-network settlement device of embodiment illustrated in fig. 7 can be used for executing the technical solution of above method embodiment, realize
Principle is similar with technique effect, and details are not described herein again.
Fig. 8 is the structural schematic diagram of communication equipment provided in an embodiment of the present invention.Communication provided in an embodiment of the present invention is set
The standby process flow that the offer of inter-network settlement embodiment of the method can be provided, as shown in figure 8, communication equipment 80 include memory 81,
Processor 82, computer program and communication interface 83;Wherein, computer program is stored in memory 81, and be configured as by
Processor 82 executes the inter-network settlement method described in above example.
The communication equipment of embodiment illustrated in fig. 8 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technique effect, details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize the inter-network settlement method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
The medium of program code can be stored.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function module
Division progress for example, in practical application, can be complete by different function modules by above-mentioned function distribution as needed
At the internal structure of device being divided into different function modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (14)
1. a kind of inter-network settlement method, which is characterized in that including:
First node in first communication network sends the first solicited message to the core node of first communication network, described
IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;
The first node is with receiving the IP of the inter-network settlement node in first communication network that the core node is sent
Location;
The first node calls the second node in the second communication network, and converses with the second node;
The first node according to the IP address of the inter-network settlement node in first communication network, by the first node with
Call-information after the second node is conversed is sent to inter-network settlement node in first communication network, so that institute
It states the inter-network settlement node in the first communication network and calculates and turn between first communication network and second communication network
Account information, and the transfer information is broadcast to including at least the inter-network settlement node and described in first communication network
In the block chain network of inter-network settlement node in two communication networks.
2. according to the method described in claim 1, it is characterized in that, first node in first communication network is to described
Before the core node of one communication network sends the first solicited message, further include:
The phone number, identification information and IP address of the first node are sent to first communication network by the first node
The core node of network records the first node so that after the core node passes through the authentication of the first node
Phone number, identification information and IP address.
3. according to the method described in claim 2, it is characterized in that, the first node calls second in the second communication network
Node, and after being conversed with the second node, further include:
The phone number, identification information or IP address of the second node are sent to the core node by the first node,
So that the core node judges whether the first node and the second node are node in same communication network;
The first node receives the judging result that the core node is sent, the judging result identify the first node and
The second node is the node in different communication network.
4. a kind of inter-network settlement method, which is characterized in that including:
The core node of first communication network receives the first solicited message of the transmission of the first node in first communication network,
IP address of first solicited message for the inter-network settlement node in the first communication network described in acquisition request;
The IP address of inter-network settlement node in first communication network is sent to the first node by the core node,
So that IP address of the first node according to the inter-network settlement node in first communication network, by the first node with
Second node in second communication network conversed after the net that is sent in first communication network of call-information between tie
Operator node, so that the inter-network settlement node in first communication network calculates first communication network and second communication
Transfer information between network, and the transfer information is broadcast to including at least the inter-network settlement in first communication network
In the block chain network of node and the inter-network settlement node in second communication network.
5. according to the method described in claim 4, it is characterized in that, the core node of first communication network receives described the
Before the first solicited message that first node in one communication network is sent, further include:
The core node receives the second solicited message that at least one fringe node is sent in first communication network, described
Second solicited message indicates that at least one fringe node applies to become the inter-network settlement node in first communication network;
The core node records the IP address of at least one fringe node according to second solicited message and mark is believed
Breath.
6. method according to claim 4 or 5, which is characterized in that the core node of first communication network receives institute
Before stating the first solicited message that the first node in the first communication network is sent, further include:
The core node receives the phone number, identification information and IP address of the first node;
The core node is according to the phone number, identification information and IP address of the first node to the body of the first node
Part is verified;
After the core node passes through the authentication of the first node, phone number, the mark of the first node are recorded
Know information and IP address.
7. a kind of inter-network settlement device, which is characterized in that including:
Sending module, for sending the first solicited message to the core node of the first communication network, first solicited message is used
The IP address of inter-network settlement node in the first communication network described in acquisition request;
Receiving module, the IP of the inter-network settlement node in first communication network for receiving the core node transmission
Location;
Calling module for calling the second node in the second communication network, and is conversed with the second node;
The sending module is additionally operable to:According to the IP address of the inter-network settlement node in first communication network, by first segment
The inter-network settlement node that the call-information after being conversed with the second node is sent in first communication network is put, with
The inter-network settlement node in first communication network is set to calculate between first communication network and second communication network
Transfer information, and by the transfer information be broadcast to including at least in first communication network inter-network settlement node and institute
In the block chain network for stating the inter-network settlement node in the second communication network.
8. inter-network settlement device according to claim 7, which is characterized in that the sending module is additionally operable to:By described
Phone number, identification information and the IP address of one node are sent to the core node of first communication network, so that the core
After heart node passes through the authentication of the first node, the phone number, identification information and IP of the first node are recorded
Address.
9. inter-network settlement device according to claim 8, which is characterized in that the sending module is additionally operable to:By described
Phone number, identification information or the IP address of two nodes are sent to the core node, so that described in core node judgement
Whether first node and the second node are node in same communication network;
The receiving module is additionally operable to:Receive the judging result that the core node is sent, the judging result mark described the
One node and the second node are the nodes in different communication network.
10. a kind of inter-network settlement device, which is characterized in that including:
Receiving module, the first solicited message sent for receiving the first node in the first communication network, first request
IP address of the information for the inter-network settlement node in the first communication network described in acquisition request;
Sending module, for the IP address of the inter-network settlement node in first communication network to be sent to the first segment
Point, so that IP address of the first node according to the inter-network settlement node in first communication network, by the first segment
Put the net that the call-information after being conversed with the second node in the second communication network is sent in first communication network
Between settle accounts node so that inter-network settlement node in first communication network calculates first communication network and described second
Transfer information between communication network, and the transfer information is broadcast to including at least between the net in first communication network
In the block chain network for settling accounts node and the inter-network settlement node in second communication network.
11. inter-network settlement device according to claim 10, which is characterized in that the receiving module is additionally operable to:Receive institute
State the second solicited message that at least one fringe node is sent in the first communication network, second solicited message indicate described in extremely
A few fringe node applies to become the inter-network settlement node in first communication network;
The inter-network settlement device further includes:Logging modle, it is described at least one for being recorded according to second solicited message
The IP address and identification information of fringe node.
12. inter-network settlement device according to claim 11, which is characterized in that the receiving module is additionally operable to:Receive institute
State the phone number, identification information and IP address of first node;
The inter-network settlement device further includes:Authentication module, for according to the phone number of the first node, identification information and
IP address verifies the identity of the first node;
The logging modle is additionally operable to:After the authentication module passes through the authentication of the first node, described is recorded
Phone number, identification information and the IP address of one node.
13. a kind of communication equipment, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor
Claim 1-6 any one of them methods.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642824.7A CN108471601B (en) | 2018-06-21 | 2018-06-21 | Internetwork settlement method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642824.7A CN108471601B (en) | 2018-06-21 | 2018-06-21 | Internetwork settlement method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108471601A true CN108471601A (en) | 2018-08-31 |
CN108471601B CN108471601B (en) | 2020-12-01 |
Family
ID=63259714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810642824.7A Active CN108471601B (en) | 2018-06-21 | 2018-06-21 | Internetwork settlement method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108471601B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989061A (en) * | 2018-09-14 | 2018-12-11 | 腾讯科技(深圳)有限公司 | Communication system, method, server and storage medium |
CN109451451A (en) * | 2019-01-04 | 2019-03-08 | 中国联合网络通信集团有限公司 | Terminal roaming method, equipment and storage medium |
CN111885157A (en) * | 2020-07-22 | 2020-11-03 | 中国联合网络通信集团有限公司 | Internet of things inter-network device communication method and system and edge node |
WO2021093739A1 (en) * | 2019-11-11 | 2021-05-20 | 华为技术有限公司 | Roaming transaction method and apparatus based on blockchain |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103648087A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Charging method and system in cross-network communication |
US20160292680A1 (en) * | 2015-04-05 | 2016-10-06 | Digital Asset Holdings | Digital asset intermediary electronic settlement platform |
CN107294738A (en) * | 2017-06-12 | 2017-10-24 | 中国联合网络通信集团有限公司 | The treating method and apparatus of communication charge |
CN107995003A (en) * | 2016-10-26 | 2018-05-04 | 中国移动通信有限公司研究院 | The charging and settlement method of international roaming communication, relevant apparatus and distributed system |
-
2018
- 2018-06-21 CN CN201810642824.7A patent/CN108471601B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103648087A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Charging method and system in cross-network communication |
US20160292680A1 (en) * | 2015-04-05 | 2016-10-06 | Digital Asset Holdings | Digital asset intermediary electronic settlement platform |
CN107995003A (en) * | 2016-10-26 | 2018-05-04 | 中国移动通信有限公司研究院 | The charging and settlement method of international roaming communication, relevant apparatus and distributed system |
CN107294738A (en) * | 2017-06-12 | 2017-10-24 | 中国联合网络通信集团有限公司 | The treating method and apparatus of communication charge |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989061A (en) * | 2018-09-14 | 2018-12-11 | 腾讯科技(深圳)有限公司 | Communication system, method, server and storage medium |
CN109451451A (en) * | 2019-01-04 | 2019-03-08 | 中国联合网络通信集团有限公司 | Terminal roaming method, equipment and storage medium |
WO2021093739A1 (en) * | 2019-11-11 | 2021-05-20 | 华为技术有限公司 | Roaming transaction method and apparatus based on blockchain |
CN111885157A (en) * | 2020-07-22 | 2020-11-03 | 中国联合网络通信集团有限公司 | Internet of things inter-network device communication method and system and edge node |
Also Published As
Publication number | Publication date |
---|---|
CN108471601B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108471601A (en) | Inter-network settlement method, apparatus, equipment and storage medium | |
CN108269190A (en) | Across chain method and its system based on across chain relaying platform | |
CN109117097A (en) | A kind of date storage method and system based on block chain | |
CN109451451A (en) | Terminal roaming method, equipment and storage medium | |
EP3790293B1 (en) | Roaming charging method, apparatus, computer storage medium and computer program | |
CN103052044B (en) | A kind of processing method of Stranger Calls and mobile terminal | |
CN103906067A (en) | Method and device for identifying false calling number | |
CN109166040A (en) | Transaction auditing method, device, equipment and storage medium based on block chain | |
CN109102412A (en) | Information of vehicles processing method, equipment and storage medium | |
CN109242460A (en) | A kind of payment system and its account checking method based on multiple channel of disbursement | |
CN108600945A (en) | Identify method, apparatus, equipment and the storage medium of double-terminal smart card | |
CN112950201A (en) | Node management method and related device applied to block chain system | |
CN109714493A (en) | The methods, devices and systems of realization machine Ka Chi binding | |
CN112699136B (en) | Cross-link certificate storage method and related device | |
CN104539637B (en) | Sending method, server and the user terminal of information of check code | |
CN109962991A (en) | Internet of Things fault handling method, device, equipment and medium | |
CN101835124B (en) | Method and system for automatically diagnosing service faults in telecommunication network | |
CN108632773A (en) | A kind of call intercepting method, intelligent net system and Call Intercept system | |
CN104065490B (en) | The system and method for analog transceiver equipment signaling is realized based on online charging environment | |
CN109104472A (en) | Block chain network network-building method, device, equipment and computer readable storage medium | |
CN106060902B (en) | Terminal access method and system based on gateway | |
CN109068343A (en) | Opening base station method, apparatus, computer storage medium and equipment | |
CN109309905A (en) | A kind of identification of pseudo-base station note and hold-up interception method and device | |
CN110544104B (en) | Account determination method and device, storage medium and electronic device | |
CN104104555A (en) | Monitoring method and system, control terminal and execution terminal |
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 |