CN108966185B - Resource release method, terminal and computer readable storage medium - Google Patents

Resource release method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108966185B
CN108966185B CN201810934409.9A CN201810934409A CN108966185B CN 108966185 B CN108966185 B CN 108966185B CN 201810934409 A CN201810934409 A CN 201810934409A CN 108966185 B CN108966185 B CN 108966185B
Authority
CN
China
Prior art keywords
base station
communication
terminal
calling terminal
called terminal
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
CN201810934409.9A
Other languages
Chinese (zh)
Other versions
CN108966185A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810934409.9A priority Critical patent/CN108966185B/en
Publication of CN108966185A publication Critical patent/CN108966185A/en
Application granted granted Critical
Publication of CN108966185B publication Critical patent/CN108966185B/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/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a resource release method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal; when a communication disconnection instruction with a called terminal is received, establishing control connection with a base station; a release communication resource request is sent to the base station to instruct the base station to release the communication channel.

Description

Resource release method, terminal and computer readable storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a resource release method, a terminal, and a computer-readable storage medium.
Background
The long term evolution of the third Generation Partnership Project (3 GPP), and in particular the future fifth Generation mobile communication technology (5G, 5th Generation) communication, facilitates access to a local Internet Protocol (IP) service in an office, home, public hot spot, or outdoor environment. The most simple use case of local connection or local access is a mode of directly communicating between close-range terminals with a distance of ten meters or even hundred meters, that is, Device-to-Device (D2D) communication, D2D communication is communication between terminals as the name suggests, and a general D2D communication flow is that, when a calling terminal needs to communicate with a called terminal, the calling terminal first establishes a connection with a base station, the base station allocates a communication channel to the calling terminal, and the calling terminal uses the communication channel to realize communication with the called terminal. When the calling terminal and the called terminal are communicated, the base station regularly requests the calling terminal to send the using condition of the communication channel, the calling terminal responds to the request and sends the current occupying condition of the communication channel back to the base station, and when the base station receives the unoccupied communication channel sent by the calling terminal, the base station releases the communication channel.
However, the information interaction between the base station and the calling terminal needs to occupy the communication resource of the calling terminal, thereby causing the waste of the communication resource; and the base station can determine whether the communication channel is occupied only in the response information returned by the calling terminal, and when the frequency of the periodic request of the base station is low, the base station can not release the communication channel which is not occupied by the calling terminal in time.
Disclosure of Invention
The embodiment of the application provides a resource release method, a terminal and a computer readable storage medium, which can save communication resources of a calling terminal and enable a base station to timely release a communication channel which is not occupied by the calling terminal.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a resource release method, which is applied to a calling terminal and comprises the following steps:
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted;
when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
sending a communication resource release request to the base station to instruct the base station to release the communication channel.
In the above method, before the disconnecting the control connection with the base station, the method further includes:
when a short-distance calling request to a called terminal is received, establishing control connection with the base station;
sending a resource allocation request to the base station;
when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined;
and performing short-range communication with the called terminal by using the communication channel.
In the above method, after the control connection with the base station is disconnected and before the request for releasing communication resources is sent to the base station, the method further includes:
when a preset notification time period is reached, establishing control connection with the base station and acquiring a communication connection state with the called terminal;
correspondingly, the sending the request for releasing the communication resource to the base station includes:
and when the communication connection state is a disconnection state, sending the communication resource releasing request to the base station.
In the above method, after the obtaining of the communication connection state with the called terminal, the method further includes:
and when the communication connection state is a connection state, sending the connection state to the base station.
In the above method, before the establishing the control connection with the base station, the method further includes:
when a communication display interface receives a communication disconnection operation, receiving the communication disconnection instruction; or,
and receiving the communication disconnection instruction sent by the called terminal.
The embodiment of the present application provides a calling terminal, the calling terminal includes: the processor, the sender, the memory and the communication bus are used for executing the running program stored in the memory so as to realize the following steps:
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted; when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
the transmitter is configured to transmit a request for releasing communication resources to the base station to instruct the base station to release the communication channel.
In the above-mentioned calling terminal, the transmitter is further configured to transmit a resource allocation request to the base station;
the processor is further used for establishing control connection with the base station when receiving a short-range call request to a called terminal; when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined; and performing short-range communication with the called terminal by using the communication channel.
In the calling terminal, the processor is further configured to establish a control connection with the base station and acquire a communication connection state with the called terminal when a preset notification time period arrives;
the transmitter is further configured to transmit the request for releasing the communication resource to the base station when the communication connection status is a disconnection status.
In the above-mentioned calling terminal, the transmitter is further configured to transmit the connection status to the base station when the communication connection status is a connection status.
In the above calling terminal, the terminal further includes: a receiver;
the receiver is used for receiving the communication disconnection instruction when the communication display interface receives the communication disconnection operation; or receiving the communication disconnection instruction sent by the called terminal.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is applied to a calling terminal, where the computer program is executed by a processor to implement the resource release method according to any one of the above.
The embodiment of the application provides a resource release method, a terminal and a computer readable storage medium, which are applied to a calling terminal, and when a communication channel allocated by a base station is utilized to carry out near field communication with a called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal; when a communication disconnection instruction with a called terminal is received, establishing control connection with a base station; a release communication resource request is sent to the base station to instruct the base station to release the communication channel. By adopting the method, when the calling terminal communicates with the called terminal, the calling terminal is disconnected from the control connection with the base station, at the moment, the base station does not send the request information for requesting to send the state of the communication resource to the calling terminal, and the calling terminal does not need to occupy the communication resource to receive the request information sent by the corresponding base station, thereby saving the communication resource of the calling terminal; when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal actively establishes a control connection with the base station and instructs the base station to release the communication channel, so that the base station can release the communication channel in time when the calling terminal and the called terminal are disconnected.
Drawings
Fig. 1 is a first flowchart of a resource release method according to an embodiment of the present application;
fig. 2 is a second flowchart of a resource release method according to an embodiment of the present application;
fig. 3 is a first flowchart of an exemplary resource release method according to an embodiment of the present application;
fig. 4 is a flowchart of a resource release method according to an embodiment of the present application;
fig. 5 is a second flowchart of an exemplary resource release method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a calling terminal 1 according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application. And are not intended to limit the present application.
Example one
An embodiment of the present application provides a resource release method, which is applied to a calling terminal, and as shown in fig. 1, the method may include:
s101, when the short-distance communication is carried out with the called terminal by utilizing the communication channel distributed by the base station, the control connection with the base station is disconnected, so that the base station does not instruct the calling terminal to transmit the communication connection state with the called terminal.
The resource release method provided by the embodiment of the application is suitable for a scene that a calling terminal and a called terminal carry out D2D communication.
In the embodiment of the application, a calling terminal receives a D2D communication request for a called terminal on a current display interface, the calling terminal establishes a control connection with a base station, the base station allocates a control channel for the calling terminal, the calling terminal sends a resource allocation request to the base station through the control channel, the base station allocates a communication channel for the calling terminal according to the resource allocation request, and the calling terminal performs D2D communication with the called terminal by using the communication channel allocated by the base station.
In the embodiment of the application, the base station allocates a communication channel for the calling terminal, and the calling terminal realizes a D2D communication process with the called terminal through the communication channel allocated by the base station.
In the embodiment of the application, after the communication connection is established between the calling terminal and the called terminal, the calling terminal is disconnected from the control connection with the base station, and at the moment, the base station releases the control channel.
In the embodiment of the present application, D2D communication is implemented by a Transmit (TX)/Receive (RX) signal between a calling terminal and a called terminal.
And S102, when receiving a communication disconnection instruction with the called terminal, establishing a control connection with the base station.
After the calling terminal disconnects the control connection with the base station, the calling terminal establishes the control connection with the base station upon receiving a communication disconnection command with the called terminal.
In the embodiment of the application, the calling terminal receives a communication disconnection operation on a communication display interface or receives a communication disconnection instruction sent by the called terminal, at this time, the calling terminal establishes a control connection with the base station, and the base station allocates a control channel for the calling terminal.
Further, the calling terminal may further set a preset notification time period, when the preset notification time period is reached, the calling terminal establishes a control connection with the base station and acquires a communication connection state with the called terminal, where the communication connection state includes a connection state and a disconnection state, and the calling terminal sends a corresponding instruction to the base station according to the communication connection state.
S103, sending a communication resource releasing request to the base station to instruct the base station to release the communication channel.
After the calling terminal establishes the control connection with the base station, the calling terminal transmits a communication resource release request like the base station to instruct the base station to release the communication channel.
In the embodiment of the application, a calling terminal sends a communication resource releasing request to a base station by using a TX signal on a control channel, and the base station releases a communication channel used by the calling terminal after receiving the communication resource releasing request of the calling terminal.
Further, when the communication connection state is the connection state, the calling terminal sends the connection state to the base station; and when the communication connection state is a disconnection state, the terminal sends a request for releasing the communication resources to the base station.
It can be understood that, when the calling terminal communicates with the called terminal, the calling terminal disconnects the control connection with the base station, at this time, the base station does not send the request information for requesting to send the state of the communication resource to the calling terminal, and the calling terminal does not need to occupy the communication resource to receive the request information sent by the corresponding base station, thereby saving the communication resource of the calling terminal; when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal actively establishes a control connection with the base station and instructs the base station to release the communication channel, so that the base station can release the communication channel in time when the calling terminal and the called terminal are disconnected.
Example two
An embodiment of the present application provides a resource release method, which is applied to a calling terminal, and as shown in fig. 2, the method may include:
s201, when the calling terminal receives a short-distance calling request to the called terminal, the calling terminal establishes control connection with the base station.
The resource release method provided by the embodiment of the application is suitable for a scene that a calling terminal and a called terminal carry out D2D communication.
In the embodiment of the application, a user clicks the identification of the called terminal on the current display interface of the calling terminal and clicks the call button, at the moment, the calling terminal receives a close-range call request for the called terminal, and at the moment, the calling setting and the base station establish control connection.
S202, the calling terminal sends a resource allocation request to the base station.
After the calling terminal establishes a control connection with the base station, the calling terminal sends a resource allocation request to the base station.
In the embodiment of the application, the base station allocates the control channel for the calling terminal, and the calling terminal sends the resource allocation request to the base station through the control channel.
S203, when the calling terminal receives a first response instruction which is sent by the base station and responds to the resource allocation request, the calling terminal determines a communication channel corresponding to the first response instruction.
After the calling terminal sends the resource allocation request to the base station, the calling terminal is about to receive a first response instruction sent by the base station, and then determines a communication channel corresponding to the first response instruction.
In the embodiment of the application, after receiving the resource allocation request of the calling terminal, the base station allocates a communication channel for the calling terminal, and adds the communication channel to the first response instruction to send the first response instruction to the calling terminal.
And S204, the calling terminal performs near field communication with the called terminal by using the communication channel.
When the calling terminal determines the communication channel, the calling terminal performs short-range communication with the called terminal using the communication channel.
In the embodiment of the application, the calling terminal performs D2D communication with the called terminal by using the communication channel allocated by the base station.
In the embodiment of the application, D2D communication is realized through TX/RX signals between the calling terminal and the called terminal.
S205, when the calling terminal utilizes the communication channel distributed by the base station to carry out near field communication with the called terminal, the calling terminal disconnects the control connection with the base station, so that the base station does not instruct the calling terminal to send the communication connection state with the called terminal.
When the calling terminal performs near field communication with the called terminal using the communication channel, the calling terminal disconnects the control connection with the base station, and at this time, the base station cannot request the calling terminal to transmit the communication connection state.
In the embodiment of the application, after the communication connection is established between the calling terminal and the called terminal, the calling terminal is disconnected from the control connection with the base station, and the base station releases the control channel at the moment.
And S206, when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal establishes a control connection with the base station.
After the calling terminal disconnects the control connection with the base station, the calling terminal is required to reestablish the control connection with the base station when receiving a pass disconnection command with the called terminal.
In the embodiment of the application, the calling terminal receives a communication disconnection operation on the communication display interface or receives a communication disconnection instruction sent by the called terminal, at this time, the calling terminal establishes a control connection with the base station, and the base station allocates a control channel for the calling terminal again.
S207, the calling terminal sends a communication resource releasing request to the base station to instruct the base station to release the communication channel.
When the calling terminal reestablishes the control connection with the base station, the calling terminal sends a communication resource releasing request to the base station, and at the moment, the base station releases the communication channel according to the communication resource releasing request.
In the embodiment of the application, a calling terminal sends a communication resource releasing request to a base station by using a TX signal on a control channel, and the base station releases a communication channel used by the calling terminal after receiving the communication resource releasing request of the calling terminal.
For example, as shown in fig. 3, a terminal that establishes a connection with a base station is called a calling UE, a terminal that is sought to establish D2D communication is called a called UE, and a flow of the resource release method is as follows:
1. the calling UE establishes connection with the base station, and the base station sends a communication channel to the calling UE.
2. The calling UE establishes a D2D connection with the called UE through a communication channel, and the TX/RX signals between the UEs realize the completion of control and service.
3. After the calling UE establishes D2D connection with the called UE, the calling UE sends a disconnection control connection to the base station.
4. When the calling UE and the called UE are disconnected D2D, the calling UE actively reestablishes the control connection with the base station.
5. The calling UE sends a request for releasing the communication channel to the base station so as to instruct the base station to release the communication channel used by the calling UE.
It can be understood that, when the calling terminal communicates with the called terminal, the calling terminal disconnects the control connection with the base station, at this time, the base station does not send the request information for requesting to send the state of the communication resource to the calling terminal, and the calling terminal does not need to occupy the communication resource to receive the request information sent by the corresponding base station, thereby saving the communication resource of the calling terminal; when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal actively establishes a control connection with the base station and instructs the base station to release the communication channel, so that the base station can release the communication channel in time when the calling terminal and the called terminal are disconnected.
EXAMPLE III
An embodiment of the present application provides a resource release method, which is applied to a calling terminal, and as shown in fig. 4, the method may include:
s301, when the calling terminal receives a short-distance calling request to the called terminal, the calling terminal establishes a control connection with the base station.
The resource release method provided by the embodiment of the application is suitable for a scene that a calling terminal and a called terminal carry out D2D communication.
In the embodiment of the application, a user clicks the identification of the called terminal on the current display interface of the calling terminal and clicks the call button, at the moment, the calling terminal receives a close-range call request for the called terminal, and at the moment, the calling setting and the base station establish control connection.
S302, the calling terminal sends a resource allocation request to the base station.
After the calling terminal establishes a control connection with the base station, the calling terminal sends a resource allocation request to the base station.
In the embodiment of the application, the base station allocates the control channel for the calling terminal, and the calling terminal sends the resource allocation request to the base station through the control channel.
S303, when the calling terminal receives a first response instruction which is sent by the base station and responds to the resource allocation request, the calling terminal determines a communication channel corresponding to the first response instruction.
After the calling terminal sends the resource allocation request to the base station, the calling terminal is about to receive a first response instruction sent by the base station, and then determines a communication channel corresponding to the first response instruction.
In the embodiment of the application, after receiving the resource allocation request of the calling terminal, the base station allocates a communication channel for the calling terminal, and adds the communication channel to the first response instruction to send the first response instruction to the calling terminal.
S304, the calling terminal carries out short-distance communication with the called terminal by using the communication channel.
When the calling terminal determines the communication channel, the calling terminal performs short-range communication with the called terminal using the communication channel.
In the embodiment of the application, the calling terminal performs D2D communication with the called terminal by using the communication channel allocated by the base station.
In the embodiment of the application, D2D communication is realized through TX/RX signals between the calling terminal and the called terminal.
S305, when the calling terminal performs near field communication with the called terminal by using the communication channel allocated by the base station, the calling terminal disconnects the control connection with the base station so that the base station does not instruct the calling terminal to transmit the communication connection state with the called terminal.
When the calling terminal uses the communication channel to carry out near field communication with the called terminal, the calling terminal is disconnected from the control connection of the base station, and the base station cannot send a request instruction to the calling terminal to indicate the communication connection state between the calling terminal and the called terminal.
In the embodiment of the application, after the communication connection is established between the calling terminal and the called terminal, the calling terminal is disconnected from the control connection with the base station, and the base station releases the control channel at the moment.
S306, when the preset notification time period is reached, the calling terminal establishes a control connection with the base station and acquires a communication connection state with the called terminal.
When the calling terminal is disconnected from the control connection with the base station and the calling terminal is about to arrive at the preset notification time period, the control connection with the base station is established, and the communication connection state with the called terminal is obtained.
In the embodiment of the application, a notification time period is preset on the calling terminal, and when the notification time period is up, the calling terminal reestablishes control connection with the base station and acquires the current communication connection state between the calling terminal and the called terminal.
In the embodiment of the present application, the communication connection state includes a connection state and a disconnection state.
S307, when the communication connection state is the disconnection state, the calling terminal sends a communication resource releasing request to the base station to instruct the base station to release the communication channel.
When the communication connection state is a disconnection state, the calling terminal sends a request for releasing communication resources to the base station to instruct the base station to release a communication channel.
In the embodiment of the application, when the calling terminal determines that the communication connection state is the disconnection state, the calling terminal sends a communication resource releasing request to the base station, and at the moment, the base station releases the communication channel of the calling terminal according to the communication resource releasing request.
And S308, when the communication connection state is the connection state, the calling terminal sends the connection state to the base station.
After the calling terminal acquires the communication connection state with the called terminal, the calling terminal judges the connection type of the communication connection state, and when the communication connection state is the connection state, the calling terminal sends the connection state to the base station.
In the embodiment of the application, when the calling terminal determines that the communication connection state is the connection state, the calling terminal sends the connection state to the base station.
For example, as shown in fig. 5, a terminal that establishes a connection with a base station is called a calling UE, a terminal that is sought to establish D2D communication is called a called UE, and a flow of the resource release method is as follows:
1. the calling UE establishes connection with the base station, and the base station sends a communication channel to the calling UE.
2. The calling UE establishes a D2D connection with the called UE through a communication channel, and the TX/RX signals between the UEs realize the completion of control and service.
3. After the calling UE establishes D2D connection with the called UE, the calling UE sends a disconnection control connection to the base station.
4. When the preset notification time period is reached, the calling UE reestablishes the control connection with the base station, and the calling terminal acquires the current communication connection state.
5. When the calling UE judges that the current communication connection state is the disconnection state, the calling UE sends an application for releasing the communication channel to the base station so as to instruct the base station to release the communication channel used by the calling UE.
6. And when the calling UE judges that the current communication connection state is the connection state, the calling UE sends the connection state to the base station.
S307 and S308 are two parallel steps after S306, specifically, selected and executed according to the communication connection state, and this embodiment of the present application is not specifically limited.
It can be understood that, when the calling terminal communicates with the called terminal, the calling terminal disconnects the control connection with the base station, at this time, the base station does not send the request information for requesting to send the state of the communication resource to the calling terminal, and the calling terminal does not need to occupy the communication resource to receive the request information sent by the corresponding base station, thereby saving the communication resource of the calling terminal; when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal actively establishes a control connection with the base station and instructs the base station to release the communication channel, so that the base station can release the communication channel in time when the calling terminal and the called terminal are disconnected.
Example four
Fig. 6 is a schematic diagram of a first structural diagram of a calling terminal according to an embodiment of the present application, and in practical applications, based on the same inventive concept of the first to third embodiments, as shown in fig. 6, a calling terminal 1 according to an embodiment of the present application includes: a processor 10, a memory 11, a transmitter 12, a receiver 13, and a communication bus 14. In a Specific embodiment, the Processor 10 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing terminal (DSPD), a Programmable Logic terminal (PLD), a Field Programmable Gate Array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It is understood that the electronic device for implementing the above-mentioned processor function may be other electronic devices for different terminals, and the embodiments of the present application are not particularly limited.
In the embodiment of the present application, the communication bus 14 is used to implement connection communication among the processor 10, the memory 11, the transmitter 12, and the receiver 13; the processor 10 is configured to execute the operating program stored in the memory 11 to implement the following steps:
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted; when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
the transmitter 12 is configured to transmit a request for releasing communication resources to the base station, so as to instruct the base station to release the communication channel.
In this embodiment of the present application, the transmitter 12 is further configured to transmit a resource allocation request to the base station;
the processor 10 is further configured to establish a control connection with the base station when receiving a short-range call request to a called terminal; when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined; and performing short-range communication with the called terminal by using the communication channel.
In this embodiment of the present application, further, the processor 10 is further configured to establish a control connection with the base station and acquire a communication connection state with the called terminal when a preset notification time period arrives;
the transmitter 12 is further configured to transmit the request for releasing communication resources to the base station when the communication connection status is a disconnection status.
In this embodiment of the application, the transmitter 12 is further configured to transmit the connection status to the base station when the communication connection status is a connection status.
In the embodiment of the present application, further, the receiver 13 is configured to receive the communication disconnection instruction when the communication display interface receives a communication disconnection operation; or receiving the communication disconnection instruction sent by the called terminal.
According to the calling terminal provided by the embodiment of the application, when the short-distance communication is carried out between the calling terminal and the called terminal by utilizing the communication channel distributed by the base station, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state between the calling terminal and the called terminal; when a communication disconnection instruction with a called terminal is received, establishing control connection with a base station; a release communication resource request is sent to the base station to instruct the base station to release the communication channel. Therefore, according to the terminal provided by the embodiment of the application, when the calling terminal communicates with the called terminal, the calling terminal is disconnected from the control connection with the base station, at this time, the base station does not send the request information for requesting to send the state of the communication resource to the calling terminal, and the calling terminal does not need to occupy the communication resource to receive the request information sent by the corresponding base station, so that the communication resource of the calling terminal is saved; when the calling terminal receives a communication disconnection instruction with the called terminal, the calling terminal actively establishes a control connection with the base station and instructs the base station to release the communication channel, so that the base station can release the communication channel in time when the calling terminal and the called terminal are disconnected.
The embodiment of the present application provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors and applied to the calling terminal 1, and when executed by the processors, the programs implement the methods according to the first to third embodiments.
Specifically, the program instructions corresponding to a resource release method in this embodiment, when read or executed by a terminal, include the following steps:
measuring at least two calibration power values corresponding to at least two calibration channels on a preset working frequency band according to a preset power level;
when the channel transmitting power is judged not to meet the transmitting power standard according to the at least two power values, calculating at least two first compensation mean values corresponding to the at least two calibration channels according to the at least two calibration power values and the target power value corresponding to the preset power level;
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted;
when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
sending a communication resource release request to the base station to instruct the base station to release the communication channel.
In an embodiment of the application, further, before the control connection with the base station is disconnected, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
when a short-distance calling request to a called terminal is received, establishing control connection with the base station;
sending a resource allocation request to the base station;
when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined;
and performing short-range communication with the called terminal by using the communication channel.
In the embodiment of the present application, further, after the control connection with the base station is disconnected and before the request for releasing communication resources is sent to the base station, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
when a preset notification time period is reached, establishing control connection with the base station and acquiring a communication connection state with the called terminal;
correspondingly, the sending of the request for releasing the communication resource to the base station, where the one or more programs are executed by the one or more processors, specifically implements the following steps:
and when the communication connection state is a disconnection state, sending the communication resource releasing request to the base station.
In an embodiment of the application, further, after the obtaining of the communication connection status with the called terminal, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
and when the communication connection state is a connection state, sending the connection state to the base station.
In an embodiment of the application, further, before the control connection with the base station is established, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
when a communication display interface receives a communication disconnection operation, receiving the communication disconnection instruction; or,
and receiving the communication disconnection instruction sent by the called terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network terminal) to execute the methods according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (9)

