CN112312414A - Algorithm configuration method, device and equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN112312414A
CN112312414A CN201910673182.1A CN201910673182A CN112312414A CN 112312414 A CN112312414 A CN 112312414A CN 201910673182 A CN201910673182 A CN 201910673182A CN 112312414 A CN112312414 A CN 112312414A
Authority
CN
China
Prior art keywords
algorithm
software
configuration
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910673182.1A
Other languages
Chinese (zh)
Inventor
孙奇
李响
段然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910673182.1A priority Critical patent/CN112312414A/en
Publication of CN112312414A publication Critical patent/CN112312414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses an algorithm configuration method, an algorithm configuration device, an algorithm configuration equipment and a computer readable storage medium, wherein the method is applied to an AC and comprises the following steps: the AC acquires an algorithm activation instruction; activating corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction; inputting preset first data to the target algorithm software, and enabling the target algorithm software to output second data; and generating control information according to the second data, and sending the control information to the AP.

Description

Algorithm configuration method, device and equipment and computer readable storage medium
Technical Field
The embodiments of the present application relate to wireless communication technologies, and relate to, but are not limited to, a method, an apparatus, a device, and a computer-readable storage medium for algorithm configuration.
Background
With the development of Wireless Local Area Network (WLAN) technology and the advancement of national information construction, domestic operators have begun to deploy Access Point devices (AP) in a large scale, and provide rich Wireless broadband services in Hot spots (Hot spots).
In the WLAN technology, a wireless Controller (AC) centrally controls an administered AP, and the AC and the AP together complete a centralized networking mode of a WLAN Access function, which will be a development trend of a WLAN networking architecture in the future, and a network management platform directly manages the AC to realize indirect management of the AP.
In the existing scheme for uniformly managing the AP based on the AC, algorithms in the AP are generally fixed, updating of the algorithms generally follows updating of the whole AP software version, flexible adjustment cannot be carried out along with scenes and specific requirements, flexible configuration of the algorithms and decoupling of the algorithms and equipment are not supported, and therefore the method cannot be well adapted to different scenes and requirements.
Disclosure of Invention
In view of this, embodiments of the present application provide an algorithm configuration method, an algorithm configuration device, an algorithm configuration apparatus, and a computer-readable storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect of embodiments of the present application, a method for configuring an algorithm is provided, where the method includes:
the AC acquires an algorithm activation instruction;
activating corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;
inputting preset first data to the target algorithm software, and enabling the target algorithm software to output second data;
and generating control information according to the second data, and sending the control information to the AP.
In a second aspect of the embodiments of the present application, there is provided an algorithm configuration apparatus, including:
the acquisition unit is used for acquiring an algorithm activation instruction;
the activation unit is used for activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;
the output unit is used for inputting preset first data into the target algorithm software and enabling the target algorithm software to output second data;
and the generating unit is used for generating control information according to the second data and sending the control information to a wireless network element.
In a third aspect of the embodiments of the present application, there is provided an algorithm configuration device, including:
a processor; and
a memory for storing a computer program operable on the processor;
wherein the computer program realizes the steps of the above-mentioned control method when being executed by a processor.
In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the steps of the control method described above.
According to the algorithm configuration method, the device and the equipment and the computer readable storage medium provided by the embodiment of the application, the AC activates the target algorithm software according to the target algorithm software ID determined by the received activation instruction, inputs preset first data into the target algorithm software and enables the target algorithm software to output second data; and generating control information according to the second data. Therefore, management and control of the AP are realized, and the algorithm can be flexibly replaced or configured by adjusting the input data and the output data so as to adapt to different scenes and requirements.
Drawings
Fig. 1A is a schematic diagram of a networking architecture of a wireless communication system in an embodiment of the present application;
FIG. 1B is a schematic diagram illustrating an implementation flow of an algorithm configuration method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a flow chart of an implementation of an algorithm configuration method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an implementation flow of an algorithm configuration method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a flow chart of an implementation of an algorithm configuration method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an implementation flow of an algorithm configuration method according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an implementation flow of an algorithm configuration method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a component structure of an algorithm configuration device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a component of an algorithm configuration device according to an embodiment of the present application.
Detailed Description
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments.
Before introducing the algorithm configuration method in the embodiment of the present application, a brief description is given to an application environment of an AC, fig. 1A is a schematic diagram of a networking structure of a wireless communication system in the embodiment of the present application, and as shown in fig. 1A, the system includes: an AP 30, an AC 20 and a network management platform 10. The AP 30 is connected to the AC 20, and the AC 20 is responsible for performing access control and management on the AP 30 and performing specific wireless service processing. The AC 20 provides wireless access services to the wireless access terminals by controlling the AP 30. Here, the wireless access terminal may include a mobile phone, a computer, a tablet computer, and the like. The network management platform 10 is configured to manage network configuration information of the accessed AC 20 and AP 30, and control the internet access states of the AC 20 and AP 30.
Based on the above wireless communication system provided in this 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. In some embodiments, the computer program may be executed by a processor in the AC. Fig. 1B is a schematic diagram of an implementation flow of an algorithm configuration method according to an embodiment of the present application, and as shown in fig. 1B, the method includes the following steps:
and step S101, acquiring an algorithm activating instruction.
In the embodiment of the application, the algorithm activation instruction can be triggered under various requirements or scenes, and can be an algorithm activation instruction triggered by the algorithm activation instruction, or an algorithm activation instruction sent to the AC through the network management platform. Here, the operation of activating the command through the algorithm triggered by the AC or the network management platform includes: gesture sliding operation, voice instruction operation, specific key operation, or the like. For example: when a specific key operation is carried out on the AC, the AC can receive an 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 acquire data generated by the gesture sliding or clicking, a matching result is obtained by matching the data with preset data, and an algorithm activating instruction is generated. For another example: when voice operation is carried out on the AC or the network management platform, the AC or the network management platform carries out semantic analysis according to the received voice to obtain word segmentation; matching the word segmentation with the keywords stored in a preset instruction library; and when the matching result is successful, generating an algorithm activating instruction.
In the implementation process, the algorithm activating instruction is only one instruction and may not include the target algorithm software ID information. The AC determines the target algorithm software ID according to a predetermined rule, such as the rule being that the latest algorithm can be activated, or the current next algorithm can be activated, etc. In some embodiments, the algorithm activation instruction may include: any one or more of target algorithm function Identification (ID), enabling algorithm software ID, role object, and role time. The role object can be a wireless application object and/or a role cell list, a user object. In other embodiments, the algorithm activation instructions may further include: and (4) self-defining algorithm configuration.
And S102, activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.
In the embodiment of the application, the algorithm software ID pre-stored in the AC is selected according to the target algorithm software ID determined by the algorithm activation instruction, and the algorithm software is activated according to the algorithm configuration file corresponding to the algorithm software ID. Wherein the algorithm profile may be pre-stored in the AC.
In an embodiment of the present application, the algorithm configuration file includes: algorithm software images and algorithm configuration profiles. Wherein, the algorithm configuration description file comprises: the method comprises the steps of calling an interface description file by an algorithm, configuring the interface description file by the algorithm, deploying a resource description file and software mirror image information. Wherein:
the algorithm calling interface description file comprises the following steps: interface protocol, interface format, function declaration, metadata identification list of interface input data, and metadata identification list of interface output data. The metadata identification of the interface input data is bound to the metadata in the network protocol stack, and the metadata in the network protocol stack comprises metadata of data such as network signaling, network control plane parameters, network management parameters and the like; the metadata identification of the interface output data can be bound into the metadata of signaling between the AC and the AP, and/or the metadata identification of the interface output data can also be bound into the configured metadata.
The algorithm configuration interface description file comprises: the method comprises the steps of an interface protocol, an interface format, a configuration content template and a configuration description format, wherein the configuration content template comprises a key name for declaring the configuration, and value constraints, wherein the value constraints comprise a value type, a range, an enumerated value, a regular expression and the like.
Deploying the resource description file comprises: and deploying CPU resources, memory resources, disk resources, network access configuration and bandwidth requirements.
The software mirror image information comprises: number, version, label, name, function.
In some embodiments, when the obtained algorithm activation instruction includes the 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.
In some embodiments, a corresponding algorithm software ID may be assigned according to the algorithm software image and the algorithm configuration description file, and stored in a software library.
Step S103, inputting preset first data to the target algorithm software, and enabling the target algorithm software to output second data.
The first data at least comprises one of metadata of network signaling, network control plane parameters, network management parameters and the like. The second data is metadata of network signaling and/or configuration data. The first data is from the metadata identification list of the interface input data, and the second data is from the metadata identification list of the interface output data. For example: when the first data input by the AC to the target algorithm software is the metadata of the network signaling, the output second data is the metadata of the network signaling; or, when the first data input by the AC to the target algorithm software is the metadata of the network management parameters, the second data output is the metadata of the configuration data; or when the data input by the AC to the target algorithm software is metadata of data of network signaling, network control plane parameters and network management parameters, the output second data comprises the metadata of the network signaling and configuration data; or, when the first data input by the AC to the target algorithm software is metadata of network signaling, the output second data comprises: network signaling and metadata for configuration data.
And step S104, generating control information according to the second data, and sending the control information to the AP.
Here, the AC transmits the generated control information to the AP to implement control management of the AP. The control information includes: network signaling and/or configuration information.
In some embodiments, step S104: generating control information according to the second data, and sending the control information to the AP, which can be realized by the following modes:
step S104a, receiving third data which is sent by the AP and has a correlation with the second data;
here, the third data may be a message sent by the AP to the AC, and the message may be a data message or a control message, where the control message may include: the method comprises the following steps of AP model, AP software and hardware information, link establishment request, configuration information, keep-alive between AC and AP, on-line and off-line of a terminal, statistical information reporting and the like. The data message mainly includes user data.
Step S104b, generating control information by mapping the second data and the third data, and sending the control information to the AP.
Here, the interaction of the messages between the AP and the AC uses a Control and Provisioning of Wireless Access Points (CAPWAP) protocol. And generating control information based on the CAPWAP protocol, and sending the control information to the AP.
By the algorithm configuration method, the AC acquires an algorithm activation instruction; activating corresponding target algorithm software according to the target algorithm software ID determined by the obtained algorithm activation instruction; inputting preset first data (such as metadata of network signaling, network control plane parameters, network management parameters and the like) into the target algorithm software, and enabling the target algorithm software to output second data (such as metadata of network signaling and configuration data); and generating control information (such as network signaling and configuration information) according to the second data, and sending the control information to the AP, so that an algorithm activation instruction can be triggered under different scenes and requirements to complete the activation of the algorithm, and further the AP is flexibly managed and controlled.
Fig. 2 is a schematic diagram of an implementation flow of an algorithm configuration method according to an embodiment of the present application, and as shown in fig. 2, the method is applied to an AC, and includes the following steps:
step S201, an algorithm activating instruction is obtained.
Step S202, searching the target algorithm software ID determined according to the algorithm activation instruction in a software library to obtain an algorithm configuration description file and an algorithm software mirror image corresponding to the target algorithm software ID.
In implementation, the ID of the target algorithm software may be determined according to the name, function, action object, action time, code, etc. of the target algorithm software, which is not limited herein.
And step S203, activating the target algorithm software according to the algorithm configuration description file and the algorithm software mirror image.
In some embodiments, the step S203 of activating the target algorithm software according to the configuration description file and the algorithm software image may be implemented by:
step S203a, moving the target algorithm software ID from the software library to a software list of corresponding function IDs.
Here, the AC may identify the function of the target algorithm software ID based on the algorithm configuration description file and the algorithm software image, thereby searching the software list of the corresponding function ID based on the function of the target algorithm software. Of course, in other embodiments, the target algorithm software ID may be moved into the software list of the corresponding function ID by the user's operation.
Step S203b, activating the target algorithm software in the software list according to the configuration description file and the algorithm software image.
In some embodiments, the step S203 of activating the target algorithm software according to the configuration description file and the algorithm software image may further include:
step S203c, if the target algorithm software ID in the software list and the other software satisfy the preset condition, delete the other software.
And after the AC moves the target algorithm software ID to a software list corresponding to the function ID, marking an acting cell list and acting time of the target algorithm software ID. And judging whether the target algorithm software ID in the software list is the same as the acting cell list and the acting time of other software. If the software is the same as the target software, deleting the other software, and activating the target algorithm software in the software list according to the configuration description file and the algorithm software mirror image; and if the two are different, directly activating the target algorithm software in the software list according to the configuration description file and the algorithm software image.
Step S204, inputting preset first data to the target algorithm software, and enabling the target algorithm software to output second data.
Step S205, generating control information according to the second data, and sending the control information to the AP.
It should be noted that, for the descriptions of the same steps and the same contents in the embodiments of the present application and other embodiments, reference may be made to the descriptions in other embodiments, which are not repeated herein.
By the algorithm configuration method, the target software is activated in the software library, the preset first data is input into 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 control of the AP under the control of the AC is realized. When the target algorithm software is activated in the corresponding function list, preset first data is input into the target algorithm software, so that the target algorithm software outputs second data, control information is generated according to the second data, and the AP group under the corresponding function can be controlled.
Fig. 3 is a schematic view of an implementation flow of an algorithm configuration method according to an embodiment of the present application, and as shown in fig. 3, the algorithm configuration method includes the following steps:
step S301, the AC receives the algorithm configuration file sent by the network management platform.
Here, the algorithm profile includes: the algorithm software image and the algorithm configuration description file corresponding to the algorithm software image.
Step S302, storing the algorithm software mirror image and the configuration description file into the software library, and allocating corresponding algorithm software IDs for the algorithm software mirror image and the configuration description file.
Step S303, the AC acquires an algorithm activation instruction.
And step S304, activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.
Step S305, inputting preset first data to the target algorithm software, so that the target algorithm software outputs second data.
And step S306, generating control information according to the second data, and sending the control information to the AP.
In some embodiments, the algorithm configuration method further comprises:
step S310, inputting preset auxiliary information to the target algorithm software.
Here, the auxiliary information includes: metadata for causing the target algorithm software to perform a storage process, the metadata data type, and the metadata format. Correspondingly, the algorithm configuration description file further includes an algorithm auxiliary information interface description file, and the algorithm auxiliary information interface description file includes: the method comprises the steps of an interface protocol, an interface format and an auxiliary information content template, wherein the auxiliary information content template is used for declaring metadata of auxiliary information needing to be injected by an algorithm, the type of the metadata and the format of the metadata.
Step S311, according to the auxiliary information, causing the target algorithm software to execute storage processing.
And the AC sends the metadata, the type of the metadata and the format of the metadata to target algorithm software through an interface in an algorithm auxiliary information interface description file, so that the target algorithm software executes storage processing on the metadata, the type of the metadata and the format of the metadata.
Fig. 4 is a schematic flow chart of an implementation process of an algorithm configuration method according to an embodiment of the present application, and as shown in fig. 4, the algorithm configuration method includes the following steps:
and S401, the pipe network platform sends an algorithm configuration file to the AC.
Here, the algorithm profile includes: the system comprises an algorithm software image and a configuration description file corresponding to the algorithm software image.
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 into the software library, and allocates corresponding algorithm software IDs for the algorithm software image and the configuration description file.
And S403, the pipe network platform sends an algorithm activating instruction to the AC.
And S404, activating the corresponding target algorithm software by the AC according to the target algorithm software ID determined by the algorithm activation instruction.
Step S405, the AC inputs preset first data to the target algorithm software, so that the target algorithm software outputs second data.
In step S406, the AC receives third data having an association relationship with the second data and sent by the AP.
Step S407, the AC maps the second data and the third data to generate control information.
Step S408, the AC sends the control information to the AP.
By the algorithm configuration method of the embodiment, the network management platform sends the algorithm configuration file and the activation instruction, so that the indirect control of the network management platform on the AP is realized.
Based on the algorithm configuration method provided in the foregoing embodiment, fig. 5 is a schematic flow chart of an implementation of the algorithm configuration method in the embodiment of the present application, and as shown in fig. 5, an algorithm configuration method is further provided in the embodiment of the present application, which can support a wireless network management system (i.e., the above-mentioned wireless communication system) to manage an entity having a wireless network control function as a main body, where the method includes:
step S501, the network management platform sends an algorithm configuration file to the AC, and the algorithm configuration file comprises an algorithm software mirror image and an algorithm configuration description file.
In the embodiment of the present application, the algorithm configuration description file is stored in the algorithm configuration file and sent with a request, and the algorithm configuration description file includes: the method comprises the following steps of obtaining an algorithm calling interface description file, an algorithm configuration interface description file, an algorithm auxiliary information interface description file, a deployment resource description file and software mirror image information.
Wherein, the algorithm calls an interface description file, including: the interface protocol, the interface format, the function declare the metadata identification list of the interface input data and the metadata identification list of the interface output data.
In the embodiment of the application, in a metadata identifier list of the interface input data, a metadata identifier is bound to metadata in a network protocol stack, and the metadata includes metadata of data such as a network signaling, a network control plane parameter, a network management parameter, and the like; in the metadata identification list of the interface output data, the metadata identifies metadata bound to data in the AC-to-AP signaling and configuration.
The algorithm configuration interface description file comprises: interface protocol, interface format, and configuration content template.
In the embodiment of the application, the configuration content template is used for declaring a key name, value constraint and a configuration description format which need to be configured, wherein the value constraint comprises a value type, a range, an enumerated value, a regular expression and the like.
In some embodiments, the algorithm assistance information interface description file is an optional file, and the algorithm assistance information interface description file includes: interface protocol, interface format and auxiliary information content template.
In the embodiment of the application, the auxiliary information content template is used for declaring metadata, data types and data formats of auxiliary information which needs to be injected by an algorithm.
The deployment resource description file includes: and deploying CPU resources, memory resources, disk resources, network access configuration and bandwidth requirements.
The software mirror image information comprises: the algorithm configuration describes the number, version, label, name and function of the file.
Step S502, after the AC receives the algorithm configuration file, the AC adds the algorithm software mirror image into the software library, distributes the algorithm software ID, labels the software mirror image information to the algorithm software mirror image, and stores the corresponding algorithm configuration description file, wherein the algorithm configuration description file comprises: the method comprises the following steps of obtaining an algorithm calling interface file, an algorithm configuration interface description file, an algorithm auxiliary information interface description file and a deployment resource description file.
Step S503, the network management platform issues a function configuration instruction (corresponding to the activation instruction in the above embodiment) to the AC.
Here, the functional configuration instruction includes at least one of: target function ID, enabling algorithm software service ID, action object and corresponding self-defined algorithm configuration when enabling algorithm software.
Wherein, the action object can be at least one of the following objects: a wireless application object, a cell list, and a user object.
It should be noted that, when the custom algorithm configuration is lacked, the custom algorithm configuration is considered as a default configuration.
Step S504, the AC receives the function configuration instruction and activates the target algorithm software.
Here, after receiving the function configuration request, the 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. And if the user-defined algorithm configuration exists, transmitting the user-defined algorithm configuration to target algorithm software according to the interface of the algorithm configuration interface description file. And adding the activated algorithm software ID into a software instance list corresponding to the function ID, and marking an active cell list and active time. And deleting other software instance IDs which have the same action cell and the same action time with the new activation algorithm software ID, and activating the algorithm software corresponding to the deleted algorithm software ID in the software instance list.
Step S505, calling an interface description file according to the algorithm of the algorithm software ID corresponding to the target algorithm software, and transmitting data corresponding to the metadata of the interface input data to the activated target algorithm software by using the interface of the configuration interface description file.
Step S506, waiting for the target algorithm software to reply the output data, mapping the output data to generate a signaling or generating a configuration message according to the metadata of the output data in the algorithm calling interface description file, and sending the signaling or the configuration message to the AP.
And 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 carries out corresponding algorithm processing according to the received auxiliary information.
According to the algorithm configuration method provided by the embodiment of the application, the network management platform sends the algorithm configuration file and the algorithm activation instruction, the AC activates the target algorithm software, the AC inputs the metadata of the interface input data in the interface description file of the target algorithm software, the target algorithm software outputs the metadata of the interface output data in the interface description file, the output data is mapped to generate a signaling or configuration message, and the signaling or configuration message is sent to the AP, so that the network management platform can be supported to manage the entity taking the wireless network control function as the main body.
Based on the foregoing embodiments, fig. 6 is a schematic flow chart illustrating an implementation of an algorithm configuration method according to an embodiment of the present application, and as shown in fig. 6, an algorithm configuration method according to an embodiment of the present application further includes:
step S601, the network management platform sends an algorithm configuration file to the AC.
Here, the algorithm configuration file includes an algorithm software image and an algorithm configuration description file, where the algorithm software image may be a container image (docker image), and the configuration description file content may include at least the following codes:
Figure BDA0002142379200000121
Figure BDA0002142379200000131
step S602, the AC adds the algorithm software mirror image into the software library, allocates an algorithm software ID to the algorithm software mirror image, and stores a corresponding configuration description file.
For example, the algorithm software ID may be org.
In step S603, the AC acquires an algorithm activation instruction.
The algorithm activating instruction is also sent by the network management platform, and the activating instruction can be realized by at least the following codes:
Figure BDA0002142379200000132
Figure BDA0002142379200000141
step S604, according to the target algorithm software ID in the algorithm activation instruction, finding the algorithm software with the same ID as the algorithm software ID from the software library as the target algorithm software, and activating the target algorithm software according to the configuration resource file of the algorithm software ID. Configuring corresponding contents for the algorithm software according to a configuration command (Config), wherein the corresponding contents of the Config are as follows:
Figure BDA0002142379200000142
step S605 configures an interface of an interface description file according to the algorithm of the algorithm software ID, sends the interface description file to a service path or Config of activated algorithm software based on a hypertext Transfer Protocol (HTTP POST) sending method, adds the activated algorithm software ID to a software list corresponding to the function ID, and labels an acting cell list and an acting time. Other software with the same acting cell and the same acting time as the target algorithm software ID is deleted from the software list, and the target algorithm software with the ID of org.
Step S606, according to the algorithm of the activated target algorithm software, calling an interface description file, and transmitting data corresponding to the metadata identifier in the metadata identifier list of the interface input data to the activated target algorithm software by the AC through the interface.
The process of sending the data corresponding to the metadata identifier based on the HTTP POST method can be realized by the following codes:
Figure BDA0002142379200000143
Figure BDA0002142379200000151
step S607, waiting for the target algorithm software to reply the information whether the output data is successful.
Here, the process of waiting for the target algorithm software to reply to the output data may be implemented by:
{
Association:[[true,false,false],[true,false,false]]
}
step S608, according to the metadata of the data in the metadata identification list of the interface output data in the algorithm call interface description file, generating a corresponding switching signaling between the output data and the AP association data, and sending the switching signaling to the AP.
And 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 ID of the target algorithm software, and the target algorithm software performs corresponding storage and processing according to the received auxiliary information.
Here, the process of sending the auxiliary information to the activated algorithm software based on the HTTP POST method may be implemented by the following codes:
Figure BDA0002142379200000152
in the algorithm configuration method provided in the embodiment of the present application, a network management platform issues an algorithm configuration file to an AC, where the algorithm configuration file includes an algorithm software image and a configuration description file, where the configuration description file includes: the method comprises the following steps of algorithm calling interface description files, algorithm configuration interface description files, auxiliary information content template files, deployment resource description files and software mirror image information. And after receiving the software configuration file, the AC adds the algorithm software file into the software library to distribute an algorithm software ID, marks algorithm software image information, and stores a calling interface description file, an algorithm configuration interface description file, an auxiliary information interface description file and deployment resource description information of the corresponding algorithm. And the network management platform issues a function configuration request (corresponding to an algorithm activating instruction) to the AC. And after receiving the function configuration request, the AC finds the software mirror 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. And if the algorithm configuration is customized, sending the interface described by the algorithm configuration according to the configuration interface description file of the algorithm software ID to the activated algorithm software instance. And adding the activated algorithm software instance ID into a software instance list corresponding to the function ID, and marking an active cell list and active time. And deleting other software instance IDs with the same cell and the same action time as the newly activated software instance ID, and deactivating the software instance corresponding to the deleted software instance ID in the list. For the activated algorithm software example, interface description is called according to the algorithm of the corresponding algorithm software ID, the AC transmits data corresponding to the metadata of the interface input data to the activated algorithm software example according to the described interface, waits for the algorithm software example to reply the output data, and generates a signaling or configuration message by mapping the output data according to the metadata of the output data in the algorithm calling interface description, and transmits the signaling or configuration message to the AP. And the AC sends the received auxiliary information to a target algorithm software instance activated by the algorithm software ID according to an 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.
The algorithm configuration method provided by the embodiment of the application can support a network management platform to manage the entity taking the wireless network control function as the main body, can support flexible deployment of the algorithm, can support decoupling of the algorithm and equipment, and better meets the requirements of flexible replacement and configuration of the algorithm under different scenes and requirements.
Based on the foregoing embodiments, the present application provides an algorithm configuration apparatus, where the apparatus includes units and modules included in the units, and may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 7 is a schematic diagram of a configuration structure of an algorithm configuration apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus 700 includes an obtaining unit 710, an activating unit 720, an output unit 730, and a generating unit 740. Wherein:
an obtaining unit 710 is used for obtaining an algorithm activating instruction.
And the activation unit 720 is configured to activate the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction.
The output unit 730 is configured to input preset first data to the target algorithm software, so that the target algorithm software outputs second data.
A generating unit 740, configured to generate control information according to the second data, and send the control information to the AP.
In some embodiments, the activation unit 720 includes a first lookup module, a second lookup module, and an activation module. Wherein:
and the first searching module is used for searching a preset algorithm software ID in a software library according to the target algorithm software ID.
And the second searching module is used for searching the configuration description file and the algorithm software mirror image corresponding to the target algorithm software ID.
And the activation module is used for activating the target algorithm software according to the configuration description file and the algorithm software mirror image.
In some embodiments, the activation module includes a movement sub-module and an activation sub-module. Wherein:
and the moving submodule is used for moving the target algorithm software ID from the software library to a software list of the corresponding function ID.
And the activation submodule is used for activating the target algorithm software in the software list according to the configuration description file and the algorithm software mirror image.
In some embodiments, the activation module further comprises a deletion submodule. Wherein:
and the deleting submodule is used for deleting other software when the target algorithm software ID and other software in the software list meet preset conditions.
In some embodiments, the algorithm configuration device 700 further comprises a receiving unit and an assigning unit. Wherein:
and the receiving unit is used for receiving the algorithm configuration file sent by the network management platform by the AC.
And the distribution unit is used for storing the algorithm software mirror image and the configuration description file into the software library and distributing corresponding algorithm software IDs for the algorithm software mirror image and the configuration description file.
In some embodiments, the generating unit 740 further comprises: the device comprises a receiving module and a generating module. Wherein:
a receiving module, configured to receive third data that is sent by the AP and has an association relationship with the second data.
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
In some embodiments, the algorithm configuration device 700 further comprises an input unit and a storage unit. Wherein:
and the input unit is used for inputting preset auxiliary information to the target algorithm software.
And the storage unit is used for enabling the target algorithm software to execute storage processing according to the auxiliary information.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the algorithm configuration method is implemented in the form of a software functional module and sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides an algorithm configuration device, which includes a memory and a processor, where the memory stores a computer program that can be executed on the processor, and the processor executes the computer program to implement the steps in the algorithm configuration method provided in the foregoing embodiment.
Fig. 8 is a schematic structural diagram of an algorithm configuration device provided in an embodiment of the present application, and as shown in fig. 8, 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.
The communication interface 802 may enable the path update apparatus to communicate with other terminals or servers through a network.
The storage medium 803 is configured to store instructions and applications executable by the processor 801, and may also cache data to be processed or processed by each module in the to-be-processed processor 801 and the path updating apparatus 800, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is implemented to implement the steps in the algorithm configuration method provided in the foregoing embodiments when executed by a processor.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication between the components shown or discussed may be through some interfaces, indirect coupling or communication between devices or units, and may be electrical, mechanical or other.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; the storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an AC to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the following claims.

