Method for configuring communication capability and electronic equipment

By having the terminal device actively trigger the base station device to query its communication capabilities, and by leveraging mobility registration and wireless resource control to quickly release the capabilities, the problem of device restarts caused by OTA upgrades is solved. This enables new communication capabilities to take effect quickly without restarting the device, thereby improving user experience and application scenarios.

CN121968281APending Publication Date: 2026-05-01HUAWEI DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI DEVICE CO LTD
Filing Date
2024-10-29
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing technologies, adding wireless communication capabilities to electronic devices requires over-the-air (OTA) upgrades, which leads to device restarts, prolongs the effective period of the new communication capabilities, and may interrupt the normal operation of the device.

Method used

By having the terminal device actively trigger the base station device to re-query its communication capabilities, the new communication capabilities can be reported and activated without restarting the device through the mobility registration process. This includes deploying communication capabilities on the terminal device and actively reporting them, and using mobility registration and radio resource control to quickly release capabilities to simplify the process and avoid loss of communication data.

Benefits of technology

It shortens the activation cycle of new communication capabilities, avoids operational interruptions caused by device restarts, improves user experience, and expands the application scenarios of communication capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968281A_ABST
    Figure CN121968281A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a communication capability configuration method and electronic equipment. The invention further provides a computer readable storage medium. The present application relates to the technical field of computers, the method provided by the embodiment of the present application is applied to a terminal device connected to a base station device, and the method comprises: deploying a communication capability on the terminal device; when the deployment of the communication capability is completed, triggering the terminal device to execute an active reporting operation, the active reporting operation being used for triggering the base station device to re-query the communication capability of the terminal device; the terminal equipment responds to the base station equipment to re-query the communication capability of the terminal equipment, and reports the communication capability to the base station equipment; the terminal device takes effect of the communication capability based on interaction with the base station device. According to the method provided by the embodiment of the invention, the terminal equipment actively triggers the base station equipment to re-query the communication capability of the terminal equipment, so that the reporting and effectiveness of the new communication capability are realized. According to the method provided by the embodiment of the invention, the new communication capability can take effect without restarting the equipment, and the effective period of the new communication capability is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method and electronic device for configuring communication capabilities. Background Technology

[0002] Electronic devices typically possess wireless communication capabilities. Generally, the operating instructions related to wireless communication are installed on the electronic device before it leaves the factory, enabling the device to achieve corresponding communication capabilities based on these instructions.

[0003] After an electronic device leaves the factory, if new communication capabilities need to be added, the software system of the electronic device needs to be upgraded via over-the-air (OTA) updates. However, OTA updates require restarting the electronic device, which lengthens the time required to add new communication capabilities.

[0004] Therefore, a method for configuring communication capabilities is needed to enable the rapid addition of new communication capabilities. Summary of the Invention

[0005] To address the problem of how to rapidly add new communication capabilities, this application provides a method and electronic device for configuring communication capabilities, and also provides a computer-readable storage medium.

[0006] The embodiments of this application adopt the following technical solutions:

[0007] In a first aspect, this application provides a method for configuring communication capabilities, the method being applied to a terminal device connected to a base station device, the method comprising:

[0008] Deploy communication capabilities on terminal devices;

[0009] When the communication capability deployment is completed, the terminal device is triggered to perform an active reporting operation. The active reporting operation is used to trigger the base station device to re-query the communication capability of the terminal device.

[0010] In response to the base station equipment re-querying the terminal equipment's communication capabilities, the terminal equipment reports its communication capabilities to the base station equipment.

[0011] Terminal devices enable communication capabilities based on their interaction with base station equipment.

[0012] According to the method in the embodiments of this application, the terminal device actively triggers the base station device to re-query the communication capabilities of the terminal device, thereby realizing the reporting and activation of new communication capabilities.

[0013] According to the method in the embodiments of this application, the new communication capability can be enabled without restarting the device, thus shortening the activation period of the new communication capability.

[0014] In one implementation of the first aspect, deploying communication capabilities on the terminal device includes:

[0015] Receive the communication capability configuration file pushed by the server device. The communication capability configuration file contains computer program instructions to implement the communication capability.

[0016] Add communication capabilities to the terminal device according to the communication capability configuration file.

[0017] In mobile communication applications, after a terminal device powers on, it connects to the mobile network. During this connection, the terminal device performs mobility registration to register its identity with the base station and obtain necessary information for mobile communication. This mobility registration triggers the base station to query the terminal device's communication capabilities.

[0018] Therefore, in one implementation of the first aspect, the proactive reporting operation includes: initiating mobility registration.

[0019] According to the method in the embodiments of this application, the terminal device actively triggers its own mobility registration, which in turn triggers the base station device to re-query the communication capabilities of the terminal device. This allows the terminal device to quickly report and activate the new communication capabilities after deployment, thus shortening the activation cycle of the new communication capabilities.

[0020] According to the method in the embodiments of this application, the base station device is triggered to re-query the communication capabilities of the terminal device based on the operation of the original mobile communication protocol, which simplifies the method implementation process and reduces the difficulty of method implementation.

[0021] Since performing mobility registration is equivalent to the terminal device reconnecting to the base station device, communication tasks cannot be performed synchronously during mobility registration.

[0022] Therefore, in order to avoid interrupting ongoing communication tasks and to prevent the loss of communication data, in one implementation of the first aspect, the terminal device will only initiate mobility registration after the current communication task has been completed.

[0023] Specifically, in one implementation of the first aspect, the active reporting operation includes:

[0024] A notification message is sent to the communication protocol stack of the terminal device. The notification message is used to instruct the communication protocol stack to initiate mobility registration.

[0025] In response to the notification, the communication protocol stack confirms whether a communication link is in use;

[0026] When there is no communication link in use, the communication protocol stack initiates mobility registration.

[0027] In one implementation of the first aspect, the method further includes:

[0028] If a communication link is in use, wait for the communication link to be released;

[0029] After the communication link is released, the communication protocol stack initiates mobility registration.

[0030] According to the method in this application embodiment, mobility registration is only initiated after ensuring that the communication protocol stack releases the communication link, thus avoiding interruption of the ongoing communication task and preventing the loss of communication data.

[0031] In one implementation of the first aspect, the communication capability includes a rapid release capability for radio resource control, which enables the terminal device to autonomously decide when the base station device releases radio resource control.

[0032] In one implementation of the first aspect, based on interaction with the base station equipment, the effective communication capability includes:

[0033] Parameter configuration for receiving radio resource control rapid release capability sent by base station equipment;

[0034] The system has successfully communicated the configuration of rapid release capability for radio resource control to the base station equipment.

[0035] In one implementation of the first aspect, the active reporting operation includes:

[0036] Report the cell information of the cell accessed by the terminal device to the base station equipment;

[0037] Receive capability activation instructions sent by base station equipment, wherein the capability activation instructions are sent when the cell accessed by the terminal equipment is a cell with effective communication capabilities;

[0038] In response to the capability activation command, the base station device is triggered to re-query the communication capabilities of the terminal device.

[0039] The method according to the embodiments of this application can activate the corresponding communication capabilities when a terminal device accesses a designated cell. The method according to the embodiments of this application can quickly activate communication capabilities, expand the application scenarios for deploying communication capabilities, and improve the user experience of deploying communication capabilities.

[0040] In one implementation of the first aspect:

[0041] Report cell information of the cell accessed by the terminal device to the base station equipment, including: when the communication capability is marked as limited cell effective, report cell information of the cell accessed by the terminal device to the base station equipment;

[0042] The active reporting operation also includes: when the communication capability is not marked as being effective in a limited cell, triggering the base station equipment to re-query the communication capability of the terminal equipment.

[0043] In one implementation of the first aspect, the cell information of the cell accessed by the terminal device is reported to the base station equipment, including:

[0044] After the communication capabilities are deployed, the cell information of the cell where the terminal device is currently located is reported to the base station equipment.

[0045] In one implementation of the first aspect, reporting cell information of the cell accessed by the terminal device to the base station device further includes:

[0046] Monitor changes in accessed cells when no capability activation command is received;

