CN108989061A - Communication system, method, server and storage medium - Google Patents

Communication system, method, server and storage medium Download PDF

Info

Publication number
CN108989061A
CN108989061A CN201811072755.7A CN201811072755A CN108989061A CN 108989061 A CN108989061 A CN 108989061A CN 201811072755 A CN201811072755 A CN 201811072755A CN 108989061 A CN108989061 A CN 108989061A
Authority
CN
China
Prior art keywords
server
terminal
base station
communication
block chain
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
CN201811072755.7A
Other languages
Chinese (zh)
Other versions
CN108989061B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010377433.4A priority Critical patent/CN111555892B/en
Priority to CN201811072755.7A priority patent/CN108989061B/en
Publication of CN108989061A publication Critical patent/CN108989061A/en
Priority to JP2020559485A priority patent/JP6999051B2/en
Priority to PCT/CN2019/102177 priority patent/WO2020052423A1/en
Application granted granted Critical
Publication of CN108989061B publication Critical patent/CN108989061B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

The invention discloses a kind of communication system, method, server and storage mediums, belong to field of communication technology.Communication system includes at least one first server, at least one base station and multiple second servers, and the target block chain configured on multiple second servers stores the rate of multiple base stations;Each base station at least one base station provides communication service;Multiple second servers know together to amount of communication data of terminal during destinations traffic, when common recognition passes through, according to the rate of the target BS stored in amount of communication data and target block chain, determine the communication charge data of terminal;Multiple second servers know together to communication charge data, and when common recognition passes through, communication charge data are stored to target block chain, and communication charge data are sent at least one first server;At least one first server is the distribution that the corresponding destination server of target BS and at least one first server carry out communication charge according to communication charge data.

Description

