Bearer release method and device, electronic equipment and computer readable storage medium

文档序号:1820383 发布日期:2021-11-09 浏览:19次 中文

阅读说明:本技术 承载释放方法、装置、电子设备及计算机可读存储介质 (Bearer release method and device, electronic equipment and computer readable storage medium ) 是由 路安江 于 2020-05-09 设计创作,主要内容包括:本申请提供了一种承载释放方法、装置、电子设备及计算机可读存储介质。所述方法包括:向基站发送承载释放消息;所述承载释放消息中包含所需释放的无线接入承载的第一个数;获取所述基站根据所述承载释放消息返回的承载释放应答消息;根据所述承载释放应答消息,确定所述基站上报的无线接入承载的第二个数;在所述第一个数和所述第二个数不相等的情况下,按照预置承载释放规则,对所述第一个数的无线接入承载中除第二个数的无线接入承载之外的其它无线接入承载进行释放处理。本申请可以在基站侧异常时,增强核心网的容错性,并保障核心网资源不被挂死。(The application provides a bearer release method, a bearer release device, electronic equipment and a computer-readable storage medium. The method comprises the following steps: sending a bearer release message to a base station; the bearer release message comprises a first number of radio access bearers to be released; acquiring a bearer release response message returned by the base station according to the bearer release message; determining a second number of the wireless access bearers reported by the base station according to the bearer release response message; and under the condition that the first number is not equal to the second number, releasing other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule. According to the method and the device, when the base station side is abnormal, the fault tolerance of the core network is enhanced, and the resources of the core network are prevented from being hung.)

1. A bearer release method, comprising:

sending a bearer release message to a base station; the bearer release message comprises a first number of radio access bearers to be released;

acquiring a bearer release response message returned by the base station according to the bearer release message;

determining a second number of the wireless access bearers reported by the base station according to the bearer release response message;

and under the condition that the first number is not equal to the second number, releasing other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

2. The method of claim 1, wherein the determining the second number of radio access bearers reported by the base station according to the bearer release response message comprises:

when the bearer release response message only carries a bearer release success list, acquiring a successfully released radio access bearer contained in the bearer release success list;

and taking the number of the radio access bearers successfully released as a second number.

3. The method of claim 1, wherein the determining the second number of radio access bearers reported by the base station according to the bearer release response message comprises:

when the bearer release response message only carries a bearer release failure list, acquiring a radio access bearer which is contained in the bearer release failure list and fails to be released;

and taking the number of the radio access bearers with the failed release as a second number.

4. The method of claim 1, wherein the determining the second number of radio access bearers reported by the base station according to the bearer release response message comprises:

when the bearer release response message carries both a bearer release success list and a bearer release failure list, acquiring a radio access bearer successfully released and contained in the bearer release success list and a radio access bearer unsuccessfully released and contained in the bearer release failure list;

and taking the total number of the radio access bearers with successful release and the radio access bearers with failed release as a second number.

5. The method according to claim 1, wherein said, in case that the first number and the second number are not equal, performing a release process on other radio access bearers except for the second number of radio access bearers in the first number of radio access bearers according to a preset bearer release rule, comprises:

starting a timer if said first number and said second number are not equal;

deleting the other radio access bearer in case the timer expires.

6. The method according to claim 1, wherein said, in case that the first number and the second number are not equal, performing a release process on other radio access bearers except for the second number of radio access bearers in the first number of radio access bearers according to a preset bearer release rule, comprises:

under the condition that the first number and the second number are not equal, generating a target bearer release message corresponding to the other radio access bearers, and starting a counter;

and deleting at least one radio access bearer when the counted times of the counter reach the set times and at least one radio access bearer in the other radio access bearers not reported by the base station exists.

7. A load bearing release device, comprising:

a bearer release message sending module, configured to send a bearer release message to the base station; the bearer release message comprises a first number of radio access bearers to be released;

a bearer release message acquiring module, configured to acquire a bearer release response message returned by the base station according to the bearer release message;

a second number determining module, configured to determine, according to the bearer release response message, a second number of radio access bearers reported by the base station;

and a bearer release processing module, configured to, when the first number and the second number are not equal to each other, release other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

8. The apparatus of claim 7, wherein the second number determining module comprises:

a first bearer acquiring unit, configured to acquire a successfully released radio access bearer included in the bearer release success list when only the bearer release success list is carried in the bearer release response message;