Claims (10)

1. A method of algorithm configuration, the method comprising:
the AC acquires an algorithm activation instruction;
activating corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;
inputting preset first data to the target algorithm software, and enabling the target algorithm software to output second data;
and generating control information according to the second data, and sending the control information to the AP.
2. The algorithm configuration method according to claim 1, wherein the step of activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction comprises the following steps:
searching a preset algorithm software ID in a software library according to the target algorithm software ID;
searching a configuration description file and an algorithm software mirror image corresponding to the target algorithm software ID;
and activating the target algorithm software according to the configuration description file and the algorithm software mirror image.
3. The algorithm configuration method of claim 2, wherein the activating the target algorithm software according to the configuration description file and the algorithm software image comprises:
moving the target algorithm software ID from the software library to a software list of corresponding function IDs;
and activating the target algorithm software in the software list according to the configuration description file and the algorithm software image.
4. The algorithm configuration method of claim 3, further comprising:
and if the target algorithm software ID and other software in the software list meet preset conditions, deleting the other software.
5. The algorithm configuration method of claim 1, further comprising:
the AC receives an algorithm configuration file sent by a network management platform; wherein the algorithm configuration file comprises: the method comprises the steps that an algorithm software mirror image and a configuration description file corresponding to the algorithm software mirror image are obtained;
and storing the algorithm software image and the configuration description file into the software library, and distributing corresponding algorithm software IDs for the algorithm software image and the configuration description file.
6. The algorithm configuration method according to claim 1, wherein the generating control information according to the second data and sending the control information to the AP comprises:
receiving third data which is sent by the AP and has an association relation with the second data;
and mapping the second data and the third data to generate control information, and sending the control information to the AP.
7. The algorithm configuration method of claim 1, further comprising:
inputting preset auxiliary information into the target algorithm software;
and enabling the target algorithm software to execute storage processing according to the auxiliary information.
8. An algorithm configuration device, comprising:
the acquisition unit is used for acquiring an algorithm activation instruction;
the activation unit is used for activating the corresponding target algorithm software according to the target algorithm software ID determined by the algorithm activation instruction;
the output unit is used for inputting preset first data into the target algorithm software and enabling the target algorithm software to output second data;
and the generating unit is used for generating control information according to the second data and sending the control information to the AP.
9. An algorithm configuration device, comprising:
a processor; and
a memory for storing a computer program operable on the processor;
wherein the computer program when executed by a processor implements the steps of the algorithm configuration method of any of claims 1 to 7.
10. A computer-readable storage medium having stored therein computer-executable instructions configured to perform the steps of the algorithm configuration method of any of claims 1 to 7.
CN201910673182.1A 2019-07-24 2019-07-24 Algorithm configuration method, device and equipment and computer readable storage medium Pending CN112312414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910673182.1A CN112312414A (en) 2019-07-24 2019-07-24 Algorithm configuration method, device and equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910673182.1A CN112312414A (en) 2019-07-24 2019-07-24 Algorithm configuration method, device and equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112312414A true CN112312414A (en) 2021-02-02