[0047] When accessing a new cell, the terminal device reports the cell information of the newly accessed cell to the base station equipment.

[0048] Secondly, this application provides a method for configuring communication capabilities, the method being applied to a base station device connected to a terminal device, the method comprising:

[0049] In response to the terminal device’s proactive reporting operation, the terminal device’s communication capabilities are re-queried. Specifically, when the terminal device has completed the deployment of communication capabilities, the terminal device is triggered to perform a proactive reporting operation.

[0050] The ability to receive communication reports from terminal devices;

[0051] It interacts with terminal devices to enable communication capabilities.

[0052] In one implementation of the second aspect, the proactive reporting operation includes initiating mobility registration;

[0053] In response to the terminal device's proactive reporting operation, re-query the terminal device's communication capabilities, including:

[0054] In response to the mobility registration of the terminal device, re-query the communication capabilities of the terminal device.

[0055] In one implementation of the second aspect, the communication capability includes a rapid release capability for radio resource control, which enables the terminal device to autonomously decide when the base station device releases radio resource control.

[0056] Interacting with terminal devices and activating communication capabilities, including:

[0057] Based on the radio resource control fast release capability reported by the terminal device, send the parameter configuration of the radio resource control fast release capability to the terminal device;

[0058] The receiving terminal device has confirmed that the rapid release capability for wireless resource control has been configured.

[0059] In one implementation of the second aspect, in response to the terminal device's proactive reporting operation, the communication capabilities of the terminal device are re-queried, including:

[0060] Receive cell information of the cell accessed by the terminal device reported by the terminal device;

[0061] When the cell that the terminal device accesses is a cell with effective communication capabilities, a capability activation command is sent to the terminal device.

[0062] Among them, the capability activation command is used to instruct the terminal device to trigger the base station device to re-query the terminal device's communication capabilities.

[0063] Thirdly, this application provides an electronic device, which includes a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to perform the steps of the method described in the first or second aspect.

[0064] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method described in the first or second aspect. Attached Figure Description

[0065] Figure 1 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0066] Figure 2 The diagram shown is a schematic representation of a device interaction scenario according to an embodiment of this application.

[0067] Figure 3 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0068] Figure 4 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0069] Figure 5 The diagram shown is a configuration page illustration according to an embodiment of this application;

[0070] Figure 6 The diagram shown is a configuration page illustration according to an embodiment of this application;

[0071] Figure 7 The diagram shown is a partial flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0072] Figure 8 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0073] Figure 9 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0074] Figure 10 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0075] Figure 11 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application;

[0076] Figure 12 This is a schematic diagram of an electronic device structure according to an embodiment of this application. Detailed Implementation

[0077] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0078] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.

[0079] Adding new communication capabilities to a terminal device requires installing the relevant operating instructions on the terminal device, and then enabling the new communication capabilities after the operating instructions are installed.

[0080] In one feasible implementation, an over-the-air (OTA) upgrade method is used, in which the base station equipment pushes computer program instructions related to the new communication capabilities to the terminal equipment.

[0081] Figure 1 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0082] S110, the server device pushes an upgrade package to the terminal device 101 through the base station device 100. The upgrade package contains computer program instructions related to the new communication capabilities.

[0083] S112, Terminal device 101 upgrades its operating system according to the upgrade package and installs computer program instructions for new communication capabilities.

[0084] S113, Terminal device 101 restarts the device.

[0085] S114, the restarted terminal device 101 accesses the network and connects to the base station device 100.

[0086] S115, terminal device 101 interacts with base station device 100 to activate new communication capabilities.

[0087] In the above scheme, the terminal device 101 installs computer program instructions related to new communication capabilities through an OTA (Over-The-Air) upgrade process. However, during the OTA upgrade process, the newly installed computer program instructions only take effect after the device is restarted.

[0088] Specifically, OTA upgrades primarily target system upgrades. During system operation, to avoid impacting current system performance by upgrading system files, a viable solution is to ensure that the installation of the downloaded upgrade file does not directly modify system files.

[0089] For example, by using virtual installation, the upgrade files are installed to a virtual storage address, and when the terminal device restarts, the system files installed before the restart are implemented during the restart process.

[0090] For example, using systems A and B, when the terminal device is running system A, an upgrade file is downloaded and installed. At this time, the upgrade file is installed on the non-running system B, upgrading the files in system B. After the terminal device restarts and runs system B, the upgraded files in system B are simultaneously synchronized to system A.

[0091] Therefore, in application scenarios where new communication capabilities are installed based on OTA upgrades, the terminal device must be restarted to complete the installation of the new communication capabilities.

[0092] Furthermore, for communication capabilities to take effect, the terminal must report the communication capabilities to the base station. In application scenarios where new communication capabilities are installed via OTA upgrades, if the terminal device is already connected to the base station, downloading and installing the upgrade file will not trigger the terminal device to report the newly installed communication capabilities to the base station. Therefore, even if the installation of new communication capabilities is completed without restarting the terminal device, the newly installed communication capabilities will not take effect. After the terminal restarts, the terminal device reconnects to the base station. During this process, the terminal device reports the communication capabilities to the base station. Therefore, the purpose of restarting the terminal device also includes enabling the terminal device to report newly installed communication capabilities.

[0093] In summary, based on Figure 1The proposed solution requires a restart of terminal device 101 each time a new communication capability is added to it before the new capability takes effect. This prolongs the activation period of new communication capabilities, and the activation of new capabilities interrupts the normal operation of the terminal device. In particular, in certain application scenarios, because the terminal device is executing other processes and cannot be restarted immediately, the activation period of new communication capabilities will be further prolonged.

[0094] To shorten the activation period of new communication capabilities, one embodiment of this application provides a method for configuring communication capabilities. The method for configuring communication capabilities provided in this embodiment can be applied to terminal devices and base station devices.

[0095] Figure 2 The diagram shown is a schematic representation of a device interaction scenario according to an embodiment of this application.

[0096] like Figure 2 As shown, terminal device 200 is connected to base station device 201. Terminal device 200 and base station device 201 can communicate with each other.

[0097] The communication connection between terminal device 200 and base station device 201 includes, but is not limited to: mobile communication connection (e.g., communication connection based on 4G and 5G mobile communication standard protocols), wireless WIFI connection, Bluetooth connection, wired connection, etc.

[0098] Terminal device 200 can be any device capable of accessing a communication network, such as mobile phones, tablets, desktop computers, virtual reality (VR) devices, augmented reality (AR) devices, etc.

[0099] The base station device 201 can be any device capable of accessing a communication network and providing communication support services to the terminal device 100. The base station device 201 can be a single computing device in a physical sense, or it can be a cluster of computing devices composed of multiple computing devices.

[0100] The terminal device 200 and the base station device 201 are equipped with computer program instructions corresponding to the communication capabilities. When the computer program instructions are executed, the terminal device 200 and the base station device 201 realize the corresponding communication capabilities.

[0101] When adding new communication capabilities, the terminal device 200 and the base station device 201 need to install the computer program instructions corresponding to the new communication capabilities.

[0102] In the method flow of this application embodiment, the base station device is pre-installed with computer program instructions that can realize new communication capabilities, and new communication capabilities need to be added to the terminal device.

[0103] In one application scenario, communication capabilities can be divided into two categories: end-to-end negotiation and end-to-end autonomous activation. Here, end refers to the terminal (UE) and end refers to the network side (base station equipment).

[0104] For terminal-side autonomous activation, when communication capabilities are activated, the terminal device does not need to interact with the base station device, and the terminal side can independently decide to enable or disable the communication capabilities.

[0105] When terminal-to-terminal negotiation takes effect, the terminal device needs to interact with the base station device to negotiate the operating parameters and other data of the communication capability. After negotiation, the communication capability can be turned on or off.

[0106] The method provided in this application can be applied to application scenarios where end-to-end negotiation takes effect and end-side autonomous activation takes effect. Considering that the activation process of new communication capabilities is more complex in end-to-end negotiation scenarios (increasing the interaction process between the terminal and the server), the embodiments of this application mainly describe the method implementation for end-to-end negotiation scenarios.