a first number obtaining unit, configured to use the number of radio access bearers successfully released as a second number.

9. The apparatus of claim 7, wherein the second number determining module comprises:

a second bearer acquiring unit, configured to acquire a radio access bearer that fails to be released and is included in the bearer release failure list when only the bearer release failure list is carried in the bearer release response message;

and a second number obtaining unit, configured to use the number of radio access bearers for which the release fails as a second number.

10. The apparatus of claim 7, wherein the second number determining module comprises:

a third bearer obtaining unit, configured to obtain, when the bearer release response message carries the bearer release success list and the bearer release failure list at the same time, a radio access bearer successfully released and included in the bearer release success list and a radio access bearer unsuccessfully released and included in the bearer release failure list;

and a third number obtaining unit, configured to use the total number of the radio access bearers successfully released and the radio access bearers failed in release as a second number.

11. The apparatus of claim 7, wherein the bearer release processing module comprises:

a timer starting unit, configured to start a timer when the first number and the second number are not equal to each other;

a radio access bearer deleting unit, configured to delete the other radio access bearers when the timer is over time.

12. The apparatus of claim 7, wherein the bearer release processing module comprises:

a counter starting unit, configured to generate a target bearer release message corresponding to the other radio access bearers and start a counter when the first number and the second number are not equal to each other;

and the bearer deleting unit is used for deleting at least one radio access bearer when the counting times of the counter reach the set times and at least one radio access bearer in the other radio access bearers which are not reported by the base station exists.

13. An electronic device, comprising:

a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the bearer release method of any one of claims 1 to 6 when executing the program.

14. A computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the bearer release method of any of claims 1 to 6.

Technical Field

The present application relates to the field of communications technologies, and in particular, to a bearer release method and apparatus, an electronic device, and a computer-readable storage medium.

Background

The S1 interface is an interface between an MME (mobility management entity)/S-GW (serving gateway) gateway and an eNB (evolved nodeb). When the core network and the access network release the E-RAB (evolved radio Access bearer), the E-RAB release signaling flow of the S1-AP protocol is used. The 36413 protocol has a related description for the E-RABRELEEASEList cell of the E-RABRELEASERESPONSE message in the MME-initiated E-RAB Release procedure. Considering that when the base station is connected with the core network, the E-RAB release scenario initiated by the core network, the base station fails (such as processing error inside the base station) or the base station does not completely conform to the protocol, resulting in abnormal E-rabreleseList cells.

The S1-AP protocol of the S1 interface is described in detail in 3GPP (3rd generation partnership project) related protocols.

According to the description in the current 3GPP36413 protocol, for releasing the E-RAB that the user has established, the MME may initiate an E-rabresease procedure:

the MME shall include E-rabbetereleaselistie (information element) in the E-rabbetesecommand message, indicating which E-RABs the eNB releases.

After completing the release of the E-RAB, the eNB should notify the MME of the release result, including the successfully released E-RAB and the release failed E-RAB, using an E-rabrellesesoponsense (E-RAB release result) message.

36413 the E-RABRELEASEList cell for E-RABRELEASERESPONSE message is described as "Range 0.1", i.e. the base station needs to carry the E-RAB successfully released to the E-RABRELEASEList cell; if all E-RABs are failed to be released, the E-RABReleaseList cell does not exist, and the E-RABFailendReleaseList cell appears and carries the E-RABs with failed release.

When an abnormal scenario occurs, such as a base station fails (base station internal processing error, etc.) or the base station does not completely comply with the protocol, the E-rabreleselist cell carries an abnormality, for example: when the eNB reports the E-RAB release result by using the E-RABRELESERESPONSE message, the E-RAB which is successfully released is carried in the E-RABRELESEListIE, and the E-RAB which is failed to be released is carried in the E-RABFaideleaseListIE, but the sum of the quantity of the E-RARAB in the E-RABRELESEList cell and the quantity of the E-RAB in the E-RABFaideletedReleaseList cell is not equal to the quantity of the E-RAB which is issued by the core network.

When the above situation occurs, the fault tolerance of the core network may be reduced, and the core network may be hung up due to too much load.

Disclosure of Invention

