Algorithm configuration method, device, equipment and computer readable storage medium

Through wireless LAN technology, the AC obtains algorithm activation instructions and activates the target algorithm software, generates control information and sends it to the AP, which solves the problem of fixed AP algorithms and enables flexible management and control of APs to adapt to different scenarios and needs.

CN112312414BActive Publication Date: 2024-10-15CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910673182.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-24
Publication Date
2024-10-15
Estimated Expiration
2039-07-24

AI Technical Summary

Technical Problem

In the existing wireless LAN technology, the algorithm in the AP is fixed, does not support flexible configuration and device decoupling, and cannot adapt to different scenarios and needs.

Method used

Obtain algorithm activation instructions through the AC, determine the target algorithm software ID, activate the target algorithm software, and generate control information based on the input data, and send it to the AP to achieve flexible management and control of the AP.

Benefits of technology

It realizes flexible management and control of APs, adapts to different scenarios and needs, supports flexible replacement and configuration of algorithms, and improves the adaptability of wireless networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112312414B_ABST
    Figure CN112312414B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose an algorithm configuration method, apparatus, device and computer-readable storage medium, wherein the method is applied to an AC, and the method includes: the AC obtains an algorithm activation instruction; activates the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction; inputs preset first data into the target algorithm software so that the target algorithm software outputs second data; generates control information according to the second data, and sends the control information to the AP.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to wireless communication technology, and relate to but are not limited to an algorithm configuration method, apparatus, device, and computer-readable storage medium. Background Art

[0002] With the development of wireless local area network (WLAN) technology and the advancement of national informatization construction, domestic operators have begun to deploy wireless access point (AP) equipment on a large scale to provide rich wireless broadband services in hot spots.

[0003] In wireless LAN technology, the wireless controller (AC, Access Controller) centrally controls the APs under its jurisdiction, and the AC and APs jointly complete the WLAN access function. This centralized networking method will be the development trend of WLAN networking architecture in the future. The network management platform indirectly manages the APs by directly managing the AC.

[0004] In the current solution for unified management of APs by AC, the algorithms in APs are generally fixed, and the algorithm updates generally follow the update of the entire AP software version. It will not be flexibly adjusted according to the scenario and specific needs, nor does it support flexible configuration of the algorithm and decoupling of the algorithm and the device. Therefore, it cannot adapt to different scenarios and needs well. Summary of the invention

[0005] In view of this, embodiments of the present application provide an algorithm configuration method, apparatus, algorithm configuration device, and computer-readable storage medium.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] In a first aspect of an embodiment of the present application, there is provided an algorithm configuration method, the method comprising:

[0008] AC obtains algorithm activation instructions;

[0009] Activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;

[0010] Inputting preset first data into the target algorithm software so that the target algorithm software outputs second data;

[0011] Generate control information according to the second data, and send the control information to the AP.

[0012] According to a second aspect of an embodiment of the present application, there is provided an algorithm configuration device, including:

[0013] An acquisition unit, used for acquiring an algorithm activation instruction;

[0014] An activation unit, used to activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;

[0015] An output unit, used for inputting preset first data into the target algorithm software, so that the target algorithm software outputs second data;

[0016] A generating unit is used to generate control information according to the second data and send the control information to the wireless network element.

[0017] According to a third aspect of the embodiments of the present application, an algorithm configuration device is provided, including:

[0018] Processor; and

[0019] a memory for storing a computer program executable on the processor;

[0020] Wherein, the computer program implements the steps of the above-mentioned control method when executed by the processor.

[0021] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored. The computer-executable instructions are configured to execute the steps of the above-mentioned control method.

[0022] The algorithm configuration method, device, equipment and computer-readable storage medium provided in the embodiments of the present application, AC activates the target algorithm software according to the target algorithm software ID determined by the activation instruction received, inputs the preset first data into the target algorithm software, and makes the target algorithm software output the second data; and generates control information according to the second data. Thus, the management and control of the AP is realized, and the algorithm can be flexibly replaced or configured by adjusting the input data and output data to adapt to different scenarios and requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1A This is a schematic diagram of the wireless communication system networking structure in an embodiment of the present application;