1. A resource release method is applied to a calling terminal, and is characterized in that the method comprises the following steps:
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted;
when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
sending a communication resource release request to the base station to instruct the base station to release the communication channel;
wherein, after the control connection with the base station is disconnected and before the request for releasing communication resources is sent to the base station, the method further comprises:
when a preset notification time period is reached, establishing control connection with the base station and acquiring a communication connection state with the called terminal;
correspondingly, the sending the request for releasing the communication resource to the base station includes:
and when the communication connection state is a disconnection state, sending the communication resource releasing request to the base station.
2. The method of claim 1, wherein prior to said breaking the control connection with the base station, the method further comprises:
when a short-distance calling request to a called terminal is received, establishing control connection with the base station;
sending a resource allocation request to the base station;
when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined;
and performing short-range communication with the called terminal by using the communication channel.
3. The method of claim 1, wherein after the obtaining the communication connection status with the called terminal, the method further comprises:
and when the communication connection state is a connection state, sending the connection state to the base station.
4. The method of claim 1, wherein prior to the establishing the control connection with the base station, the method further comprises:
when a communication display interface receives a communication disconnection operation, receiving the communication disconnection instruction; or,
and receiving the communication disconnection instruction sent by the called terminal.
5. A calling terminal, characterized in that the calling terminal comprises: the processor, the sender, the memory and the communication bus are used for executing the running program stored in the memory so as to realize the following steps:
when the communication channel allocated by the base station is utilized to carry out near field communication with the called terminal, the control connection with the base station is disconnected, so that the base station does not indicate the communication connection state of the calling terminal and the called terminal to be transmitted; when a communication disconnection instruction with the called terminal is received, establishing control connection with the base station;
the transmitter is configured to transmit a request for releasing communication resources to the base station to instruct the base station to release the communication channel;
the processor is further configured to establish a control connection with the base station and acquire a communication connection state with the called terminal when a preset notification time period is reached;
the transmitter is further configured to transmit the request for releasing the communication resource to the base station when the communication connection status is a disconnection status.
6. The calling terminal of claim 5,
the transmitter is further configured to transmit a resource allocation request to the base station;
the processor is further used for establishing control connection with the base station when receiving a short-range call request to a called terminal; when a first response instruction which is sent by the base station and responds to the resource allocation request is received, a communication channel corresponding to the first response instruction is determined; and performing short-range communication with the called terminal by using the communication channel.
7. The calling terminal of claim 5,
the transmitter is further configured to transmit the connection status to the base station when the communication connection status is a connection status.
8. The calling terminal of claim 5, wherein the terminal further comprises: a receiver;
the receiver is used for receiving the communication disconnection instruction when the communication display interface receives the communication disconnection operation; or receiving the communication disconnection instruction sent by the called terminal.
9. A computer-readable storage medium, on which a computer program is stored, for application to a calling terminal, characterized in that the computer program, when being executed by a processor, implements the method according to any one of claims 1-4.
CN201810934409.9A 2018-08-16 2018-08-16 Resource release method, terminal and computer readable storage medium Active CN108966185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810934409.9A CN108966185B (en) 2018-08-16 2018-08-16 Resource release method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810934409.9A CN108966185B (en) 2018-08-16 2018-08-16 Resource release method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108966185A CN108966185A (en) 2018-12-07
CN108966185B true CN108966185B (en) 2021-10-26