[0107] Specifically, in mobile communication applications, when a terminal device accesses a mobile network (connects to a base station), the base station queries the communication capabilities of the newly accessing terminal device. Based on the query from the base station, the terminal device reports its supported communication capabilities to the base station, enabling these capabilities to take effect (be used) in subsequent communication processes.

[0108] In one embodiment of this application, in order to shorten the effective period of new communication capabilities, after the terminal device deploys new communication capabilities, it actively triggers the base station device to re-query the communication capabilities of the terminal device without restarting the device. Based on the query of the base station device, the terminal device reports the new communication capabilities to the base station device, thereby enabling the new communication capabilities to take effect.

[0109] Figure 3 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0110] Figure 2 The terminal device 200 and base station device 201 shown execute Figure 3 The following process is shown to deploy and enable new communication capabilities for terminal device 200.

[0111] S210 deploys new communication capabilities on terminal device 200.

[0112] Specifically, in one embodiment, the deployment of new communication capabilities may be achieved by installing computer program instructions on a terminal device to implement the new communication capabilities.

[0113] In another embodiment, the deployment of new communication capabilities can also be achieved by reconfiguring the execution parameters of existing communication capabilities on the terminal device.

[0114] Specifically, the deployment of new communication capabilities does not override existing communication capabilities. Therefore, the deployment of new communication capabilities will not affect the operation of the operating system or the execution of communication tasks on the current terminal device 200. That is, the implementation of S210 does not require restarting the terminal device 200.

[0115] S211, when the new communication capability is deployed, the terminal device 200 is triggered to perform an active reporting operation, wherein the active reporting operation is used to trigger the base station device 201 to re-query the communication capability of the terminal device 200.

[0116] Specifically, there is a triggering relationship between S210 and S211. The completion of S210 triggers the execution of S211. That is, the completion of the deployment of communication capabilities triggers the execution of the active reporting operation.

[0117] S212, base station equipment 201 re-queries the communication capabilities of terminal equipment 200.

[0118] In S213, in response to the base station device 201 re-querying the communication capabilities of the terminal device 200, the terminal device 200 reports its communication capabilities to the base station device 201, wherein the communication capabilities reported by the terminal device 200 to the base station device 201 include the new communication capabilities that have been deployed in S210.

[0119] S214, based on the interaction between terminal device 200 and base station device 201, the communication capabilities reported by terminal device 200 to base station device 201 are activated, wherein the activated communication capabilities include the new communication capabilities that were deployed in S210.

[0120] According to the method in this application embodiment, the terminal device actively triggers the base station device to re-query the terminal device's communication capabilities, thereby achieving the reporting and activation of new communication capabilities. The method in this application embodiment allows new communication capabilities to take effect without restarting the device, shortening the activation cycle of new communication capabilities.

[0121] Specifically, in mobile communication applications, after a terminal device is powered on, it connects to the mobile network. During this connection, the terminal device performs mobility registration to register its identity with the base station and obtain necessary information for mobile communication. This mobility registration triggers the base station to query the terminal device's communication capabilities.

[0122] Therefore, in one embodiment, the proactive reporting operation includes initiating mobility registration, which triggers the base station to query the communication capabilities of the terminal device.

[0123] Specifically, after the new communication capabilities are deployed, the terminal device will proactively trigger itself to perform mobility registration without restarting the device, thereby prompting the base station device to re-query the terminal device's communication capabilities.

[0124] According to the method in the embodiments of this application, the base station device is triggered to re-query the communication capabilities of the terminal device based on the operation of the original mobile communication protocol, which simplifies the method implementation process and reduces the difficulty of method implementation.

[0125] Figure 4 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0126] Figure 2 The terminal device 200 and base station device 201 shown execute Figure 4 The following process is shown to deploy and enable new communication capabilities for terminal device 200.

[0127] S300, terminal device 200 obtains a communication capability configuration file, which contains computer program instructions corresponding to communication capability A.

[0128] Communication capability A is a new communication capability, meaning that the computer program instructions already installed on the terminal device 200 before S300 is executed cannot realize communication capability A.

[0129] Specifically, the implementation of S300 in this application does not impose specific restrictions. Those skilled in the art can design the specific implementation process of S300 according to the actual application scenario requirements.

[0130] For example, in one embodiment, terminal device 200 copies a communication capability profile from a storage device (e.g., a portable hard drive) connected to a local device.

[0131] For example, in another embodiment, after a new communication capability is published, the communication capability configuration file is pushed to the terminal device 200 by means of broadcast publication or point-to-point transmission.

[0132] Specifically, the base station device 201 may push the communication capability configuration file to the terminal device 200, or the server device connected to the base station device 201 may push the communication capability configuration file through the base station device 201.

[0133] Specifically, in one embodiment, after communication capability A is published, a notification message is sent to the terminal device 200 by means of broadcasting or point-to-point transmission. The notification message is used to announce that communication capability A has been published. After receiving the notification message, the terminal device 200 downloads the communication capability configuration file from the specified network address based on the notification message.

[0134] S301, Terminal device 200 adds communication capability A to terminal device 200 according to the communication capability configuration file.

[0135] Specifically, in one embodiment, the terminal device 200 installs computer program instructions for implementing communication capability A according to a communication capability configuration file.

[0136] In another embodiment, the terminal device 200 configures the execution parameters of the original computer program instructions according to the communication capability configuration file, so that the original computer program instructions can realize communication capability A.

[0137] Furthermore, in one embodiment:

[0138] In S300, when the communication capability configuration file is pushed to the terminal device 200, the terminal device 200 automatically downloads the communication capability configuration file.

[0139] In S301, after the terminal device 200 downloads the communication capability configuration file, the terminal device 200 automatically deploys communication capability A.

[0140] In another embodiment, users are provided with configuration options for the new communication capabilities, allowing users to customize how the new communication capabilities are deployed.

[0141] For example, in one embodiment, key communication capabilities related to the normal operation of communication are defined as system communication capabilities, the deployment of such communication capabilities may directly affect the normal communication between terminal devices and base station devices.

[0142] Non-critical communication capabilities in the communication implementation process are defined as auxiliary communication capabilities. These capabilities are used to optimize the communication effect between terminal devices and base station devices. The deployment of these capabilities will not affect the normal communication between terminal devices and base station devices.

[0143] Figure 5 The diagram shown is a configuration page illustration according to an embodiment of this application.

[0144] like Figure 5 As shown, the terminal device provides users with deployment options for "system communication capabilities" and "auxiliary communication capabilities" respectively:

[0145] "Automatically download and install system communication capabilities";

[0146] "Automatically download system communication capabilities and prompt installation information";

[0147] "Do not download system communication capabilities, only provide a prompt";

[0148] "Automatically download and install auxiliary communication capabilities";

[0149] "Automatically download auxiliary communication capabilities and prompt installation information";

[0150] "Do not download auxiliary communication capabilities, only provide prompts";

[0151] "No auxiliary communication capabilities are indicated; only logging is performed."

[0152] For example, considering that the deployment of system communication capabilities may directly affect the normal communication between terminal devices and base station devices, in order to ensure normal communication, in one embodiment, users cannot choose whether to deploy system communication capabilities; by default, new system communication capabilities are automatically deployed when they exist.

[0153] Figure 6 The diagram shown is a configuration page illustration according to an embodiment of this application.

[0154] like Figure 5 As shown, the terminal device only provides users with deployment options for "auxiliary communication capabilities":

[0155] "Automatically download and install auxiliary communication capabilities";

[0156] "Automatically download auxiliary communication capabilities and prompt installation information";

[0157] "Do not download auxiliary communication capabilities, only provide prompts";

[0158] "No auxiliary communication capabilities are indicated; only logging is performed."

[0159] Upon completion of S301, terminal device 200 is triggered to execute S302.

[0160] S302, terminal device 200 triggers its own mobility registration.

[0161] Specifically, mobility registration of a terminal device refers to the process by which a terminal device registers with the base station equipment to access the base station's mobile communication network. Since the execution of S302 is equivalent to the terminal device 200 reconnecting to the base station equipment 201, communication tasks cannot be executed synchronously during the execution of S302. In other words, if mobility registration is triggered during the execution of a communication task, the ongoing communication task will be interrupted.