[0024] Figure 1B This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0025] Figure 2 This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0026] Figure 3 This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0027] Figure 4This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0028] Figure 5 This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0029] Figure 6 This is a schematic diagram of the algorithm configuration method implementation flow of the embodiment of the present application;

[0030] Figure 7 This is a schematic diagram of the composition structure of the algorithm configuration device according to an embodiment of the present application;

[0031] Figure 8 A schematic diagram of the composition structure of the algorithm configuration device of the embodiment of the present application. DETAILED DESCRIPTION

[0032] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and embodiments.

[0033] Before introducing the algorithm configuration method in the embodiment of the present application, a brief introduction to the application environment of AC is given. Figure 1A is a schematic diagram of the networking structure of the wireless communication system in the embodiment of the present application, such as Figure 1A As shown, the system includes: AP 30, AC 20 and network management platform 10. Among them, AP 30 is connected to AC 20, and AC 20 is responsible for access control and management of AP 30 and processing of specific wireless services. AC 20 provides wireless access services for wireless access terminals by controlling AP 30. Here, wireless access terminals may include mobile phones, computers, tablet computers, etc. The network management platform 10 is used to manage the network configuration information of the accessed AC 20 and AP 30, and control the Internet access status of AC 20 and AP 30.

[0034] Based on the wireless communication system provided in the embodiment of the present application, the embodiment of the present application first provides an algorithm configuration method, which is applied to the AC in the wireless communication system. The method provided in the embodiment can be implemented by a computer program, and when the computer program is executed, each step in the method provided in the embodiment is completed. In some embodiments, the computer program can be executed by a processor in the AC. Figure 1B This is a schematic diagram of the implementation flow of the algorithm configuration method of the embodiment of the present application, such as Figure 1B As shown, the method comprises the following steps:

[0035] Step S101, obtaining an algorithm activation instruction.

[0036] In the embodiment of the present application, the algorithm activation instruction can be triggered under various needs or scenarios. It can be an algorithm activation instruction triggered by itself, or it can be an algorithm activation instruction sent to AC through the network management platform. Here, the operation of the algorithm activation instruction triggered by AC or the network management platform includes: gesture sliding operation, voice command operation or specific key operation, etc. For example: when a specific key operation is performed on AC, AC can receive the algorithm activation instruction generated by pressing the specific key. For another example: when the touch operation of the network management platform is performed, the network management platform can obtain the data generated by the gesture sliding or clicking, match the data with the preset data to obtain the matching result, and generate the algorithm activation instruction. For another example: when the voice operation is performed on AC or the network management platform, the AC or the network management platform performs semantic analysis based on the received voice to obtain word segmentation; matches the word segmentation with the keywords stored in the preset instruction library; when the matching result is successful, an algorithm activation instruction is generated.

[0037] In the implementation process, the algorithm activation instruction is only an instruction and may not include the target algorithm software ID information. AC determines the target algorithm software ID according to a pre-set rule. For example, the pre-set rule is to activate the latest algorithm, or to activate the current next algorithm, etc. In some embodiments, the algorithm activation instruction may include: any one or more of the target algorithm function identifier (ID, Identity), the enabled algorithm software ID, the action object, and the action time. Among them, the action object may be a wireless application object and / or an action cell list, a user object. In other embodiments, the algorithm activation instruction may also include: a custom algorithm configuration.

[0038] Step S102, activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.

[0039] In the embodiment of the present application, according to the target algorithm software ID determined by the algorithm activation instruction, the algorithm software ID pre-stored in the AC is selected, and the algorithm software is activated according to the algorithm configuration file corresponding to the algorithm software ID. The algorithm configuration file may be pre-stored in the AC.

[0040] In the embodiment of the present application, the algorithm configuration file includes: an algorithm software image and an algorithm configuration description file. Among them, the algorithm configuration description file includes: an algorithm call interface description file, an algorithm configuration interface description file, a deployment resource description file and software image information. Among them:

[0041] The algorithm call interface description file includes: interface protocol, interface format, function declaration, metadata identifier list of interface input data, and metadata identifier list of interface output data. The metadata identifier of the interface input data is bound to the metadata in the network protocol stack, and the metadata in the network protocol stack includes metadata of network signaling, network control plane parameters, network management parameters and other data; the metadata identifier of the interface output data can be bound to the metadata of the signaling between AC and AP, and / or the metadata identifier of the interface output data can also be bound to the configuration metadata.