Communication system, method, server and storage medium
Technical field
The present invention relates to field of communication technology, in particular to a kind of communication system, method, server and storage medium.
Background technique
With the rise of mobile Internet business, the demand of mobile data amount will also surge.Hold to improve wireless network Amount, to adapt to the demand of mobile data amount, the deployment way for generalling use cell carries out network deployment.The deployment side of cell Formula is multiple cells of dense deployment within a certain area, with each cell for a unit area, establishes a small-sized base It stands, realizes the transmitting-receiving of the business of the cell.In the deployment way of cell, a cell can be disposed every 250m, Greatly meet the use demand of the mobile data amount of user.
Due to the cell enormous amount for needing to dispose, construction and maintenance to cell are a more heavy works Journey is only realized that construction and maintenance cell are more difficult by operator.Currently, can be excited by way of distribution of interests Businessman and operator other than operator build and safeguard jointly cell.Therefore, a kind of communication system is needed at present, realizes fortune The businessman other than quotient is sought and between operator to the transparence of the communication charge of user, to improve businessman's ginseng other than operator With the enthusiasm for building and safeguarding cell.
Summary of the invention
The embodiment of the invention provides a kind of communication system, method, server and storage mediums, can solve the relevant technologies In cannot achieve to charging process open and clearization the problem of.The technical solution is as follows:
On the one hand, provide a kind of communication system, the communication system include at least one first server, at least one Base station and multiple second servers, at least one described first server are the server in the core net of the communication system, The multiple second server is the server other than the core net, and each second server corresponds at least one base station, The multiple second server constitutes block chain network, is configured with target block chain, the mesh on the multiple second server Information of the storage by the multiple second server common recognition in block chain is marked, the information includes at least taking for multiple base stations Rate;
Each base station at least one described base station, for providing communication service;
The multiple second server, for knowing together to amount of communication data of terminal during destinations traffic, When common recognition passes through, according to the rate of the target BS stored in the amount of communication data and the target block chain, institute is determined State the communication charge data of terminal;
The multiple second server is also used to know together to the communication charge data, when common recognition passes through, by institute It states communication charge data to store to the target block chain, the communication charge data is sent at least one described first clothes Business device, the destinations traffic process refer to the mistake that the communication service that the terminal is provided based on the target BS is communicated Journey;
At least one described first server, for being that the target BS is corresponding according to the communication charge data Destination server and at least one described first server carry out the distribution of communication charge.
In one possible implementation, any first server at least one described first server, is also used It is right according to the public key of server to be registered in second registration request in the second registration request for receiving server to be registered The server to be registered is verified, when passing through to the server authentication to be registered, to the multiple second server The public key for sending the server to be registered sends the notice that succeeds in registration to the server to be registered, and second registration is asked It asks for requesting to be registered as the second server in the block chain network.
In one possible implementation, the terminal is also used to when the terminal reaches contract initiation condition, to Second server sends the first commission contract;
Wherein, it includes: in endpoint to register success, alternatively, the alternative base of the terminal that the contract, which initiates condition, In standing, the number that signal strength reaches the base station of Target Signal Strength is no more than preset threshold.
In one possible implementation, the target block chain also stores the service quality of multiple base stations, and described One commission contract further includes the conditions of service of the terminal,
The multiple second server is also used to obtain the service quality of the multiple base station, according to the multiple base station Service quality and the terminal conditions of service, from it is described first commission contract include multiple base stations in delete service quality It is unsatisfactory for the base station of the conditions of service.
In one possible implementation, at least one described first server is also used to obtain the target base The rate stood, the communication of the terminal according to the rate of the target BS and by least one described first server statistics Data volume determines the communication charge data of the terminal, the communication charge number determined based at least one described first server According to whether the communication charge data for verifying the multiple second server transmission are correct.
In one possible implementation, the second commission contract further includes the service quality of base station,
Each second server is also used to obtain the Service Quality of at least one corresponding base station of each server The service quality of at least one base station is added in the second commission contract by amount.
In one possible implementation, each second server is also used to each second described in real-time monitoring The service quality of the corresponding base station of server, when the service quality for monitoring the corresponding base station of each second server occurs When variation, according to the current service quality of target adjustment strategy and the corresponding base station of each second server, described in adjustment The rate of base station is based on rate adjusted, multiple second servers into the block chain network in addition to book server It sends third and entrusts contract, the third commission contract carries the rate adjusted;
The multiple second server is also used to that the third is entrusted when passing through third commission contract common recognition Support contract is stored to the target block chain.
In one possible implementation, at least one described first server is also used to count the terminal in mesh Mark the amount of communication data in communication process;
The destination server is also used to that the data volume authentication of message ought not be passed through or not receive the data volume report Wen Shi obtains amount of communication data of terminal during destinations traffic from least one described first server.
In one possible implementation, the terminal is also used to the private key by the terminal to the data volume Message carries out the second signature.
In one possible implementation, the multiple second server is also used to receive the destination server Data volume message knows together to the data volume message of the destination server by the public key of the terminal, when to the mesh When the data volume message common recognition of mark server passes through, the data volume message of the destination server is added to the target block Chain.
In one possible implementation, at least one described first server is also used to the target block chain In data volume message verified, when obstructed out-of-date to the data volume authentication of message, destination server implementation is punished Penalize strategy.
In one possible implementation, the punishment strategy includes: from the communication distributed for the destination server Target value is reduced in charging or deletes the destination server from the block chain network.
On the one hand, a kind of communication means is provided, in a communications system, the communication system includes extremely for the method application A few first server, at least one base station and multiple second servers, at least one described first server are described logical Server in the core net of letter system, the multiple second server be the core net other than server, each second Server corresponds at least one base station, and the multiple second server constitutes block chain network, the multiple second server Upper to be configured with target block chain, information of the storage by the multiple second server common recognition, described in the target block chain Information includes at least the rate of multiple base stations;
Each base station at least one described base station provides communication service;
The multiple second server knows together to amount of communication data of terminal during destinations traffic, logical in common recognition It is out-of-date, according to the rate of the target BS stored in the amount of communication data and the target block chain, determine the terminal Communication charge data;
The multiple second server knows together to the communication charge data, when common recognition passes through, by the communication Metering data is stored to the target block chain, and the communication charge data are sent at least one described first server, The communication service that the destinations traffic process refers to the process of that the terminal is provided based on the target BS is communicated;
At least one described first server is the corresponding target clothes of the target BS according to the communication charge data Business device and at least one described first server carry out the distribution of communication charge.
In one possible implementation, the method also includes:
The second registration that any first server at least one described first server receives server to be registered is asked It asks, according to the public key of server to be registered in second registration request, the server to be registered is verified;
When passing through to the server authentication to be registered, any first server is to the multiple second server The public key for sending the server to be registered sends the notice that succeeds in registration to the server to be registered, and second registration is asked It asks for requesting to be registered as the second server in the block chain network.
In one possible implementation, the method also includes:
When the terminal, which reaches contract, initiates condition, the terminal sends first commission to second server and closes About;
Wherein, it includes: in endpoint to register success, alternatively, the alternative base of the terminal that the contract, which initiates condition, In standing, the number that signal strength reaches the base station of Target Signal Strength is no more than preset threshold.
In one possible implementation, the target block chain also stores the service quality of multiple base stations, and described One commission contract further includes the conditions of service of the terminal, the method also includes:
The multiple second server obtains the service quality of the multiple base station, according to the Service Quality of the multiple base station The conditions of service of amount and the terminal delete service quality from multiple base stations that the first commission contract includes and are unsatisfactory for institute State the base station of conditions of service.
In one possible implementation, the method also includes:
At least one described first server obtains the rate of the target BS, according to the rate of the target BS and By the amount of communication data of the terminal of at least one described first server statistics, the communication charge number of the terminal is determined According to;
The communication charge data that at least one described first server is determined based at least one described first server, are tested Whether correct demonstrate,prove the communication charge data that the multiple second server is sent.
In one possible implementation, the second commission contract further includes the service quality of base station, the method Further include:
Each second server obtains the service quality of at least one corresponding base station of each server, by institute The service quality for stating at least one base station is added in the second commission contract.
In one possible implementation, the method also includes:
The service quality of the corresponding base station of each second server described in each second server real-time monitoring, works as prison When measuring the service quality of the corresponding base station of each second server and changing, according to target adjustment strategy and described every The current service quality of the corresponding base station of a second server, adjusts the rate of the base station, rate adjusted is based on, to institute It states multiple second servers in block chain network in addition to book server and sends third commission contract, the third entrusts contract Carry the rate adjusted;
When passing through to third commission contract common recognition, the multiple second server deposits third commission contract It stores up to the target block chain.
In one possible implementation, the method also includes:
At least one described first server counts amount of communication data of terminal during destinations traffic;
When not passing through to the data volume authentication of message or not receiving the data volume message, the destination server from Amount of communication data of terminal during destinations traffic is obtained at least one described first server.
In one possible implementation, the method also includes:
The terminal carries out the second signature to the data volume message by the private key of the terminal.
In one possible implementation, the method also includes:
The multiple second server receives the data volume message of the destination server, passes through the public key pair of the terminal The data volume message of the destination server is known together, when the data volume message common recognition to the destination server passes through, The data volume message of the destination server is added to the target block chain.
In one possible implementation, the method also includes:
At least one described first server verifies the data volume message in the target block chain, when to described Data volume authentication of message is obstructed out-of-date, implements punishment strategy to the destination server.
In one possible implementation, the method also includes:
The punishment strategy includes: target value to be reduced from the communication charge distributed for the destination server or by institute Destination server is stated to delete from the block chain network.
On the one hand, a kind of server is provided, the server includes processor and memory, is stored in the memory There is at least one instruction, described instruction is loaded as the processor and executed to realize as performed by any of the above-described communication means Operation.
On the one hand, a kind of computer readable storage medium is provided, at least one instruction is stored in the storage medium, Described instruction is loaded as processor and is executed to realize the operation as performed by any of the above-described communication means.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, by using the base station stored in the data traffic and target block chain for passing through common recognition Rate carries out communication charge to the communication process of terminal, so that finally obtaining accurate communication charge data.By to calculating To communication charge data know together, ensure that the reliability of communication charge data, ensure that entire charging process discloses Brightization.Also, the communication charge data are sent to first server, first server is destination server and this at least one The distribution that first server carries out communication charge improves operator so that the businessman other than operator can also get income The enthusiasm of businessman construction and base station maintenance in addition.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of terminal registration method provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram of server registration provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram that a kind of terminal provided in an embodiment of the present invention initiates commission contract;
Fig. 6 is the method flow diagram that a kind of second server provided in an embodiment of the present invention initiates commission contract;
Fig. 7 is the method flow diagram that a kind of second server provided in an embodiment of the present invention is terminal distribution base station;
Fig. 8 is the method flow diagram that a kind of second server provided in an embodiment of the present invention determines amount of communication data;
Fig. 9 is a kind of flow chart of determining communication charging method provided in an embodiment of the present invention;
Figure 10 is the flow chart of a kind of communication access provided in an embodiment of the present invention and communication charge;
Figure 11 is a kind of flow chart for reaching rate contract common recognition provided in an embodiment of the present invention;
Figure 12 is a kind of flow chart for reaching amount of communication data common recognition provided in an embodiment of the present invention;
Figure 13 is a kind of signaling interaction diagram of communication means provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of communication system architecture figure provided in an embodiment of the present invention, the communication system include: at least one first Server 101, at least one base station 102 and multiple second servers 103.At least one first server 101 is the communication Server in the core net of system, multiple second server 103 are the server other than the core net, multiple second clothes Device 103 of being engaged in constitutes block chain network, and each second server 103 corresponds at least one base station 102, and each base station 102 can be with Realize the signal transmitting and receiving of the 102 corresponding region range of base station.
It is configured with target block chain on multiple second server 103, stores multiple base stations 102 in the target block chain Rate.When target BS 102 provides communication service for a certain equipment, for example, the target BS 102 and terminal establish communication link It connects, the carry out charging that multiple server 103 can be open and clear in block chain network, to determine the communication charge of the terminal Data.Wherein, multiple server 103 can form alliance's chain, open and clear charging be carried out in a manner of alliance's chain, and will The communication charge data are sent at least one first server 101, so that the first server 101 is based on the communication charge Data distribute the communication charge between the first service and the corresponding destination server of target BS 102.
It should be noted that multiple second server 103 can be the server of the businessman in addition to operator, this is extremely A few first server 101 can be the server of operator, when the businessman in addition to operator establishes in a certain cell Behind base station, which can provide communication service for the equipment in the cell, and certainly, operator can be provided based on the base station Communication service, to using the user of the communication service to collect communication charge.Wherein, which can be based on the area Block chain network realizes communication charge open process transparence, operator communication charge determined by the communication charge process In, certain income is distributed for the businessman in addition to operator, certainly, which also can get one from the communication charge Fixed income.
It should be noted that the equipment that communication connection is established at least one base station 102 of the application couple and this does not do specific limit It is fixed, it for following embodiments provided by the present application, is only illustrated by taking terminal as an example, wherein the terminal can be the PC of user (Personal Computer, personal computer), cell phone apparatus, Tablet PC (tablet computer) equipment, telephone set etc. are any The terminal of communication connection can be established with base station.The base station can be carried out based on the communication connection between the terminal in terminal The voice service in CS (Circuit Switch circuit switching) domain or the data industry in PS (Packet Switch, packet switch) domain When business, the transmitting-receiving of signal is carried out.The application is not specifically limited the base station, which can be the base station, macro small in slight area The base station or the base station of microcellular in area etc..
Fig. 2 is a kind of structural schematic diagram of communication system provided in an embodiment of the present invention.Referring to fig. 2, the communication system packet At least one first server, at least one base station and multiple second servers are included, at least one first server is logical for this Server in the core net of letter system, multiple second server are the server other than the core net, each second service Device corresponds at least one base station, and multiple second server constitutes block chain network, is configured on multiple second server Target block chain, information of the storage by multiple second server common recognition in the target block chain, which includes at least more The rate of a base station.
The embodiment of the present invention will initiate commission contract from endpoint to register, server registration, terminal, second server initiates committee Support contract, second server are terminal distribution base station, second server determines amount of communication data, to terminal communication charge etc. seven The communication system is introduced in process.
Before terminal and base station establish communication connection, which needs first to register in the core network, wherein infuses in terminal During volume, multiple second server, the effect of at least one first server are as follows:
Each second server in (1-1) multiple second server, in the first registration for receiving the terminal When request, the public key of the terminal is forwarded at least one first server, which carries the public key of the terminal.
In the embodiment of the present invention, when terminal is registered, the terminal is more for first registration request to be sent to this Any one second server in a second server.The embodiment of the present invention does not limit any one second server specifically It is fixed.Any one second server can be the corresponding server in base station for serving the terminal region.Wherein, this is any A second server is also used to receive the first registration request of terminal, the public key of the terminal is obtained from the registration request.
In a kind of possible embodiment, in the registration process, which was also used to the end End sends notice signaling, which is used to indicate the public key that the terminal sends the terminal to any one second server. The terminal is also used to receive the notice signaling, and the public key based on the terminal, sends the first note to any one second server Volume request.
In a kind of possible embodiment, it is corresponding to be also used to the real-time monitoring second server for each second server Base station institute coverage in, if having the terminal being newly added, when monitoring that the base station institute coverage has end for being newly added When end, notice signaling is sent to the terminal of the new addition.
It should be noted that being supervised in real time by the second server to the terminal of the second server corresponding region It surveys, so that the terminal of the second server corresponding region is each newly added, it can be based on the signaling of any one second server Triggering, is registered in time, ensure that the timeliness and reliability of endpoint to register.
(1-2) at least one first server, for being verified according to the public key of the terminal to the terminal, return is tested Card is as a result, the verification result is used to indicate passes through to the terminal authentication or do not pass through.
In the embodiment of the present invention, it is corresponding with each public key that multiple public keys are stored at least one first server Verification information, the verification information can include but is not limited to: IMSI (the International Mobile of the terminal Subscriber Identification Number, international mobile subscriber identity) credit balance of information and the terminal believes Breath etc..
At least one first server, is also used to the public key according to the terminal, obtains the corresponding verification information of the public key, It that is to say, the verification information of the terminal, and pass through the verification information of the terminal, which is verified.
Wherein, at least one first server, being also used to verify the terminal when the IMSI information based on the terminal is to have The terminal at effectiveness family, and when the credit balance of the terminal is greater than preset threshold, it that is to say, which is legal terminal and has logical The competency for operation of telecommunications services passes through the terminal authentication;Otherwise, have when the IMSI information based on the terminal verifies the terminal not When the terminal at effectiveness family or the credit balance of the terminal are not more than the preset threshold, which is not passed through.
In a kind of possible embodiment, which is also used to multiple second server In any one second server send the verification result;The verification result is sent to the area by any one second server In multiple second servers of block chain network.
(1-3) multiple second server, for when the verification result instruction terminal authentication is passed through when, by the terminal Public key store into the target block chain, succeed in registration notice to terminal transmission.
Any one second server is also used to receive the verification result of at least one first server transmission, to this Second server in multiple second servers in addition to book server sends the verification result.
Wherein, in terminal registration process, the public key of the terminal in the target block chain is to pass through multiple second servers The information of common recognition.During the common recognition, multiple second server is also used to know together to the public key of the terminal, when altogether When knowledge passes through, the public key of the terminal is stored into target block chain.
Wherein, when multiple second server knows together to the block, the effect of above-mentioned multiple second servers, It can be realized by witness in multiple second servers, which can be the service for passing through common recognition algorithm election Device.During the common recognition, the witness, the effect of multiple second server are as follows:
The witness is also used to when the verification result indicates to pass through the terminal authentication, by the public key of the terminal It is packaged and generates block, and the block is sent in the block chain network more in addition to book server in multiple second servers A second server.Multiple second server is also used to know together to the block, and when common recognition passes through, which is deposited Storage is into target block chain.
Wherein, multiple second server is also used to have more than the second of preset quantity in multiple second server When server passes through block common recognition, which is stored into target block chain.
It should be noted that the common recognition algorithm can be PBFT (Practical Byzantine Fault Tolerance, Byzantine failure tolerance) algorithm, which can permit in multiple second server that there are malicious servers Or it is not responding to server, for example, allowing to there are f to be not responding to service when having 3f+1 second server in block chain network Device or malicious server (f is the positive integer greater than 1).The preset quantity can be the total quantity of multiple second server 2/3rds, alternatively, one third etc., the embodiment of the present invention is not specifically limited in this embodiment.It wherein, should in the embodiment of the present invention It is not responding to server to refer to, the server to the verification result of the block is not responded in multiple second servers.
For the clearer process for introducing the endpoint to register, the present embodiment is with one second clothes in multiple second servers It is engaged in for device, which is introduced, which can be any in multiple second server A server, the present invention is not especially limit this.Fig. 3 is a kind of flow chart of terminal registration method, such as Fig. 3 institute Show, method includes the following steps:
301, the second server to the terminal send notice signaling, the notice signaling be used to indicate the terminal to this second Server sends the public key of the terminal.
Wherein, which can trigger the public key for reporting the terminal of second server by signaling.This second Server can be in the real-time monitoring second server corresponding base station institute coverage, if there is the terminal being newly added, when When monitoring that the base station institute coverage has the terminal being newly added, notice signaling is sent to the terminal of the new addition.
302, the terminal receives the notice signaling, and the public key based on the terminal, sends the first note to the second server Volume request.
Wherein, which carries the public key of the terminal.
303, the second server receives the first registration request of the terminal.
The second server obtains the public key of the terminal from the registration request.
304, the second server forwards the public key of the terminal at least one first server.
305, at least one first server verifies the terminal according to the public key of the terminal, returns to verifying knot Fruit.
Wherein, which, which is used to indicate, passes through the terminal authentication or does not pass through.At least one first server According to can the terminal public key, obtain the corresponding verification information of the public key, that is to say, the verification information of the terminal, and passing through The verification information of the terminal verifies the terminal.Wherein, as IMSI of at least one first server based on the terminal The Information Authentication terminal be validated user terminal, and the credit balance of the terminal be greater than preset threshold when, to the terminal authentication Pass through;Otherwise, verifying the terminal not when the IMSI information based on the terminal is the terminal of validated user or the telephone expenses of the terminal When remaining sum is not more than the preset threshold, which is not passed through.Any one second server receives this at least one The verification result that one server is sent, the second server into multiple second server in addition to book server send this and test Demonstrate,prove result.
306, when verification result instruction passes through the terminal authentication, which stores the public key of the terminal Into the target block chain.
Wherein, in terminal registration process, the public key of the terminal in the target block chain is to pass through multiple second servers The information of common recognition.During the common recognition, multiple second server knows together to the public key of the terminal, when common recognition passes through When, the public key of the terminal is stored into target block chain.
Wherein, when multiple second server knows together to the block, the public key of terminal is entered to the process of chain, it can also It is realized based on witness in multiple second servers, which can be the service for passing through common recognition algorithm election Device.
The common recognition process can be with are as follows: when verification result instruction passes through the terminal authentication, which should The public key of terminal, which is packaged, generates block, and the block is sent in the block chain network in multiple second servers except this service Multiple second servers other than device.Multiple second server knows together to the block, when common recognition passes through, by the block It stores into target block chain.
Wherein, multiple second server can also have more than the second clothes of preset quantity in multiple second server When business device passes through block common recognition, which is stored into target block chain.
It should be noted that the common recognition algorithm can be PBFT algorithm, which can permit multiple second clothes It is engaged in device there are malicious server or is not responding to server, for example, when having 3f+1 second server in block chain network, Allow there are f to be not responding to server or malicious server.Wherein, in the embodiment of the present invention, this is not responding to server and refers to, more The server to the verification result of the block is not responded in a second server.
307, the second server sends the notice that succeeds in registration to the terminal.
It should be noted that in terminal registration process, the public key of terminal is sent from terminal to second server, by the Two servers are forwarded to first server, are verified by first server to the terminal, and when being verified, using Multiple second servers common recognition processes, to the public key of the terminal be stored into target block chain, so that illegal terminal be arranged It removes, ensure that the corresponding base station of second server only provides communication service to the terminal being verified, further improve end Hold the accuracy and safety of registration process reliability and subsequent communications connection.
Base station initialization access network when or the base station disconnected due to link and reenter network it Afterwards, the corresponding server in the base station is also required to first register in the core network, to be added in block chain network.Wherein, wait infuse Volume server carries out in registration process, and the effect of at least one first server is as follows:
Any first server in (2-1) at least one first server, is also used to receive server to be registered Second registration request verifies the server to be registered according to the public key of server to be registered in second registration request, When passing through to the server authentication to be registered, the public key of the server to be registered is sent to multiple second server, to this Server to be registered sends the notice that succeeds in registration.
Wherein, second registration request is for requesting to be registered as the second server in the block chain network.This at least one The public key for having the server that the qualification of block chain network is added is stored in a first server and this has addition block chain The Base Station Identification of the corresponding base station of the server of network qualification.
At least one first server is also used to be stored from book server according to the public key of the server to be registered Public key and Base Station Identification corresponding relationship in, the public key of the server to be registered is searched, when finding server to be registered When public key, which is passed through.
In a kind of possible embodiment, which is also used to according to the server to be registered Public key, from the corresponding base station of the server to be registered in the corresponding relationship of public key and Base Station Identification, is obtained, to the clothes to be registered The corresponding base station of business device is verified, and when being verified, determines that the server to be registered has and the block chain network is added Qualification, the server pass through the server authentication to be registered.
In a kind of possible embodiment, which is also used to multiple second server Send the Base Station Identification of the public key of the server to be registered base station corresponding with the server to be registered.
It should be noted that at least one first server, is also used to any of multiple second server Second server sends the public key of the server to be registered;By any one second server by the public key of the server to be registered It is sent in multiple second servers of the block chain network.
Wherein, the Base Station Identification of the base station can be ID (Identity, identity) information of the base station.
In addition, multiple second clothes during the server registration becomes second server, in the block chain network The effect of business device is as follows:
(2-2) multiple second server is also used to store the public key of the server to be registered to target block chain.
In a kind of possible embodiment, multiple second server is also used to the public key of the server to be registered The Base Station Identification of base station corresponding with the server to be registered is stored to target block chain, so that multiple second server is to this The identity that server to be registered becomes second server is reached common understanding.
Certainly, in SERVER REGISTRATION PROCESSThe, the public key of the server to be registered is also by multiple second servers Information after common recognition process common recognition.During the common recognition, multiple second server is also used to the server to be registered Public key is known together, and when common recognition passes through, the public key of the server to be registered is stored into target block chain.Wherein, this is total During knowledge, may be based in multiple second servers witness and realize, the effect of multiple second server, for it is upper Effect during common recognition when stating endpoint to register similarly, details are not described herein again.
For the clearer process for introducing the server registration, the present embodiment is by taking a first server as an example, to this SERVER REGISTRATION PROCESSThe is introduced, which can be any one server in multiple first server, this Inventive embodiments are not especially limited this.Fig. 4 is a kind of method flow diagram of server registration, as shown in figure 4, this method packet Include following steps:
401, the public key of the server to be registered based on the server to be registered sends the second registration to first server and asks It asks.
Wherein, which carries the public key of the server to be registered.
402, the first server receives the second registration request of server to be registered, according in second registration request to The public key of registrar verifies the server to be registered.
At least one first server according to the public key of the server to be registered, the public key stored from book server and In the corresponding relationship of Base Station Identification, the public key of the server to be registered is searched, it is right when finding the public key of server to be registered The server authentication to be registered passes through.
In a kind of possible embodiment, which can also be according to the server to be registered Public key when finding the public key of the server to be registered, obtains the clothes to be registered from the corresponding relationship of public key and Base Station Identification The corresponding base station of business device;And the corresponding base station of the server to be registered is verified, when being verified, determine that this is to be registered Server has the qualification that the block chain network is added, which passes through the server authentication to be registered.When waiting infusing to this The corresponding base station authentication of volume server is obstructed out-of-date, it is determined that the server to be registered does not have the money that the block chain network is added Lattice, the server do not pass through the server authentication to be registered.
403, when passing through to the server authentication to be registered, first server is sent to multiple second server should be to The public key of registrar sends the notice that succeeds in registration to the server to be registered.
In a kind of possible embodiment, which can also send out to multiple second server Give the Base Station Identification of the public key of the server to be registered base station corresponding with the server to be registered.
Certainly, when the server is obstructed out-of-date to the server authentication to be registered, the first server is not to multiple Two servers send the public key of the server to be registered, which will not be added in the block chain network.
404, multiple second server stores the public key of the server to be registered to target block chain.
Wherein, multiple second servers in the block chain network can be total to the public key of the server to be registered Know, when common recognition passes through, the public key of the server to be registered is stored into target block chain.Certainly, multiple second service Device can also store the Base Station Identification of the public key of the server to be registered base station corresponding with the server to be registered to target Block chain.
Wherein, multiple second server can be based on witness, be realized by common recognition process by service to be registered The public key of device enters the process of chain.Process in this step is the process with above-mentioned steps 306 similarly, and details are not described herein again.
It should be noted that during the second server being registered as in block chain network, first taken by this The common recognition of multiple second servers in the verifying and the block chain network of business device, thus will accurately be verified second The public key of server is stored on target block chain, improves the accuracy of server registration, facilitates subsequent multiple second services Common recognition of the device for amount of communication data and communication charge data.
In the embodiment of the present invention, after endpoint to register success, which can receive the communication service of base station offer.It is logical In normal situation, a terminal can be detected simultaneously by the signal of multiple base stations.Multiple base stations are stored on the target block chain Rate, the terminal can entrust the second server to inquire the height of the rate of multiple base stations by way of initiating to entrust contract It is low, in order to which the base station of a subsequently selected lower rate provides communication service for the terminal.Commission is initiated in the terminal to close During about, the terminal, the effect of multiple second server are as follows:
(3-1) terminal is also used to send the first commission contract to multiple second server, the first commission contract Including at least the Base Station Identification of multiple base station.
Multiple base station is the base station that the terminal can receive signal.
The terminal is also used to the signal for multiple base stations that real-time monitoring can receive, based on can receive the multiple of signal The Base Station Identification of base station generates the first commission contract, and sends the first commission contract to multiple second server.Separately Outside, the terminal is also used to any one second server into multiple second server and sends the first commission contract.This hair Bright embodiment is not specifically limited any one second server, for example, any one second server can be to serve The corresponding server in the base station of the terminal region.
In a kind of possible embodiment, which is also used to the signal based on the multiple base stations received, supervises in real time The signal strength for surveying multiple base station, based on the signal strength of multiple base station, from the multiple base stations that can receive signal Erasure signal intensity is lower than the base station of Target Signal Strength.The Target Signal Strength be meet the terminal communication requirement it is minimum Signal strength meets the communication clothes of terminal so that subsequent can further screen in the biggish base station of signal strength significantly Business demand.
In a kind of possible embodiment, which is also used to obtain the conditions of service of the terminal, by the conditions of service It is added in the first commission contract.The first commission contract can also carry the conditions of service of the terminal, which uses The target service quality of the base station needed for indicating the terminal.
In a kind of possible embodiment, which is also used to just execute when the terminal reaches contract initiation condition To the second server send this first commission contract the step of, the contract initiate condition include: the endpoint to register success when, Alternatively, the number that signal strength reaches the base station of Target Signal Strength is no more than preset threshold in the candidate BS of the terminal.
Further, the terminal is also used to be digitally signed the first commission contract by the private key of the terminal.
It should be noted that in communication process, when the communication service that base station provides is not able to satisfy communication requirement, example Such as, the evolution of the terminal causes the signal strength at former base station to die down, at this point, the terminal needs former base station being switched to other It can satisfy the base station of communication requirement.In addition, the terminal has not determined out target BS when terminal just succeeds in registration, this When, which can send the first commission contract to second server, in order to the rate instruction based on the second server Information selection target base station.
(3-2) multiple second server is also used to know together to the first commission contract, will when common recognition passes through The first commission contract is stored into the target block chain.
Wherein, the first commission contract in target block chain is the conjunction after multiple second servers know together process common recognition About.During the common recognition, multiple second server is also used to the public key based on the terminal, to after the digital signature One commission contract is verified, and when being verified, which is stored into target block chain.
Certainly, during knowing together to the first commission contract, the effect of multiple second server be may be based on more Witness is realized in a second server, correspondingly, the effect of multiple second server, when for above-mentioned endpoint to register Common recognition during effect similarly, details are not described herein again.
In order to it is clearer introduce the terminal initiate commission contract process, the present embodiment with terminal to any one second clothes It is engaged in for device transmission the first commission contract, the process for initiating commission contract to the terminal is introduced, and the embodiment of the present invention is to this It is not especially limited.Fig. 5 is a kind of method flow diagram of terminal initiation commission contract, as shown in figure 5, this method includes following step It is rapid:
501, the terminal sends the first commission contract to any one second server.
Wherein, which includes at least the Base Station Identification of multiple base station.Multiple base station is the terminal energy Receive the base station of signal.The signal for the multiple base stations that can be received can be monitored in real time in the terminal, based on can receive signal Multiple base stations Base Station Identification, generate the first commission contract, further, the terminal by the private key of the terminal to this One commission contract is digitally signed, and the first commission contract after sending the digital signature to multiple second server.
In a kind of possible embodiment, which is also based on the signal of the multiple base stations received, supervises in real time The signal strength for surveying multiple base station, based on the signal strength of multiple base station, from the multiple base stations that can receive signal Erasure signal intensity is lower than the base station of Target Signal Strength.
In a kind of possible embodiment, which can also obtain the conditions of service of the terminal, by the conditions of service It is added in the first commission contract.The target service quality of base station needed for the conditions of service are used to indicate the terminal.
In a kind of possible embodiment, when the terminal, which reaches contract, initiates condition, above-mentioned steps 501 are just executed, Wherein, it includes: in endpoint to register success, alternatively, meeting letter in the candidate BS list of the terminal which, which initiates condition, Number intensity is no more than preset threshold not less than the number of the base station of the Target Signal Strength signal conditioning.
It should be noted that this is any when the first commission contract is sent to any one second server by the terminal A second server broadcasts the first commission contract to multiple second servers in block chain network.
502, multiple second server knows together to the first commission contract, and when common recognition passes through, this first is entrusted Support contract is stored into the target block chain.
During the common recognition, public key of multiple second server based on the terminal, to first after the digital signature Commission contract is verified.When being verified, which is stored to target block chain.Wherein, the block chain Multiple second servers in network can know together to the public key of the server to be registered, and when common recognition passes through, this is waited for The public key of registrar is stored into target block chain.Certainly, multiple second server can also be by the service to be registered The Base Station Identification of the public key of device base station corresponding with the server to be registered is stored to target block chain.
Wherein, multiple second server can be based on witness, be realized by common recognition process by service to be registered The public key of device enters the process of chain.Process in this step is the process with above-mentioned steps 306 similarly, and details are not described herein again.
It should be noted that when the terminal can send the first commission contract, multiple second server can to this One commission contract is known together, and will be stored by the first commission contract known together into target block chain, to ensure that target The accuracy and reliability of information in block chain.Also, the process that contract is entrusted by the storage, triggers multiple second servers For the terminal distribution base station, also, the commission process is only the interactive process between terminal and second server, can't be increased Add the signaling overheads of the first server of operator.
In the embodiment of the present invention, after block chain network is added in the second server, which can initiate to entrust Contract is held in the palm, is stored the rate of the corresponding base station of the second server is open and clear to target block chain.In second clothes It is engaged in during device initiation commission contract, the effect of multiple second server is as follows:
Each second server in (4-1) multiple second server is also used to based on each second server pair The rate at least one base station answered, multiple second servers into the block chain network in addition to book server send second Entrust contract.
Wherein, which carries the rate of at least one corresponding base station of each second server;.Into one Step, which is also used to the private key by each second server, it signs to the second commission contract, Multiple second servers into the block chain network in addition to book server send the second commission contract after signature.
In a kind of possible embodiment, which can also include the service quality of base station, this is each Second server is also used to obtain the service quality of at least one corresponding base station of each server, by least one base The service quality stood is added in the second commission contract.
In a kind of possible embodiment, which is also used to real-time monitoring each second service The service quality of the corresponding base station of device, when monitoring that the corresponding base station service quality of each second server changes, According to the current service quality of target adjustment strategy base station corresponding with each second server, the rate of the base station is adjusted, Based on rate adjusted, multiple second servers into the block chain network in addition to book server send third commission and close About.Wherein, third commission contract carries rate adjusted.
Wherein, which can be with are as follows: when the service quality when base station is too low, the corresponding second service in the base station Device increases the rate of the base station;When service quality when the base station is excessively high, the corresponding second server in the base station reduces the base station Rate.
In a kind of possible embodiment, the Service Quality of the base station can be characterized by the channel resource utilization rate of base station Amount, the channel utilization is higher, illustrates that the base station is busier, service quality is lower;Channel utilization is lower, illustrate the base station compared with Free time, service quality are higher.The target adjustment strategy can be with are as follows: when the channel resource utilization rate when base station is excessively high, this second Server increases the rate of the base station;When channel resource utilization rate when the base station is too low, which reduces the base station Rate.Wherein, the target adjustment strategy can specifically be presented as channel resource utilization rate multiple ranks and the base station it is more The height of corresponding relationship between a rate, the channel resource utilization rate of different stage is different, the corresponding rate of each rank. The second server is adjusted according to the corresponding relationship between the rank and rate, the second server, and being also used to basis should The rank of the present channel resource utilization of base station obtains working as the base station from the corresponding relationship between the rank and rate Preceding rate.
The second server, is also used to periodically acquire the current rate of the base station, and judges the current rate of the base station It is whether identical in the rate of upper a cycle as the base station, when not identical, it is based on the current rate, into the block chain network Multiple second servers in addition to book server send third and entrust contract.
It should be noted that the rate of base station is stored to target block chain by second server, so that the rate It can not distort, the transparency and reliability of information be increased, also, by the loading condition based on the base station, by adjusting in real time The rate of the whole base station improves the telecommunication service quality of base station and leads to so that the loading condition of each base station is unlikely to excessive Telecommunications services efficiency.Meanwhile the load balancing between multiple base station, the service bearer pressure of hot spot base station is alleviated significantly.
(4-2) multiple second server is also used to know together to the second commission contract, will when common recognition passes through The second commission contract is stored to the target block chain.
Multiple second server is also used to the public key according to the second commission contract origin server, to second committee Support contract is verified, and when being verified, which is stored to the target block chain.In a kind of possible reality Apply in mode, multiple second server, be also used to entrust contract to know together the third, when common recognition passes through, by this Three commission contracts are stored to the target block chain.
It should be noted that witness can be set in the block chain network, which is used for second It entrusts contract to be packaged and generates block, and the block is sent to multiple second servers;Correspondingly, multiple second server, It is also used to know together to the block of the witness, when common recognition passes through, which is added target block chain.Accordingly , when above-mentioned second server sends the second commission contract, the effect of each second server further include: this each second Server is also used to the witness being sent to the second commission contract in the target block chain network.
Certainly, during knowing together to the second commission contract and/or third commission contract, multiple second server With the effect of witness, for the effect with common recognition when above-mentioned endpoint to register in the process similarly, details are not described herein again.
Wherein, which can be based on common recognition mechanism, election for multiple second servers in the block chain network One or more servers.Block packing process is executed by the witness, by multiple second servers to the area Block is verified, and the process that multiple second servers are packaged is omitted, and is improved the speed that contract will be entrusted to enter chain, is improved The treatment effeciency of block chain network.
For the clearer process introduced the second server and initiate commission contract, the present embodiment is with any one the second clothes For device be engaged in based on corresponding base station initiation commission contract, the process for initiating commission contract to the second server is situated between It continues, the present invention is not especially limit this.Fig. 6 is a kind of method flow diagram of second server initiation commission contract, As shown in fig. 6, method includes the following steps:
601, rate of the second server based on the corresponding base station of the second server, into the block chain network except this Multiple second servers other than server send the second commission contract.
Wherein, each second server, is also used to the private key by each second server, closes to second commission It about signs, multiple second servers into the block chain network in addition to book server send the second commission conjunction after signature About.
602, multiple second server knows together to the second commission contract, and when common recognition passes through, this second is entrusted Support contract is stored to the target block chain.
Multiple second server can also be according to the public key of the second commission contract origin server, to second commission Contract is verified.In addition, the second commission contract can also be sent to the target block link network by each second server Witness in network.Second commission contract is packaged and generates block by the witness, and the block is sent to multiple Second server;Correspondingly, multiple second server can also know together to the block of the witness, when common recognition is logical It is out-of-date, which is added target block chain.Wherein, it in this step, is realized by common recognition process and the second commission contract is entered into chain Process.For the process with above-mentioned steps 306 similarly, details are not described herein again.
603, the service quality of the second server real-time monitoring base station, when the service quality for monitoring the base station occurs When variation, according to the service quality of target adjustment strategy and the base station, the rate of the base station is adjusted.
In the embodiment of the present invention, which stores the rate of base station to target block chain, this each Two servers can also adjust the rate of base station by dynamic, to guarantee the service quality of base station, and make between multiple base stations Load balancing.Wherein, which can be with are as follows: when the service quality when base station is too low, second server increase should The rate of base station;When service quality when the base station is excessively high, which reduces the rate of the base station.
In a kind of possible embodiment, when the channel resource utilization rate by base station characterizes the service quality of the base station When.The target adjustment strategy can be with are as follows: when the channel resource utilization rate when base station is excessively high, the corresponding second server in the base station Increase the rate of the base station;When channel resource utilization rate when the base station is too low, the corresponding second server in the base station reduces should The rate of base station.Wherein, which can specifically be presented as multiple ranks and the base station of channel resource utilization rate Multiple rates between corresponding relationship.In a kind of possible mode, which can be according to the current of the base station The rank of channel resource utilization rate obtains the current rate of the base station from the corresponding relationship between the rank and rate.
604, the second server is based on rate adjusted, multiple in addition to book server into the block chain network Second server sends third and entrusts contract.
The second server can periodically acquire the current rate of the base station, and judge the current rate of the base station and be somebody's turn to do Whether base station is identical in the rate of upper a cycle, when not identical, the current rate is based on, into the block chain network except this Multiple second servers other than server send third and entrust contract.
605, multiple second server knows together to third commission contract, and when common recognition passes through, which is entrusted Support contract is stored to the target block chain.
This step is the process with above-mentioned steps 602 similarly, and details are not described herein again.
It should be noted that second server is by storing the rate of base station to target block chain, so that each base The rate stood is open and clear, by the supervision of multiple second services, and can not arbitrarily change, so that subsequent communications charging The data source of process it is more reliable.Also, the second server is also based on the variation of the service quality of each base station Situation, the rate of appropriate adjustment base station, so that load balancing between each base station, guarantees the service for the communication service that base station provides Quality, and improve the efficiency of service of the communication service of base station.
In the embodiment of the present invention, carry out the commission contract of self terminal and from second server when storing on target block chain When entrusting contract, it is terminal distribution base station that multiple second server, which is based on rate, and reaches expense in multiple second servers Rate common recognition.During being somebody's turn to do, multiple second server, base station, acting at least one first server are:
(5-1) multiple second server, be also used to when receive the terminal first commission contract when, based on this first The Base Station Identification for entrusting multiple base stations in contract, obtains the rate of multiple base station, returns to rate to the terminal and indicates information.
Wherein, rate instruction information is used to indicate the height of the rate of multiple base station.The rate indicates that information can be with For this based on rate height be ranked up after multiple base stations rate, alternatively, indicating the rate height situation of multiple base station Rate rank etc..The embodiment of the present invention indicates information to the rate and is not specifically limited.
In a kind of possible embodiment, which also stores the service quality of multiple base stations, first committee Support contract further includes the conditions of service of the terminal.Multiple second server is also used to obtain the service quality of multiple base station, According to the conditions of service of the service quality of multiple base station and the terminal, deleted from multiple base stations that the first commission contract includes Except service quality is unsatisfactory for the base station of the conditions of service.Wherein, the second server, being also used to obtain from target block chain should The service quality of multiple base stations, and according to the conditions of service in the first commission contract, judge the service quality of multiple base station Whether the conditions of service are met.
In a kind of possible embodiment, multiple second server is also used to the rate based on multiple base station, to The terminal sends rate contract, and when rate contract common recognition passes through, which is stored to target block chain.It is multiple Second server is also used to send the rate contract at least one first server.Wherein, may include in the rate contract The rate of multiple base stations after sequence.Putting in order for multiple base station can be for according to rate height progress descending arrangement.Separately Outside, multiple second server is also used to for the service quality of multiple base station being added in the rate contract.
In a kind of possible embodiment, in base station and terminal communication process, the rate of the base station may dynamic Variation, that is to say, when increasing third commission contract on the target block chain, which is also used to according to third Contract is entrusted, the terminal of communication connection is established in the determining base station with third commission contract, and communicates to establishing with the base station The terminal of connection sends updated rate and indicates information.
Wherein, multiple second server was also used to based at least one end obtained with base station foundation communication connection The first commission contract at end is entrusted according to the Base Station Identification of multiple base stations and the third in the first of each terminal the commission contract The rate for holding in the palm the base station in contract determines the rate instruction information of multiple base stations in the first commission contract again.Certainly, this It also may include the service quality of the base station in three commission contracts, multiple second server is also used to be entrusted according to the third Conditions of service in the service quality of base station in contract and the first commission contract, the multiple bases for including from the first commission contract The base station that service quality is unsatisfactory for the conditions of service is deleted in standing.
It should be noted that during rate contract is stored sub-goal block chain, above-mentioned multiple second servers Effect, can also be realized by witness in multiple servers, the witness can for by by common recognition algorithm choosing The witness of act.The witness is also used to when receiving the first commission contract of terminal, based on first commission The Base Station Identification of multiple base stations in contract, obtains the rate of multiple base station, returns to rate instruction information to the terminal.
The witness is also used to the height of the rate based on multiple base station, sends rate contract to the terminal, to Server in multiple second server in addition to book server sends the rate contract;Correspondingly, multiple second service Device is also used to know together to the rate contract, and when common recognition passes through, which is stored to target block chain.Wherein, Multiple second server is also used to have more than the second server of preset quantity to the block in multiple second server When common recognition passes through, which is stored into target block chain.
It should be noted that the common recognition algorithm can be PBFT algorithm, which can permit multiple second clothes It is engaged in device there are malicious server or is not responding to server, for example, when having 3f+1 second server in block chain network, Allow there are f to be not responding to server or malicious server.Wherein, in the embodiment of the present invention, this is not responding to server and refers to, more The server of the verification result to the rate contract is not responded in a second server.
It should be noted that stored the rate contract into target block chain by multiple second server, so that It is subsequent to be based on the rate contract, charging is carried out to the communication process of the terminal, ensure that the accuracy of subsequent communications charging.And And multiple second server is also based on the base station rate that dynamic updates, and updates rate in real time for terminal and indicates information, from And further ensure the accuracy and timeliness of rate instruction information.In addition, by being carried out between second server and terminal Interaction, is embodied as the process of the minimum base station of terminal coupling rate, should not need the participation of first server in the process, and reduce The signaling overheads of core net.
Also, by the witness of common recognition algorithm election, realize the effect of above-mentioned multiple second servers, Ke Yiyou Destruction of the exclusion malicious server or invalid service device of effect for block chain network, reduces the influence to block chain network, Improve the reliability of communication system.
(5-2) terminal, for being built based on the minimum target BS of rate in the rate instruction information, with multiple base station Vertical communication connection.
Wherein, the terminal is also used to the height of the rate of multiple base stations according to indicated by rate instruction information, from this The target BS for selecting rate minimum in multiple base stations.
It should be noted that information is indicated by the rate, so that the target BS that terminal selects rate minimum is established and led to Letter connection, thus greatly reduces the communications cost of the terminal.Also, it is quality-of-service based by multiple second server Angle meets the base station of conditions of service for the terminal further screening, thus under the premise of saving the communications cost of terminal, most Bigization meets the communication requirement of the terminal.
(5-3) target BS, for providing communication service.
It should be noted that in the communication system, each base station at least one base station, for providing communication clothes Business.
In order to it is clearer introduce the second server be terminal distribution base station process, the present embodiment with any one second For server, the process that second server is terminal distribution base station is introduced, Fig. 7 is that a kind of second server is terminal The method flow diagram of base station is distributed, as shown in fig. 7, method includes the following steps:
701, when receiving the first commission contract of the terminal, which is based on more in the first commission contract The Base Station Identification of a base station obtains the rate of multiple base station, returns to rate to the terminal and indicates information.
In this step, the second server according to this first commission contract in multiple base stations Base Station Identification, from target area Multiple second commission contracts are obtained on block chain, and the rate of multiple base station is obtained from multiple second commission contract.
In a kind of possible embodiment, multiple second server can also obtain the Service Quality of multiple base station Amount, according to the conditions of service of the service quality of multiple base station and the terminal, from multiple base stations that the first commission contract includes The middle base station deleted service quality and be unsatisfactory for the conditions of service.
In a kind of possible embodiment, which is also based on the height of the rate of multiple base station, Rate contract is sent to the terminal, and after rate contract common recognition passes through, which is stored to target block chain, and The rate contract is sent at least one first server.Wherein, the second server can rate to multiple base station into Row sequence generates rate contract according to the rate of multiple base stations after the sequence.In addition, the second server can also should The service quality of multiple base stations is added in the rate contract.
When increasing third commission contract on the target block chain, which can also entrust according to third and close About, the terminal of communication connection is established in the determining base station with third commission contract, and establishes communication connection to the base station Terminal sends updated rate and indicates information.Certainly, multiple second server can also entrust in contract according to the third Base station service quality and first commission contract in conditions of service, from this first commission contract include multiple base stations in delete Except service quality is unsatisfactory for the base station of the conditions of service.
It should be noted that this step can also be realized by witness in multiple servers.Correspondingly, by the witness Server generates rate contract, and the rate contract is sent to multiple second servers, and multiple second server takes this Rate contract is verified, and when being verified, which is stored to target block chain.Wherein, it is based on witness By process of knowing together, which is stored to the process of target block chain, and the process of above-mentioned steps 306 similarly, herein It repeats no more.
702, the terminal is based on the rate and indicates information, and the target BS foundation minimum with rate in multiple base station communicates Connection.
It should be noted that guaranteeing base station service based on the commission contract in target block chain by second server Under the premise of quality, for the base station that the terminal distribution rate is minimum.Also, by the way that rate contract is stored to target block in real time In chain, so that the rate of base station is open and clear, so that subsequent can carry out communication charge based on the rate contract after common recognition, guarantee The reliability of required data source in charging process.
In terminal and target BS communication process, which can obtain the amount of communication data of terminal in real time, And reach common understanding in multiple second servers to the amount of communication data.During knowing together to amount of communication data, the terminal, Multiple second server, acting at least one first server are:
(6-1) terminal, for sending data volume message to multiple second server, which carries the end Hold the public key of the amount of communication data and the destination server during destinations traffic.
The terminal is also used to carry out the second signature to the data volume message by the private key of the terminal.Wherein, the terminal, It is also used to during destinations traffic, periodically sends data volume message to the destination server.
Wherein, which includes uplink communication data volume message and downlink communication data volume message, uplink communication The amount of communication data when terminal carries out uplink communication is carried in data volume message, carries the end in downlink communication data volume message End carries out amount of communication data when downlink communication.
Wherein, downlink communication, which refers to from service server, sends business number to terminal by the first server in core net According to data flow when, downlink communication are as follows: originate in service server, by the first server in core net, using target Base station is sent to terminal.
Uplink communication, which refers to from terminal, sends business datum to service server by the first server in core net, on Data flow when row communication are as follows: originate in terminal, by target BS, then crossed through the first server in core net and be sent to industry Business server.
(6-2) multiple second server, for knowing together to amount of communication data of terminal during destinations traffic, When common recognition passes through, which is stored to target block chain.
Destination server in multiple second service, the terminal for being also used to be counted according to the destination server is in target Amount of communication data in communication process verifies the data volume message, when passing through to the data volume authentication of message, to this Data volume message carries out the first signature, which is sent to multiple second server, when this is more When a second server passes through the data volume message common recognition of first signature, extremely by the first data volume packet storage signed The target block chain.Wherein, the destination server is also used to be determined the public key based on the public key in the data volume message and be somebody's turn to do The public key of destination server is identical.
In a kind of possible embodiment, which is also used to that the data volume authentication of message ought not be passed through Or when not receiving the data volume message, it is logical during destinations traffic that the terminal is obtained from least one first server Letter data amount.
In a kind of possible embodiment, which can also carry out the message of the second signature for the terminal. Correspondingly, multiple second server is also used to during multiple second server knows together to the data volume message The data volume message for receiving the destination server tests the data volume message of the destination server by the public key of the terminal The data volume packet storage of the destination server extremely should by card when the data volume authentication of message to the destination server passes through Target block chain.
Certainly, during carrying out common recognition to rate contract and being incorporated to chain, multiple second server and witness Effect, for the effect during with common recognition when above-mentioned endpoint to register similarly, details are not described herein again.
It should be noted that during the terminal and target BS carry out destinations traffic, this is more in the embodiment of the present invention A second server obtains the amount of communication data of the terminal in real time, and in real time stores the amount of communication data being verified to target On block chain, so that multiple second server communicate based on the amount of communication data is open and clear in block chain network Charging.Also, data volume message is verified based on the second signature of terminal by multiple second server, even if the mesh Mark server malice distorts the information in the data volume message, since the destination server can not know the private key of the terminal, nothing Method distorts the digital signature of terminal in the data volume message, therefore, even if destination server malice is distorted, is also easy to multiple Second server is penetrated, to further ensure the correctness of data volume message.
(6-3) at least one first server is also used to verify the data volume message in the target block chain, When obstructed out-of-date to the data volume authentication of message, punishment strategy is implemented to the destination server.
Wherein, which includes: to reduce target value from the communication charge distributed for the destination server or incite somebody to action The destination server is deleted from the block chain network.At least one first server, is also used to the communication according to the terminal Data volume generates data volume message, and the data volume message is signed, and the data volume message after signature is sent to the mesh Mark server.
In a kind of possible embodiment, which it is logical in target to be also used to count the terminal Amount of communication data during letter.
It should be noted that being to send uplink communication data volume message and downlink communication number by terminal in above-mentioned (6-1) According to amount message for be illustrated.In fact, may be used also during multiple second servers reach common understanding to the amount of communication data To send uplink communication data volume message by terminal, first server sends downlink communication data volume message, alternatively, by the first clothes Business device sends uplink communication data volume message and downlink communication data volume message.Correspondingly, should during, it is the terminal, multiple Second server, acting at least one first server can be with are as follows:
For sending uplink communication data volume message by terminal, when first server sends downlink communication data volume message:
(6-4) terminal, for sending uplink communication data volume message, the uplink communication number to multiple second server The public key of terminal amount of communication data of uplink communication and the destination server during destinations traffic is carried according to amount message.
(6-5) at least one first server is also used to send downlink communication data volume to multiple second server Message, the downlink communication data volume message carry the terminal amount of communication data of downlink communication and the mesh during destinations traffic Mark the public key of server.
(6-6) multiple second server is also used to know together to the uplink communication data volume message of terminal, and to extremely A few first server downlink communication data volume message is known together, to the uplink communication data volume message and downlink communication Data volume message common recognition is when passing through, by the uplink communication data volume message and downlink communication data volume packet storage to target block Chain.
Alternatively, for sending uplink communication data volume message and downlink communication data volume message by first server:
(6-7) at least one first server is also used to send data volume message to multiple second server.
Wherein, which includes uplink communication data volume message and downlink communication data volume message.The data volume Message carries the public key of terminal amount of communication data during destinations traffic and the destination server.
(6-8) multiple second server is also used to verify the data volume message of at least one first server, When being verified, by the uplink communication data volume message and downlink communication data volume packet storage to target block chain.
For the clearer process for introducing the second server charging, the present embodiment is to send uplink communication number by terminal For amount message and downlink communication data volume message, the process of amount of communication data, which is introduced, to be determined to the second server. Fig. 8 is the method flow diagram that a kind of second server determines amount of communication data, as shown in figure 8, method includes the following steps:
801, the terminal sends data volume message to multiple second server.
Wherein, the public affairs of amount of communication data and the destination server of the terminal according to the terminal during destinations traffic Key generates the data volume message.During destinations traffic, which periodically can send data volume to the destination server Message.In addition, the terminal can also carry out the second signature to the data volume message by the private key of the terminal.
802, communication number of the terminal that the destination server is counted according to destination server during destinations traffic According to amount, which is verified, when passing through to the data volume authentication of message, first is carried out to the data volume message Signature, is sent to multiple second server for the first data volume message signed.
Wherein, the terminal, the destination server can synchronize the amount of communication data for counting the terminal, when the terminal is by data Destination server base when amount message is sent to multiple second servers in the block chain network, in multiple second server Public key in the data volume message determines the data volume message to provide data volume report when communication service by the target BS Text.
In a kind of possible embodiment, which can also count the terminal in destinations traffic Amount of communication data in the process.When destination server does not pass through to the data volume authentication of message or do not receive the data volume message When, which obtains communication data of terminal during destinations traffic from least one first server Amount.
Wherein, it during the terminal periodic sends data volume message, interrupts send suddenly, lead to the destination server When not receiving the data volume message, alternatively, when the destination server is obstructed out-of-date to the data volume authentication of message, the destination service Device can obtain the amount of communication data of the terminal from the first server.Wherein, which can be according to the terminal Amount of communication data, generate data volume message, and sign to the data volume, the data volume message after signature is sent to this Destination server.The destination server is carrying out dual signature to the data volume message, by the data volume message after dual signature Be sent to it is multiple put second server, after multiple second server passes through the data volume authentication of message after the dual signature, By the data volume packet storage being verified to target block chain.
803, multiple second server knows together to the data volume message that the destination server is sent.
Multiple second server can verify the data volume message by the public key of the destination server.One In the possible embodiment of kind, when carrying the second signature of the terminal in the data volume message, multiple second server is also The data volume message can further be verified according to the public key of the terminal, judge the data volume message whether by the evil Meaning is distorted, when verify the data volume message be not maliciously tampered when, by the data volume packet storage to target block chain.
In fact, this step is that multiple second server carries out amount of communication data of terminal during destinations traffic A kind of implementation of verifying, certainly, multiple second server are also based on other modes realization, for example, multiple the Two servers can also directly obtain the amount of communication data of the terminal from first server, and based in the first server Amount of communication data, the amount of communication data sent to the terminal are verified.
804, when common recognition passes through, multiple second server stores the amount of communication data to target block chain.
It should be noted that the destination server can also be first by the data volume after the first signature in step 802-804 Message is sent to witness, and witness verifies the data volume message, when being verified, according to the data Message is measured, generates block, and the block is sent in block chain network multiple second servers in addition to book server, it should Multiple second servers know together to the block, and when passing through to block common recognition, which is stored to target block chain.
It should be noted that during knowing together to the amount of communication data of terminal, multiple second server can be with The common recognition process is realized based on witness.The process and the process of above-mentioned steps 306 similarly, details are not described herein again.
It should be noted that at least one first server can also to the data volume message in the target block chain into Row verifying implements punishment strategy to the destination server when obstructed out-of-date to the data volume authentication of message.
It should be noted that passing through multiple second service during the terminal and target BS carry out destinations traffic Device knows together to amount of communication data, and will store by the amount of communication data of common recognition to target block chain, subsequent to guarantee Open and clearization of charging.Also, data volume message is carried out based on the second signature of terminal by multiple second server Verifying, guarantee any one second server all can not altered data amount message privately, even if there is second server malice to distort, It is easy to be penetrated during common recognition, to further ensure the correctness of data volume message.
Finally, multiple second server leads to the terminal based on amount of communication data and rate on target block chain Letter process carry out charging, in the charging process, multiple second server, at least one first server effect such as Under:
(7-1) multiple second server is also used to when the amount of communication data common recognition to the terminal passes through, logical according to this The rate of the target BS stored in letter data amount and the target block chain, determines the communication charge data of the terminal, to this Communication charge data are known together, and when common recognition passes through, which are stored to the target block chain, by the communication Metering data is sent at least one first server.
Wherein, which refers to the mistake that the communication service that the terminal is provided based on the target BS is communicated Journey.
It should be noted that partial action is also based on multiple in the effect in above-mentioned (7-1) of multiple servers Witness in second server is realized.The witness is also used in the amount of communication data verifying to the terminal By when, according to the rate of the target BS stored on the amount of communication data and the target block chain, determine the logical of the terminal Believe metering data, according to the communication charge data, generates block, and the block is sent in block chain network except book server Multiple second servers in addition.Multiple second servers in block chain network are also used to know together to the block, when altogether When knowledge passes through, which is stored to target block chain.
Wherein, during knowing together to communication charge data, the work of multiple second server and witness With for the effect with common recognition when above-mentioned endpoint to register in the process similarly, details are not described herein again.
(7-2) at least one first server is used for according to the communication charge data, for the corresponding mesh of the target BS It marks server and at least one first server carries out the distribution of communication charge.
Wherein, at least one first server is also used to according to allocation rule and the communication charge data, for the target The first numerical value of classification server distributes second value at least one first server.The allocation rule can be by the first clothes Business device and second server offered.
In a kind of possible embodiment, which is also used to obtain the expense of the target BS Rate, the amount of communication data of the terminal according to the rate of the target BS and by least one first server statistics, determines The communication charge data of the terminal verify multiple the based on the communication charge data that at least one first server determines Whether the communication charge data that two servers are sent are correct.
The charging process is introduced in order to clearer, the process of the charging process is introduced below, Fig. 9 is a kind of meter Take the method flow diagram of process, as shown in figure 9, method includes the following steps:
901, multiple second server is when the amount of communication data to the terminal is verified, according to the amount of communication data With the rate of the target BS stored on the target block chain, the communication charge data of the terminal are determined.
This step can be executed with multiple second servers, can also by the witness in multiple second server Lai It executes.By taking witness as an example, which determines the communication of terminal according to the data volume message in target block chain Data volume determines the terminal in target according to the rate for obtaining the target BS in the amount of communication data and the target block chain The communication charge data of communication process.Wherein, which can obtain the target BS from the second commission contract Rate, in a kind of possible embodiment, which can also obtain the expense of the target BS from the rate contract Rate.
902, multiple second server verifies the communication charge data, and when being verified, which is counted Expense data are stored to the target block chain, which is sent at least one first server.
In this step, which generates block according to the communication charge data, and the block is sent to block Multiple second servers in chain network in addition to book server.Correspondingly, more in addition to book server in block chain network A second server is also used to verify the block, and when being verified, which is stored to target block chain.
903, at least one first server is according to the communication charge data, for the corresponding destination service of the target BS Device and at least one first server carry out the distribution of communication charge.
At least one first server can carry out the distribution of communication charge based on allocation rule.
In a kind of possible embodiment, which can also obtain the expense of the target BS Rate, the amount of communication data of the terminal according to the rate of the target BS and by least one first server statistics, determines The communication charge data of the terminal verify multiple the based on the communication charge data that at least one first server determines Whether the communication charge data that two servers are sent are correct.When the first server verifies the logical of multiple second server transmission When believing that metering data is incorrect, which can also implement punishment strategy to the destination server.
It should be noted that carrying out communication charge by multiple second terminal, and right during carrying out communication charge The communication charge data are known together, and will be stored by the communication charge data of common recognition to target block chain and are sent to the first clothes It is engaged in device, to further ensure the reliability and safety of finally obtained communication charge data.Also, by this first Server and second server store the communication charge data, which is also based on the communication number of itself statistics According to amount, exercises supervision to the communication charge data in the target block chain, further ensured the safety of communication charge data.
It should be noted that in the embodiment of the present invention, commission contract, the are initiated in endpoint to register, server registration, terminal Two servers initiate commission contract, second server is terminal distribution base station, second server determines amount of communication data, to terminal During communication charge etc. seven, multiple second servers in block chain network are by the public key of terminal, server to be registered At least seven groups of public key, the first commission contract, the second commission contract, rate contract, data volume message and communication charge data etc. Data are stored to before target block chain, and multiple server needs first know together to seven group information, when common recognition passes through, then Seven group information is stored to target block chain, to reach common understanding in block chain network.
Wherein, which can be realized based on witness in multiple second server, that is to say, the witness Information of the server first based on chain to be entered generates block, and the block is sent in multiple second servers except book server Server in addition.Multiple second server knows together to the block, and when common recognition passes through, which is stored to target In block chain.Certainly, which also stores the block into target block chain.Also, seven group information is stored When to target block chain, signed by public key to the information, and information is verified by private key.Work as preset quantity Second server when reaching common understanding, just carry out into chain process.In addition, for the process that amount of communication data is known together, the end End and dual signature is carried out to the amount of communication data with the destination server, has further ensured the accuracy of information and reliable Property.
For the overall process of clearer communication access and communication charge of the explanation based on above-mentioned communication system, only to scheme For main-process stream shown in 10, which is introduced, as shown in Figure 10, second server is registered in core net, As the server in block chain network, when terminal enters the region that the corresponding base station of some second server is serviced, the Two servers are the terminal coupling target BS, and multiple second servers store rate contract to target block chain, thus Reach rate contract common recognition in block chain network.The terminal and target BS, which are established, to be communicated to connect.The second server can be with The amount of communication data for obtaining the terminal verifies the amount of communication data by multiple second servers, after being verified, The amount of communication data is stored to target block chain, to reach amount of communication data common recognition in the block chain network.This second Server can lead to the communication process of the terminal based on the amount of communication data and rate for passing through verifying on target block chain Believe charging, and communication charge data are verified, after being verified, which is stored to target block Chain, to reach communication charge data common recognition in the block chain network.Wherein, communication process is carried out in terminal and target BS In, which can periodically acquire the terminal in the amount of communication data in the period, and carry out charging.In addition, when eventually End position changes or when the variation such as the signal strength of target BS, service quality, which can be again Terminal distribution base station, and the process for reaching rate contract common recognition is carried out again.
Wherein, the process known together for reaching rate contract in above-mentioned overall procedure, as shown in figure 11, in this process, Communicate to connect when terminal needs to establish with base station, or in communication process, need to switch base station when being attached, the terminal to Second server sends the first commission contract, to initiate commission contract in the block chain network;Equally, work as second server It needs the rate by corresponding base station to store to target block chain or corresponding base station service quality to change, needs to adjust When whole stored rate, which also initiates the second commission contract, multiple second service in block chain network After device is verified the first commission contract and the second commission contract, by the first commission contract and the second commission contract storage To target block chain.Then, in the target block chain, the witness based on common recognition mechanism election is closed by first commission About with the second commission contract, the rate of multiple candidate BS is searched for the terminal, and is terminal distribution base station based on rate height, And the rate contract in matching process is stored to target block chain, which may include being ranked up based on rate height Multiple base stations rate.Further, which is sent to the first clothes in terminal and core net by second server Business device, the terminal are based on the rate contract, and communication connection is established in the base station for selecting rate minimum, which can be with base In the rate contract, subsequent communication charge is carried out.
Wherein, for reaching the process of amount of communication data common recognition in above-mentioned overall procedure, as shown in figure 12, terminal can be to Second server periodically sends amount of communication data message, including uplink communication data volume message and downlink communication data volume report Text, multiple second server verifies the amount of communication data message, after being verified, by amount of communication data packet storage To target block chain.When second server does not pass through the amount of communication data authentication of message, alternatively, to send this logical for the terminal aborts When letter data amount message, which can also obtain the amount of communication data message from the first server of core net, And after being verified, store to target block chain, so that the amount of communication data be reached common understanding in the block chain network.
In the embodiment of the present invention, by using the base station stored in the data traffic and target block chain for passing through common recognition Rate carries out communication charge to the communication process of terminal, so that finally obtaining accurate communication charge data.By to calculating To communication charge data know together, ensure that the reliability of communication charge data, ensure that entire charging process discloses Brightization.Also, the communication charge data are sent to first server, first server is destination server and this at least one The distribution that first server carries out communication charge improves operator so that the businessman other than operator can also get income The enthusiasm of businessman construction and base station maintenance in addition.
Figure 13 is a kind of signaling interaction diagram of communication means provided in an embodiment of the present invention.Referring to Figure 13, this method application In a communications system, which includes at least one first server, at least one base station and multiple second servers, is somebody's turn to do At least one first server be the communication system core net in server, multiple second server be the core net with Outer server, each second server correspond at least one base station, and multiple second server constitutes block chain network, should Target block chain is configured on multiple second servers, storage is by multiple second server common recognition in the target block chain Information, the information include at least the rate of multiple base stations;
1301, each base station at least one base station provides communication service;
1302, multiple second server knows together to amount of communication data of terminal during destinations traffic, altogether When knowledge passes through, according to the rate of the target BS stored in the amount of communication data and the target block chain, the terminal is determined Communication charge data;
1303, multiple second server knows together to the communication charge data, and when common recognition passes through, which is counted Expense data are stored to the target block chain, which are sent at least one first server, the target is logical The communication service that letter process refers to the process of that the terminal is provided based on the target BS is communicated;
1304, at least one first server is according to the communication charge data, for the corresponding target clothes of the target BS Business device and at least one first server carry out the distribution of communication charge.
Optionally, this method further include:
Each second server in multiple second server is in the first registration request for receiving the terminal, to this At least one first server forwards the public key of the terminal, which carries the public key of the terminal;
At least one first server verifies the terminal according to the public key of the terminal, returns to verification result, should Verification result, which is used to indicate, to be passed through the terminal authentication or does not pass through;
When verification result instruction passes through the terminal authentication, multiple second server stores the public key of the terminal Into the target block chain, the notice that succeeds in registration is sent to the terminal.
Optionally, this method further include:
Any first server at least one first server receives the second registration request of server to be registered, According to the public key of server to be registered in second registration request, which is verified;
When passing through to the server authentication to be registered, which sends to multiple second server should The public key of server to be registered sends the notice that succeeds in registration to the server to be registered, and second registration request is for requesting note Volume is the second server in the block chain network.
Optionally, this method further include:
When receiving the first commission contract of the terminal, multiple second server is based on more in the first commission contract The Base Station Identification of a base station obtains the rate of multiple base station, returns to rate to the terminal and indicates information, the first commission contract Including at least the Base Station Identification of multiple base station, rate instruction information is used to indicate the height of the rate of multiple base station;
The terminal is based on the target BS that rate is minimum in the rate instruction information, with multiple base station and establishes communication link It connects.
Optionally, this method further include:
When the terminal, which reaches contract, initiates condition, which sends the first commission contract to second server;
Wherein, it includes: in endpoint to register success, alternatively, believing in the candidate BS of the terminal which, which initiates condition, The number that number intensity reaches the base station of Target Signal Strength is no more than preset threshold.
Optionally, which also stores the service quality of multiple base stations, which further includes the end The conditions of service at end, this method further include:
Multiple second server obtains the service quality of multiple base station, according to the service quality of multiple base station and is somebody's turn to do The conditions of service of terminal delete service quality from multiple base stations that the first commission contract includes and are unsatisfactory for the conditions of service Base station.
Optionally, this method further include:
At least one first server obtains the rate of the target BS, extremely according to the rate of the target BS and by this The amount of communication data of the terminal of few first server statistics, determines the communication charge data of the terminal;
The communication charge data that at least one first server is determined based at least one first server, verifying should Whether the communication charge data that multiple second servers are sent are correct.
Optionally, this method further include:
Each second server in multiple second server be based on each second server it is corresponding at least one The rate of base station, multiple second servers into the block chain network in addition to book server send the second commission contract, should Second commission contract carries the rate of at least one corresponding base station of each second server;
Multiple second server knows together to the second commission contract, and when common recognition passes through, which is closed It about stores to the target block chain.
Optionally, which further includes the service quality of base station, this method further include:
Each second server obtains the service quality of at least one corresponding base station of each server, at least by this The service quality of one base station is added in the second commission contract.
Optionally, this method further include:
The service quality of the corresponding base station of each second server real-time monitoring each second server, when monitoring When the service quality of the corresponding base station of each second server changes, according to target adjustment strategy and each second clothes The current service quality of the corresponding base station of business device, adjusts the rate of the base station, rate adjusted is based on, to the block chain network In multiple second servers in addition to book server send third and entrust contract, it is adjusted that third commission contract carries this Rate;
When passing through to third commission contract common recognition, multiple second server stores third commission contract to this Target block chain.
Optionally, this method further include:
The terminal sends data volume message to multiple second server, and it is logical in target which carries the terminal The public key of amount of communication data and the destination server during letter;
Amount of communication data of the terminal that the destination server is counted according to destination server during destinations traffic, The data volume message is verified, when passing through to the data volume authentication of message, the first signature is carried out to the data volume message, The first data volume message signed is sent to multiple second server, when multiple second server is to first signature Data volume message common recognition when passing through, by the first data volume packet storage signed to the target block chain.
Optionally, this method further include:
At least one first server counts amount of communication data of terminal during destinations traffic;
When not passing through to the data volume authentication of message or not receiving the data volume message, the destination server from this at least Amount of communication data of terminal during destinations traffic is obtained in one first server.
Optionally, this method further include:
The terminal carries out the second signature to the data volume message by the private key of the terminal.
Optionally, this method further include:
Multiple second server receives the data volume message of the destination server, by the public key of the terminal to the target The data volume message of server is verified, and when the data volume message common recognition to the destination server passes through, which is taken The data volume message of business device is added to the target block chain.
Optionally, this method further include:
At least one first server verifies the data volume message in the target block chain, when to the data volume Authentication of message is obstructed out-of-date, implements punishment strategy to the destination server.
Optionally, this method further include:
The punishment strategy includes: target value to be reduced from the communication charge distributed for the destination server or by the target Server is deleted from the block chain network.
In the embodiment of the present invention, by using the base station stored in the data traffic and target block chain for passing through common recognition Rate carries out communication charge to the communication process of terminal, so that finally obtaining accurate communication charge data.By to calculating To communication charge data know together, ensure that the reliability of communication charge data, ensure that entire charging process discloses Brightization.Also, the communication charge data are sent to first server, first server is destination server and this at least one The distribution that first server carries out communication charge improves operator so that the businessman other than operator can also get income The enthusiasm of businessman construction and base station maintenance in addition.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
It should be understood that communication system provided by the above embodiment communication when, only with above-mentioned each functional module draw Divide and be illustrated, in practical application, can according to need and be completed by different functional modules above-mentioned function distribution, i.e., The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.On in addition, The communication system and communication means embodiment for stating embodiment offer belong to same design, and specific implementation process is detailed in method implementation Example, which is not described herein again.
Figure 14 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 1400 can because of configuration or Performance is different and generates bigger difference, may include one or more central processing units (central Processing units, CPU) 1401 and one or more memory 1402, wherein it is deposited in the memory 1402 At least one instruction is contained, at least one instruction is loaded by the processor 1401 and executed to realize above-mentioned each method The communication means that embodiment provides.Certainly, which can also have wired or wireless network interface, keyboard and input defeated The components such as outgoing interface, to carry out input and output, which can also include other components for realizing functions of the equipments, This is not repeated them here.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by the processor in terminal to complete the communication means in above-described embodiment.For example, the computer can Reading storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light storage device etc..
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of communication system, which is characterized in that the communication system includes at least one first server, at least one base station With multiple second servers, at least one described first server is the server in the core net of the communication system, described Multiple second servers are the server other than the core net, and each second server corresponds at least one base station, described Multiple second servers constitute block chain network, are configured with target block chain, the target area on the multiple second server Information of the storage by the multiple second server common recognition in block chain, the information include at least the rate of multiple base stations;
Each base station at least one described base station, for providing communication service;
The multiple second server is being known together for knowing together to amount of communication data of terminal during destinations traffic By when, according to the rate of the target BS stored in the amount of communication data and the target block chain, determine the end The communication charge data at end;
The multiple second server is also used to know together to the communication charge data, will be described logical when common recognition passes through Letter metering data is stored to the target block chain, and the communication charge data are sent at least one described first service Device, the communication service that the destinations traffic process refers to the process of that the terminal is provided based on the target BS are communicated;
At least one described first server, for being the corresponding target of the target BS according to the communication charge data Server and at least one described first server carry out the distribution of communication charge.
2. communication system according to claim 1, which is characterized in that
Each second server in the multiple second server is also used in the first registration request for receiving the terminal When, the public key of the terminal is forwarded at least one described first server, first registration request carries the terminal Public key;
At least one described first server is also used to verify the terminal according to the public key of the terminal, and return is tested Card is as a result, the verification result is used to indicate passes through to the terminal authentication or do not pass through;
The multiple second server is also used to when the verification result indicates to pass through the terminal authentication, by the end The public key at end is stored into the target block chain, sends the notice that succeeds in registration to the terminal.
3. communication system according to claim 1, which is characterized in that
The multiple second server is also used to when receiving the first commission contract of the terminal, based on first committee The Base Station Identification for holding in the palm multiple base stations in contract, obtains the rate of the multiple base station, returns to rate to the terminal and indicates information, The first commission contract includes at least the Base Station Identification of the multiple base station, and the rate instruction information is used to indicate described more The height of the rate of a base station;
The terminal, for being established based on the minimum target BS of rate in the rate instruction information, with the multiple base station Communication connection.
4. communication system according to claim 1, which is characterized in that
Each second server in the multiple second server is also used to corresponding extremely based on each second server The rate of a few base station, multiple second servers into the block chain network in addition to book server send the second commission Contract, the second commission contract carry the rate of at least one corresponding base station of each second server;
The multiple second server is also used to know together to the second commission contract, when common recognition passes through, by described the Two commission contracts are stored to the target block chain.
5. communication system according to claim 1, which is characterized in that
The terminal, for sending data volume message to the multiple second server, the data volume message carries the end Hold the public key of the amount of communication data and the destination server during destinations traffic;
The destination server, the terminal for being also used to be counted according to the destination server are logical during destinations traffic Letter data amount verifies the data volume message, when passing through to the data volume authentication of message, to the data volume report Text carries out the first signature, the data volume message that described first signs is sent to the multiple second server, when the multiple When second server passes through the data volume message common recognition of first signature, data volume packet storage that described first is signed To the target block chain.
6. a kind of communication means, which is characterized in that in a communications system, the communication system includes at least one for the method application A first server, at least one base station and multiple second servers, at least one described first server are the communication system Server in the core net of system, the multiple second server are the server other than the core net, each second service Device corresponds at least one base station, and the multiple second server constitutes block chain network, matches on the multiple second server It is equipped with target block chain, information of the storage by the multiple second server common recognition, the information in the target block chain Including at least the rate of multiple base stations;
Each base station at least one described base station provides communication service;
The multiple second server knows together to amount of communication data of terminal during destinations traffic, passes through in common recognition When, according to the rate of the target BS stored in the amount of communication data and the target block chain, determine the terminal Communication charge data;
The multiple second server knows together to the communication charge data, when common recognition passes through, by the communication charge Data are stored to the target block chain, and the communication charge data are sent at least one described first server, described The communication service that destinations traffic process refers to the process of that the terminal is provided based on the target BS is communicated;
At least one described first server is the corresponding destination server of the target BS according to the communication charge data The distribution of communication charge is carried out at least one described first server.
7. communication means according to claim 6, which is characterized in that the method also includes:
Each second server in the multiple second server is when receiving the first registration request of the terminal, to institute The public key that at least one first server forwards the terminal is stated, first registration request carries the public key of the terminal;
At least one described first server verifies the terminal according to the public key of the terminal, returns to verification result, The verification result, which is used to indicate, to be passed through the terminal authentication or does not pass through;
When verification result instruction passes through the terminal authentication, the multiple second server is by the public key of the terminal It stores into the target block chain, sends the notice that succeeds in registration to the terminal.
8. communication means according to claim 6, which is characterized in that the method also includes:
When receiving the first commission contract of the terminal, the multiple second server is based in the first commission contract The Base Station Identification of multiple base stations obtains the rate of the multiple base station, to the terminal return rate indicate information, described first Contract is entrusted to include at least the Base Station Identification of the multiple base station, the rate instruction information is used to indicate the multiple base station The height of rate;
The terminal is based on the target BS that rate is minimum in the rate instruction information, with the multiple base station and establishes communication link It connects.
9. communication means according to claim 6, which is characterized in that the method also includes:
Each second server in the multiple second server be based on each second server it is corresponding at least one The rate of base station, multiple second servers into the block chain network in addition to book server send the second commission contract, The second commission contract carries the rate of at least one corresponding base station of each second server;
The multiple second server knows together to the second commission contract, and when common recognition passes through, described second is entrusted Contract is stored to the target block chain.
10. communication means according to claim 6, which is characterized in that the method also includes:
The terminal sends data volume message to the multiple second server, and the data volume message carries the terminal in mesh Mark the public key of the amount of communication data and the destination server in communication process;
Communication data of the terminal that the destination server is counted according to destination server during destinations traffic Amount, verifies the data volume message, when passing through to the data volume authentication of message, carries out to the data volume message First signature, is sent to the multiple second server for the data volume message that described first signs, when the multiple second clothes When business device passes through the data volume message common recognition of first signature, data volume packet storage that described first is signed is to described Target block chain.
11. a kind of server, which is characterized in that the server includes processor and memory, is stored in the memory At least one instruction, described instruction are loaded by the processor and are executed to realize as claim 6 is any to claim 10 Operation performed by communication means described in.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and executed to realize as claim 6 to the described in any item communication means of claim 10 is held Capable operation.
CN201811072755.7A 2018-09-14 2018-09-14 Communication system, method, server and storage medium Active CN108989061B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202010377433.4A CN111555892B (en) 2018-09-14 2018-09-14 Communication system, method and storage medium
CN201811072755.7A CN108989061B (en) 2018-09-14 2018-09-14 Communication system, method, server and storage medium
JP2020559485A JP6999051B2 (en) 2018-09-14 2019-08-23 Communication systems, methods, servers and programs
PCT/CN2019/102177 WO2020052423A1 (en) 2018-09-14 2019-08-23 Communication system, method, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811072755.7A CN108989061B (en) 2018-09-14 2018-09-14 Communication system, method, server and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010377433.4A Division CN111555892B (en) 2018-09-14 2018-09-14 Communication system, method and storage medium