[0162] Therefore, in order to avoid interrupting the ongoing communication task and to prevent the loss of communication data, in one embodiment, S302 is executed after the current communication task is completed.

[0163] Specifically, in one embodiment, after the terminal device 200 has deployed new communication capabilities, a notification message is sent to the communication protocol stack of the terminal device 200. This notification message is used to instruct the communication protocol stack to initiate mobility registration. In response to the notification message, the communication protocol stack checks whether a communication link is currently in use. If a communication link is currently in use, it indicates that a communication task is currently being executed, and mobility registration cannot be initiated immediately. The communication protocol stack will initiate mobility registration after the communication task is completed and the communication link is released. If no communication link is currently in use, it indicates that no communication task is currently being executed, and the communication protocol stack directly initiates mobility registration.

[0164] Furthermore, after the communication task is completed and the communication protocol stack releases the communication link, the access layer of the communication protocol stack will report a system message that the communication link has been released to the application layer to indicate that the communication task has ended.

[0165] Therefore, in order to avoid initiating mobility registration when the communication protocol stack has not released the communication link, in one embodiment, after the terminal device 200 has deployed new communication capabilities, if there is currently a communication link in use, the communication protocol stack is triggered to initiate mobility registration after the access layer of the communication protocol stack reports a system message that the communication link has been released.

[0166] Specifically, Figure 7 The diagram shown is a partial flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0167] In one embodiment, after the terminal device 200 has completed the deployment of the new communication capability (after S301), the terminal device 200 performs the following... Figure 7 The process shown triggers the execution of S302.

[0168] S600: After the terminal device 200 has completed the deployment of new communication capabilities, the operating system of the terminal device 200 sends a notification message to the communication protocol stack of the terminal device 200. This notification message is used to notify the communication protocol stack to start mobility registration.

[0169] S601, the communication protocol stack responds to the notification message to confirm whether a communication link is currently in use.

[0170] If a communication link is currently in use, the communication protocol stack executes S602.

[0171] S602, after the communication task is completed, the communication protocol stack releases the communication link. When the communication link is completely released, the access layer of the communication protocol stack will report a system message that the communication link has been released to the application layer.

[0172] S604: When the access layer of the communication protocol stack reports a system message that the communication link has been released, the communication protocol stack is triggered to start mobility registration.

[0173] If there is no communication link currently in use, execute S605.

[0174] S605, the communication protocol stack initiates mobility registration.

[0175] According to the method in this application embodiment, mobility registration is only initiated after ensuring that the communication protocol stack releases the communication link, thus avoiding interruption of the ongoing communication task and preventing the loss of communication data.

[0176] S303, the mobility registration of terminal device 200 triggers base station device 201 to send a terminal capability query command to terminal device 200.

[0177] S304, Terminal device 200 receives a terminal capability query command sent by base station device 201.

[0178] In S305, in response to the terminal capability query command, the terminal device 200 reports the communication capabilities currently supported by the terminal device 200 to the base station device 201. The communication capabilities reported by the terminal device 200 include the newly deployed communication capability A of the terminal device 200 in S301.

[0179] S306, the base station device 201 interacts with the terminal device 200 based on the communication capabilities reported by the terminal device 200, and the communication capabilities reported by the terminal device 200 are made effective. The communication capabilities made effective by the interaction between the base station device 201 and the terminal device 200 include the newly deployed communication capability A of the terminal device 200 in S301.

[0180] According to the method in the embodiments of this application, the terminal device actively triggers its own mobility registration, which in turn triggers the base station device to re-query the communication capabilities of the terminal device. This allows the terminal device to quickly report and activate the new communication capabilities after deployment, thus shortening the activation cycle of the new communication capabilities.

[0181] Furthermore, in some communication application scenarios, the effectiveness of communication capabilities is subject to communication area (cell) restrictions. For example, for communication capability B which is in trial status, communication capability B can only be effective when the terminal device accesses a specific cell.

[0182] In one embodiment, for the above application scenario, for a cell where communication capability B can be enabled, each newly accessed terminal device in the cell is monitored, and communication capability B is pushed to each newly accessed terminal device.

[0183] That is, before the terminal device accesses a cell where communication capability B can be activated, it has not deployed communication capability B. After the terminal device accesses a cell where communication capability B can be activated, it is based on... Figure 4 The process shown deploys communication capability B and makes communication capability B effective.

[0184] Figure 8 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0185] S620, terminal device 610 monitors changes in the accessed cell.

[0186] If the cell accessed by terminal device 610 has not changed, return to S620.

[0187] When the cell accessed by terminal device 610 changes

[0188] S621, terminal device 610 reports the cell information of the newly accessed cell to base station device 611.

[0189] S622, the base station device 611 sends the cell information reported by the terminal device 610 to the server device 612.

[0190] S623, the server device 612 determines whether the cell where the terminal device 610 is located is a cell that can activate communication capability B based on the cell information reported by the terminal device 610.

[0191] Specifically, in one embodiment, the server device 612 calls the cell whitelist corresponding to communication capability B. The cell whitelist is used to store the cell identifiers of all cells that can have communication capability B enabled. For example, the cell whitelist corresponding to communication capability B includes the cell identifier of cell X.

[0192] Based on the cell whitelist corresponding to communication capability B, server device 612 determines whether terminal device 610 is currently in a cell where communication capability B can be enabled, according to the cell information reported by terminal device 610.

[0193] In S623, when the server device 612 determines that the cell where the terminal device 610 is located is a cell where communication capability B can be enabled, S624 is executed.

[0194] S624, the server device 612 pushes the communication capability B activation command corresponding to the current cell to the terminal device 610 through the base station device 611.

[0195] S625, after receiving the instruction to enable communication capability B for the current cell, the terminal device 610 confirms whether communication capability B has been deployed.

[0196] When communication capability B has not been deployed on terminal device 610, terminal device 610 executes S626.

[0197] S626, Terminal device 610 downloads the communication capability configuration file of communication capability B, and deploys communication capability B on terminal device 610 according to the communication capability configuration file of communication capability B.

[0198] Specifically, in the communication capability configuration file of communication capability B, communication capability B is marked as a communication capability that is limited to the cell.

[0199] In S625, terminal device 610 determines that communication capability B has been deployed, or terminal device 610 executes S626 to complete the deployment of communication capability B, triggering terminal device 610 to execute S627.

[0200] For example, if terminal device 610 has previously accessed the current cell, then terminal device 610 has previously downloaded the communication capability configuration file of communication capability B and deployed communication capability B according to the communication capability configuration file of communication capability B.

[0201] S627, Terminal device 610 initiates mobility registration.

[0202] The mobility registration of terminal device 610 triggers base station device 611 to execute S627.

[0203] S628, base station equipment 611 sends a terminal capability query command to terminal equipment 610.

[0204] S629, in response to the terminal capability query command, the terminal device 610 reports the current communication capabilities of the terminal device 610 to the base station device 611, wherein the communication capability B is marked as a communication capability effective in a limited cell, and the terminal device 610 obtains the communication capability B activation command corresponding to the current cell, and the communication capabilities reported by the terminal device 610 include communication capability B.

[0205] S630, the base station device 611 interacts with the terminal device 610 based on the communication capabilities reported by the terminal device 610, and activates the communication capabilities reported by the terminal device 610, wherein the activated communication capabilities include communication capability B.

[0206] In S623, when the server device 612 determines that the cell where the terminal device 610 is located is not a cell where communication capability B can be enabled, the server device 612 does not push the communication capability B activation instruction for the corresponding current cell. That is, communication capability B is not deployed on the terminal device 610, or communication capability B is deployed on the terminal device 610 but the terminal device 610 has not obtained the communication capability B activation instruction for the corresponding current cell.

[0207] In the above situation, when the terminal device 610 reports its communication capabilities to the base station device 611 (the communication capability reporting can be triggered in any way), since the terminal device 610 does not have communication capability B deployed on it, the communication capabilities reported by the terminal device 610 do not include communication capability B.