The technical problem to be solved by the embodiments of the present application is to provide a bearer release method, an apparatus, an electronic device, and a computer-readable storage medium, so as to solve the technical problems in the prior art that the sum of the E-rabbeteseist cells and the E-rabbetledeleaselist cells is not equal to the E-RAB number issued by the core network in an abnormal scenario, so that the fault tolerance of the core network is reduced, and the core network is suspended due to excessive bearers.

In order to solve the foregoing technical problem, an embodiment of the present application provides a bearer release method, including:

sending a bearer release message to a base station; the bearer release message comprises a first number of radio access bearers to be released;

acquiring a bearer release response message returned by the base station according to the bearer release message;

determining a second number of the wireless access bearers reported by the base station according to the bearer release response message;

and under the condition that the first number is not equal to the second number, releasing other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message only carries a bearer release success list, acquiring a successfully released radio access bearer contained in the bearer release success list;

and taking the number of the radio access bearers successfully released as a second number.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message only carries a bearer release failure list, acquiring a radio access bearer which is contained in the bearer release failure list and fails to be released;

and taking the number of the radio access bearers with the failed release as a second number.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message carries a bearer release success list and a bearer release failure list at the same time, acquiring a radio access bearer successfully released and contained in the bearer release success list and a radio access bearer unsuccessfully released and contained in the bearer release failure list;

and taking the total number of the radio access bearers with successful release and the radio access bearers with failed release as a second number.

Optionally, the releasing, according to a preset bearer release rule, the other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number under the condition that the first number and the second number are not equal to each other includes:

starting a timer if said first number and said second number are not equal;

deleting the other radio access bearer in case the timer expires.

Optionally, the releasing, according to a preset bearer release rule, the other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number under the condition that the first number and the second number are not equal to each other includes:

under the condition that the first number and the second number are not equal, generating a target bearer release message corresponding to the other radio access bearers, and starting a counter;

and deleting at least one radio access bearer when the counted times of the counter reach the set times and at least one radio access bearer in the other radio access bearers not reported by the base station exists.

In order to solve the above technical problem, an embodiment of the present application provides a bearing releasing device, including:

a bearer release message sending module, configured to send a bearer release message to the base station; the bearer release message comprises a first number of radio access bearers to be released;

a bearer release message acquiring module, configured to acquire a bearer release message reported by the base station according to the bearer release message;

a second number determining module, configured to determine, according to the bearer release message, a second number of radio access bearers reported by the base station;

and a bearer release processing module, configured to, when the first number and the second number are not equal to each other, release other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

Optionally, the second number determining module includes:

a first bearer obtaining unit, configured to obtain a successfully released radio access bearer included in the bearer release success list when the bearer release message only carries the bearer release success list;

a first number obtaining unit, configured to use the number of radio access bearers successfully released as a second number.

Optionally, the second number determining module includes:

a second bearer acquiring unit, configured to acquire a radio access bearer that is failed to be released and is included in the bearer release failure list when the bearer release message only includes the bearer release failure list;

and a second number obtaining unit, configured to use the number of radio access bearers for which the release fails as a second number.

Optionally, the second number determining module includes:

a third bearer obtaining unit, configured to obtain, when the bearer release message carries both the bearer release success list and the bearer release failure list, a radio access bearer successfully released and included in the bearer release success list and a radio access bearer unsuccessfully released and included in the bearer release failure list;

and a third number obtaining unit, configured to use the total number of the radio access bearers successfully released and the radio access bearers failed in release as a second number.

Optionally, the bearer release processing module includes:

a timer starting unit, configured to start a timer when the first number and the second number are not equal to each other;

a radio access bearer deleting unit, configured to delete the other radio access bearers when the timer is over time.

Optionally, the bearer release processing module includes:

a counter starting unit, configured to generate a target bearer release message corresponding to the other radio access bearers and start a counter when the first number and the second number are not equal to each other;

and the bearer deleting unit is used for deleting at least one radio access bearer when the counting times of the counter reach the set times and at least one radio access bearer in the other radio access bearers which are not reported by the base station exists.

In order to solve the above technical problem, an embodiment of the present application provides an electronic device, including:

a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the bearer release method of any one of the above when executing the program.

In order to solve the above technical problem, an embodiment of the present application provides a computer-readable storage medium, where instructions, when executed by a processor of an electronic device, enable the electronic device to perform any one of the bearer release methods described above.

Compared with the prior art, the embodiment of the application has the following advantages:

in the embodiment of the application, a bearer release message is sent to a base station, the bearer release message includes a first number of radio access bearers to be released, a bearer release response message returned by the base station according to the bearer release message is obtained, a second number of radio access bearers reported by the base station is determined according to the bearer release response message, and under the condition that the first number and the second number are not equal, other radio access bearers except the radio access bearers of the second number in the radio access bearers of the first number are released according to a preset bearer release rule. In the embodiment of the application, when the base station fails (such as processing errors in the base station) or the base station does not completely conform to the protocol, and the E-RABRELEASeList cell in the E-RABRELESERESPONSE message returned by the base station carries the exception, the radio access bearer which is not reported by the base station is released, so that the fault tolerance of the core network can be enhanced and the resources of the core network are prevented from being hung up when the base station side is abnormal.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

Drawings

Fig. 1 is a flowchart illustrating steps of a bearer release method according to an embodiment of the present application;

fig. 2 is a flowchart illustrating steps of another bearer release method according to an embodiment of the present application;

fig. 3 is a schematic structural diagram of a load release device according to an embodiment of the present application

Fig. 4 is a schematic structural diagram of another load-bearing releasing device provided in the embodiment of the present application;

fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.

The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

Example one

Referring to fig. 1, a flowchart illustrating steps of a bearer release method provided in an embodiment of the present application is shown, and as shown in fig. 1, the bearer release method may specifically include the following steps:

step 101: sending a bearer release message to a base station; the bearer release message includes a first number of radio access bearers to be released.

The embodiment of the application can be applied to a scene that after the base station releases the radio access bearer, the release result contains the radio access bearer which is successfully released and the radio access bearer which is failed to be released at the same time, but when the radio access bearer which is not reported exists, the radio access bearer which is not reported is processed.

The embodiment can be applied to a core network.

The first number is the number of the radio access bearers which are issued by the core network and need to be released by the base station.

The bearer release message is a message which is issued by the core network to the base station and used for releasing a radio access bearer (E-RAB). The bearer release message contains the number of E-RABs to be released.

When the core network needs the base station to release the E-RAB, a bearer release message (E-rabeleasecommand) may be sent to the base station, and the E-rabeleasecommand carries the number of the E-RAB that the base station needs to release, that is, the first number.

After sending the bearer release message to the base station, step 102 is performed.

Step 102: and acquiring a bearer release response message returned by the base station according to the bearer release message.

The bearer release response message refers to a response message returned by the base station to the core network after the E-RAB is released, i.e., an E-rabrellesesoponsense message (E-RAB release response message).

After receiving the E-rabrellesequence message sent by the core network, the eNB processes the accessed E-RAB to generate a response message for releasing the E-RAB, i.e., an E-rabrellesesponse message, and further, the eNB may report the E-rabrellesesponse message to the core network.

After acquiring the bearer release response message returned by the base station according to the bearer release message, step 103 is executed.

Step 103: and determining a second number of the wireless access bearers reported by the base station according to the bearer release response message.

The second number is the number of released E-RABs reported by the base station. In this embodiment, the second number may be the number of E-RABs successfully released and reported by the base station, may also be the number of E-RABs failed to be released and reported by the base station, and may also be the total number of E-RABs successfully released and E-RABs failed to be released and reported by the base station.

The bearer release response message reported by the base station may only include a response message of the E-RAB that is successfully released, that is, the E-raberelesense message sent by the eNB to the core network includes the E-rabereleselist IE, the E-RAB in the IE is taken as the E-RAB that is successfully released by the base station, and the number of E-RABs included in the E-raberelesense is taken as the second number.

The bearer release response message reported by the base station may only include the response message of the E-RAB that failed to be released, that is, the E-raberedeleaselistie is included in the E-rabeleaseresponse message sent by the eNB to the core network, the E-RAB in the IE is taken as the E-RAB that failed to be released by the base station, and the number of the E-RAB included in the E-rabeleaseresponse is taken as the second number.

When the bearer release response message reported by the base station simultaneously contains the response message of the E-RAB which is successfully released and the response message of the E-RAB which is unsuccessfully released, namely the E-RABRELEASELESSLIE and the E-RABFaidedToReleaseListIE are simultaneously contained in the E-RABRELESERESPONSE message sent by the eNB to the core network, the E-RABs in the two IEs respectively represent the E-RAB which is successfully released and the E-RAB which is unsuccessfully released, and then the total number of the E-RABs which are successfully released and the E-RABs which are unsuccessfully released is taken as the second number.