Publications (2)

Publication Number Publication Date
CN108989061A true CN108989061A (en) 2018-12-11
CN108989061B CN108989061B (en) 2020-06-02

Family

ID=64546195

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811072755.7A Active CN108989061B (en) 2018-09-14 2018-09-14 Communication system, method, server and storage medium
CN202010377433.4A Active CN111555892B (en) 2018-09-14 2018-09-14 Communication system, method and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010377433.4A Active CN111555892B (en) 2018-09-14 2018-09-14 Communication system, method and storage medium

Country Status (3)

Country Link
JP (1) JP6999051B2 (en)
CN (2) CN108989061B (en)
WO (1) WO2020052423A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336816A (en) * 2019-07-05 2019-10-15 深圳市九链科技有限公司 A method of use communication to prove to know together as block chain
CN110443075A (en) * 2019-08-05 2019-11-12 中国工商银行股份有限公司 A kind of method and device of block chain intelligence contract verifying deployment
CN110719575A (en) * 2019-10-18 2020-01-21 中国联合网络通信集团有限公司 Radio frequency spectrum allocation method and system based on block chain
WO2020052423A1 (en) * 2018-09-14 2020-03-19 腾讯科技(深圳)有限公司 Communication system, method, server and computer readable storage medium
CN111355754A (en) * 2018-12-21 2020-06-30 西安佰才邦网络技术有限公司 Method and equipment for purchasing service based on block chain
CN114040414A (en) * 2021-10-09 2022-02-11 中国联合网络通信集团有限公司 Resource allocation method, device and computer readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475287B (en) * 2020-03-24 2023-05-02 浙江大学 Multi-robot cooperation multi-target point load balancing searching method and system based on blockchain
CN114338668B (en) * 2021-12-07 2023-10-31 中国联合网络通信集团有限公司 Data verification method, system, storage medium and equipment based on consensus mechanism

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294738A (en) * 2017-06-12 2017-10-24 中国联合网络通信集团有限公司 The treating method and apparatus of communication charge
CN107994991A (en) * 2017-10-31 2018-05-04 深圳市轱辘车联数据技术有限公司 A kind of data processing method, data processing server and storage medium
CN107995003A (en) * 2016-10-26 2018-05-04 中国移动通信有限公司研究院 The charging and settlement method of international roaming communication, relevant apparatus and distributed system
CN108064440A (en) * 2017-05-25 2018-05-22 深圳前海达闼云端智能科技有限公司 FIDO authentication method, device and system based on block chain
US20180189755A1 (en) * 2016-12-29 2018-07-05 Red Hat, Inc. Providing blockchain-based subscription-as-a-service management
CN108369763A (en) * 2015-12-03 2018-08-03 英诺吉创新有限公司 Charging system for vehicle
CN108471601A (en) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 Inter-network settlement method, apparatus, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6947724B2 (en) * 2002-01-04 2005-09-20 Telefonaktiebolaget Lm Ericsson (Publ) System and method of billing based on the reported traffic load in a telecommunications network
JP2003304351A (en) * 2002-04-08 2003-10-24 Sharp Corp Mobile communication system
JP2004242176A (en) * 2003-02-07 2004-08-26 Nec Corp Mobile communication system and its base station device installation method
EP1460802A1 (en) * 2003-03-18 2004-09-22 Hewlett-Packard Development Company, L.P. Communication method and system
CN101145918A (en) * 2005-08-23 2008-03-19 华为技术有限公司 A billing method and system
CN102695153B (en) * 2012-05-29 2015-03-04 中国联合网络通信集团有限公司 Base station clustering architecture based billing processing method, billing processing device and billing processing system
JP2018020943A (en) * 2016-08-05 2018-02-08 デンカ株式会社 Dusting slag, cement admixture using the same and manufacturing method therefor
JP6776092B2 (en) * 2016-10-21 2020-10-28 三菱重工業株式会社 Steam turbine and temperature control method
CN106911483B (en) * 2017-03-13 2020-04-07 广东网金控股股份有限公司 Charging method based on block chain and cloud computing platform
CN107027111A (en) * 2017-05-18 2017-08-08 电子科技大学 A kind of roaming telephone expenses record and settlement method based on block chain
CN108989061B (en) * 2018-09-14 2020-06-02 腾讯科技(深圳)有限公司 Communication system, method, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108369763A (en) * 2015-12-03 2018-08-03 英诺吉创新有限公司 Charging system for vehicle
CN107995003A (en) * 2016-10-26 2018-05-04 中国移动通信有限公司研究院 The charging and settlement method of international roaming communication, relevant apparatus and distributed system
US20180189755A1 (en) * 2016-12-29 2018-07-05 Red Hat, Inc. Providing blockchain-based subscription-as-a-service management
CN108064440A (en) * 2017-05-25 2018-05-22 深圳前海达闼云端智能科技有限公司 FIDO authentication method, device and system based on block chain
CN107294738A (en) * 2017-06-12 2017-10-24 中国联合网络通信集团有限公司 The treating method and apparatus of communication charge
CN107994991A (en) * 2017-10-31 2018-05-04 深圳市轱辘车联数据技术有限公司 A kind of data processing method, data processing server and storage medium
CN108471601A (en) * 2018-06-21 2018-08-31 中国联合网络通信集团有限公司 Inter-network settlement method, apparatus, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP: "Technical Specification Group Services and System Aspects;Service requirements for next generation new services and markets;Stage 1(Release 15)", 《3GPP TS 22.261 V0.2.0》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020052423A1 (en) * 2018-09-14 2020-03-19 腾讯科技(深圳)有限公司 Communication system, method, server and computer readable storage medium
CN111355754A (en) * 2018-12-21 2020-06-30 西安佰才邦网络技术有限公司 Method and equipment for purchasing service based on block chain
CN111355754B (en) * 2018-12-21 2023-06-27 西安佰才邦网络技术有限公司 Block chain-based business purchasing method and equipment
CN110336816A (en) * 2019-07-05 2019-10-15 深圳市九链科技有限公司 A method of use communication to prove to know together as block chain
CN110336816B (en) * 2019-07-05 2021-08-17 深圳市九链科技有限公司 Method for using communication certificate as block chain consensus
CN110443075A (en) * 2019-08-05 2019-11-12 中国工商银行股份有限公司 A kind of method and device of block chain intelligence contract verifying deployment
CN110719575A (en) * 2019-10-18 2020-01-21 中国联合网络通信集团有限公司 Radio frequency spectrum allocation method and system based on block chain
CN114040414A (en) * 2021-10-09 2022-02-11 中国联合网络通信集团有限公司 Resource allocation method, device and computer readable storage medium