Family

ID=64470667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810934409.9A Active CN108966185B (en) 2018-08-16 2018-08-16 Resource release method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108966185B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984699A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 D2D (device-to-device) communication data processing method, equipment and system
CN103686691A (en) * 2012-09-18 2014-03-26 电信科学技术研究院 Method and equipment signal and configuration information transmission and terminal discovery
CN104066078A (en) * 2013-03-21 2014-09-24 中兴通讯股份有限公司 Method and system for distributing equipment identifiers
CN105472740A (en) * 2014-08-21 2016-04-06 中兴通讯股份有限公司 Device-to-device (D2D) information notification method, user terminal and base station

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430766A (en) * 2014-09-23 2016-03-23 中兴通讯股份有限公司 MTC business processing method and system, and MTC equipment
US10064035B2 (en) * 2014-11-07 2018-08-28 Nokia Technologies Oy Device-to-device (D2D) resource release

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686691A (en) * 2012-09-18 2014-03-26 电信科学技术研究院 Method and equipment signal and configuration information transmission and terminal discovery
CN102984699A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 D2D (device-to-device) communication data processing method, equipment and system
CN104066078A (en) * 2013-03-21 2014-09-24 中兴通讯股份有限公司 Method and system for distributing equipment identifiers
CN105472740A (en) * 2014-08-21 2016-04-06 中兴通讯股份有限公司 Device-to-device (D2D) information notification method, user terminal and base station