After determining the second number of radio access bearers reported by the base station according to the bearer release response message, step 104 is executed.

Step 104: and under the condition that the first number is not equal to the second number, releasing other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

After the first number and the second number are obtained, whether the first number and the second number are the same or not can be judged, and when the first number and the second number are equal, it indicates that the base station reports the release results of all the E-RABs, wherein the release results may include successful release and/or failed release, and the core network performs processing according to the existing flow.

And when the first number is not equal to the second number, the reporting result of the base station may be incomplete due to difference in implementation and protocol or other problems (such as internal errors of the base station, etc.), at this time, the E-RAB reported by the base station may be processed according to the existing flow, and the E-RABs not reported by the base station (i.e., other E-RABs except for the second number in the first number) may be processed.

In this embodiment, it is fully considered that when a failure occurs in the base station (for example, an internal processing error of the base station, etc.) or the base station does not completely comply with the protocol, which causes an abnormality in an E-rablelesenstest cell carried in an E-rablelesesoponsense message returned by the base station, the radio access bearer that is not reported by the base station is released to avoid the resource of the core network from being hung.

The bearer release method provided in this embodiment of the present application includes sending a bearer release message to a base station, where the bearer release message includes a first number of radio access bearers that need to be released, acquiring a bearer release response message returned by the base station according to the bearer release message, determining a second number of radio access bearers reported by the base station according to the bearer release response message, and releasing other radio access bearers except for the radio access bearers of the second number in the radio access bearers of the first number according to a preset bearer release rule when the first number and the second number are not equal to each other. In the embodiment of the application, when the base station fails (such as processing errors in the base station) or the base station does not completely conform to the protocol, and the E-RABRELEASeList cell in the E-RABRELESERESPONSE message returned by the base station carries the exception, the radio access bearer which is not reported by the base station is released, so that the fault tolerance of the core network can be enhanced and the resources of the core network are prevented from being hung up when the base station side is abnormal.

Example two

Referring to fig. 2, a flowchart illustrating steps of another bearer release method provided in an embodiment of the present application is shown, and as shown in fig. 2, the bearer release method may specifically include the following steps:

step 201: sending a bearer release message to a base station; the bearer release message includes a first number of radio access bearers to be released.

The embodiment of the application can be applied to a scene that after the base station releases the radio access bearer, the release result contains the radio access bearer which is successfully released and the radio access bearer which is failed to be released at the same time, but when the radio access bearer which is not reported exists, the radio access bearer which is not reported is processed.

The embodiment can be applied to a core network.

The first number is the number of the radio access bearers which are issued by the core network and need to be released by the base station.

The bearer release message is a message which is issued by the core network to the base station and used for releasing a radio access bearer (E-RAB). The bearer release message contains the number of E-RABs to be released.

When the core network needs the base station to release the E-RAB, a bearer release message (E-rabeleasecommand) may be sent to the base station, and the E-rabeleasecommand carries the number of the E-RAB that the base station needs to release, that is, the first number.

After sending the bearer release message to the base station, step 202 is performed.

Step 202: and acquiring a bearer release response message returned by the base station according to the bearer release message.

The bearer release response message refers to a response message returned by the base station to the core network after the E-RAB is released, i.e., an E-rabrelleasepressense (E-RAB release response) message.

After receiving the E-rabbeteleasecommand message sent by the core network, the eNB processes the accessed E-RAB to generate an E-rabepresensense message, i.e., an E-rabereesense, and further, the eNB may report the E-rabereesense message to the core network.

The response message of the E-RAB which is successfully released may be only contained in the bearer release response message, the response message of the E-RAB which is failed to be released may be only contained in the bearer release response message, and the response message of the E-RAB which is successfully released and the response message of the E-RAB which is failed to be released may be simultaneously contained in the bearer release response message. In particular, it may be determined according to actual conditions.

After acquiring the bearer release response message returned by the base station according to the bearer release message, step 203 is executed, or step 205 is executed, or step 207 is executed.

Step 203: and when the bearer release response message only carries the bearer release success list, acquiring the successfully released radio access bearer contained in the bearer release success list.