[0208] Alternatively, when terminal device 610 reports communication capabilities to base station device 611, although communication capability B is deployed on terminal device 610, communication capability B is marked as a communication capability that is limited to a specific cell, and terminal device 610 has not obtained the instruction to enable communication capability B for the current cell. Therefore, the communication capabilities reported by terminal device 610 do not include communication capability B.

[0209] According to the scheme in the above embodiments, it can be ensured that the terminal device will deploy and take effect with specific communication capabilities only after it has accessed the designated cell.

[0210] However, since the terminal device needs to download the new communication capability configuration file after accessing the designated cell for the first time before the new communication capability can be deployed and take effect, the new communication capability cannot take effect quickly when the terminal device accesses the cell.

[0211] Furthermore, since the terminal device deploys and activates new communication capabilities after accessing a designated cell, if the terminal device leaves the designated cell and accesses a new cell without re-reporting the communication capabilities, the new communication capabilities may continue to be effective. This makes it impossible to restrict the effectiveness of the new communication capabilities to the designated cell.

[0212] To address the aforementioned issues, in another embodiment, when a communication capability B needs to be active in a designated cell, the communication capability B is pushed to the terminal device, without limiting whether the terminal device has already accessed a cell where the communication capability B can be active.

[0213] After receiving the push notification, the terminal device downloads the communication capability configuration file corresponding to communication capability B. This communication capability configuration file contains a cell whitelist corresponding to communication capability B, which contains the cell identifiers of all cells that can have communication capability B enabled.

[0214] After the terminal device downloads the communication capability configuration file, it deploys communication capability B.

[0215] After the terminal device has deployed communication capability B, when the terminal device detects a change in the access cell, it determines whether the newly accessed cell is a cell for which communication capability B can be enabled, based on the cell whitelist corresponding to communication capability B. When the terminal device determines that the newly accessed cell is a cell for which communication capability B can be enabled, it triggers the base station to re-query the terminal device's communication capabilities, thereby reporting communication capability B to the base station to enable communication capability B.

[0216] When the terminal device determines that the newly accessed cell is not a cell where communication capability B can be enabled, the terminal device communicates normally with the base station within the cell until it accesses a new cell and repeats the above process. During the normal communication between the terminal device and the base station within the cell, the terminal device does not report communication capability B each time it reports its communication capabilities.

[0217] Furthermore, considering that when a terminal device receives a push notification for communication capability B, it determines whether the cell it is currently in is a cell where communication capability B can be enabled based on the cell whitelist corresponding to communication capability B. When the terminal device determines that the cell it is currently in is a cell where communication capability B can be enabled, it triggers the base station device to re-query the terminal device's communication capabilities, thereby reporting communication capability B to the base station device to enable communication capability B.

[0218] Figure 9 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0219] In S700, server device 710 pushes the communication capability configuration file of communication capability B and the cell whitelist corresponding to communication capability B to terminal device 712 through base station device 711.

[0220] Specifically, in the communication capability configuration file for communication capability B, communication capability B is marked as a communication capability that is limited to certain cells. The cell whitelist corresponding to communication capability B is used to store the cell identifiers of all cells that can have communication capability B enabled.

[0221] S701, Terminal device 712 deploys communication capability B according to the communication capability configuration file.

[0222] Following S701, the terminal device 712, based on the newly deployed communication capability B as the communication capability effective for the limited cell, triggers the terminal device 712 to execute the following S702 and subsequent steps.

[0223] If the newly deployed communication capability is not a communication capability that is limited to the cell, the terminal device 712 is triggered to execute S302 and subsequent steps to directly activate the newly deployed communication capability.

[0224] S702, the terminal device 712 determines whether the current cell is a cell where communication capability B can be enabled.

[0225] Specifically, in one embodiment, the terminal device 712 calls the cell whitelist corresponding to communication capability B, and based on the cell whitelist corresponding to communication capability B, determines whether it is currently in a cell where communication capability B can be effective, according to the cell information of the cell it is currently in.

[0226] In S702, if the terminal device 712 determines that the current cell is a cell where communication capability B can be enabled, then S703 is executed.

[0227] S703, terminal device 712 triggers base station device 711 to re-query the communication capabilities of terminal device.

[0228] In one embodiment, the execution of S703 may refer to S302.

[0229] S704, base station equipment 711 sends a terminal capability query command to terminal equipment 712.

[0230] In S705, in response to the terminal capability query command, the terminal device 712 reports the communication capabilities currently supported by the terminal device 711 to the base station device 711. Based on the determination result of S702 (the current cell is a cell that can activate communication capability B), the communication capabilities reported by the terminal device 712 include communication capability B.

[0231] S706, the base station device 711 interacts with the terminal device 712 based on the communication capabilities reported by the terminal device 712, and the communication capabilities reported by the terminal device 712 are made effective. The communication capabilities made effective by the interaction between the base station device 711 and the terminal device 712 include communication capability B.

[0232] In S702, if the terminal device 712 determines that the cell it is currently in is not a cell that can activate communication capability B, it executes S707.

[0233] S707, Changes in the monitored cell network.

[0234] When the accessed cell has not changed, return to S707. Furthermore, when the accessed cell has not changed, based on the determination result of S702 (the current cell is not a cell that can activate communication capability B), and the fact that communication capability B marked in the communication capability configuration file is a communication capability that is limited to the cell, when the terminal device 712 reports the communication capability to the base station device 711, it does not report the communication capability B.

[0235] When the accessed cell changes, S708 is executed.

[0236] S708, Terminal device 712 determines whether the newly accessed cell is a cell that can activate communication capability B. (Refer to S702)

[0237] In S708, if the terminal device 712 determines that the newly accessed cell is a cell that can activate communication capability B, then S703 is executed.

[0238] Furthermore, in one embodiment, if the terminal device 712 determines in S702 that the cell it is currently in is a cell where communication capability B can be enabled, the terminal device 712 executes S703, and the terminal device 712 triggers its own mobility registration.

[0239] Considering that when a terminal device accesses a new cell, it will trigger the base station device to re-query the terminal device's communication capabilities, for example, when terminal device 712 accesses a new cell, it will trigger its own mobility registration, thereby triggering base station device 711 to re-query the communication capabilities of terminal device 712.

[0240] Therefore, in one embodiment, if the terminal device 712 determines in S708 that the newly accessed cell is a cell that can activate communication capability B, since the terminal device 712 is currently accessing a new cell, the terminal device 712 does not need to trigger its own mobility registration again when executing S703. It only needs to wait for the mobility registration triggered by the new cell access behavior to trigger the base station device 711 to re-query the communication capability of the terminal device 712.

[0241] Furthermore, considering that in some application scenarios, when terminal device 712 accesses a new cell, it will not trigger base station device 711 to re-query the communication capabilities of terminal device 712.

[0242] Therefore, in one embodiment, if the terminal device 712 determines in S708 that the newly accessed cell is a cell that can activate communication capability B, when executing S703, the terminal device 712 waits for the base station device 711 to send a terminal capability query instruction to the terminal device 712. If the terminal capability query instruction is not received after a preset time, the terminal device 712 triggers its own mobility registration and triggers the base station device 711 to re-query the communication capability of the terminal device 712.

[0243] In S708, if the terminal device 712 determines that the newly accessed cell is not a cell for which communication capability B can be enabled, it returns to S707. Furthermore, in the newly accessed cell, based on the determination result of S708 (the newly accessed cell is not a cell for which communication capability B can be enabled), and the fact that communication capability B marked in the communication capability configuration file is a communication capability that is limited to a specific cell, the terminal device 712 does not report communication capability B when reporting communication capabilities to the base station device 711.

[0244] The method according to the embodiments of this application can activate the corresponding communication capabilities when a terminal device accesses a designated cell. The method according to the embodiments of this application can quickly activate communication capabilities, expand the application scenarios for deploying communication capabilities, and improve the user experience of deploying communication capabilities.

[0245] Furthermore, based on Figure 9 The scheme in the illustrated embodiment requires sending the cell whitelist corresponding to communication capability B to each terminal device. When updating the cell whitelist corresponding to communication capability B (changing the cell with effective communication capability B), it is necessary to refresh the cell whitelist corresponding to communication capability B stored on all terminal devices. This undoubtedly increases the difficulty of updating the cell whitelist corresponding to communication capability B. Especially in trial scenarios of communication capability B, where it is necessary to frequently change the cell with effective communication capability B to experiment with the effects of communication capability B in different cells, based on... Figure 9 The scheme of the embodiment shown undoubtedly greatly increases the experimental difficulty of communication capability B.

[0246] Therefore, in another embodiment, the cell whitelist corresponding to communication capability B is not stored on the terminal device, but is stored on the network side (base station equipment, and / or server equipment connected to the base station equipment). The base station equipment and / or the server equipment connected to the base station equipment determine whether the cell accessed by the terminal device is a cell that can have communication capability B enabled.

[0247] Specifically, in one embodiment, when there is a communication capability B that needs to be effective in a designated cell, the communication capability B is pushed to the terminal device, without limiting whether the terminal device has already accessed a cell where the communication capability B can be effective.

[0248] After receiving the push notification, the terminal device downloads the communication capability configuration file corresponding to communication capability B and deploys communication capability B.

[0249] After the terminal device has deployed communication capability B, when the terminal device detects a change in the access cell, the terminal device reports the current cell information to the base station device.

[0250] Based on the cell whitelist corresponding to communication capability B, the base station equipment or the server equipment connected to the base station equipment determines whether the cell newly accessed by the terminal equipment is a cell that can have communication capability B enabled, according to the cell information reported by the terminal equipment.

[0251] When the base station equipment or the server equipment connected to the base station equipment determines that the cell newly accessed by the terminal equipment is a cell where communication capability B can be enabled, it issues a capability activation instruction for communication capability B to the terminal equipment.

[0252] After receiving the capability activation instruction for communication capability B, the terminal device triggers the base station device to re-query the terminal device's communication capabilities, thereby reporting communication capability B to the base station device to make communication capability B effective.

[0253] When the base station equipment or the server equipment connected to the base station equipment determines that the cell newly accessed by the terminal equipment is not a cell in which communication capability B can be enabled, it will not issue a capability activation instruction for communication capability B to the terminal equipment.

[0254] If no capability activation instruction for communication capability B is received, the terminal device communicates normally with the base station within the cell until it connects to a new cell and repeats the above process. During normal communication between the terminal device and the base station within the cell, the terminal device does not report communication capability B each time it reports its communication capabilities.

[0255] Furthermore, considering that the terminal device may already be in a cell where communication capability B can be effective when it receives the push notification for communication capability B, it should immediately report the current cell information after the terminal device has deployed communication capability B, instead of waiting for the cell information to change before reporting.

[0256] Figure 10 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0257] S800, server device 820 pushes the communication capability configuration file of communication capability B to terminal device 822 through base station device 821.

[0258] Specifically, in the communication capability configuration file of communication capability B, communication capability B is marked as a communication capability that is limited to the cell.

[0259] S801, Terminal device 822 deploys communication capability B according to the communication capability configuration file.

[0260] Following S801, the terminal device 822, based on the newly deployed communication capability B as the communication capability that is effective in the limited cell, triggers the terminal device 822 to execute the following S802 and subsequent steps.

[0261] If the newly deployed communication capability is not a communication capability that is limited to the cell, the terminal device 822 is triggered to execute S302 and subsequent steps to directly activate the newly deployed communication capability.

[0262] S802, terminal device 822 reports the cell information of the cell it is currently in to base station device 821.

[0263] S803, the base station device 821 sends the cell information reported by the terminal device 822 to the server device 820.

[0264] S804, the server device 820 determines whether the cell where the terminal device 822 is located is a cell that can activate communication capability B based on the cell information reported by the terminal device 822.

[0265] Specifically, in one embodiment, the cell information reported by the terminal device 822 is bound to the communication capability identifier information of communication capability B. The server device 820 identifies the communication capability B based on the communication capability identifier information bound to the cell information, and calls the cell whitelist corresponding to the communication capability B. The cell whitelist is used to store the cell identifiers of all cells that can have the communication capability B enabled. For example, the cell whitelist corresponding to the communication capability B includes the cell identifier of cell X.

[0266] Based on the cell whitelist corresponding to communication capability B, server device 820 determines whether terminal device 822 is currently in a cell where communication capability B can be enabled, according to the cell information reported by terminal device 822.

[0267] In S804, when the server device 820 determines that the cell where the terminal device 822 is located is a cell where communication capability B can be enabled, S805 is executed.

[0268] S805, server device 820 sends a capability activation command for communication capability B to terminal device 822 through base station device 821.

[0269] After S802, terminal device 822 executes S830 and starts timing.

[0270] S806, based on the timing result of S830, after the terminal device 822 receives the capability activation instruction for communication capability B within a predetermined time period, it triggers the base station device 821 to re-query the communication capability of the terminal device 822.

[0271] Furthermore, in S806, the timing of S830 stops and the timing result is reset to zero.

[0272] In one embodiment, the execution of S806 may refer to S302.

[0273] S807, base station device 821 sends a terminal capability query command to terminal device 822.

[0274] In S808, in response to the terminal capability query command, the terminal device 822 reports the communication capabilities currently supported by the terminal device 821 to the base station device 821. The communication capabilities reported by the terminal device 822 include communication capability B, based on the capability activation command for communication capability B.

[0275] S809, the base station device 821 interacts with the terminal device 822 based on the communication capabilities reported by the terminal device 822, and the communication capabilities reported by the terminal device 822 are made effective. The communication capabilities made effective by the interaction between the base station device 821 and the terminal device 822 include communication capability B.

[0276] In S804, when the server device 820 determines that the cell where the terminal device 822 is located is not a cell where communication capability B can be enabled, it does not issue a capability activation instruction for communication capability B.

[0277] If, based on the timing result of S830, the terminal device 822 does not receive a capability activation instruction for communication capability B for a predetermined period of time, the terminal device 822 executes S810 to monitor changes in the accessed cell.

[0278] Furthermore, in S810, the timing of S830 stops and the timing result is reset to zero.

[0279] In S810, when the cell monitored by the terminal device 822 remains unchanged, it returns to S810 to continue monitoring. Furthermore, during the process when the cell accessed by the terminal device 822 remains unchanged, based on the determination result of S804 (the current cell is not a cell that can activate communication capability B), the communication capability B marked in the communication capability configuration file is a communication capability that is limited to the cell. When the terminal device 822 reports the communication capability to the base station device 821, it does not report the communication capability B.

[0280] In S810, when the terminal device 822 detects a change in the accessed cell, it executes S811.

[0281] S811, terminal device 822 reports the cell information of the newly accessed cell to base station device 821.

[0282] S812, the base station device 821 sends the cell information reported by the terminal device 822 to the server device 820.

[0283] S813, the server device 820 determines whether the cell newly accessed by the terminal device 822 is a cell that can activate communication capability B based on the cell information reported by the terminal device 822.

[0284] In S813, when the server device 820 determines that the cell newly accessed by the terminal device 822 is a cell that can activate communication capability B, S840 is executed.

[0285] S840, server device 820 sends a capability activation command for communication capability B to terminal device 822 through base station device 821.

[0286] After S811, terminal device 822 executes S831 and starts timing.

[0287] In step S841, based on the timing result of S831, after receiving a capability activation command for communication capability B within a predetermined time period, the base station device 821 is triggered to re-query the communication capability of the terminal device 822. (Refer to S806)

[0288] Furthermore, in S841, the timing of S831 stops and the timing result is reset to zero.

[0289] In one embodiment, the execution of S841 may refer to S302.

[0290] S842, base station device 821 sends a terminal capability query command to terminal device 822.

[0291] S843, in response to the terminal capability query command, the terminal device 822 reports the communication capabilities currently supported by the terminal device 821 to the base station device 821. Among them, based on the capability activation command for communication capability B, the communication capabilities reported by the terminal device 822 include communication capability B.

[0292] S844, the base station device 821 interacts with the terminal device 822 based on the communication capabilities reported by the terminal device 822, and the communication capabilities reported by the terminal device 822 are made effective. The communication capabilities made effective by the interaction between the base station device 821 and the terminal device 822 include communication capability B.

[0293] Furthermore, in one embodiment, after the server device 820 determines in S804 that the current cell is a cell where communication capability B can be enabled, and after the server device 820 executes S805 to send a capability enable instruction for communication capability B to the terminal device 822, the terminal device 822 triggers its own mobility registration during the execution of S806, so as to trigger the base station device 821 to re-query the communication capability of the terminal device 822.

[0294] Considering that when a terminal device accesses a new cell, it will trigger the base station device to re-query the terminal device's communication capabilities, for example, when terminal device 822 accesses a new cell, it will trigger its own mobility registration, thereby triggering base station device 821 to re-query the terminal device 822's communication capabilities.

[0295] Therefore, in one embodiment, if the server device 820 determines in S813 that the cell that the terminal device 822 is currently accessing is a cell that can activate communication capability B, since the terminal device 822 is currently accessing a new cell, the terminal device 822 does not need to trigger its own mobility registration again when executing S841. It only needs to wait for the mobility registration triggered by the new cell access behavior to trigger the base station device 821 to re-query the communication capability of the terminal device 822.

[0296] Furthermore, considering that in some application scenarios, when terminal device 822 accesses a new cell, it will not trigger base station device 821 to re-query the communication capabilities of terminal device 822.

[0297] Therefore, in one embodiment, if the server device 820 determines in S813 that the cell that the terminal device 822 has just accessed is a cell that can activate communication capability B, when the terminal device 822 executes S841, it waits for the base station device 821 to send a terminal capability query instruction to the terminal device 822. If the terminal capability query instruction is not received after a preset time, the terminal device 822 triggers its own mobility registration and triggers the base station device 821 to re-query the communication capability of the terminal device 822.

[0298] In S813, when the server device 820 determines that the cell newly accessed by the terminal device 822 is not a cell that can enable communication capability B, the server device 820 does not issue a capability activation instruction for communication capability B.

[0299] Return to S810. Furthermore, in the newly accessed cell, based on the determination result of S813 (the currently newly accessed cell is not a cell that can activate communication capability B), and the fact that communication capability B marked in the communication capability configuration file is a communication capability that is limited to the cell, when the terminal device 822 reports the communication capability to the base station device 821, it does not report communication capability B.

[0300] According to the method of this application embodiment, when a terminal device accesses a designated cell, the server device can determine whether the corresponding communication capability should be activated on the terminal device. The method of this application embodiment can quickly activate communication capabilities, expand the application scenarios for deploying communication capabilities, and improve the user experience of deploying communication capabilities.

[0301] According to the method of this application embodiment, when updating cells that can activate specific communication capabilities, only the whitelist stored on the server device needs to be updated. The method of this application embodiment can improve the flexibility and controllability of communication capability deployment.

[0302] This application does not impose specific restrictions on the communication capabilities deployed on the terminal device. Those skilled in the art can design communication capabilities that meet the application scenario requirements and create corresponding computer program instructions according to actual needs.

[0303] For example, taking the application scenario of Radio Resource Control (RRC) release as an example, the UE Assistance Information (UAI) of the 5G communication protocol version 16 (5G R16) provides a low-power solution, which includes that when the base station detects that the UE is in the RRC connected state and has not performed uplink or downlink data transmission for a long time, it will start UeInactiveTimer, and after the timeout, release the RRC link and enter the RRC Inactive state.

[0304] In the above scheme, the base station equipment determines whether to release the RRC link to save power.

[0305] To improve the flexibility of releasing RRC links and expand the application scenarios of low-power solutions, one embodiment provides a fast RRC release capability for RRC release scenarios. Based on the fast RRC release capability, the terminal device can autonomously decide when to release the RRC link to reduce energy consumption.

[0306] Figure 11 The diagram shown is a flowchart of a method for configuring communication capabilities according to an embodiment of this application.

[0307] S910, the server device pushes the communication capability configuration file of RRC fast release capability to the terminal device 902 through the base station device 901.

[0308] S912, terminal device 902 deploys RRC fast release capability according to the communication capability configuration file of RRC fast release capability.

[0309] S913, terminal device 902 sends notification information to the communication protocol stack.

[0310] S914, the communication protocol stack confirms whether a communication link is currently in use.

[0311] If a communication link is currently in use, execute S915.

[0312] S915, awaiting the release of the communication link.

[0313] S916: After the communication task is completed, the communication protocol stack releases the communication link.

[0314] S917 is a system message from the access layer reporting that the communication link has been released.

[0315] S918, triggers mobility registration.

[0316] If there is no communication link currently in use, execute S918.

[0317] S919, the mobility registration of terminal device 902 triggers base station device 901 to send a terminal capability query command to terminal device 902.

[0318] S920, terminal device 902 receives a UECapabilityEnquiry command sent by base station device 901.

[0319] S921, in response to the terminal capability query command, the terminal device 902 reports to the base station device 901 the communication capabilities currently supported by the terminal device 902, wherein the communication capabilities reported by the terminal device 902 include the RRC fast release capability.

[0320] For example, the information reported by terminal device 902 to base station device 901 includes a description of the RRC fast release capability:

[0321] UECapabilityinformation(PowSav-ParametersCommon-r16>releasePreference-r16).

[0322] S922, based on the RRC fast release capability reported by the terminal device 902, the base station device 901 sends the parameter configuration for the RRC fast release capability to the terminal device 902.

[0323] For example, base station device 901 sends parameter configurations for RRC fast release capability to terminal device 902:

[0324] RRCReconfiguration(RRCReconfiguration-v1610-IEs>OtherConfig-v1610>releasePreferenceConfig-r16>releasePreferenceProhibitTimer-r16=10s)

[0325] S923, Terminal device 902 reports to base station device 901 that the RRC fast release capability configuration is complete.

[0326] For example, terminal device 902 feeds back to base station device 901:

[0327] RRCReconfigurationComplete.

[0328] Following S923, the RRC fast release capability takes effect on terminal device 902. Terminal device 902 can autonomously decide the time to release the RRC link based on the parameter configuration of the RRC fast release capability and the application scenario.

[0329] Specifically, such as Figure 11 As shown, after S923, terminal device 902 executes S924.

[0330] S924, terminal device 902 identifies application scenarios based on RRC fast release capability parameter configuration.

[0331] S925, based on the identified application scenario, terminal device 902 determines that the RRC link needs to be released.

[0332] S926, Terminal device 902 reports the trend RRC status indication to base station device 901.

[0333] For example, terminal device 902 reports to base station device 901:

[0334] UEAssistanceInformation(UEAssistanceInformation-v1610-IEs>releasePreference-r16>PreferedRRC-State-r16)

[0335] S927, base station equipment 901 releases the RRC link based on the RRC status indication reported by terminal equipment 902.

[0336] S928, base station equipment 901 sends a message to terminal equipment 902 that the RRC link has been released (RRCRelease).

[0337] In the description of the embodiments of this application, for the sake of convenience, the device is described by dividing it into various modules according to its functions. The division of each module is only a logical functional division. When implementing the embodiments of this application, the functions of each module can be implemented in one or more software and / or hardware.

[0338] Specifically, the apparatus proposed in this application can be fully or partially integrated onto a single physical entity (e.g., a GPU or other type of processor), or it can be physically separated. These modules can be implemented entirely in software via processing element calls; entirely in hardware; or some modules can be implemented in software via processing element calls, while others are implemented in hardware. For example, the detection module can be a separate processing element or integrated into a chip in an electronic device. The implementation of other modules is similar. Furthermore, these modules can be fully or partially integrated together or implemented independently. During implementation, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0339] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). Alternatively, these modules can be integrated together as a system-on-a-chip (SOC).

[0340] An embodiment of this application also proposes an electronic device. This electronic device is used to execute the method flow or part of the method flow described in the embodiments of this application. This electronic device is a terminal device, base station device, or server device as described in the embodiments of this specification.