[0042] The algorithm configuration interface description file includes: interface protocol, interface format, configuration content template and configuration description format, wherein the configuration content template includes declaring the key name and value constraints that need to be configured, wherein the value constraints include value type, range, enumeration value and regular expression, etc.

[0043] The deployment resource description file includes: deployment of CPU resources, memory resources, disk resources, and network access configuration and bandwidth requirements.

[0044] Software image information includes: number, version, label, name, and function.

[0045] In some embodiments, when the acquired algorithm activation instruction includes a custom algorithm configuration, the AC sends the custom algorithm configuration to the algorithm software image through the interface of the algorithm configuration interface description file to activate the target algorithm software.

[0046] In some embodiments, a corresponding algorithm software ID may be allocated according to the algorithm software image and the algorithm configuration description file, and the algorithm software ID may be stored in a software library.

[0047] Step S103, inputting preset first data into the target algorithm software so that the target algorithm software outputs second data.

[0048] The first data at least includes one of the metadata of network signaling, network control plane parameters, network management parameters and other data. The second data is the metadata of network signaling and / or configuration data. Among them, the first data comes from the metadata identification list of the interface input data, and the second data comes from the metadata identification list of the interface output data. For example: when the first data input by AC to the target algorithm software is the metadata of network signaling, the output second data is the metadata of network signaling; or, when the first data input by AC to the target algorithm software is the metadata of network management parameters, the output second data is the metadata of configuration data; or, when the data input by AC to the target algorithm software is the metadata of network signaling, network control plane parameters, and network management parameters, the output second data includes the metadata of network signaling and configuration data; or, when the first data input by AC to the target algorithm software is the metadata of network signaling, the output second data includes: metadata of network signaling and configuration data.

[0049] Step S104: Generate control information according to the second data, and send the control information to AP.

[0050] Here, the AC sends the generated control information to the AP to implement control and management of the AP. The control information includes: network signaling and / or configuration information.

[0051] In some embodiments, step S104: generating control information according to the second data, and sending the control information to the AP may be implemented in the following manner:

[0052] Step S104a, receiving third data sent by the AP and associated with the second data;

[0053] Here, the third data may be a message sent by the AP to the AC, which may be a data message or a control message, wherein the control message may include: AP model, AP software and hardware information, link establishment request, configuration information, keep-alive between the AC and the AP, terminal online and offline, statistical information reporting, etc. The data message mainly includes user data.

[0054] Step S104b: Map the second data and the third data to generate control information, and send the control information to the AP.

[0055] Here, the message interaction between the AP and the AC uses the Control and Provisioning of Wireless Access Points (CAPWAP) protocol. Control information is generated based on the CAPWAP protocol and sent to the AP.

[0056] Through the above-mentioned algorithm configuration method, the AC obtains an algorithm activation instruction; activates the corresponding target algorithm software according to the target algorithm software ID determined by the obtained algorithm activation instruction; inputs preset first data (such as metadata of network signaling, network control plane parameters, network management parameters and other data) into the target algorithm software, so that the target algorithm software outputs second data (such as metadata of network signaling and configuration data); generates control information (such as network signaling and configuration information) according to the second data, and sends the control information to the AP, so that in different scenarios and requirements, the algorithm activation instruction can be triggered to complete the activation of the algorithm, thereby realizing flexible management and control of the AP.

[0057] Figure 2 This is a schematic diagram of the implementation flow of the algorithm configuration method of the embodiment of the present application, such as Figure 2 As shown, the method is applied to AC, and the method includes the following steps:

[0058] Step S201, obtaining an algorithm activation instruction.

[0059] Step S202, searching in the software library according to the target algorithm software ID determined by the algorithm activation instruction, and obtaining the algorithm configuration description file and algorithm software image corresponding to the target algorithm software ID.

[0060] During implementation, the target algorithm software ID may be determined based on the name, function, object of action, action time, encoding, etc. of the target algorithm software, which is not limited here.

[0061] Step S203: activating the target algorithm software according to the algorithm configuration description file and the algorithm software image.

[0062] In some embodiments, step S203 activates the target algorithm software according to the configuration description file and the algorithm software image, which can be achieved by the following steps:

[0063] Step S203a, moving the target algorithm software ID from the software library to the software list of the corresponding function ID.

[0064] Here, AC can identify the function of the target algorithm software ID according to the algorithm configuration description file and the algorithm software image, and thus search the software list of the corresponding function ID according to the function of the target algorithm software. Of course, in other embodiments, the target algorithm software ID can also be moved into the software list of the corresponding function ID through user operation.

[0065] Step S203b: activating the target algorithm software in the software list according to the configuration description file and the algorithm software image.

[0066] In some embodiments, step S203, according to the configuration description file and the algorithm software image, activating the target algorithm software may also include:

[0067] Step S203c: if the target algorithm software ID and other software in the software list meet preset conditions, delete the other software.

[0068] After AC moves the target algorithm software ID to the software list of the corresponding function ID, it marks the target algorithm software ID's action cell list and action time. Determine whether the action cell list and action time of the target algorithm software ID are the same as those of other software in the software list. If they are the same, delete the other software, and activate the target algorithm software in the software list according to the configuration description file and the algorithm software image; if they are different, directly activate the target algorithm software in the software list according to the configuration description file and the algorithm software image.

[0069] Step S204, inputting preset first data into the target algorithm software so that the target algorithm software outputs second data.

[0070] Step S205: Generate control information according to the second data, and send the control information to AP.

[0071] It should be noted that, for the description of the same steps and the same contents in the embodiment of the present application as in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0072] Through the above algorithm configuration method, the target software is activated in the software library, the preset first data is input to the target algorithm software, the target algorithm software outputs the second data, and the control information is generated according to the second data, so as to realize the control of the AP under the control of the AC. When the target algorithm software is activated in the corresponding function list, the preset first data is input to the target algorithm software, the target algorithm software outputs the second data, and the control information is generated according to the second data, so that the AP group under the corresponding function can be controlled.

[0073] Figure 3 This is a schematic diagram of the implementation flow of the algorithm configuration method of the embodiment of the present application, such as Figure 3 As shown, the method algorithm configuration method includes the following steps:

[0074] Step S301: The AC receives an algorithm configuration file sent by a network management platform.

[0075] Here, the algorithm configuration file includes: an algorithm software image and an algorithm configuration description file corresponding to the algorithm software image.

[0076] Step S302: store the algorithm software image and the configuration description file in the software library, and assign corresponding algorithm software IDs to the algorithm software image and the configuration description file.

[0077] Step S303: AC obtains an algorithm activation instruction.

[0078] Step S304, activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.

[0079] Step S305, inputting preset first data into the target algorithm software so that the target algorithm software outputs second data.

[0080] Step S306: Generate control information according to the second data, and send the control information to the AP.

[0081] In some embodiments, the algorithm configuration method further includes:

[0082] Step S310, inputting preset auxiliary information into the target algorithm software.

[0083] Here, the auxiliary information includes: metadata used to enable the target algorithm software to perform storage processing, the metadata data type and the metadata format. Correspondingly, the algorithm configuration description file also includes an algorithm auxiliary information interface description file, and the algorithm auxiliary information interface description file includes: interface protocol, interface format, auxiliary information content template, wherein the auxiliary information content template is used to declare the metadata of the auxiliary information that the algorithm needs to inject, the type of the metadata and the format of the metadata.

[0084] Step S311, enabling the target algorithm software to perform storage processing according to the auxiliary information.

[0085] AC sends the metadata, the type of metadata and the format of metadata to the target algorithm software through the interface in the algorithm auxiliary information interface description file, so that the target algorithm software performs storage processing on the metadata, the type of metadata and the format of metadata.

[0086] Figure 4 The following is a flowchart of the algorithm configuration method of the embodiment of the present application. Figure 4 As shown, the algorithm configuration method includes the following steps:

[0087] Step S401: The pipe network platform sends an algorithm configuration file to the AC.

[0088] Here, the algorithm configuration file includes: an algorithm software image and a configuration description file corresponding to the algorithm software image.

[0089] Step S402: After receiving the algorithm configuration file, the AC stores the algorithm software image and the configuration description file in the algorithm configuration file in the software library, and allocates corresponding algorithm software IDs to the algorithm software image and the configuration description file.

[0090] Step S403: The pipe network platform sends an algorithm activation instruction to the AC.

[0091] Step S404, AC activates the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.

[0092] Step S405, AC inputs preset first data to the target algorithm software, so that the target algorithm software outputs second data.

[0093] Step S406: The AC receives third data sent by the AP and associated with the second data.

[0094] Step S407: AC maps the second data and the third data to generate control information.

[0095] Step S408: The AC sends the control information to the AP.

[0096] Through the algorithm configuration method of the above embodiment, the algorithm configuration file and the activation instruction are sent through the network management platform, thereby realizing indirect control of the AP by the network management platform.

[0097] Based on the algorithm configuration method provided in the above embodiment, Figure 5 The following is a flowchart of the algorithm configuration method of the embodiment of the present application. Figure 5 As shown, the embodiment of the present application further provides an algorithm configuration method, which can support a wireless network management system (i.e., the above-mentioned wireless communication system) to manage an entity with a wireless network control function as the main body, wherein the method includes:

[0098] Step S501: The network management platform sends an algorithm configuration file to the AC. The algorithm configuration file includes an algorithm software image and an algorithm configuration description file.

[0099] In an embodiment of the present application, the algorithm configuration description file is stored in an algorithm configuration file and sent with the request, and the algorithm configuration description file includes: an algorithm call interface description file, an algorithm configuration interface description file, an algorithm auxiliary information interface description file, a deployment resource description file and software image information.

[0100] The algorithm calls the interface description file, including: interface protocol, interface format, metadata identification list of function declaration interface input data and metadata identification list of interface output data.

[0101] In an embodiment of the present application, in the metadata identifier list of the interface input data, the metadata identifier is bound to the metadata in the network protocol stack, and the metadata includes metadata of data such as network signaling, network control plane parameters, and network management parameters; in the metadata identifier list of the interface output data, the metadata identifier is bound to the metadata of the data in the signaling and configuration from AC to AP.

[0102] The algorithm configures the interface description file, including: interface protocol, interface format and configuration content template.

[0103] In an embodiment of the present application, the configuration content template is used to declare the key name, value constraints and configuration description format that need to be configured, wherein the value constraints include value type, range, enumeration value and regular expression, etc.

[0104] In some embodiments, the algorithm auxiliary information interface description file is an optional file, and the algorithm auxiliary information interface description file includes: an interface protocol, an interface format, and an auxiliary information content template.

[0105] In the embodiment of the present application, the auxiliary information content template is used to declare the metadata, data type and data format of the auxiliary information that the algorithm needs to inject.

[0106] The deployment resource description file includes: deployment of CPU resources, memory resources, disk resources, network access configuration and bandwidth requirements.

[0107] The software image information includes: the number, version, label, name and function of the algorithm configuration description file.

[0108] Step S502, after receiving the algorithm configuration file, AC adds the algorithm software image to the software library, assigns an algorithm software ID, marks the algorithm software image with software image information, and saves the corresponding algorithm configuration description file, which includes: algorithm call interface file, algorithm configuration interface description file, algorithm auxiliary information interface description file and deployment resource description file.

[0109] Step S503: The network management platform sends a function configuration instruction (corresponding to the activation instruction in the above embodiment) to the AC.

[0110] Here, the function configuration instruction includes at least one of the following: a target function ID, an enabled algorithm software service ID, an action object, and a corresponding custom algorithm configuration when the algorithm software is enabled.

[0111] The action object may be, for example, at least one of the following: a wireless application object, a cell list, and a user object.

[0112] It should be noted that when the custom algorithm configuration is default, the custom algorithm configuration is considered to be the default configuration.

[0113] Step S504: the AC receives the function configuration instruction and activates the target algorithm software.

[0114] Here, after receiving the function configuration request, AC finds the algorithm software image of the target algorithm software ID from the software library, and activates the algorithm software according to the deployment resource description file of the algorithm software ID. If there is a custom algorithm configuration, the custom algorithm configuration is sent to the target algorithm software according to the interface of the algorithm configuration interface description file. Add the activated algorithm software ID to the software instance list of the corresponding function ID, and mark the list of active cells and the active time. Delete other software instance IDs with the same active cell and the same active time as the newly activated algorithm software ID, and activate the algorithm software corresponding to the algorithm software ID deleted from the software instance list.