Family

ID=74329159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910673182.1A Pending CN112312414A (en) 2019-07-24 2019-07-24 Algorithm configuration method, device and equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112312414A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN
CN103476023A (en) * 2013-09-11 2013-12-25 福建星网锐捷网络有限公司 Configuration method of access point equipment, access controller and communication system
CN104782154A (en) * 2012-10-09 2015-07-15 诺基亚技术有限公司 Method and apparatus for disabling algorithms in device
WO2017012443A2 (en) * 2015-07-17 2017-01-26 华为技术有限公司 Message transmission method, access node, access controller and access system
CN107567017A (en) * 2016-06-30 2018-01-09 华为技术有限公司 Wireless connection system, device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN
CN104782154A (en) * 2012-10-09 2015-07-15 诺基亚技术有限公司 Method and apparatus for disabling algorithms in device
CN103476023A (en) * 2013-09-11 2013-12-25 福建星网锐捷网络有限公司 Configuration method of access point equipment, access controller and communication system
WO2017012443A2 (en) * 2015-07-17 2017-01-26 华为技术有限公司 Message transmission method, access node, access controller and access system
CN107567017A (en) * 2016-06-30 2018-01-09 华为技术有限公司 Wireless connection system, device and method

Similar Documents

Publication Publication Date Title
US10965718B2 (en) Method for providing wireless application privilege management
CN112789832B (en) Dynamic slice priority handling
CN111611091A (en) Service calling method, device and medium for business object
CN102713871A (en) Client-server system
US20120150808A1 (en) Method and system for performing data backup and restoration
US20220413937A1 (en) Node management method, device and apparatus, storage medium, and system
KR20200118486A (en) How and device to update subscription information
EP3174318B1 (en) Method for realizing resource attribute notification, and common service entity
CN110505318B (en) Uniform resource locator addressing method and device, and network system
CN101925158A (en) System and method for obtaining number detail
CN110324167B (en) Configuration method, device and system of service governance rules and electronic equipment
CN111125586B (en) Page updating method and device
KR102285352B1 (en) PROXY, METHOD FOR INTERWORKING BETWEEN HETEROGENEOUS IoT DEVICE AND IoT FLATFORM AND SYSTEM THE PROXY
CN112312414A (en) Algorithm configuration method, device and equipment and computer readable storage medium
CN114968617B (en) API conversion system, access request processing method thereof, electronic equipment and medium
KR101078675B1 (en) Method for determining look and feel element in terminal, processing device and terminal
KR100458204B1 (en) A system and method for changing parameter of mobile station, using data push and mobile station
CN104918221A (en) Terminal peripheral login, logout and standby processing method and system
CN104080057A (en) Method for controlling group calling authorities of terminals
CN110730106B (en) Electronic official document exchange method and device based on tree structure and computer equipment
JP2019041241A (en) Distribution system
CN109379704B (en) Method, device and equipment for correcting regional information of short message and storage medium
WO2016095391A1 (en) Bandwidth resources adjustment method, service end, and adjustment device
CN102740255B (en) A kind of construction method of note and device
WO2016131257A1 (en) Method and device for information storage, acquisition, and processing

Legal Events

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