CN109842644B - Parameter expansion method and system, cloud computing management platform assembly and user terminal - Google Patents

Parameter expansion method and system, cloud computing management platform assembly and user terminal Download PDF

Info

Publication number
CN109842644B
CN109842644B CN201711202174.6A CN201711202174A CN109842644B CN 109842644 B CN109842644 B CN 109842644B CN 201711202174 A CN201711202174 A CN 201711202174A CN 109842644 B CN109842644 B CN 109842644B
Authority
CN
China
Prior art keywords
management platform
cloud computing
computing management
platform component
custom attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711202174.6A
Other languages
Chinese (zh)
Other versions
CN109842644A (en
Inventor
林宝洪
陈楠
樊勇兵
马卫民
吴林泽
金华敏
陈天
刘艺
何晓武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201711202174.6A priority Critical patent/CN109842644B/en
Publication of CN109842644A publication Critical patent/CN109842644A/en
Application granted granted Critical
Publication of CN109842644B publication Critical patent/CN109842644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a parameter expansion method and system, a cloud computing management platform assembly and a user terminal. The parameter expansion method comprises the following steps: the method comprises the steps that a cloud computing management platform component receives an Application Programming Interface (API) request sent by a user terminal, wherein the user terminal adds a custom attribute to the head of the API request under the condition that a user sends out API call aiming at the cloud computing management platform component; the cloud computing management platform component analyzes the API request and extracts the custom attribute; and the cloud computing management platform component writes the custom attribute into a context message. According to the invention, the user-defined attribute is added by using the context message, so that the cloud computing management platform component Neutron can support the user customized network requirement.

Description

Parameter expansion method and system, cloud computing management platform assembly and user terminal
Technical Field
The invention relates to the field of cloud computing, in particular to a parameter expansion method and system, a cloud computing management platform assembly and a user terminal.
Background
With the continuous development and maturity of OpenStack (an open source cloud computing management platform) and SDN (Software Defined Network) technologies, OpenStack + SDN has become a standard technical scheme for cloud Network construction, and is widely adopted in the industry. The China telecom cloud resource pool adopts OpenStack as an adaptation layer to uniformly manage resources such as computing, storage and network. The SDN controller is connected with an OpenStack Neutron (an OpenStack component which is responsible for a network in a virtual environment) so as to realize the unified management of the cloud network.
Due to the particularity of the user network, and the Neutron network model is relatively fixed, when most users use OpenStack to interface with the SDN network, the Neutron network model (including parameters and interfaces) inevitably needs to be extended to adapt to the own special network requirements. Neutron provides a way for API extension for users to extend network models and APIs (Application Programming interfaces).
However, extending the Neutron network model and interface through API Extension has several problems:
the method is limited to the implementation of the HTTP (HyperText Transfer Protocol), and the API Extension mode does not support two HTTP methods, namely GET (for acquiring/querying resource information) and DELETE (for deleting), which do not carry a message body, and cannot realize full Extension of CRUD operations (i.e., add (Create), read query (Retrieve), Update (Update), and DELETE (DELETE) operations during calculation processing).
Disclosure of Invention
In view of the above technical problems, the present invention provides a parameter extension method and system, a cloud computing management platform assembly, and a user terminal, which use context messages to add user-defined attributes.
According to an aspect of the present invention, there is provided a parameter extension method, including:
the method comprises the steps that a cloud computing management platform component receives an Application Programming Interface (API) request sent by a user terminal, wherein the user terminal adds a custom attribute to the head of the API request under the condition that a user sends out API call aiming at the cloud computing management platform component;
the cloud computing management platform component analyzes the API request and extracts the custom attribute;
and the cloud computing management platform component writes the custom attribute into a context message.
In one embodiment of the invention, the context message is a parameter that is transmitted by each calling method in the cloud computing management platform component network mechanism.
In one embodiment of the invention, the method further comprises:
and under the condition that the plug-in of the cloud computing management platform component processes information, extracting the custom attribute in the context message and carrying out network service logic processing.
In one embodiment of the invention, the method further comprises:
and the cloud computing management platform component transmits the context message into a plug-in or an agent so that a user can read the custom attribute from the plug-in or the agent and perform related business operation.
In one embodiment of the invention, the method further comprises:
and modifying the pipeline filter of the cloud computing management platform assembly in advance so that the pipeline filter can identify the custom attributes and write the custom attributes into the context message.
In an embodiment of the present invention, the custom attribute is a child resource pool lookup parameter.
In one embodiment of the invention, the method further comprises:
under the condition that a cloud computing management platform component processes API logic, extracting a sub-resource pool searching parameter in the context message;
searching a corresponding sub-resource pool according to the sub-resource pool searching parameter;
forwarding the API request to the child resource pool.
According to another aspect of the present invention, there is provided a cloud computing management platform component comprising:
the request receiving module is used for receiving an Application Programming Interface (API) request sent by a user terminal, wherein the user terminal adds the custom attribute to the head of the API request under the condition that a user sends out API call aiming at the cloud computing management platform component;
the pipeline filter is used for analyzing the API request and extracting the custom attribute; and writing the custom attribute into a context message.
In one embodiment of the invention, the context message is a parameter that is transmitted by each calling method in the cloud computing management platform component network mechanism.
In one embodiment of the present invention, the cloud computing management platform component further comprises:
and the service processing module is used for extracting the custom attribute in the context message and carrying out network service logic processing under the condition that the plug-in of the cloud computing management platform component processes information.
In one embodiment of the present invention, the cloud computing management platform component further comprises:
and the message transmission module is used for transmitting the context message into the plug-in or the proxy so that the user can read the custom attribute from the plug-in or the proxy and carry out related business operation.
In one embodiment of the present invention, the cloud computing management platform component further comprises:
and the setting module is used for modifying the pipeline filter of the cloud computing management platform assembly in advance, so that the pipeline filter can identify the custom attribute and write the custom attribute into the context message.
In an embodiment of the present invention, the custom attribute is a child resource pool lookup parameter;
in one embodiment of the present invention, the cloud computing management platform component further comprises:
the service processing module is used for extracting the sub-resource pool searching parameters in the context message under the condition that the cloud computing management platform component processes the API logic; searching a corresponding sub-resource pool according to the sub-resource pool searching parameter; forwarding the API request to the child resource pool.
According to another aspect of the present invention, there is provided a cloud computing management platform assembly comprising a memory and a processor, wherein:
a memory to store instructions;
a processor configured to execute the instructions to cause the apparatus to perform operations to implement the parameter extension method according to any of the embodiments described above.
According to another aspect of the present invention, there is provided a user terminal comprising:
the attribute adding module is used for adding the custom attribute to the head of the API request under the condition that a user sends out an API call aiming at the application programming interface of the cloud computing management platform assembly;
and the request sending module is used for sending the API request to the cloud computing management platform assembly so that the cloud computing management platform assembly can analyze the API request, extract the custom attribute and write the custom attribute into the context message.
In an embodiment of the present invention, the user terminal further includes:
and the attribute reading module is used for reading the custom attribute from a plug-in or an agent of the cloud computing management platform assembly and carrying out related business operation, wherein the computing management platform assembly transmits the context message into the plug-in or the agent.
According to another aspect of the present invention, there is provided a parameter expansion system, including the user terminal according to any of the above embodiments, and the cloud computing management platform component according to any of the above embodiments.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement a parameter extension method as in any of the above embodiments.
According to the invention, the user-defined attribute is added by using the context message, so that the cloud computing management platform component Neutron can support the user customized network requirement.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a parameter expansion method according to the prior art.
Fig. 2 is a schematic diagram of an embodiment of a parameter expansion method according to the present invention.
FIG. 3 is a diagram illustrating another embodiment of a parameter expansion method according to the present invention.
FIG. 4 is a diagram illustrating a parameter expansion method according to another embodiment of the present invention.
Fig. 5 is a schematic diagram of an embodiment of a cloud computing management platform component according to the present invention.
Fig. 6 is a schematic diagram of another embodiment of a cloud computing management platform component according to the present invention.
Fig. 7 is a diagram illustrating an embodiment of a ue according to the present invention.
FIG. 8 is a diagram of an embodiment of a parameter expansion system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The applicant found that: as shown in fig. 1, in the existing API extension scheme of openstack, a custom attribute needs to be obtained from a message body requested by an API, a plugin extension mechanism of Neutron needs to be modified, and the custom attribute is added to a resource attribute table of each plugin. In addition, the plug-in mechanism of Neutron can only read the body in the Neutron API Request, and the GET/DELETE method has no body and cannot define the attribute by self.
However, the problem that the OpenStack Neutron API Extension mechanism cannot extend query and DELETE operations (because there is no message body in HTTP GET and DELETE methods) is caused by the strict parameter auditing mechanism and the fact that only custom parameters can exist in the message body of the Neutron REST (Representational State Transfer, which refers to a set of architectural constraints and principles) API.
Therefore, the present invention provides a method for extending Neutron parameters by using Context, which is further described below with reference to the embodiments.
Fig. 2 is a schematic diagram of an embodiment of a parameter expansion method according to the present invention. Preferably, the embodiment can be executed by the parameter extension method or the cloud computing management platform component. The method comprises the following steps:
step 21, the cloud computing management platform component Neutron receives an Application Programming Interface (API) request sent by the user terminal, wherein the user terminal adds the custom attribute to the header of the API request under the condition that the user sends out an API call aiming at the cloud computing management platform component.
And step 22, analyzing the API request by a Pipeline Filter (Neutron Pipeline Filter) in the cloud computing management platform assembly, and extracting the custom attribute.
In one embodiment of the present invention, before step 22, the method may further comprise:
the method comprises the steps of modifying a pipeline filter of a cloud computing management platform assembly in advance, adding a user-defined attribute into the pipeline filter, enabling the pipeline filter to identify the user-defined attribute and write the user-defined attribute into Context message Context, and enabling Neutron Context to receive and transmit the user-defined attribute.
And step 23, the pipeline filter writes the custom attribute into the context message.
In one embodiment of the invention, the context message is a parameter that is transmitted by each calling method in the cloud computing management platform component network mechanism. Therefore, when plugin of Neutron processes information, the embodiment of the invention can conveniently extract the custom attribute placed in context to perform network service logic processing.
Based on the parameter expansion method provided by the above embodiment of the present invention, neutron context is used as a carrier for expanding parameters, instead of the body of API for transmission, and is applicable to all methods of Request CRUD; parameters are written to neutron context by openstack neutron pipeline Filter.
The embodiment of the invention can realize the expansion of the Neutron network model under the condition of slightly modifying Neutron, and can adapt to OpenStack of a plurality of versions, thereby meeting the support of a cloud management platform on the user-defined network requirement.
The above embodiments of the present invention do not relate to a Request body, and may be applied to all Request methods.
FIG. 3 is a diagram illustrating another embodiment of a parameter expansion method according to the present invention. Preferably, the embodiment can be executed by the parameter extension method or the cloud computing management platform component. The method comprises the following steps:
step 31, the cloud computing management platform component Neutron receives an Application Programming Interface (API) request sent by the user terminal, wherein the user terminal adds the custom attribute to the header of the API request under the condition that the user sends out an API call aiming at the cloud computing management platform component.
Step 32, a Pipeline Filter (Neutron Pipeline Filter) in the cloud computing management platform assembly analyzes the API request and extracts the custom attribute; and writing the custom attribute into a Context message in a pipeline filter.
And step 33, the cloud computing management platform component transmits the context message into a plug-in and an Agent of Neutron, so that a user can read the custom attribute from the plug-in or the Agent and perform related business operation.
Step 34, when the plugins of Neutron process information, the custom attributes in context can be conveniently extracted.
And step 35, performing network service logic processing according to the custom attribute.
When a user sends out a Neutron API call, the embodiment of the invention adds the self-defined attributes to the head of the HTTP request, and the Filter can identify the attributes. Neutron parses the attribute list of the request header and writes it into the Context, which is then passed into the Plugin and Agent of Neutron, such as ML2Core Plugin.
The user can read the self-defined attribute in the plug and carry out the related business operation, thereby realizing the customized network requirement.
FIG. 4 is a diagram illustrating a parameter expansion method according to another embodiment of the present invention. Preferably, the embodiment can be executed by the parameter extension method or the cloud computing management platform component. The embodiment is a scenario for realizing management of a plurality of cloud management platforms by using one OpenStack. The method comprises the following steps:
step 41, the user terminal sends an API request with the extended custom parameters, wherein the user adds the sub-resource pool lookup parameters os _ id and az _ id of the sub-resource pool as the custom parameters to the Headers of the HTTP request.
And 42, after the API request reaches OpenStack Neutron, reading custom parameters os _ id and az _ id by a pipeline Filter.
And 43, writing the self-defined parameters os _ id and az _ id into the neutron context through the pipeline Filter.
At step 44, Neutron Context executes the API according to the original running logic of Neutron. While the neutron processes the API logic, the custom parameters os _ id and az _ id are read from context before sending to the south Mechanism driver or the corresponding Service plug.
Step 45, searching a corresponding sub-resource pool according to the os _ id and the az _ id; and forwarding the service request to the corresponding sub-resource pool. For example: the service request may be forwarded to Child cloud computing management platform Child Openstack 1 and Child cloud computing management platform Child Openstack2 as shown in fig. 4.
Steps 42-45 of the above embodiments of the present invention may be performed by a Parent cloud computing management platform Parent Openstack.
The embodiment of the invention can realize that one OpenStack is used for managing a plurality of cloud management platforms.
The embodiment of the invention adopts a method for modifying Context to realize the extension of the Neutron network model and the full interface.
In the embodiment of the invention, the custom attribute is not transmitted through the body of the API, so that the embodiment of the invention can be applied to all methods of Request CRUD and has strong universality.
According to the embodiment of the invention, excessive native Neutron frames are not required to be changed, and the compatibility and the stability are good.
Fig. 5 is a schematic diagram of an embodiment of a cloud computing management platform component according to the present invention. As shown in fig. 5, the cloud computing management platform component may include a request receiving module 51 and a pipeline filter 52, wherein:
the request receiving module 51 is configured to receive an application programming interface API request sent by a user terminal, where in a case where a user issues an API call for a cloud computing management platform component, the user terminal adds a custom attribute to a header of the API request.
The pipeline filter 52 is used for analyzing the API request and extracting the custom attribute; and writing the custom attribute into a context message.
In one embodiment of the invention, the context message is a parameter that is transmitted by each calling method in the cloud computing management platform component network mechanism. Therefore, when plugin of Neutron processes information, the embodiment of the invention can conveniently extract the custom attribute placed in context to perform network service logic processing.
In an embodiment of the present invention, as shown in fig. 5, the cloud computing management platform component may further include a setting module 53, where:
and the setting module 53 is used for modifying the pipeline filter 52 of the cloud computing management platform component in advance, and adding a user-defined attribute into the pipeline filter, so that the pipeline filter can identify the user-defined attribute and write the user-defined attribute into the Context message Context, and the Neutron Context can receive and transmit the user-defined attribute.
Based on the cloud computing management platform component Neutron provided by the above embodiment of the invention, the Neutron context is used as a carrier of the extended parameter, and is not transmitted by the body of the API, so that the cloud computing management platform component Neutron is suitable for all methods of Request CRUD; parameters are written to neutron context by openstack neutron pipeline Filter.
The embodiment of the invention can realize the expansion of the Neutron network model under the condition of slightly modifying Neutron, and can adapt to OpenStack of a plurality of versions, thereby meeting the support of a cloud management platform on the user-defined network requirement.
The above embodiments of the present invention do not relate to a Request body, and may be applied to all Request methods.
In an embodiment of the present invention, as shown in fig. 5, the cloud computing management platform component may further include a messaging module 54 and a business processing module 55, wherein:
and the message transmission module 54 is used for transmitting the context message into the plug-in or the proxy so that the user can read the custom attribute from the plug-in or the proxy and perform related business operation.
And the service processing module 55 is configured to extract the custom attribute in the context message and perform network service logic processing when the plug-in of the cloud computing management platform component processes information.
When a user sends out a Neutron API call, the embodiment of the invention adds the self-defined attributes to the head of the HTTP request, and the Filter can identify the attributes. Neutron parses the attribute list of the request header and writes it into the Context, which is then passed into the Plugin and Agent of Neutron, such as ML2Core Plugin. The user can read the self-defined attribute in the plug and carry out the related business operation, thereby realizing the customized network requirement.
In one embodiment of the present invention, the custom attribute may be a lookup parameter for a sub-resource pool.
In an embodiment of the present invention, the service processing module 55 may be specifically configured to extract a sub-resource pool search parameter in the context message when the cloud computing management platform component processes the API logic; searching a corresponding sub-resource pool according to the sub-resource pool searching parameter; forwarding the API request to the child resource pool.
The embodiment of the invention can realize that one OpenStack is used for managing a plurality of cloud management platforms.
The embodiment of the invention adopts a method for modifying Context to realize the extension of the Neutron network model and the full interface.
Fig. 6 is a schematic diagram of another embodiment of a cloud computing management platform component according to the present invention. As shown in fig. 6, the cloud computing management platform component may include a memory 61 and a processor 62, wherein:
a memory 61 for storing instructions.
A processor 62 configured to execute the instructions to cause the apparatus to perform operations to implement the parameter extension method according to any of the above embodiments.
Based on the cloud computing management platform component Neutron provided by the above embodiment of the invention, the Neutron context is used as a carrier of the extended parameter, and is not transmitted by the body of the API, so that the cloud computing management platform component Neutron is suitable for all methods of Request CRUD; parameters are written to neutron context by openstack neutron pipeline Filter.
In the embodiment of the invention, the custom attribute is not transmitted through the body of the API, so that the embodiment of the invention can be applied to all methods of Request CRUD and has strong universality.
According to the embodiment of the invention, excessive native Neutron frames are not required to be changed, and the compatibility and the stability are good.
Fig. 7 is a diagram illustrating an embodiment of a ue according to the present invention. As shown in fig. 7, the user terminal may include an attribute adding module 71, a request sending module 72, and an attribute reading module 73, wherein:
and the attribute adding module 71 is used for adding the custom attribute into the header of the API request when the user issues an API call of the application programming interface for the cloud computing management platform component.
The request sending module 72 is configured to send an API request to the cloud computing management platform component, so that the cloud computing management platform component analyzes the API request, extracts the custom attribute, and writes the custom attribute in the context message.
And the attribute reading module 73 is configured to read a custom attribute from a plug-in or an agent of a cloud computing management platform component and perform related business operations, where the computing management platform component transmits the context message to the plug-in or the agent.
Based on the user terminal provided by the above embodiment of the present invention, the custom attribute is added to the header of the API Request, so that the cloud computing management platform component uses neutron context as a carrier of the extended parameter, instead of the body of the API, for transmission, and is applicable to all methods of Request CRUD; parameters are written to neutron context by openstack neutron pipeline Filter.
The embodiment of the invention can realize the expansion of the Neutron network model under the condition of slightly modifying Neutron, and can adapt to OpenStack of a plurality of versions, thereby meeting the support of a cloud management platform on the user-defined network requirement.
The above embodiments of the present invention do not relate to a Request body, and may be applied to all Request methods.
FIG. 8 is a diagram of an embodiment of a parameter expansion system according to the present invention. As shown in fig. 8, the parameter extension system may include a user terminal 81 and a cloud computing management platform component 82, wherein:
the user terminal 81 may be the user terminal described in any of the above embodiments.
The cloud computing management platform component 82 may be a cloud computing management platform component as described in any of the embodiments above.
In one embodiment of the invention, the cloud computing management platform component 82 may be implemented as a component Neutron of the open source cloud computing management platform OpenStack.
Based on the parameter extension system provided by the above embodiment of the present invention, the neutron context is used as a carrier for extending parameters, instead of the body of the API, for transmission, and is applicable to all methods of Request CRUD; parameters are written to neutron context by openstack neutron pipeline Filter.
The embodiment of the invention can realize the expansion of the Neutron network model under the condition of slightly modifying Neutron, and can adapt to OpenStack of a plurality of versions, thereby meeting the support of a cloud management platform on the user-defined network requirement.
The above embodiments of the present invention do not relate to a Request body, and may be applied to all Request methods.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement a parameter extension method as in any of the above embodiments.
The cloud computing management platform components and user terminals described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (17)

1. A method of parameter expansion, comprising:
the method comprises the steps that a cloud computing management platform component receives an Application Programming Interface (API) request sent by a user terminal, wherein the user terminal adds a custom attribute to the head of the API request under the condition that a user sends out API call aiming at the cloud computing management platform component;
the cloud computing management platform component analyzes the API request and extracts the custom attribute;
and the cloud computing management platform component writes the custom attribute into a Context message Neutron Context.
2. The method of claim 1,
the Context message Neutron Context is a parameter which is transmitted by each calling method in the cloud computing management platform component network mechanism.
3. The method of claim 1 or 2, further comprising:
and under the condition that the plug-in of the cloud computing management platform component processes information, extracting the custom attribute in the Context message Neutron Context to perform network service logic processing.
4. The method of claim 1 or 2, further comprising:
and the cloud computing management platform component transmits the Context message Neutron Context to the plug-in or the proxy so that the user can read the custom attribute from the plug-in or the proxy and perform related business operation.
5. The method of claim 1 or 2, further comprising:
and modifying the pipeline filter of the cloud computing management platform component in advance, so that the pipeline filter can identify the custom attribute and write the custom attribute into the context message Neutron Contex.
6. The method according to claim 1 or 2,
the custom attribute is a sub-resource pool searching parameter;
the method further comprises the following steps:
under the condition that a cloud computing management platform component processes API logic, extracting a sub-resource pool searching parameter in the context message Neutron Contex;
searching a corresponding sub-resource pool according to the sub-resource pool searching parameter;
forwarding the API request to the child resource pool.
7. A cloud computing management platform component, comprising:
the request receiving module is used for receiving an Application Programming Interface (API) request sent by a user terminal, wherein the user terminal adds the custom attribute to the head of the API request under the condition that a user sends out API call aiming at the cloud computing management platform component;
the pipeline filter is used for analyzing the API request and extracting the custom attribute; and writing the custom attribute into a Context message Neutron Context.
8. The cloud computing management platform component of claim 7,
the context message Neutron Contex is a parameter which is transmitted by each calling method in the cloud computing management platform component network mechanism.
9. The cloud computing management platform component of claim 7 or 8, further comprising:
and the service processing module is used for extracting the custom attribute in the context message Neutron context to perform network service logic processing under the condition that the plug-in of the cloud computing management platform component processes information.
10. The cloud computing management platform component of claim 7 or 8, further comprising:
and the message transmission module is used for transmitting the context message Neutron Contex into the plug-in or the proxy so that a user can read the custom attribute from the plug-in or the proxy and perform related business operation.
11. The cloud computing management platform component of claim 7 or 8, further comprising:
and the setting module is used for modifying the pipeline filter of the cloud computing management platform assembly in advance, so that the pipeline filter can identify the custom attribute and write the custom attribute into the context message Neutron Contex.
12. The cloud computing management platform component of claim 7 or 8,
the custom attribute is a sub-resource pool searching parameter;
the cloud computing management platform assembly further comprises:
the service processing module is used for extracting a sub-resource pool searching parameter in the context message Neutron Contex under the condition that the cloud computing management platform component processes the API logic; searching a corresponding sub-resource pool according to the sub-resource pool searching parameter; forwarding the API request to the child resource pool.
13. A cloud computing management platform component comprising a memory and a processor, wherein:
a memory to store instructions;
a processor to execute the instructions to cause the cloud computing management platform component to perform operations to implement the parameter extension method of any of claims 1-6.
14. A user terminal, comprising:
the attribute adding module is used for adding the custom attribute to the head of the API request under the condition that a user sends out an API call aiming at the application programming interface of the cloud computing management platform assembly;
and the request sending module is used for sending the API request to the cloud computing management platform component so that the cloud computing management platform component can analyze the API request, extract the custom attribute and write the custom attribute into a Context message Neutron Context.
15. The user terminal according to claim 14, further comprising:
and the attribute reading module is used for reading the custom attribute from a plug-in or an agent of the cloud computing management platform component and carrying out related business operation, wherein the computing management platform component transmits the context message Neutron Contex into the plug-in or the agent.
16. A parameter expansion system comprising a user terminal according to claim 14 or 15 and a cloud computing management platform assembly according to any one of claims 7-13.
17. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the parameter extension method of any one of claims 1-6.
CN201711202174.6A 2017-11-27 2017-11-27 Parameter expansion method and system, cloud computing management platform assembly and user terminal Active CN109842644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711202174.6A CN109842644B (en) 2017-11-27 2017-11-27 Parameter expansion method and system, cloud computing management platform assembly and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202174.6A CN109842644B (en) 2017-11-27 2017-11-27 Parameter expansion method and system, cloud computing management platform assembly and user terminal

Publications (2)

Publication Number Publication Date
CN109842644A CN109842644A (en) 2019-06-04
CN109842644B true CN109842644B (en) 2021-11-19

Family

ID=66879939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202174.6A Active CN109842644B (en) 2017-11-27 2017-11-27 Parameter expansion method and system, cloud computing management platform assembly and user terminal

Country Status (1)

Country Link
CN (1) CN109842644B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568879B (en) * 2021-09-18 2021-12-07 统信软件技术有限公司 File attribute adding method, computing device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532930A (en) * 2013-09-18 2014-01-22 万达信息股份有限公司 Distributed service system-oriented extension protocol
CN104092565A (en) * 2014-06-24 2014-10-08 复旦大学 Multi-tenant policy-driven type software-defined networking method for cloud data center
CN105429806A (en) * 2015-12-24 2016-03-23 武汉邮电科学研究院 Network function virtualization device and method based on data driving
CN106209677A (en) * 2016-07-15 2016-12-07 深圳市永达电子信息股份有限公司 The method that neutron based on Openstack realizes network QOS
CN106375486A (en) * 2016-11-24 2017-02-01 国云科技股份有限公司 System for defining DHCP service by use of cloud platform software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030033356A1 (en) * 2001-08-13 2003-02-13 Luu Tran Extensible client aware detection in a wireless portal system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532930A (en) * 2013-09-18 2014-01-22 万达信息股份有限公司 Distributed service system-oriented extension protocol
CN104092565A (en) * 2014-06-24 2014-10-08 复旦大学 Multi-tenant policy-driven type software-defined networking method for cloud data center
CN105429806A (en) * 2015-12-24 2016-03-23 武汉邮电科学研究院 Network function virtualization device and method based on data driving
CN106209677A (en) * 2016-07-15 2016-12-07 深圳市永达电子信息股份有限公司 The method that neutron based on Openstack realizes network QOS
CN106375486A (en) * 2016-11-24 2017-02-01 国云科技股份有限公司 System for defining DHCP service by use of cloud platform software

Also Published As

Publication number Publication date
CN109842644A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN110417766A (en) A kind of method and apparatus of protocol analysis
KR20190112213A (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
WO2018126964A1 (en) Task execution method and apparatus and server
WO2015035816A1 (en) Nginx server configuration maintenance method and system
CN104601468A (en) Message forwarding method and device
CN106656920B (en) Processing method, device, storage medium and the processor of HTTP service
WO2018035799A1 (en) Data query method, application and database servers, middleware, and system
CN103761136A (en) Method for dynamically loading data model based on plug-in
US10623450B2 (en) Access to data on a remote device
CN108696523B (en) Response method and device for call service
CN109343983B (en) Information interaction method, device, equipment and storage medium between function modules
WO2017084490A1 (en) Method and device for downloading data
CN110109983B (en) Method and device for operating Redis database
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN109842644B (en) Parameter expansion method and system, cloud computing management platform assembly and user terminal
WO2019085780A1 (en) Cloud storage system and method for achieving user-defined data processing in cloud storage system
CN112883088B (en) Data processing method, device, equipment and storage medium
CN113111109A (en) Interface warehousing analysis access method of data source
WO2023143545A1 (en) Resource processing method and apparatus, electronic device, and computer-readable storage medium
CN110209344B (en) Method, device and computer readable storage medium for migrating object storage
EP3573306A1 (en) Data processing method and device utilized in client terminal
CN113760487B (en) Service processing method and device
CN112398870B (en) Cross-platform protocol generation method, device, system, equipment and storage medium
CN110597738B (en) Memory release method, terminal and computer readable storage medium
CN104468475B (en) A kind of information processing method and electronic equipment

Legal Events

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