[0115] Step S505, calling the interface description file according to the algorithm of the algorithm software ID corresponding to the target algorithm software, using the interface of the configuration interface description file, transmitting the data corresponding to the metadata of the interface input data to the activated target algorithm software.

[0116] Step S506, waiting for the target algorithm software to reply the output data, and mapping the output data to generate signaling or configuration messages according to the metadata of the output data in the algorithm call interface description file, and sending them to the AP.

[0117] Step S507, the AC sends the received auxiliary information to the algorithm software instance activated by the algorithm software ID according to the auxiliary information interface description file of the algorithm software ID, and the target algorithm software performs corresponding algorithm processing according to the received auxiliary information.

[0118] The algorithm configuration method provided in the embodiment of the present application sends an algorithm configuration file and an algorithm activation instruction through a network management platform, so that the AC activates the target algorithm software. The AC inputs metadata of the interface input data in the interface description file to the target algorithm software, and makes the target algorithm software output metadata of the interface output data in the interface description file, and maps the output data to generate a signaling or configuration message to send to the AP, thereby supporting the network management platform to manage entities with wireless network control functions as the main body.

[0119] Based on the above embodiments, Figure 6 The following is a flowchart of the algorithm configuration method of the embodiment of the present application. Figure 6 As shown, the embodiment of the present application further provides an algorithm configuration method, including:

[0120] Step S601: The network management platform sends an algorithm configuration file to the AC.

[0121] Here, the algorithm configuration file includes an algorithm software image and an algorithm configuration description file, wherein the algorithm software image can be a container image (docker image), and the configuration description file content can include at least the following code:

[0122]

[0123]

[0124] Step S602, the AC adds the algorithm software image to the software library, assigns an algorithm software ID to the algorithm software image, and saves the corresponding configuration description file.

[0125] For example, the algorithm software ID may be org.chinamobile.loadbanlance_v1.0.

[0126] Step S603: AC obtains an algorithm activation instruction.

[0127] The algorithm activation instruction is also issued by the network management platform, and the activation instruction can be implemented by at least the following code:

[0128]

[0129]

[0130] Step S604: According to the target algorithm software ID in the algorithm activation instruction, find the algorithm software with the same ID as the algorithm software ID from the software library as the target algorithm software, and activate the target algorithm software according to the configuration resource file of the algorithm software ID. According to the configuration command (Config), configure the corresponding content for the algorithm software, wherein the corresponding content of Config is as follows:

[0131]

[0132] Step S605, according to the interface of the algorithm configuration interface description file of the algorithm software ID, based on the sending method of the Hyper Text Transfer Protocol (HTTP POST, Hyper Text Transfer Protocol Post) sent to the service path or Config of the activated algorithm software, the activated algorithm software ID is added to the software list of the corresponding function ID, and the list of active cells and the active time are marked. Other software with the same active cell and the same active time as the target algorithm software ID is deleted from the software list, and the target algorithm software with ID org.chinamobile.loadbanlance_v1.0 in the activation list is activated.

[0133] Step S606, according to the algorithm call interface description file of the activated target algorithm software, AC transmits the data corresponding to the metadata identifier in the metadata identifier list of the interface input data to the activated target algorithm software via the interface.

[0134] The process of sending the data corresponding to the metadata identifier based on the HTTP POST method can be implemented by the following code:

[0135]

[0136]

[0137] Step S607, waiting for the target algorithm software to reply whether the output data is successful.

[0138] Here, the following code can be used to implement the process of waiting for the target algorithm software to reply whether the output data is successful:

[0139] {

[0140] Association:[[true,false,false],[true,false,false]]

[0141] }

[0142] Step S608: Call the metadata of the data in the metadata identification list of the interface output data in the interface description file according to the algorithm, generate the corresponding switching signaling based on the output data and the AP-associated data, and send it to the AP.

[0143] Step S609, the AC sends the received auxiliary information to the target algorithm software according to the auxiliary information interface description file in the configuration description file of the target algorithm software ID, and the target algorithm software performs corresponding storage and processing according to the received auxiliary information.

[0144] Here, the process of sending auxiliary information to the activated algorithm software based on the HTTP POST method can be implemented by the following code:

[0145]

[0146] The algorithm configuration method provided in the embodiment of the present application is that the network management platform sends an algorithm configuration file to the AC, and the algorithm configuration file includes an algorithm software image and a configuration description file, wherein the configuration description file includes: an algorithm call interface description file, an algorithm configuration interface description file, an auxiliary information content template file, a deployment resource description file, and software image information. After receiving the software configuration file, the AC adds the algorithm software file to the software library to assign an algorithm software ID, marks the algorithm software image information, and saves the call interface description file, algorithm configuration interface description file, auxiliary information interface description file, and deployment resource description information of the corresponding algorithm. The network management platform sends a function configuration request (corresponding to the algorithm activation instruction) to the AC. After receiving the function configuration request, the AC finds the software image of the target algorithm software ID from the software library, and activates the algorithm software instance according to the deployment resource description file of the algorithm software ID. If there is a custom algorithm configuration, the algorithm configuration is sent to the activated algorithm software instance according to the interface described in the configuration interface description file of the algorithm software ID. And the activated algorithm software instance ID is added to the software instance list of the corresponding function ID, and the list of active cells and the action time are marked. Delete other software instance IDs with the same cell and the same action time as the newly activated software instance ID, and deactivate the software instance corresponding to the software instance ID deleted from the list. For the activated algorithm software instance, according to the algorithm call interface description of the corresponding algorithm software ID, the AC transmits the data corresponding to the metadata of the interface input data to the activated algorithm software instance according to the described interface, waits for the algorithm software instance to reply with output data, and maps the output data to generate signaling or configuration messages according to the metadata of the output data in the algorithm call interface description, and sends them to the AP. The AC sends the received auxiliary information to the target algorithm software instance activated by the algorithm software ID according to the auxiliary information interface description file of the algorithm software ID, and the algorithm software instance performs corresponding algorithm processing according to the received auxiliary information.

[0147] The algorithm configuration method provided in the embodiment of the present application can support the network management platform to manage entities with wireless network control functions as the main body, can support flexible deployment of algorithms, and can support the decoupling of algorithms and devices, and better adapt to the needs of flexible replacement and configuration of algorithms under different scenarios and requirements.

[0148] Based on the foregoing embodiments, an embodiment of the present application provides an algorithm configuration device, which includes the units included and the modules included in the units, and can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing) or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0149] Figure 7 This is a schematic diagram of the composition structure of the algorithm configuration device of the embodiment of the present application, such as Figure 7 As shown, the device 700 includes an acquisition unit 710, an activation unit 720, an output unit 730, and a generation unit 740. Among them:

[0150] The acquisition unit 710 is used to acquire an algorithm activation instruction.

[0151] The activation unit 720 is used to activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.

[0152] The output unit 730 is used to input preset first data to the target algorithm software so that the target algorithm software outputs second data.

[0153] The generating unit 740 is configured to generate control information according to the second data, and send the control information to the AP.

[0154] In some embodiments, the activation unit 720 includes a first search module, a second search module, and an activation module.

[0155] The first search module is used to search for a preset algorithm software ID in a software library according to the target algorithm software ID.

[0156] The second search module is used to search for the configuration description file and algorithm software image corresponding to the target algorithm software ID.

[0157] An activation module is used to activate the target algorithm software according to the configuration description file and the algorithm software image.

[0158] In some embodiments, the activation module includes a moving submodule and an activation submodule.

[0159] The moving submodule is used to move the target algorithm software ID from the software library to the software list of the corresponding function ID.

[0160] An activation submodule is used to activate the target algorithm software in the software list according to the configuration description file and the algorithm software image.

[0161] In some embodiments, the activation module further includes a deletion submodule.

[0162] The deleting submodule is used to delete the other software when it is determined that the target algorithm software ID and other software in the software list meet preset conditions.

[0163] In some embodiments, the algorithm configuration device 700 further includes a receiving unit and an allocating unit.

[0164] The receiving unit is used for the AC to receive the algorithm configuration file sent by the network management platform.

[0165] An allocation unit is used to store the algorithm software image and the configuration description file in the software library, and allocate corresponding algorithm software IDs to the algorithm software image and the configuration description file.

[0166] In some embodiments, the generating unit 740 further includes: a receiving module and a generating module.

[0167] The receiving module is used to receive third data sent by the AP and associated with the second data.

[0168] A generating module, configured to map the second data with the third data to generate control information, and send the control information to the AP