When the E-rabelleesesoponse message is received, the bearer release list carried in the E-rabelleesesopense message may be acquired, and when the E-rabelleesesopense message only includes the bearer release success list (i.e., the E-rabelleesesisie), the E-RAB included in the E-rabellessesisie may be acquired, which is successfully released.

After acquiring the radio access bearer successfully released included in the bearer release success list, step 204 is executed.

Step 204: and taking the number of the radio access bearers successfully released as a second number.

After the successfully released E-RABs contained in the E-rabreleseListie are obtained, the number of the E-RABs contained in the E-rabreleseListie, that is, the number of the successfully released E-RABs, may be counted, and the number of the successfully released E-RABs is taken as the second number.

Step 205: and when the bearer release response message only carries a bearer release failure list, acquiring the radio access bearer which is contained in the bearer release failure list and fails to be released.

When the E-rabeleaseresponse message is received, the bearer release list carried in the E-rabeleaseresponse message may be acquired, and when the E-rabeleaseseresense message only includes the bearer release failure list (i.e., E-rabfabailtedtreleaselistie), the E-rababerrationfailed release list included in the E-rababeilaidedeletedreelistie may be acquired.

Step 206: and taking the number of the radio access bearers with the failed release as a second number.

After the E-RABs that are contained in the E-rabfabailendtoredelelistie and failed to be released are obtained, the number of the E-RABs contained in the E-rabfabacedtoredelelistie, that is, the number of the E-RABs that failed to be released, may be counted, and the number of the E-RABs that failed to be released is taken as the second number.

Step 207: and when the bearer release response message carries both the bearer release success list and the bearer release failure list, acquiring the radio access bearer successfully released and contained in the bearer release success list and the radio access bearer unsuccessfully released and contained in the bearer release failure list.

When the E-rabeleaseresponse message is received, the bearer release list carried in the E-rabeleaseresponse message may be acquired, and when the E-rabeleaseseresense message includes both the bearer release success list (i.e., E-rabeleaselist ie) and the bearer release failure list (i.e., E-rabfeledeleaselist ie), the E-RAB included in the E-rabeleaselist ie and the E-RAB included in the E-rabelesedurelist ie and having a release failure may be acquired.

Step 208: and taking the total number of the radio access bearers with successful release and the radio access bearers with failed release as a second number.

After the E-RABs included in the E-rabreleseListie and successfully released E-RABs included in the E-rabreleseListie and the E-RABs included in the E-rabreleseListie and failed to release are obtained, the number of the E-RABs included in the E-rabreleseListie and the number of the E-RABs included in the E-rabfelodidereseListie, that is, the number of the E-RABs successfully released and the number of the E-RABs failed to release, may be counted, and the sum of the number of the E-RABs successfully released and the number of the E-RABs failed to release is taken as the second number.

Step 209: starting a timer in case said first number and said second number are not equal.

After obtaining the second number corresponding to the radio access bearer successfully released and the radio access bearer failed to be released, it may be compared whether the first number and the second number are equal.

After the first number and the second number are obtained, whether the first number and the second number are the same or not can be judged, and when the first number and the second number are equal, it indicates that the base station reports the release results of all the E-RABs, wherein the release results may include successful release and/or failed release, and the core network performs processing according to the existing flow.

When the first number is not equal to the second number, it indicates that the reporting result of the base station may be incomplete due to difference in implementation and protocol or other problems (e.g., internal errors of the base station, etc.), at this time, the E-RAB reported by the base station may be processed according to the existing flow, and at this time, the core network may start a preset timer to time.

After the timer is started, step 210 is performed.

Step 210: deleting the other radio access bearer in case the timer expires.

When the timer is overtime, other radio access bearers can be deleted directly, the core network starts the timer (the timer has a default value and supports configuration), and after the timer is overtime, the E-RAB which is not reported by the base station in the core network is deleted, so that the resources of the core network are ensured not to be hung up.

Step 211: and under the condition that the first number and the second number are not equal, generating a target bearer release message corresponding to the other radio access bearers, and starting a counter.

When the first number is not equal to the second number, it indicates that the reporting result of the base station may be incomplete due to difference in implementation and protocol or other problems (such as internal errors of the base station, etc.), and at this time, the E-RAB that fails to be released and reported by the base station may be processed according to the existing flow.

The target bearer release message is generated by the core network aiming at the E-RAB which is not reported by the base station and is used for indicating the base station to release the E-RAB which is not reported.

When the first number is not equal to the second number, the core network may generate a target bearer release message corresponding to another radio access bearer for an E-RAB not reported by the base station (i.e., another radio access bearer), and start a preset counter, where the counter may count the number of times of sending the target bearer release message, and further, the core network may send the target bearer release message to the base station, where the target bearer release message includes the E-RAB not reported by the base station to instruct the base station to release the E-RAB not reported.

Step 212 is performed after generating a target bearer release message for the other radio access bearer and starting the counter.

Step 212: and deleting at least one radio access bearer when the counted times of the counter reach the set times and at least one radio access bearer in the other radio access bearers not reported by the base station exists.

When the counted times of the counter reaches the set times and at least one of the other radio access bearers which are not reported by the base station still exists, the core network can forcibly release the flow, namely delete at least one radio access bearer in the core network, so that the resources of the core network are not hung up.

The bearer release method provided in this embodiment of the present application includes sending a bearer release message to a base station, where the bearer release message includes a first number of radio access bearers that need to be released, acquiring a bearer release response message returned by the base station according to the bearer release message, determining a second number of radio access bearers reported by the base station according to the bearer release response message, and releasing other radio access bearers except for the radio access bearers of the second number in the radio access bearers of the first number according to a preset bearer release rule when the first number and the second number are not equal to each other. In the embodiment of the application, when the base station fails (such as processing errors in the base station) or the base station does not completely conform to the protocol, and the E-RABRELEASeList cell in the E-RABRELESERESPONSE message returned by the base station carries the exception, the radio access bearer which is not reported by the base station is released, so that the fault tolerance of the core network can be enhanced and the resources of the core network are prevented from being hung up when the base station side is abnormal.

EXAMPLE III

Referring to fig. 3, a schematic structural diagram of a load-bearing releasing device provided in an embodiment of the present application is shown, and as shown in fig. 3, the load-bearing releasing device may specifically include the following modules:

a bearer release message sending module 310, configured to send a bearer release message to a base station; the bearer release message comprises a first number of radio access bearers to be released;

a bearer release message obtaining module 320, configured to obtain a bearer release response message returned by the base station according to the bearer release message;

a second number determining module 330, configured to determine, according to the bearer release response message, a second number of radio access bearers reported by the base station;

a bearer release processing module 340, configured to, when the first number and the second number are not equal, release other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

The bearer release apparatus provided in this embodiment of the present application sends a bearer release message to a base station, where the bearer release message includes a first number of radio access bearers that need to be released, obtains a bearer release response message returned by the base station according to the bearer release message, and determines a second number of radio access bearers reported by the base station according to the bearer release response message, and releases, according to a preset bearer release rule, other radio access bearers except for the radio access bearers of the second number in the radio access bearers of the first number when the first number and the second number are not equal to each other. In the embodiment of the application, when the base station fails (such as processing errors in the base station) or the base station does not completely conform to the protocol, and the E-RABRELEASeList cell in the E-RABRELESERESPONSE message returned by the base station carries the exception, the radio access bearer which is not reported by the base station is released, so that the fault tolerance of the core network can be enhanced and the resources of the core network are prevented from being hung up when the base station side is abnormal.

Example four

Referring to fig. 4, a schematic structural diagram of another carrying and releasing device provided in the embodiment of the present application is shown, and as shown in fig. 4, the carrying and releasing device may specifically include the following modules:

a bearer release message sending module 410, configured to send a bearer release message to the base station; the bearer release message comprises a first number of radio access bearers to be released;

a bearer release message obtaining module 420, configured to obtain a bearer release response message returned by the base station according to the bearer release message;

a second number determining module 430, configured to determine, according to the bearer release response message, a second number of radio access bearers reported by the base station;

a bearer release processing module 440, configured to, when the first number and the second number are not equal, release other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

Optionally, the second number determining module 430 includes:

a first bearer obtaining unit 431, configured to obtain a successfully released radio access bearer included in the bearer release success list when only the bearer release success list is carried in the bearer release response message;

a first number obtaining unit 432, configured to use the number of the radio access bearers successfully released as a second number.

Optionally, the second number determining module 430 includes:

a second bearer obtaining unit 433, configured to obtain a radio access bearer that is included in the bearer release failure list and failed to be released when only the bearer release failure list is carried in the bearer release response message;

