CN113543054B - Relay service method and device - Google Patents

Relay service method and device Download PDF

Info

Publication number
CN113543054B
CN113543054B CN202110712351.5A CN202110712351A CN113543054B CN 113543054 B CN113543054 B CN 113543054B CN 202110712351 A CN202110712351 A CN 202110712351A CN 113543054 B CN113543054 B CN 113543054B
Authority
CN
China
Prior art keywords
relay
node
service
relay service
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110712351.5A
Other languages
Chinese (zh)
Other versions
CN113543054A (en
Inventor
董慧
杨子文
侯赛男
田新雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110712351.5A priority Critical patent/CN113543054B/en
Publication of CN113543054A publication Critical patent/CN113543054A/en
Application granted granted Critical
Publication of CN113543054B publication Critical patent/CN113543054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a relay service method and a relay service device, and belongs to the technical field of communication. The scheme comprises the following steps: receiving a relay service request sent by a relay demand node; appointing relay service content with a relay demand node, wherein the relay service content comprises information of relay resources, information of service cost and information of resource use nodes, the relay resources are resources provided by the relay service node to the resource use nodes, the service cost is the cost of the relay service paid by the relay demand node to the relay service node, and the resource use nodes are nodes which are appointed by the relay demand node and use the relay resources; generating a resource allocation request according to the relay service content; sending the resource allocation request to a resource allocation node for the resource allocation node to allocate the relay resource of the relay service node to the resource utilization node; under the condition that the preset termination condition is triggered, the relay service is stopped, the service cost paid by the relay demand node is received, the relay service can be popularized, and the resource utilization rate can be improved.

Description

Relay service method and device
Technical Field
The invention relates to the technical field of communication, in particular to a relay service method and a relay service device.
Background
D2D (Device-to-Device) technology enables direct communication between terminals, thereby reducing the burden on the cellular system and increasing the capacity of the communication system. For example, after two terminals establish a D2D connection, the terminal providing the relay service becomes a small antenna that moves, so that the other terminal with a relatively weak signal can stably and reliably use the network service of the operator by the relay service terminal. In practical applications, part of the resources of the terminal may not be fully utilized, and in this case, the terminal may provide the part of the resources to another terminal through the relay service based on D2D. However, not only can the terminal occupy its own resources, but also extra power consumption and data leakage risk are caused when the terminal provides the relay service to the outside, and the willingness of the terminal to actively provide the relay service is not strong, so that the resources are idle or left, and resource waste is easily caused.
Disclosure of Invention
Therefore, the invention provides a relay service method and a relay service device, which are used for solving the problem of how to realize resource exchange between terminals through relay service so as to improve the resource utilization rate.
In order to achieve the above object, a first aspect of the present invention provides a relay service method, including:
receiving a relay service request sent by a relay demand node;
appointing relay service content with the relay demand node, wherein the relay service content comprises information of relay resources, information of service cost and information of resource utilization nodes, the relay resources are resources provided by the relay service node to the resource utilization nodes, the service cost is the cost of the relay service paid by the relay demand node to the relay service node, and the resource utilization nodes are nodes which are appointed by the relay demand node and use the relay resources;
generating a resource allocation request according to the relay service content;
sending the resource allocation request to a resource allocation node, so that the resource allocation node allocates the relay resource of the relay service node to the resource utilization node;
and under the condition of triggering a preset termination condition, stopping the relay service and receiving the service cost paid by the relay demand node.
Further, before receiving the relay service request sent by the relay demand node, the relay service method further includes:
registering in a block chain network to obtain a service identifier;
generating a relay service message based on the service identification;
broadcasting the relay service message at the blockchain network for the relay demand node to send the relay service request to the relay service node if the relay service message is received.
Further, the relay service message further includes one or more of a service period, a service level, and a service charging standard;
the relay service content further includes one or more of a contracted service period, a contracted service level, and a contracted service charging standard.
Further, the types of the relay demand nodes include an operator and a personal terminal;
under the condition that the type of the relay demand node is an operator, the resource utilization node is a home terminal node of the relay demand node; and under the condition that the type of the relay demand node is a personal terminal, the resource utilization node is the relay demand node.
Further, the relay demand node is a personal terminal;
after receiving the relay service request sent by the relay demand node and before agreeing with the relay service content with the relay demand node, the relay service method further includes:
acquiring balance information of the relay demand node;
judging whether the relay demand node has service charge payment capacity or not according to the balance information;
and under the condition that the relay demand node is determined to have the service charge payment capability, appointing the relay service content with the relay demand node.
Further, the resource allocation node is a home base station of the relay service node;
the sending the resource allocation request to a resource allocation node for the resource allocation node to allocate the relay resource of the relay service node to the resource usage node includes:
establishing a relay connection with the resource usage node;
under the condition that the type of the relay demand node is an operator, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates the relay resource to the resource utilization node based on relay connection between the relay service node and the resource utilization node;
and under the condition that the type of the relay demand node is a personal terminal, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates the relay resource to the resource utilization node based on the relay connection between the relay service node and the resource utilization node.
Further, after the appointing the relay service content with the relay demand node and before the generating the resource allocation request according to the relay service content, the relay service method further includes:
according to the relay service content, signing an intelligent contract with the relay demand node;
signing the intelligent contract, and broadcasting the signed intelligent contract in a block chain network;
receiving a validity verification result of the intelligent contract returned by a verification node in the block chain network, wherein the validity verification result of the intelligent contract is information generated by the verification node according to a signature verification result of the intelligent contract;
determining whether the intelligent contract is effective or not according to the effectiveness verification result of the intelligent contract;
and under the condition that the intelligent contract is determined to be effective, generating the resource allocation request according to the relay service content.
Further, in the case that a preset termination condition is triggered, after the relay service is stopped and the service charge paid by the relay demand node is received, the relay service method further includes:
and writing the intelligent contract and the execution result of the intelligent contract into the block chain network.
Further, the preset termination condition includes that the relay service is completed, the relay service node has a requirement for terminating the relay service in advance, and the relay demand node has a requirement for terminating the relay service in advance;
under the condition that a preset termination condition is triggered, the relay service is stopped, and the service cost paid by the relay demand node is received, wherein the method comprises the following steps:
under the condition that the preset termination condition is that the relay service is completed, the relay connection with the resource using node is disconnected;
receiving the service cost paid by the relay demand node according to the relay service content;
under the condition that the preset termination condition is that the relay service node has a requirement for terminating the relay service in advance, negotiating with the relay requirement node and obtaining a negotiation result;
determining whether to disconnect the relay connection with the resource using node according to the negotiation result;
under the condition that the relay connection with the resource using node is determined to be disconnected, receiving the service cost paid by the relay demand node according to the negotiation result;
under the condition that the preset termination condition is that the relay demand node has a relay service termination requirement in advance, disconnecting the relay connection with the resource use node;
and receiving the service cost paid by the relay demand node according to the actual relay service duration.
In order to achieve the above object, a second aspect of the present invention provides a relay service apparatus, comprising:
a first receiving module configured to receive a relay service request sent by a relay demand node;
an appointment module configured to appoint relay service content with the relay demand node, where the relay service content includes information of a first relay resource, information of a second resource service charge, and information of a preset resource usage node, the first relay resource is a relay resource provided by a current relay service node to the resource usage node, the second resource service charge is a charge of relay service paid by the relay demand node to the relay service node, and the resource usage node is a node designated by the relay demand node and using the first relay resource;
a generation module configured to generate a resource allocation request according to the relay service content;
a sending module configured to send the resource allocation request to a resource allocation node, so that the resource allocation node allocates the first relay resource of the current relay service node to the preset resource usage node;
a stopping module configured to stop the relay service in case of triggering a preset termination condition;
a second receiving module configured to receive the second resource service charge paid by the relay demand node in a feedback manner.
The invention has the following advantages:
the relay service method provided by the invention has the advantages that the relay service node and the relay demand node agree in advance on the relay service content, the relay service content comprises the information of relay resources, the information of service cost and the information of resource using nodes, the relay resources of the relay service node are distributed to the resource using nodes by the resource distributing nodes, when the termination condition is triggered, the relay service node stops providing the relay service for the resource using nodes and receives the service cost paid by the relay demand node, more terminals can be stimulated to provide idle or residual resources outwards in the form of the relay service by acquiring the service cost, the application and development of the relay service are promoted, and the resource utilization rate can be effectively improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a relay service method according to an embodiment of the present invention;
fig. 2 is a flowchart of a relay service method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a relay service method according to a third embodiment of the present invention;
fig. 4 is a block diagram illustrating a relay service apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic signaling interaction diagram of a relay service system according to a fifth embodiment of the present invention;
fig. 6 is a schematic signaling interaction diagram of a relay service system according to a sixth embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
A first aspect of the present application provides a relay service method. Fig. 1 is a flowchart of a relay service method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, receiving a relay service request sent by a relay demand node.
The relay demand node transmits a relay service request to the relay service node to use the relay resource of the relay service node in a case where the relay service needs to be used.
In the first embodiment, the relay service node periodically broadcasts the relay service message, and carries one or more of terminal identification, service period, service level, service charging standard and the like in the relay service message. There may be multiple relay service nodes broadcasting relay service messages during the same time period. For the relay demand node, it may listen to the relay service message broadcast by the discovery relay service node. When the relay demand node receives a plurality of relay service messages, the relay demand node selects a node which best meets the self demand as a relay service node according to the information carried in the relay service messages, and sends a relay service request to the relay service node.
It should be noted that, in some specific implementations, before broadcasting the relay service message, the relay service node further includes: registering in a block chain network to obtain a service identifier; generating a relay service message based on the service identifier (the relay service message may also carry the above-mentioned information of the terminal identifier, the service period, the service level, the service charging standard, etc.); a relay service message is broadcast over the blockchain network. In this case, the relay service node is equivalent to setting itself to a service mode that can be discovered, and the relay requiring node can send a relay service request to the relay service node as needed when receiving the relay service message. If the relay service node does not provide the relay service any more, the relay service node does not broadcast the relay service message, namely, the relay service node sets the relay service node to be in the service mode which is not discovered, and based on the service mode, the relay demand node does not send the relay service request to the relay service node.
In the second embodiment, the relay service node does not broadcast the message, but the relay demand node broadcasts the relay service request. After receiving the relay service request, if the relay service is determined to be provided, the relay service node feeds back a relay service message to the relay demand node, wherein the relay service message comprises one or more of terminal identification, service period, service level, service charging standard and the like. And if the relay service node can not provide the relay service, directly ignoring the relay service request or sending a feedback message of the service which can not be provided to the relay demand node. For the relay demand node, it may receive the relay service message fed back by multiple relay service nodes, that is, there are multiple relay service nodes that can provide the relay service. In this case, the relay demand node may select the most suitable relay service node from the plurality of relay service nodes according to the content of the relay service message and the requirement of the relay demand node, and further agree on the relay service content with the relay service node.
It should be noted that, in practical applications, in addition to the manner in which the relay demand node actively determines or selects the relay service node, the operator system or other systems having relay management authority may also designate the relay service node for the relay demand node.
Step S102, the relay service content is agreed with the relay demand node.
The relay service content comprises information of relay resources, information of service cost and information of resource using nodes, the relay resources are resources provided by the relay service nodes to the resource using nodes, the service cost is the cost of the relay service paid by the relay demand nodes to the relay service nodes, and the resource using nodes are nodes which are appointed by the relay demand nodes and use the relay resources. In some implementations, the relay resources include types of bandwidth resources and data traffic resources.
In some embodiments, the types of relay demand nodes include operators and personal terminals. Under the condition that the type of the relay demand node is an operator, the resource utilization node is a home terminal node of the relay demand node; and under the condition that the type of the relay demand node is the personal terminal, the resource utilization node is the relay demand node.
For example, the operator system determines the area where signal coverage needs to be enhanced according to the complaint information of the user and/or the detection result of the communication signal and/or the specific service requirement. When the home terminal node of the operator system enters the area, the operator system initiates a relay service request to a relay service node (generally, a relay service node closer to the home terminal node) that can provide a relay service for the home terminal node, and requests the relay service node to provide the relay service for its home terminal node.
It is understood that, in the case of establishing a relay connection based on D2D, if the home terminal node enters the area and does not turn on the D2D function, the operator system may prompt the home terminal node to turn on the D2D function to receive the relay service.
Step S103, generating a resource allocation request according to the relay service content.
The relay service contents include information of relay resources, information of service charges, and information of resource usage nodes. And the resource allocation request is generated based on the relay service content, so that the resource allocation node can allocate the relay resource of the relay service node to the specified resource utilization node according to the resource allocation request.
Step S104, the resource allocation request is sent to the resource allocation node, so that the resource allocation node allocates the relay resource of the relay service node to the resource utilization node.
And the resource allocation node is a home base station of the relay service node.
In some embodiments, the relay service node first establishes a relay connection with the resource usage node. Under the condition that the type of the relay demand node is an operator, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates relay resources to the resource utilization node based on relay connection between the relay service node and the resource utilization node; and under the condition that the type of the relay demand node is the personal terminal, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates the relay resource to the resource utilization node based on the relay connection between the relay service node and the resource utilization node.
And step S105, under the condition that a preset termination condition is triggered, stopping the relay service and receiving the service cost paid by the relay demand node.
The preset termination condition comprises three conditions of completing relay service, the relay service node having a requirement of terminating the relay service in advance and the relay demand node having a requirement of terminating the relay service in advance.
In some embodiments, in the case that the preset termination condition is that the relay service is completed, the relay service node disconnects the relay connection with the resource usage node, and receives the service cost paid by the relay demand node according to the relay service content.
In some embodiments, when the preset termination condition is that the relay service node has a requirement for terminating the relay service in advance, the relay service node negotiates with the relay requirement node and obtains a negotiation result; determining whether to disconnect the relay connection with the resource using node according to the negotiation result; and under the condition that the relay connection with the resource utilization node is determined to be disconnected, receiving the service cost paid by the relay demand node according to the negotiation result.
In some embodiments, when the preset termination condition is that the relay demand node has a demand for terminating the relay service in advance, the relay service node disconnects the relay connection with the resource usage node, and receives a service charge paid by the relay demand node according to the actual relay service duration.
It should be noted that if the type of the relay demand node is the operator, the payment of the service fee includes various forms, for example, the credit of the complimentary user, the charging card of the telephone fee, the free number of minutes of the call, the traffic packet, and the like. In addition, in order to simplify the payment operation, the operator may preset a payment period (for example, a period of "month"), and when the payment period is reached, the operator uniformly pays the service fee to the relay service node.
In the relay service method provided by this embodiment, a relay service node and a relay demand node agree in advance for relay service content, where the relay service content includes information of relay resources, information of service cost, and information of resource usage nodes, and a resource allocation node allocates relay resources of the relay service node to the resource usage nodes, and when a termination condition is triggered, the relay service node stops providing relay service for the resource usage nodes and receives service cost paid by the relay demand node.
Fig. 2 is a flowchart of a relay service method according to a second embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S201, register in the blockchain network to obtain the service identifier.
The relay service node is registered in the block chain network in advance, so that on one hand, nodes (for example, false nodes) without relay service qualification can be screened, the safety of the relay service is improved, and on the other hand, the relay service node can be managed in a centralized manner through the block chain network, and the management efficiency is improved.
In some embodiments, the relay service node registers in the blockchain network, the relay service node needs to provide information such as corresponding identity certificate in the registration process, when the information such as the identity certificate passes the verification, the relay service node successfully registers, and the blockchain network system issues a corresponding service identifier and a public and private key for the relay service node. In some implementations, the relay service node may use the block chain address of the relay service node as the service identification.
Step S202, generating a relay service message based on the service identification.
In some embodiments, the relay service node generates the relay service message based on the service identification.
It can be understood that the relay service node may also carry information such as a terminal identifier, a service period, a service level, a service charging standard, and the like in the relay service message, so that the relay demand node determines whether to establish a relay connection with the current relay service node according to the information.
Step S203, the relay service message is broadcast in the blockchain network.
Step S204, receiving the relay service request sent by the relay demand node.
Step S205, obtaining balance information of the relay demand node.
In order to avoid the problem of cost dispute and the like, under the condition that the relay demand node is a personal terminal, the relay service node acquires the balance information of the relay demand node after receiving the relay service request and before agreeing with the relay demand node on the relay service content.
And step S206, judging whether the relay demand node has the service charge payment capability or not according to the balance information.
The relay service node judges whether the relay demand node has the service charge payment capability or not, and the judgment can be carried out on the basis of a preset balance threshold value or in a mode of pre-estimating the service charge.
In the first embodiment, the relay service node presets a balance threshold, and compares the balance of the relay demand node with the balance threshold. Specifically, when the balance of the relay demand node is greater than or equal to the balance threshold, the relay service node determines that the relay demand node has the service cost payment capability, and when the balance of the relay demand node is less than the balance threshold, the relay service node determines that the relay demand node does not have the service cost payment capability. The balance threshold may be set according to experience or statistical data, which is not limited in this application.
In the second embodiment, the relay service node estimates the service cost of the current relay service according to the relay service request of the relay demand node and its own service cost standard, and compares the balance of the relay demand node with the estimated service cost. Specifically, when the balance of the relay demand node is greater than or equal to the estimated service cost, the relay service node determines that the relay demand node has the service cost payment capability, and when the balance of the relay demand node is less than the estimated service cost, the relay service node determines that the relay demand node does not have the service cost payment capability.
It should be noted that, in some other embodiments, it may also be determined whether the relay demand node has the service charge payment capability in combination with the credit information of the relay demand node. For example, in the case where it is determined that the relay demand node does not have the service charge payment capability according to the above-described embodiment, if the credit value of the relay demand node is high, it is finally determined that the relay demand node has the service charge payment capability after combining the credit value.
Step S207, appointing the relay service content with the relay demand node under the condition that the relay demand node is determined to have the service charge payment capability.
Step S208, generating a resource allocation request according to the relay service content.
Step S209, sending the resource allocation request to the resource allocation node, so that the resource allocation node allocates the relay resource of the relay service node to the resource utilization node.
Step S210, stopping the relay service and receiving the service cost paid by the relay demand node under the condition that the preset termination condition is triggered.
Steps S207 to S210 in this embodiment are the same as steps S102 to S105 in the first embodiment of the present application, and are not described herein again.
In the relay service method provided in this embodiment, the relay service node registers in the blockchain network, and may screen a node that does not provide the relay service qualification, so as to improve the security of the relay service, and may perform centralized management on the relay service node through the blockchain network, thereby improving the management efficiency. In addition, before the relay service node and the relay demand node agree on the relay service content, the relay service node firstly judges whether the relay demand node has the service charge payment capability, so that the possibility of service charge dispute can be reduced.
Fig. 3 is a flowchart of a relay service method according to a third embodiment of the present application. As shown in fig. 3, the method comprises the steps of:
step S301, receiving a relay service request sent by a relay demand node.
Step S302, the relay demand node is appointed to relay the service content.
Steps S301 to S302 in this embodiment are the same as steps S101 to S102 in the first embodiment of this application, and are not described herein again.
Step S303, according to the relay service content, an intelligent contract is signed with the relay demand node.
And step S304, signing the intelligent contract, and broadcasting the signed intelligent contract in the block chain network.
And step S305, receiving the validity verification result of the intelligent contract returned by the verification node in the block chain network.
And step S306, determining whether the intelligent contract is effective according to the effectiveness verification result of the intelligent contract.
Step S307, under the condition that the intelligent contract is determined to be effective, a resource allocation request is generated according to the relay service content.
Step S308, sending the resource allocation request to the resource allocation node, so that the resource allocation node allocates the relay resource of the relay service node to the resource utilization node.
Step S309, in the case of triggering a preset termination condition, stopping the relay service, and receiving the service charge paid by the relay demand node.
Steps S307 to S309 in this embodiment are the same as steps S103 to S105 in the first embodiment, and are not described again here.
Step S310, the intelligent contract and the execution result of the intelligent contract are written into the block chain network.
After the intelligent contract is executed, the intelligent contract and the execution result of the intelligent contract are written into the block chain network, so that information management is facilitated, and information tracing can be conveniently carried out.
The relay service method provided by the embodiment realizes the relay service based on the intelligent contract, the payment and the receiving of the service cost are automatically executed based on the intelligent contract, and the feasibility of disputes can be reduced to a certain extent, so that the relay use experience of users is improved.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second aspect of the present application provides a relay service apparatus. Fig. 4 is a block diagram illustrating a relay service apparatus 400 according to a fourth embodiment of the present invention. As shown in fig. 4, the relay service apparatus 400 includes:
a first receiving module 401 configured to receive a relay service request sent by a relay demand node.
An appointment module 402 configured to appointment relay service content with the relay demand node.
A generating module 403 configured to generate a resource allocation request according to the relay service content.
A sending module 404, configured to send the resource allocation request to the resource allocation node, so that the resource allocation node allocates the first relay resource of the current relay service node to the preset resource usage node.
A stopping module 405 configured to stop the relay service in case a preset termination condition is triggered.
And a second receiving module 406 configured to receive the second resource service fee paid by the relay demand node in a feedback manner.
In the relay service device provided in this embodiment, the relay service node receives the relay service request of the relay demand node through the first receiving module 401, and agrees the relay service content with the relay demand node based on the agreement module, where the relay service content includes information of relay resources, information of service cost, and information of resource usage node, the generating module generates the resource allocation request according to the relay service content, and sends the resource allocation request to the resource allocation node through the sending module, the resource allocation node allocates the relay resources of the relay service node to the resource usage node, when the termination condition is triggered, the relay service node stops providing the relay service for the resource usage node through the stopping module, and receives the service cost paid by the relay demand node through the second receiving module, and can stimulate more terminals to provide idle or remaining resources in the form of relay service by acquiring the service cost, not only the application and the development of the relay service are promoted, but also the resource utilization rate can be effectively improved.
A third aspect of the present application provides a signaling interaction method for a relay service system. Fig. 5 is a schematic signaling interaction diagram of a relay service method according to a fifth embodiment of the present application. In this embodiment, the relay demand node is a personal terminal, and the resource utilization node is the relay demand node itself.
As shown in fig. 5, the signaling interaction procedure of the relay service system includes:
in step S501, the first relay service node 520 broadcasts a first relay service message in the blockchain network.
In step S502, the second relay service node 540 broadcasts the second relay service message in the blockchain network.
In step S503, the relay requiring node 510 receives the first relay service message and the second relay service message, and selects a node that better meets its own requirement from the first relay service node 520 and the second relay service node 540 as a node providing the relay service.
In the present embodiment, it is assumed that the relay requiring node 510 selects the first relay service node 520 as a node providing the relay service.
In step S504, the relay requiring node 510 sends a relay service request to the first relay service node 520.
In step S505, after receiving the relay service request, the first relay service node 520 agrees with the relay requiring node 510 to obtain the relay service content.
In step S506, after the engagement of the relay service content is completed, the first relay service node 520 establishes a relay connection with the relay requiring node 510.
In step S507, the first relay service node 520 generates a resource allocation request according to the relay service content.
In step S508, the first relay serving node 520 sends the resource allocation request to the resource allocation node 530.
The resource allocation node 530 is a resource allocation node 530 corresponding to the first relay service node 520. In practical applications, the second relay service node 540 also has a corresponding resource allocation node (not shown in fig. 5).
In step S509, the resource allocation node 530 receives the resource allocation request, and allocates the relay resource of the first relay service node 520 to the relay requiring node 510 through the relay connection between the first relay service node 520 and the relay requiring node 510 according to the content of the resource allocation request.
In step S510, the relay requiring node 510 receives the relay resource, and performs operations such as communication using the relay resource.
In step S511, after the first relay service node 520 completes the relay service according to the relay service content, the first relay service node 520 disconnects the relay connection with the relay demand node 510.
In step S512, the relay requiring node 510 pays the service fee to the first relay service node 520 according to the relay service content.
Fig. 6 is a schematic signaling interaction diagram of a relay service system according to a sixth embodiment of the present application. In this embodiment, the relay demand node is an operator, and the resource usage node is a home terminal node of the relay demand node.
As shown in fig. 6, the signaling interaction procedure of the relay service system includes:
in step S601, the relay service node 620 broadcasts a relay service message in the blockchain network.
In step S602, the relay requiring node 610 receives the relay service message and sends a relay service request to the relay service node 620.
In step S603, after receiving the relay service request, the relay service node 620 agrees with the relay demand node 610 about the relay service content.
In step S604, after the engagement of the relay service content is completed, the relay service node 620 establishes a relay connection with the resource utilization node 640.
Step S605, the relay service node 620 generates a resource allocation request according to the relay service content.
Step S606, the relay service node 620 sends the resource allocation request to the resource allocation node 630.
In step S607, the resource allocation node 630 receives the resource allocation request, and allocates the relay resource of the relay service node 620 to the resource usage node 640 through the relay connection between the relay service node 620 and the resource usage node 640 according to the content of the resource allocation request.
In step S608, the resource using node 640 receives the relay resource, and performs operations such as communication using the relay resource.
In step S609, after the relay service node 620 completes the relay service according to the relay service content, the relay service node 620 disconnects the relay connection with the resource utilization node 640.
In step S610, the relay requiring node 610 pays the service fee to the relay service node 620 according to the relay service content.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (9)

1. A relay service method, comprising:
receiving a relay service request sent by a relay demand node;
appointing relay service content with the relay demand node, wherein the relay service content comprises information of relay resources, information of service cost and information of resource utilization nodes, the relay resources are resources provided by the relay service node to the resource utilization nodes, the service cost is the cost of the relay service paid by the relay demand node to the relay service node, and the resource utilization nodes are nodes which are appointed by the relay demand node and use the relay resources;
generating a resource allocation request according to the relay service content;
sending the resource allocation request to a resource allocation node, so that the resource allocation node allocates the relay resource of the relay service node to the resource usage node;
under the condition that a preset termination condition is triggered, stopping relay service, and receiving the service cost paid by the relay demand node;
the types of the relay demand nodes comprise operators and personal terminals;
under the condition that the type of the relay demand node is an operator, the resource utilization node is a home terminal node of the relay demand node; and under the condition that the type of the relay demand node is a personal terminal, the resource utilization node is the relay demand node.
2. The relay service method according to claim 1, wherein before receiving the relay service request sent by the relay demand node, the method further comprises:
registering in a block chain network to obtain a service identifier;
generating a relay service message based on the service identification;
broadcasting the relay service message at the blockchain network for the relay demand node to send the relay service request to the relay service node if the relay service message is received.
3. The relay service method of claim 2, wherein the relay service message further includes one or more of a service period, a service level, and a service charging standard;
the relay service content further includes one or more of a contracted service period, a contracted service level, and a contracted service charging standard.
4. The relay service method according to claim 1, wherein the relay demand node is a personal terminal;
after receiving the relay service request sent by the relay demand node and before agreeing the relay service content with the relay demand node, the method further includes:
acquiring balance information of the relay demand node;
judging whether the relay demand node has service charge payment capacity or not according to the balance information;
and under the condition that the relay demand node is determined to have the service fee payment capability, appointing the relay service content with the relay demand node.
5. The relay service method according to claim 1, wherein the resource allocation node is a home base station of the relay service node;
the sending the resource allocation request to a resource allocation node for the resource allocation node to allocate the relay resource of the relay service node to the resource usage node includes:
establishing a relay connection with the resource usage node;
under the condition that the type of the relay demand node is an operator, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates the relay resource to the resource utilization node based on relay connection between the relay service node and the resource utilization node;
and under the condition that the type of the relay demand node is a personal terminal, sending a resource allocation request to a home base station of the relay service node, so that the home base station of the relay service node allocates the relay resource to the resource utilization node based on the relay connection between the relay service node and the resource utilization node.
6. The relay service method according to claim 1, wherein after said appointing relay service content with said relay demand node and before said generating resource allocation request according to said relay service content, further comprising:
according to the relay service content, signing an intelligent contract with the relay demand node;
signing the intelligent contract, and broadcasting the signed intelligent contract in a block chain network;
receiving a validity verification result of the intelligent contract returned by a verification node in the block chain network, wherein the validity verification result of the intelligent contract is information generated by the verification node according to a signature verification result of the intelligent contract;
determining whether the intelligent contract is effective or not according to the effectiveness verification result of the intelligent contract;
and under the condition that the intelligent contract is determined to be effective, generating the resource allocation request according to the relay service content.
7. The relay service method according to claim 6, wherein after stopping the relay service and receiving the service cost paid by the relay demand node in case of triggering a preset termination condition, further comprising:
and writing the intelligent contract and the execution result of the intelligent contract into the block chain network.
8. The relay service method according to claim 1, wherein the preset termination condition includes completion of relay service, existence of a relay service early termination requirement by the relay service node, and existence of a relay service early termination requirement by the relay requirement node;
under the condition that a preset termination condition is triggered, the relay service is stopped, and the service cost paid by the relay demand node is received, wherein the method comprises the following steps:
under the condition that the preset termination condition is that the relay service is completed, disconnecting the relay connection with the resource using node;
receiving the service cost paid by the relay demand node according to the relay service content;
under the condition that the preset termination condition is that the relay service node has a requirement for terminating the relay service in advance, negotiating with the relay requirement node and obtaining a negotiation result;
determining whether to disconnect the relay connection with the resource using node according to the negotiation result;
under the condition that the relay connection with the resource using node is determined to be disconnected, receiving the service cost paid by the relay demand node according to the negotiation result;
under the condition that the preset termination condition is that the relay demand node has a relay service termination requirement in advance, disconnecting the relay connection with the resource use node;
and receiving the service cost paid by the relay demand node according to the actual relay service duration.
9. A relay service apparatus, comprising:
a first receiving module configured to receive a relay service request sent by a relay demand node;
an appointment module configured to appoint relay service content with the relay demand node, where the relay service content includes information of a first relay resource, information of a second resource service charge, and information of a preset resource usage node, the first relay resource is a relay resource provided by a current relay service node to the resource usage node, the second resource service charge is a charge of relay service paid by the relay demand node to the relay service node, and the resource usage node is a node designated by the relay demand node and using the first relay resource;
a generation module configured to generate a resource allocation request according to the relay service content;
a sending module configured to send the resource allocation request to a resource allocation node, so that the resource allocation node allocates the first relay resource of the current relay service node to the preset resource usage node;
a stopping module configured to stop the relay service in case of triggering a preset termination condition;
a second receiving module configured to receive the second resource service charge paid by the relay demand node in a feedback manner;
the types of the relay demand nodes comprise operators and personal terminals;
under the condition that the type of the relay demand node is an operator, the resource utilization node is a home terminal node of the relay demand node; and under the condition that the type of the relay demand node is a personal terminal, the resource utilization node is the relay demand node.
CN202110712351.5A 2021-06-25 2021-06-25 Relay service method and device Active CN113543054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110712351.5A CN113543054B (en) 2021-06-25 2021-06-25 Relay service method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110712351.5A CN113543054B (en) 2021-06-25 2021-06-25 Relay service method and device

Publications (2)

Publication Number Publication Date
CN113543054A CN113543054A (en) 2021-10-22
CN113543054B true CN113543054B (en) 2022-08-12

Family

ID=78125870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110712351.5A Active CN113543054B (en) 2021-06-25 2021-06-25 Relay service method and device

Country Status (1)

Country Link
CN (1) CN113543054B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155720A (en) * 2022-05-23 2023-12-01 华为技术有限公司 Communication method and device
CN115314552B (en) * 2022-06-30 2023-08-22 中汽创智科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212762A (en) * 2006-12-25 2008-07-02 华为技术有限公司 Method and system for allocating radio channel to trunk node
EP2031919A1 (en) * 2007-08-17 2009-03-04 Qualcomm Incorporated Ad hoc service provider's ability to provide service for a wireless network
CN102548002A (en) * 2012-03-09 2012-07-04 西安电子科技大学 Method for allocating wireless resources based on multi-user cooperation
CN103415074A (en) * 2013-07-12 2013-11-27 南京邮电大学 Auction theory-based wireless cooperative relaying network relaying bandwidth resource allocation method
CN104955015A (en) * 2014-03-27 2015-09-30 中国移动通信集团安徽有限公司 Method and device for sharing communication resources
CN112615730A (en) * 2020-11-23 2021-04-06 北京邮电大学 Resource allocation method and device based on block chain network slice proxy
CN112866960A (en) * 2021-03-29 2021-05-28 深圳大学 D2D communication hierarchical social relationship relay selection method and system in multivariate scene

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2910655B1 (en) * 2006-12-22 2009-02-27 Thales Sa METHOD FOR RESERVATION AND DYNAMIC ALLOCATION OF TIME CRANES IN A NETWORK WITH SERVICE GUARANTEE

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212762A (en) * 2006-12-25 2008-07-02 华为技术有限公司 Method and system for allocating radio channel to trunk node
EP2031919A1 (en) * 2007-08-17 2009-03-04 Qualcomm Incorporated Ad hoc service provider's ability to provide service for a wireless network
CN102548002A (en) * 2012-03-09 2012-07-04 西安电子科技大学 Method for allocating wireless resources based on multi-user cooperation
CN103415074A (en) * 2013-07-12 2013-11-27 南京邮电大学 Auction theory-based wireless cooperative relaying network relaying bandwidth resource allocation method
CN104955015A (en) * 2014-03-27 2015-09-30 中国移动通信集团安徽有限公司 Method and device for sharing communication resources
CN112615730A (en) * 2020-11-23 2021-04-06 北京邮电大学 Resource allocation method and device based on block chain network slice proxy
CN112866960A (en) * 2021-03-29 2021-05-28 深圳大学 D2D communication hierarchical social relationship relay selection method and system in multivariate scene

Also Published As

Publication number Publication date
CN113543054A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN106817686B (en) Charging method and device
JP6278571B2 (en) Service-on-demand in mobile communication systems
CN113543054B (en) Relay service method and device
WO2014180324A1 (en) Method and relevant apparatus for implementing national roaming of mobile terminal
CN104902443A (en) Communication method and equipment
CN102857901A (en) Device discovery method, device discovery processing method and device discovering processing device
CN103039055A (en) Group security in machine-type communication
US10057188B2 (en) Method and apparatus for providing multicast service and method and apparatus for allocating multicast service resource in terminal-to-terminal direct communication
CN102202281A (en) Ticket processing method and system
WO2011133073A1 (en) Method and apparatus for machine communication
CN103108377B (en) A kind of communication means of MTC terminal, system and center control nodes
US9749856B2 (en) Device to machine communications
US20170303096A1 (en) Terminal device and communication method
CN113473537B (en) Micro base station traffic sharing method, node, equipment and medium based on block chain
CN104796852A (en) Device discovery method and device for device-to-device communication and terminal
CN110719575B (en) Radio frequency spectrum allocation method and system based on block chain
CN111586593B (en) Method, device and storage medium for initiating temporary group call
CN112637831B (en) Number portability method and system based on block chain network and user terminal
WO2016134543A1 (en) Cell access method, convergence terminal and access terminal
CN112333650B (en) Roaming charge adjustment method, device and system based on block chain network
EP3203774B1 (en) Assignment of network resource to a device
CN111970350B (en) Wireless resource transaction method, terminal and system based on block chain network
CN113473390B (en) Method for establishing area group, user equipment and storage medium
CN109155903B (en) Method and device for determining information of SIM card
WO2017071568A1 (en) Proximity-based service discovery method, system and device

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