[0169] In some embodiments, the algorithm configuration device 700 further includes an input unit and a storage unit.

[0170] An input unit inputs preset auxiliary information to the target algorithm software.

[0171] The storage unit is used to enable the target algorithm software to perform storage processing according to the auxiliary information.

[0172] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0173] It should be noted that in the embodiment of the present application, if the above-mentioned algorithm configuration method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, ReadOnly Memory), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0174] Correspondingly, an embodiment of the present application provides an algorithm configuration device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the algorithm configuration method provided in the above embodiment are implemented.

[0175] Figure 8 This is a schematic diagram of the composition structure of the algorithm configuration device provided in the embodiment of the present application, such as Figure 8 As shown, the algorithm configuration device 800 at least includes: a processor 801 , a communication interface 802 , and a storage medium 803 configured to store executable instructions, wherein: the processor 801 generally controls the overall operation of the algorithm configuration device 800 .

[0176] The communication interface 802 enables the path updating device to communicate with other terminals or servers through a network.

[0177] The storage medium 803 is configured to store instructions and applications executable by the processor 801, and can also cache data to be processed or processed by each module in the processor 801 and the path update device 800, which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0178] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the algorithm configuration method provided in the above embodiment are implemented.

[0179] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0180] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0181] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0182] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0183] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0184] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0185] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read Only Memory), disks or optical disks, etc. Various media that can store program codes.

[0186] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for an AC to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.

[0187] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An algorithm configuration method, characterized in that: The method comprises: AC obtains algorithm activation instructions; Activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction; Inputting preset first data into the target algorithm software so that the target algorithm software outputs second data; generating control information according to the second data, and sending the control information to the AP; Wherein, the target algorithm software ID determined according to the algorithm activation instruction, activating the corresponding target algorithm software, comprises: According to the target algorithm software ID, a preset algorithm software ID is searched in the software library; Searching for the configuration description file and algorithm software image corresponding to the target algorithm software ID; The target algorithm software is activated according to the configuration description file and the algorithm software image.

2. The algorithm configuration method according to claim 1, characterized in that: The step of activating the target algorithm software according to the configuration description file and the algorithm software image includes: Move the target algorithm software ID from the software library to the software list of the corresponding function ID; According to the configuration description file and the algorithm software image, the target algorithm software in the software list is activated.

3. The algorithm configuration method according to claim 2, characterized in that: The method further comprises: If the target algorithm software ID and other software in the software list meet preset conditions, delete the other software.

4. The algorithm configuration method according to claim 1, characterized in that: The method further comprises: The AC receives an algorithm configuration file sent by the network management platform; wherein the algorithm configuration file includes: an algorithm software image and a configuration description file corresponding to the algorithm software image; The algorithm software image and the configuration description file are stored in the software library, and corresponding algorithm software IDs are assigned to the algorithm software image and the configuration description file.

5. The algorithm configuration method according to claim 1, characterized in that: The generating control information according to the second data, and sending the control information to the AP includes: receiving third data sent by the AP and associated with the second data; The second data and the third data are mapped to generate control information, and the control information is sent to the AP.

6. The algorithm configuration method according to claim 1, characterized in that: The method further comprises: Inputting preset auxiliary information into the target algorithm software; Based on the auxiliary information, the target algorithm software is caused to perform storage processing.

7. An algorithm configuration device, characterized in that: include: An acquisition unit, used for AC acquisition algorithm activation instructions; An activation unit, used to activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction; An output unit, used for inputting preset first data into the target algorithm software, so that the target algorithm software outputs second data; a generating unit, configured to generate control information according to the second data, and send the control information to an AP; The activation unit includes a first search module, a second search module, and an activation module. Wherein, the first search module is used to search for a preset algorithm software ID in the software library according to the target algorithm software ID; A second search module is used to search for a configuration description file and an algorithm software image corresponding to the target algorithm software ID; An activation module is used to activate the target algorithm software according to the configuration description file and the algorithm software image.

8. An algorithm configuration device, characterized in that: include: processor; as well as a memory for storing a computer program executable on the processor; Wherein, when the computer program is executed by a processor, the steps of the algorithm configuration method described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are configured to execute the steps of the algorithm configuration method described in any one of claims 1 to 6.