a second number obtaining unit 434, configured to use the number of the radio access bearers for which the release fails as a second number.

Optionally, the second number determining module 430 includes:

a third bearer obtaining unit 435, configured to obtain, when the bearer release response message carries the bearer release success list and the bearer release failure list at the same time, a radio access bearer successfully released and included in the bearer release success list and a radio access bearer unsuccessfully released and included in the bearer release failure list;

a third number obtaining unit 436, configured to use the total number of the radio access bearers successfully released and the radio access bearers failed to be released as the second number.

Optionally, the bearer release processing module 440 includes:

a timer starting unit 441, configured to start a timer when the first number and the second number are not equal to each other;

a radio access bearer deleting unit 442, configured to delete the other radio access bearers if the timer expires.

Optionally, the bearer release processing module 440 includes:

a counter starting unit 443, configured to generate a target bearer release message corresponding to the other radio access bearers and start a counter when the first number and the second number are not equal to each other;

at least one bearer deleting unit 444, configured to delete at least one radio access bearer when the counted number of times of the counter reaches a set number of times and at least one radio access bearer exists among the other radio access bearers that are not reported by the base station.

The bearer release apparatus provided in this embodiment of the present application sends a bearer release message to a base station, where the bearer release message includes a first number of radio access bearers that need to be released, obtains a bearer release response message returned by the base station according to the bearer release message, and determines a second number of radio access bearers reported by the base station according to the bearer release response message, and releases, according to a preset bearer release rule, other radio access bearers except for the radio access bearers of the second number in the radio access bearers of the first number when the first number and the second number are not equal to each other. In the embodiment of the application, when the base station fails (such as processing errors in the base station) or the base station does not completely conform to the protocol, and the E-RABRELEASeList cell in the E-RABRELESERESPONSE message returned by the base station carries the exception, the radio access bearer which is not reported by the base station is released, so that the fault tolerance of the core network can be enhanced and the resources of the core network are prevented from being hung up when the base station side is abnormal.

Referring to fig. 5, a schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. As shown in fig. 5, the electronic device 500 may be provided as a server. Referring to fig. 5, electronic device 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute instructions to perform the following method:

sending a bearer release message to a base station; the bearer release message comprises a first number of radio access bearers to be released;

acquiring a bearer release response message returned by the base station according to the bearer release message;

determining a second number of the wireless access bearers reported by the base station according to the bearer release response message;

and under the condition that the first number is not equal to the second number, releasing other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number according to a preset bearer release rule.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message only carries a bearer release success list, acquiring a successfully released radio access bearer contained in the bearer release success list;

and taking the number of the radio access bearers successfully released as a second number.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message only carries a bearer release failure list, acquiring a radio access bearer which is contained in the bearer release failure list and fails to be released;

and taking the number of the radio access bearers with the failed release as a second number.

Optionally, the determining, according to the bearer release response message, a second number of radio access bearers reported by the base station includes:

when the bearer release response message carries both a bearer release success list and a bearer release failure list, acquiring a radio access bearer successfully released and contained in the bearer release success list and a radio access bearer unsuccessfully released and contained in the bearer release failure list;

and taking the total number of the radio access bearers with successful release and the radio access bearers with failed release as a second number.

Optionally, the releasing, according to a preset bearer release rule, the other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number under the condition that the first number and the second number are not equal to each other includes:

starting a timer if said first number and said second number are not equal;

deleting the other radio access bearer in case the timer expires.

Optionally, the releasing, according to a preset bearer release rule, the other radio access bearers except the radio access bearer of the second number in the radio access bearers of the first number under the condition that the first number and the second number are not equal to each other includes:

under the condition that the first number and the second number are not equal, generating a target bearer release message corresponding to the other radio access bearers, and starting a counter;

and deleting at least one radio access bearer when the counted times of the counter reach the set times and at least one radio access bearer in the other radio access bearers not reported by the base station exists.

The electronic device 500 may also include a power component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input/output (I/O) interface 558. The electronic device 500 may operate based on an operating system stored in memory 532, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.

Additionally, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the bearer release method.

The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.

The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.

As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminals (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.

Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.

The detailed description of the bearer release method, the bearer release apparatus, the electronic device, and the computer-readable storage medium provided in the present application is provided above, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:蜂窝通信功能的使用方法及相关装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!