[0341] Figure 12 This is a schematic diagram of an electronic device structure according to an embodiment of this application.

[0342] like Figure 12 As shown, the electronic device 2500 includes a memory 2502 for storing computer program instructions and a processor 2501 for executing the program instructions. When the computer program instructions are executed by the processor 2501, the electronic device 2500 is triggered to execute the method steps performed by the terminal device, base station device, or server device as described in the embodiments of this application.

[0343] Specifically, in one embodiment of this application, the aforementioned one or more computer programs are stored in the aforementioned memory 2502. The aforementioned one or more computer programs include instructions that, when executed by the aforementioned electronic device 2500, cause the aforementioned electronic device 2500 to perform the method steps described in the embodiments of this application.

[0344] It is understood that the structural description of the electronic device 2500 in this application does not constitute a specific limitation on the electronic device 2500. In other embodiments of this application, the electronic device 2500 may include other components besides the processor 2501 and the memory 2502.

[0345] The processor 2501 may be an on-chip device (SOC) that may include a central processing unit (CPU) and may further include other types of processors.

[0346] The processor 2501 may include, for example, a CPU, DSP, microcontroller, or digital signal processor, and may also include a GPU, embedded neural network processing units (NPUs), and image signal processors (ISPs). The processor may also include necessary hardware accelerators or logic processing hardware circuitry, such as an ASIC, or one or more integrated circuits for controlling the execution of the program in this application. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.

[0347] Processor 2501 may include one or more processing units. For example, a processor may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent components or integrated into one or more processors. In some embodiments, electronic device 2500 may also include one or more processors 2501. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0348] In some embodiments, the processor 2501 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface is a USB standard-compliant interface, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface can be used to connect a charger to charge the electronic device, and can also be used for data transfer between the electronic device and peripheral devices.

[0349] Electronic device 2500 may also include an external memory interface for connecting an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with processor 2501 through the external memory interface to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0350] The memory 2502 may include a code storage area and a data storage area. The code storage area may store the operating system. The data storage area may store data created during the use of the electronic device 2500. Furthermore, the memory 2502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc.

[0351] The memory 2502 may be a read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), or other types of dynamic storage devices capable of storing information and instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices. Alternatively, it may be any computer-readable medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer.

[0352] Processor 2501 and memory 2502 can be combined into a single processing device, but more commonly they are separate components.

[0353] An embodiment of this application also provides an electronic chip. This electronic chip is used to execute the method flow or part of the method flow described in the embodiments of this application.

[0354] Specifically, the electronic chip includes a processor for executing program instructions. When the computer program instructions are executed by the processor, the electronic chip is triggered to perform the steps described in the embodiments of this application. The processor of the electronic chip can refer to the processor of the above-described electronic device.

[0355] Optionally, the devices, apparatuses, and modules described in the embodiments of this application may be implemented by computer chips or physical entities, or by products with certain functions.

[0356] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media containing computer-usable program code.

[0357] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0358] Specifically, one embodiment of this application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to execute the method provided in the embodiment of this application.

[0359] An embodiment of this application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to perform the method provided in the embodiment of this application.

[0360] The embodiments described in this application are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0361] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0362] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0363] It should also be noted that in the embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.

[0364] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0365] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0366] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0367] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments of this application can be implemented using electronic hardware, computer software, or a combination of electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0368] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0369] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A method for configuring communication capabilities, characterized in that, The method is applied to a terminal device connected to a base station device, and the method includes: Deploy communication capabilities on the terminal device; When the communication capability is deployed, an active reporting operation is triggered, wherein the active reporting operation is used to trigger the base station device to re-query the communication capability of the terminal device; In response to the base station device re-querying the communication capabilities of the terminal device, the communication capabilities are reported to the base station device; The communication capability is activated based on the interaction with the base station equipment.

2. The method according to claim 1, characterized in that, The deployment of communication capabilities on the terminal device includes: The system receives a communication capability configuration file pushed by a server device, the communication capability configuration file containing computer program instructions for implementing the communication capability; The communication capabilities are added to the terminal device according to the communication capability configuration file.

3. The method according to claim 1, characterized in that, The proactive reporting operation includes: Initiate mobility registration.

4. The method according to claim 3, characterized in that, The execution of the active reporting operation includes: A notification message is sent to the communication protocol stack of the terminal device, the notification message being used to notify the communication protocol stack to initiate mobility registration; In response to the notification information, the communication protocol stack confirms whether a communication link is in use; When there is no communication link in use, the communication protocol stack initiates mobility registration.

5. The method according to claim 4, characterized in that, The method further includes: If a communication link is in use, wait for the communication link to be released; After the communication link is released, the communication protocol stack initiates mobility registration.

6. The method according to claim 1, characterized in that, The communication capability includes a rapid release capability for wireless resource control, which enables the terminal device to autonomously decide when the base station device releases wireless resource control.

7. The method according to claim 6, characterized in that, The activation of the communication capability based on interaction with the base station device includes: Receive the parameter configuration of the rapid release capability of the radio resource control sent by the base station equipment; The system sends a message to the base station equipment confirming that the rapid release capability for wireless resource control has been configured.

8. The method according to any one of claims 1-7, characterized in that, The execution of the active reporting operation includes: The base station equipment reports the cell information of the cell accessed by the terminal device. The terminal device receives a capability activation instruction sent by the base station equipment, wherein the capability activation instruction is sent when the cell accessed by the terminal device is a cell in which the communication capability can be enabled; In response to the capability activation command, the base station device is triggered to re-query the communication capabilities of the terminal device.

9. The method according to claim 8, characterized in that: The step of reporting cell information of the cell accessed by the terminal device to the base station device includes: when the communication capability is marked as cell-limited, reporting cell information of the cell accessed by the terminal device to the base station device; The active reporting operation further includes: when the communication capability is not marked as being effective in a limited cell, triggering the base station device to re-query the communication capability of the terminal device.

10. The method according to claim 8, characterized in that, The step of reporting cell information of the cell accessed by the terminal device to the base station device includes: After the communication capability is deployed, the cell information of the cell where the terminal device is currently located is reported to the base station equipment.

11. The method according to claim 10, characterized in that, The step of reporting the cell information of the cell accessed by the terminal device to the base station device also includes: In the absence of a capability activation command, monitor changes in the accessed cells; When accessing a new cell, the terminal device reports the cell information of the newly accessed cell to the base station equipment.

12. A method for configuring communication capabilities, characterized in that, The method is applied to a base station device connected to a terminal device, and the method includes: In response to the active reporting operation of the terminal device, the communication capabilities of the terminal device are re-queried, wherein the active reporting operation is triggered when the terminal device has completed the deployment of communication capabilities; Receive the communication capabilities reported by the terminal device; Interact with the terminal device to activate the communication capabilities.

13. The method according to claim 12, characterized in that, The proactive reporting operation includes initiating mobility registration; The step of responding to the terminal device's proactive reporting operation by re-querying the terminal device's communication capabilities includes: In response to the mobility registration of the terminal device, the communication capabilities of the terminal device are queried again.

14. The method according to claim 12, characterized in that, The communication capability includes a rapid release capability for wireless resource control, which enables the terminal device to autonomously decide when the base station device releases wireless resource control. The interaction with the terminal device to activate the communication capability includes: Based on the fast release capability of the radio resource control reported by the terminal device, send the parameter configuration of the fast release capability of the radio resource control to the terminal device; The terminal device reports that the wireless resource control rapid release capability has been configured.

15. The method according to any one of claims 12-14, characterized in that, The step of responding to the terminal device's proactive reporting operation by re-querying the terminal device's communication capabilities includes: Receive cell information of the cell that the terminal device is accessing, reported by the terminal device; When the cell accessed by the terminal device is a cell that enables the communication capability, a capability activation command is sent to the terminal device. The capability activation instruction is used to instruct the terminal device to trigger the base station device to re-query the communication capabilities of the terminal device.

16. An electronic device, characterized in that, The electronic device includes a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to perform the method as claimed in any one of claims 1-11 or any one of claims 12-15.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the method as claimed in any one of claims 1-11 or any one of claims 12-15.