Also Published As

Publication number Publication date
JP6999051B2 (en) 2022-02-10
CN108989061B (en) 2020-06-02
WO2020052423A1 (en) 2020-03-19
CN111555892A (en) 2020-08-18
JP2021520153A (en) 2021-08-12
CN111555892B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN108989061A (en) Communication system, method, server and storage medium
CN112312339B (en) Charging method, charging system and communication device
US9294380B2 (en) Method and apparatus for traffic classification
US20170170856A1 (en) Cloud sim card pool system
WO2016065908A1 (en) Method, device and system for detecting fraudulent user
CN101479989B (en) Charging of GPRS traffic for roaming mobiles by performing traffic counting at the user terminal
ES2648309T3 (en) Device-assisted services to protect network capacity
CN102905390A (en) Session association method, device and system
US20080016213A1 (en) Communication System, Communication Method, Network Load Prediction Node, and Network Configuration Management Node
CN109600790A (en) The method and apparatus for obtaining characteristic parameter
Kouam et al. SIMBox bypass frauds in cellular networks: Strategies, evolution, detection, and future directions
WO2022215969A1 (en) Method and apparatus for providing traffic steering in mobile communication system
US20060171382A1 (en) Method and arrangement for externally controlling and managing at least one wlan subscriber who is assigned to a local radio network
CN104301880A (en) Data service flow accounting accuracy detecting method for CDMA 2000 network mobile communication system
NL1011358C2 (en) Access point-dependent pricing of telecommunications connections.
Oh et al. Preventing SIM Box Fraud Using Device Model Fingerprinting.
CN108270808B (en) Method, device and system for realizing application detection and control
CN112153701B (en) Method and device for determining bandwidth usage
CN106332080A (en) WIFI (Wireless Fidelity) hotspot connection control method based on communication system, server and WIFI hotspot
KR102294713B1 (en) Apparatus And Method for Inducing Install Application
US20240031784A1 (en) Enhanced charging in cellular communication networks
CN103596158B (en) A kind of method and device obtaining CAMEL-Subscription-Information
WO2017149619A1 (en) Node apparatus, communication method, and communication system
Kwiatkowski Performance modelling of UPT networks
KR100569030B1 (en) System for selecting and confirming data service by package and the Method

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