Also Published As

Publication number Publication date
CN108966185A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN109792287B (en) Method and device for transmitting response message
CN113507731B (en) Communication method and system of wearable device and related device
EP3609234B1 (en) D2d communication method, remote user equipment, and relay user equipment
WO2013139273A1 (en) Resource allocation message sending method, device discovery method, and related device
US10764805B2 (en) Signal strength measurement method and device
CN109275197B (en) Communication connection establishing method, base station, terminal and storage medium
CN109005594B (en) D2D communication connection method, device, equipment and storage medium
CA2871994C (en) Short-range wireless communication device
EP3386252A1 (en) Resource requesting method, device, network side node and system
CN106714126A (en) Downlink data transmission method, apparatus and device
US20220312517A1 (en) D2d communication method, apparatus, and system
CN103945497A (en) Method for transmitting discovery signal in device-to-device communication, and communication terminal and system
CN106465072B (en) Call forwarding method and terminal
JP2016096575A5 (en)
CN101002490B (en) A method of operating a portable communication device, and a portable communication device
CN107404404B (en) Terminal routing method based on Internet of things and Internet of things terminal
CN108966185B (en) Resource release method, terminal and computer readable storage medium
CN109121121B (en) Communication establishing method, terminal and storage medium
JP2019513309A (en) Communication method based on device to device
CN107404771B (en) Communication terminal and method for requesting to expand discontinuous reception parameters
US10045370B2 (en) Device to device communication
CN105191460B (en) Information transmission method, equipment and system
US10142877B2 (en) Management device, communication system, and communication control method
WO2023078383A1 (en) Relay communication method, communication apparatus, chip, and module device thereof
CN117560647A (en) Call control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant