Business processing method and device, electronic equipment and storage medium

By deploying management devices in a cloud network and using incremental parameter templates to parse and generate modification instructions, the problem that cloud service control devices need to be compatible with multiple network devices is solved, improving the practicality of service processing and supporting unconscious expansion of cloud services .

CN119449875APending Publication Date: 2025-02-14TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310976103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Cloud service control equipment needs to be compatible with a large number of different types of network equipment, resulting in poor practicality of the service processing process. As cloud service expands, new communication services are needed for each expansion of a business.

Method used

By deploying management devices in the cloud network, the incremental parameter template is used to parse the modification instructions of the parameters to be modified from the service request of the cloud service control device, and generate corresponding modification instructions, and send them to the target network device to realize service processing.

Benefits of technology

It improves the practicality of business processing, so that cloud service control devices do not need to directly interact with underlying network devices, avoids the impact of underlying devices on the upper layer, and supports unconscious expansion of cloud services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449875A_ABST
    Figure CN119449875A_ABST
Patent Text Reader

Abstract

The invention provides a business processing method and device, electronic equipment and a storage medium, and relates to the technical field of cloud computing. Based on an increment parameter template corresponding to a first model instance, modification indication information of a to-be-modified parameter is analyzed from a service request of cloud service control equipment, and a field position of the modification indication information corresponding to each parameter can be accurately positioned through the increment parameter template; therefore, the modification indication information of the parameters needing to be modified can be accurately obtained. Moreover, the management device can generate a modification instruction for the target network device based on the modification indication information of the to-be-modified parameter, thereby converting the service request into an instruction of the network device and issuing the instruction. Unified access management is carried out on various types of network equipment through the management equipment; and the influence of the bottom-layer equipment on the upper-layer cloud service control equipment is avoided. Even if the cloud service needs to be expanded, the upper cloud service control device has no perception, and the practicability of service processing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and the present application relates to a business processing method, device, electronic device and storage medium. Background Art

[0002] With the expansion of cloud services, cloud vendors provide users with a variety of cloud services. In some cloud technology scenarios, cloud services require the cooperation of underlying network devices.

[0003] In the related art, the cloud service control device directly sends instructions to the underlying network devices according to the user's configuration requirements for the cloud service, so as to control the network devices to cooperate in implementing the corresponding processing of the service.

[0004] However, there are many types of network devices in the cloud network, and the interfaces and configurations of different network devices are different. A cloud service control device needs to be compatible with a large number of network devices. In addition, as cloud services are constantly expanding, each expansion of a service requires the development of a new set of communication services between each cloud service control device and the underlying network devices. This results in poor practicality of the service processing process in the relevant technology. Summary of the invention

[0005] The present application provides a service processing method, device, electronic device and storage medium, which can effectively improve the practicality of service processing. The technical solution is as follows:

[0006] On the one hand, an embodiment of the present application provides a service processing method, which is executed by a management device in a cloud network, wherein a cloud service control device, a management device, and a network device are deployed in the cloud network; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network;

[0007] The method comprises:

[0008] Receive a service request sent by a cloud service control device, wherein the service request encapsulates modification indication information of parameters to be modified, wherein the parameters to be modified are some parameters among the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network;

[0009] Based on the incremental parameter template corresponding to the first model instance, parsing from the service request to obtain modification indication information of the parameter to be modified, the incremental parameter template indicating the field position of the modification indication information corresponding to each parameter in the first model instance;

[0010] According to the modification method of the first model instance, a modification instruction corresponding to the business request is generated based on the modification indication information of the parameter to be modified, and the modification instruction is sent to the target network device associated with the first model instance, and the modification instruction indicates to modify the parameter to be modified in the first model instance.

[0011] On the other hand, an embodiment of the present application provides a service processing method, which is performed by a cloud service control device in a cloud network, wherein a cloud service control device, a management device, and a network device are deployed in the cloud network; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network;

[0012] The method comprises:

[0013] In response to receiving a service processing request triggered by a user, obtaining modification indication information of a parameter to be modified, wherein the parameter to be modified is a part of parameters included in a first model instance, and the first model instance is any service model instance in a cloud network;

[0014] Generate a service request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified, wherein the incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the service request;

[0015] Sending the service request to the management device; so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance; the modification instruction indicates to modify the parameter to be modified in the first model instance.

[0016] On the other hand, an embodiment of the present application provides a service processing device, which is applied to a management device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network;

[0017] The device comprises:

[0018] A receiving module, configured to receive a service request sent by a cloud service control device, wherein the service request encapsulates modification indication information of a parameter to be modified, wherein the parameter to be modified is a part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network;

[0019] a parsing module, configured to parse the service request to obtain modification indication information of the parameter to be modified based on an incremental parameter template corresponding to the first model instance, wherein the incremental parameter template indicates a field position of the modification indication information corresponding to each parameter in the first model instance;

[0020] An instruction generation module, configured to generate a modification instruction corresponding to the business request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance;

[0021] An instruction sending module is used to send the modification instruction to the target network device associated with the first model instance, and the modification instruction indicates to modify the parameters to be modified in the first model instance.

[0022] In a possible implementation, the parsing module includes:

[0023] An extraction unit, configured to extract parsed data of corresponding parameters from corresponding field positions of the service request based on field positions corresponding to the parameters indicated by the incremental parameter template;

[0024] The acquisition unit is used to determine the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtain modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, wherein the modification indication information includes at least one of the modification parameter value or modification operation information.

[0025] In a possible implementation, the parameters include a first parameter whose data type is a basic type;

[0026] The acquisition unit is used to:

[0027] For each parameter, if the parameter is a first parameter of a basic type, extracting a first parameter name and a parameter value corresponding to the first parameter name from parsed data of the first parameter;

[0028] If the first parameter name carries a modification marker, the first parameter is used as a parameter to be modified, and the parameter value corresponding to the first parameter name is used as the modified parameter value of the first parameter.

[0029] In one possible implementation, the parameters include a second parameter whose data type is an array type of a basic type;

[0030] The acquisition unit is used to:

[0031] For each parameter, if the parameter is a second parameter of an array type of a basic type, extracting element operation information from parsed data of the second parameter;

[0032] If operation information of any array element included in the second parameter is extracted, the second parameter is used as the parameter to be modified, and the extracted operation information of the array element is used as the modification operation information of the second parameter.

[0033] In one possible implementation, the device further includes:

[0034] An updating module is used to update the pre-stored first model instance to a second model instance based on the modification indication information of the parameter to be modified and the parameter value of each parameter in the first model instance.

[0035] In a possible implementation, the instruction generation module is used to:

[0036] If the modification mode is incremental modification, generating a first modification instruction based on the modification indication information of the parameter to be modified, the first modification instruction instructing to modify the first model instance based on the modification indication information of the parameter to be modified;

[0037] If the modification method is a full modification, a second modification instruction is generated based on the second model instance, the second modification instruction indicates that the first model instance is modified to a second model instance, and the second model instance is generated based on the modification indication information of the parameter to be modified and the first model instance.

[0038] In one possible implementation, the device further includes:

[0039] A configuration request receiving module, used to receive a service configuration request sent by a cloud service control device, wherein the service configuration request is used to request to create a first model instance based on parameter values ​​of various parameters;

[0040] A construction module is used to create and store a first model instance based on the parameter values ​​of the various parameters, construct an incremental parameter template corresponding to the first model instance, and send a creation instruction for creating the first model instance to the target network device.

[0041] In one possible implementation, the cloud network includes a plurality of management devices, each of which is deployed in a target edge region of at least one network device associated with the management device;

[0042] The device further comprises at least one of the following:

[0043] A first exception processing module is used to receive, for each management device, configuration data reported by at least one network device associated with the management device, detect abnormal configuration devices in each network device based on the configuration data of each network device, and perform repair processing on the abnormal configuration devices;

[0044] The second exception processing module is used to receive, for each management device, the operation status data periodically reported by at least one network device associated with the management device, generate an operation report in each network device based on the operation status data of each network device in each period, and perform alarm processing on the abnormally operating device in each network device based on pre-configured alarm indication information and operation report.

[0045] On the other hand, an embodiment of the present application provides a service processing device, which is applied to a cloud service control device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network;

[0046] The device comprises:

[0047] an acquisition module, configured to acquire modification indication information of a parameter to be modified in response to receiving a service processing request triggered by a user, wherein the parameter to be modified is a part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network;

[0048] a business request generating module, configured to generate a business request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified, wherein the incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the business request;

[0049] A service request sending module, used to send the service request to the management device; so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance; the modification instruction indicates to modify the parameter to be modified in the first model instance.

[0050] On the other hand, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the above-mentioned service processing method.

[0051] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned business processing method when executed by a processor.

[0052] On the other hand, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the above-mentioned business processing method is implemented.

[0053] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0054] The business processing method provided in the present application parses the modification indication information of the parameters to be modified from the business request of the cloud business control device based on the incremental parameter template corresponding to the first model instance, and the field position of the modification indication information corresponding to each parameter can be accurately located through the incremental parameter template; therefore, the modification indication information of the parameters to be modified can be accurately obtained. In addition, the management device can generate modification instructions based on the modification indication information of the parameters to be modified, and send the modification instructions to the target network device, thereby effectively converting the business request into an instruction of the corresponding network device. The management device can uniformly access and manage various types of network devices; the cloud business control device does not need to interact with the underlying network devices, but directly interacts with the management device, thereby avoiding the influence of the underlying devices on the upper-layer cloud business control devices. Even if the cloud business needs to be expanded, the upper-layer cloud business control devices can be made unaware through the management device, thereby improving the practicality of business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A schematic diagram of a cloud network architecture of a business processing method provided in an embodiment of the present application;

[0056] Figure 2 A flowchart of a business processing method provided in an embodiment of the present application;

[0057] Figure 3 A flowchart of a business processing method provided in an embodiment of the present application;

[0058] Figure 4 A schematic diagram of the architecture of a business processing method provided in an embodiment of the present application;

[0059] Figure 5 A schematic diagram of an interactive process of a business processing method provided in an embodiment of the present application;

[0060] Figure 6 An example diagram of an edge deployment interaction process of a business processing method provided in an embodiment of the present application;

[0061] Figure 7 A schematic diagram of the structure of a service processing device provided in an embodiment of the present application;

[0062] Figure 8 A schematic diagram of the structure of a service processing device provided in an embodiment of the present application;

[0063] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0065] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said", and "the" used herein may also include plural forms. The terms "include" and "comprise" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, and operations, but do not exclude the implementation as other features, information, data, steps, operations, etc. supported by the technical field.

[0066] It can be understood that in the specific implementation of the present application, any user-related data such as model parameters involved in the process of user-triggered parameter modification, configuration and modification of business model instances, etc., when the above embodiments of the present application are applied to specific products or technologies, need to obtain user permission or consent, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0067] The following is an introduction and explanation of the terms and related technologies involved in this application:

[0068] Cloud network: A private cloud or public cloud network used to provide cloud business services; for example, cloud services may include but are not limited to cloud conferencing, cloud IoT, cloud gaming, cloud education and other business services. In this cloud network, cloud business services are provided to users through pre-created business model instances.

[0069] Business model instance: a network communication model that provides business services in a cloud network. A business model instance can be a model instance obtained by instantiating a network communication model and used to implement a specific business. A network communication model can be a pre-built communication model; for example, an OSI (Open System Interconnection, also known as a seven-layer model) or TCP / IP (Transmission Control Protocol / Internet Protocol, also known as a network communication protocol) model used to implement communication.

[0070] Cloud business control device: can receive business processing requests triggered by users, convert business processing requests from users into business requests, and send them to management devices.

[0071] Management device: located between the network device and the cloud service control device, it can provide management services for the network device to the cloud service control device. It is a new management platform added to the cloud network architecture in this application.

[0072] Network equipment: is associated with a business model instance, and can use the associated business model instance to implement corresponding business processing.

[0073] Figure 1 A schematic diagram of a cloud network architecture for a business processing method provided in this application. Figure 1 As shown, the cloud network architecture includes: a cloud service control device 101 , a management device 102 , and a network device 103 .

[0074] In one possible scenario, the cloud service control device 101 may receive a service processing request from a user, generate a service request according to the user's service processing request, and send the service request to the management device 102. The management device 102 may convert the service request into a service instruction for a certain network device 103, and issue the service instruction to the corresponding network device 103, so that the network device 103 executes the corresponding service processing logic according to the service instruction. In addition, the management device 102 may also maintain the latest service model instance, for example, modify the parameters to be modified in the service model instance according to the service request, and store the modified service model instance in the database.

[0075] In a scenario example, the user selects the required cloud network product through the cloud console, fills in the configuration and places an order. The cloud console locates the cloud service control device corresponding to the cloud network product, sends the service processing request triggered by the user to the cloud service control device, and the cloud service control device converts it and sends it to the management platform. The management platform controls a specific network device to perform service operations such as modification and deletion of the service model instance to implement the corresponding service processing.

[0076] Exemplarily, the cloud service control device 101, the management device 102, and the network device 103 may be servers. The number of each type of device may be one or more. For example, a cloud service control device A, a cloud service control device B, and network devices 1, 2, 3, and the like may be deployed in a cloud network.

[0077] The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The above-mentioned network may include but is not limited to: wired network, wireless network, wherein the wired network includes: local area network, metropolitan area network and wide area network, and the wireless network includes: Bluetooth, Wi-Fi and other networks that realize wireless communication.

[0078] Figure 2 A flowchart of a service processing method provided in an embodiment of the present application. The method can be executed by a management device in a cloud network; a cloud service control device, a management device, and a network device are deployed in the cloud network; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; Figure 2 As shown, the method may include 201-203.

[0079] 201. A management device receives a service request sent by a cloud service control device.

[0080] The service request is used to request modification of the first model instance based on modification indication information of the parameter to be modified. Exemplarily, the service request encapsulates modification indication information of the parameter to be modified, and the parameter to be modified is part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network.

[0081] In the present application, the management device is associated with and stores the incremental parameter templates corresponding to each business model instance in the cloud network; the incremental parameter template corresponding to each business model instance can be used to implement incremental modification of the parameters in the corresponding business model instance.

[0082] Among them, the modification indication information of the parameters to be modified in the service request is encapsulated by the cloud service control device according to the incremental parameter template corresponding to the first model instance.

[0083] Exemplarily, the incremental parameter template corresponding to the first model instance indicates the field position of the modification indication information corresponding to each parameter in the first model instance. The incremental parameter template defines the field position corresponding to each parameter in the first model instance, that is, defines the position of the field for storing the modification indication information of each parameter.

[0084] Exemplarily, the management device may also construct an incremental parameter template corresponding to the first model instance. For example, the management device adds identification information to the first model instance, constructs an incremental parameter template corresponding to the first model instance, and adds the identification information of the first model instance to the incremental parameter template to associate the first model instance with the corresponding incremental parameter template.

[0085] For example, the first model instance may be called configModel, and the incremental parameter template used for incrementally modifying parameters in the first model instance may be called changedModel.

[0086] The following uses the VRF model as an example for explanation.

[0087] An example of a VRF service model is as follows:

[0088]

[0089] The "String name" field name defines the unique identification information corresponding to the first model instance. The identification information may be a key. The key of each model instance can uniquely identify the model instance, that is, it is not repeated with the keys of other model instances. A model instance can be uniquely identified by the key.

[0090] Among them, "String name" is the key of the VRF model. Once created, it cannot be modified. All subsequent operations need to carry this field. The "uint32 rate" field and the "repeated string vpcIDs" field define the parameter rate (rate) and parameter VpcID (Virtual Private Cloud Identity) in the VRF business model instance respectively.

[0091] The incremental parameter template corresponding to the VRF service model instance is as follows:

[0092]

[0093]

[0094] Operation can be used to define the operation type. For example, "ADD" indicates an add operation, and "DELETE" indicates a delete operation. "VRFChangedModel" indicates a VRF incremental parameter template of a VRF service model instance corresponding to "VRFConfigModel".

[0095] In the VRF incremental parameter template, "String name" is also defined to uniquely locate a corresponding model instance during modification or deletion operations. "optional uint32rate" is used to define the modified parameter rate.

[0096] “repeated ChangedVpcID vpcIDs” is used to define the modified parameter VpcID, and “message ChangedVpcID” is used to further define the operation instruction information for the parameter VpcID; among them, “string vpcID” is used to define the modified parameter VpcID, and the subsequent “Operation op” is used to define the operation for the modified parameter VpcID.

[0097] In this application, the cloud service control device does not need to communicate with the network device, but directly communicates and interacts with the management device, and the cloud service control device and the management device communicate to modify the service model instance in the network device. The cloud service control device and the management device can pre-negotiate the parameter encapsulation format of each service model instance in the cloud network.

[0098] The following is based on Figure 3 The process shown introduces the process of a cloud service control device generating and sending a service request to a management device.

[0099] Figure 3 The flowchart of a service processing method provided by an embodiment of the present application is shown in FIG. The method can be executed by a cloud service control device in a cloud network. Figure 3 As shown, the method may include 301-303.

[0100] 301. In response to receiving a service processing request triggered by a user, the cloud service control device obtains modification indication information of a parameter to be modified.

[0101] The parameter to be modified is part of the parameters included in the first model instance, and the first model instance is any business model instance in the cloud network. Exemplarily, the user can trigger a business processing request through the cloud console. For example, the user selects the corresponding cloud network service through the cloud console, fills in the parameter configuration for the cloud network service and submits it; the cloud console locates the corresponding cloud service control device according to the cloud network service selected by the user, and sends a business processing request to the cloud service control device based on the parameter configuration information submitted by the user.

[0102] The cloud service control device can extract the parameter configuration information submitted by the user from the service processing request, and generate modification indication information of the parameter to be modified based on the parameter configuration information. For example, the parameter configuration information may include but is not limited to: a modified parameter value, an indication of deleting a parameter value of a parameter, adding a new parameter value, etc. The modification indication information of the parameter to be modified may include at least one of the modified parameter value or the modification operation information. Among them, the modified parameter value is the parameter value to be modified; for example, the user triggers the modification of the parameter rate to be modified from 26 to 28, and 28 is the modified parameter value.

[0103] 302. The cloud service control device generates a service request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified.

[0104] The incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the business request.

[0105] When the cloud service control device and the management device interact with each other, the parameter-related data to be transmitted can be encapsulated in accordance with the pre-negotiated parameter encapsulation format. For example, the cloud service control device can obtain the incremental parameter template corresponding to the first model instance from the management device in advance, and encapsulate the modification indication information of the parameter to be modified according to the incremental parameter template to obtain the service request.

[0106] 303. The cloud service control device sends the service request to the management device, so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance.

[0107] In this application, the cloud service control device sends the service request to the management device, so that the management device can execute the following 202-203 based on the service request to control the network device to modify the first model instance. The process of the management device executing 202-203 to control the network device is introduced below.

[0108] 202. The management device parses the service request based on the incremental parameter template corresponding to the first model instance to obtain modification indication information of the parameter to be modified.

[0109] The incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance. When executing 202, the management device can perform field-by-field analysis on each field position in the business request based on the field position corresponding to each parameter defined in the incremental parameter template; and obtain the modification indication information of the parameter to be modified in each parameter.

[0110] In some embodiments, the management device may store the latest parameter values ​​of each business model instance. Then after 202, the management device may also perform the following A1:

[0111] A1. The management device updates the pre-stored first model instance to the second model instance based on the modification indication information of the parameter to be modified and the parameter value of each parameter in the first model instance.

[0112] Exemplarily, the management device may modify the parameter value of the parameter to be modified in the first model instance according to the modification indication information of the parameter to be modified, and store the modified first model instance as the second model instance in the database, thereby updating the first model instance. Wherein, the parameter value of the parameter to be modified may be modified to the modified parameter value based on the modified parameter value in the modification indication information; or, based on the operation indication information in the modification indication information, a corresponding operation may be performed on the parameter value of the parameter to be modified to obtain the modified parameter value corresponding to the parameter to be modified.

[0113] In some embodiments, the incremental parameter template defines the field position corresponding to each parameter in the first model instance, that is, the field used to store the modification indication information of each parameter. The parameters to be modified in the business request are part of all the parameters in the first model instance. That is, the business request only includes the modification indication information of the parameters that need to be modified; and for the parameters that do not need to be modified, the business request does not include the parameter values ​​of the parameters that do not need to be modified, nor will there be modification indication information for these parameters. Based on this, the field position of the parameters that do not need to be modified in the business request can be empty. For example, the field position being empty can be that the field position is filled with the default value 0.

[0114] In one possible manner, the management device may determine whether the parameter is a parameter to be modified based on the data in the field position corresponding to each parameter, and then obtain the modification indication information based on the determination result.

[0115] Exemplarily, the implementation of 202 may include the following 2021-2022:

[0116] 2021. The management device extracts parsed data of corresponding parameters from corresponding field positions of the business request based on field positions corresponding to the parameters indicated by the incremental parameter template.

[0117] 2022. The management device determines the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtains modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, where the modification indication information includes at least one of the modification parameter value or modification operation information.

[0118] Exemplarily, the management device can extract data from each field position in the business request based on the incremental parameter template to obtain the parsed data of the field corresponding to each parameter in the business request, wherein the obtained parsed data includes the parsed data of the parameters that need to be modified and the parameters that do not need to be modified.

[0119] The management device can combine the data types of different parameters and use a judgment method corresponding to the data type to judge whether the corresponding parameter is a parameter to be modified.

[0120] In this application, each parameter in the first model instance can be defined using the Protocol Buffers protocol (Protocol Buffers, referred to as Proto Buffer, is an open source cross-platform serialized data structure protocol). Each parameter in the first model instance and its corresponding data type are shown in Table 1 below:

[0121]

[0122]

[0123] In one possible manner, the parameters include a first parameter whose data type is a basic type;

[0124] Correspondingly, 2022 may include: for each parameter, if the parameter is a first parameter of the basic type, extracting the first parameter name and the parameter value corresponding to the first parameter name from the parsed data of the first parameter; if the first parameter name carries a modification marker, then taking the first parameter as the parameter to be modified, and taking the parameter value corresponding to the first parameter name as the modified parameter value of the first parameter.

[0125] For the first parameter, the modification marker optional can be used to identify whether the first parameter is a parameter to be modified. That is, the management device can obtain the parameter name from the parsed data, and if the parameter name includes the modification marker optional, the parameter is the parameter to be modified; and further obtain the parameter value of the parameter from the parsed data as the parameter value to be modified.

[0126] For example, the data type of the parameter rate is a basic type. The definition of this parameter in the VRF service model instance "VRFConfigModel" is "uint32 rate=2", where "2" is used to identify the field position of the parameter value of the parameter rate.

[0127] In the VRF incremental parameter template "VRFChangedModel", for the parameter rate, a field position "optional uint32 rate=2" corresponding to the parameter name with a modification marker is defined; wherein "2" is used to identify the field position of the parameter value of the parameter rate to be modified.

[0128] For basic type parameters, the incremental parameter template defines the field position of the parameter name with the modification marker optional. Based on this, it can be identified whether the parameter is a parameter that needs to be modified. In addition, when the management device modifies the parameter in the first model instance, if the parameter is a parameter that needs to be modified, the parameter value of the rate parameter in the field is used as the parameter value to be modified. That is, the rate parameter is reassigned during this business request, and the parameter value to be modified can be assigned to the rate parameter in the first model instance. Of course, if the parameter name does not contain the modification marker optional, the rate parameter is not a parameter that needs to be modified, and the management device will not reassign the rate parameter in the first model instance.

[0129] It should be noted that by adding a modification marker to the parameter name, the modification marker can be used to accurately identify whether the parameter needs to be modified; if the value of the rate field in the parsed data extracted by the device management is used, it can be further determined whether the parameter is a parameter to be modified by whether the parameter name carries the modification marker optional.

[0130] If the method of the present application is not adopted, that is, no modification marker is added to the parameter name of the parameter to be modified, if the field of the basic type of parameter is empty, the value of the field in the parsed data extracted by the management device is the default value 0; and if the user actively modifies the parameter to 0, the value of the field in the parsed data extracted by the management device is also 0; at this time, it is impossible to determine whether 0 is the default value of the empty field of the parameter that does not need to be modified, or the parameter value to be modified of the parameter that needs to be modified.

[0131] However, by adopting the method of the present application, the modification marker is first used to accurately identify whether the parameter needs to be modified; if it is a parameter that needs to be modified, the value of the field is further read, and no matter whether the value of the field read is 0, 1, or other numerical values, the read value is considered to be the modified value intended by the user. If it is a parameter that does not need to be modified, it can also be made clear that it will not be modified based on the value of the field. Based on this, it is possible to avoid conflicts caused by the empty field taking the value 0 and the user actively modifying it to 0, thereby ensuring the accuracy of the judgment on whether the parameter has been modified and the accuracy of business processing.

[0132] In another possible embodiment, each parameter includes a second parameter of an array type whose data type is a basic type; accordingly, 2022 may include: for each parameter, if the parameter is a second parameter of an array type of a basic type, extracting element operation information from the parsed data of the second parameter; if operation information of any array element included in the second parameter is extracted, the second parameter is used as a parameter to be modified, and the extracted operation information of the array element is used as modification operation information of the second parameter.

[0133] Among them, for the second parameter of the array type of the basic type, in the incremental parameter template, if the second parameter is a parameter to be modified, it can be encapsulated into an array of a new message with Operation, so as to define the operation information of the array elements in the second parameter through Operation.

[0134] The management device can extract the operation information of each array element from the parsed data, that is, whether the extracted field content includes an array of a new message with Operation; if so, the second parameter is the parameter to be modified. And, further extract the operation information of the corresponding array element from the array of the new message with Operation.

[0135] For example, in the VRF service model instance "VRFConfigModel", vpcIDs is defined to have three elements: 1, 2, and 3, that is, vpcIDs:{1,2,3}.

[0136] The array of new messages with Operation about VpcID is extracted from the parsed data, as follows:

[0137]

[0138] Among them, "op:2" means to perform a delete operation on element "3" in the VpcID array (2 corresponds to the DELETE operation defined in Operation). "op:1" means to perform an add operation on element "4" in the VpcID array (1 corresponds to the ADD operation defined in Operation).

[0139] Based on this, after determining that the parameter of the VpcID array type is a parameter to be modified, the management device further identifies which element in the VpcID array is to be operated on based on the operation information. In addition, the management device can also perform corresponding operations on the elements in the VpcID array in the VRF service model instance of the cloud storage based on the extracted operation information to modify the VpcID parameter.

[0140] In another possible manner, each parameter includes a third parameter whose data type is a composite type; a composite type parameter may be a defined object, and an object may be a combination of sub-parameters of one or more basic types. For example, in Table 1, the parameter AclRule (Access Control List Rule) may be defined in the form of an object. An object AclRule may contain three sub-parameters "ruleName", "aclMatch" and "aclAction" which are all of the basic type string. Of course, an object may also be a combination of sub-parameters of array type of one or more basic types.

[0141] For the basic type of sub-parameter in the object, the same method as the first parameter can be used to determine whether the basic type of sub-parameter needs to be modified, and if it is determined that modification is required, the corresponding parameter value to be modified is read to modify the corresponding sub-parameter in the first model instance. No further details will be given here.

[0142] For the sub-parameter of the array type of the basic type in the object, the same method as the second parameter can be used to determine whether the sub-parameter needs to be modified, and if it is determined that modification is required, the corresponding operation information is read to modify the corresponding sub-parameter in the first model instance. This will not be repeated here.

[0143] 203. The management device generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance.

[0144] The modification instruction instructs to modify the parameter to be modified in the first model instance.

[0145] When executing 203, the target network device may receive the modification instruction, and based on the modification instruction, modify the parameter to be modified in the first model instance.

[0146] The modification method may include incremental modification or full modification. The modification instructions generated by different modification methods carry different parameters. In a possible implementation, the implementation of 203 may include:

[0147] If the modification mode is incremental modification, a first modification instruction is generated based on the modification indication information of the parameter to be modified, and the first modification instruction instructs to modify the first model instance based on the modification indication information of the parameter to be modified;

[0148] If the modification method is a full modification, a second modification instruction is generated based on the second model instance, and the second modification instruction indicates that the first model instance is modified into a second model instance, and the second model instance is generated based on the modification indication information of the parameter to be modified and the first model instance.

[0149] Exemplarily, the management device may pre-configure a call interface corresponding to each network device, such as RPC (Remote Procedure Call Protocol), to implement management of each network device.

[0150] Exemplarily, the management device may send a modification instruction to the target network device by calling the RPC corresponding to the target network device. If it is a full modification, the management device may use the second model instance as a parameter to call the device RPC of the target network device to control the target network device to update the first model instance to the second model instance.

[0151] If it is an incremental modification, the management device may use the modification indication information of the parameters to be modified as parameters and call the device RPC of the target network device to control the target network device to modify the parameters to be modified in the first model instance based on the modification indication information to update the first model instance to the second model instance.

[0152] It should be noted that different parameters or different operations may correspond to different calling interfaces. The management device may pre-store the calling interfaces corresponding to different parameters or different operations, so as to accurately identify the calling interfaces corresponding to different parameters or different operations and call them one by one.

[0153] Taking the VRF model instance as an example, when the vpcID parameter needs to be modified, if an element is added to the vpcID array, the call interface is bindVRFVpcID()rpc. If an element is deleted from the vpcID array, the call interface is unbindVRFVpcID().

[0154] Based on this, for a business request or a modification of a parameter in the management device, the cloud business control device may call different calling interface RPCs corresponding to the target network device multiple times. These multiple calls to different calling interface RPCs are unaware of the cloud business control device. Even if the underlying network device changes, such as the replacement of the underlying device or the interface upgrade, only the configuration file in the management device needs to be modified, and the cloud business control device does not need to make any changes.

[0155] In some embodiments, the cloud service control device can also achieve the creation, deletion or parameter configuration of the service model instance in the network device through the management device. Exemplarily, the first model instance is a service model instance that is pre-created and deployed in the corresponding network device. The creation and deployment process can be achieved through the following B1-B2:

[0156] B1. The management device receives a service configuration request sent by the cloud service control device, where the service configuration request is used to request creation of a first model instance based on parameter values ​​of various parameters;

[0157] B2. The management device creates and stores a first model instance based on the parameter values ​​of the various parameters, constructs an incremental parameter template corresponding to the first model instance, and sends a creation instruction for creating the first model instance to the target network device.

[0158] Exemplarily, when a new business model instance needs to be created, the cloud business control device may send the corresponding parameters and their parameter values ​​to the management device; for example, the cloud business control device generates a business configuration request based on the parameters and parameter values ​​of the first model instance to be created, and sends the business configuration request to the management device. The management device may extract the parameters and parameter values ​​of the first model instance to be created from the business configuration request, create the first model instance based on the extracted data, and send a creation instruction to the target network device; the creation instruction may encapsulate the parameters and parameter values ​​of the first model instance, so that the target network device creates the first model instance based on the creation instruction.

[0159] In addition, the deletion of a created business model instance can also be supported. Taking the first model instance as an example, the cloud business control device can manage the device to send a deletion request for the first model instance, and the management device can send a deletion instruction corresponding to the deletion request to the target network device, so that it deletes the first model instance.

[0160] It should be noted that the management device can pre-store the target association relationship between each business model instance and each network device. Based on this, the business request issued by the cloud business control device does not need to carry the device identification of the target network device. The management device determines the target network device corresponding to the first model instance from the target association relationship based on the business request.

[0161] Alternatively, the cloud business control device may pre-store the target association relationship between each business model instance and each network device. The cloud business control device may then determine the target network device based on the business processing request triggered by the user and the target association relationship, and generate a business request based on the modification indication information of the parameters to be modified and the device identification information of the target network device.

[0162] In some embodiments, a cloud network may include multiple management devices, and each management device may manage some of the multiple network devices. Based on this, multiple management devices in the cloud network may also be deployed in an edge manner; for example, the management device is deployed in an edge computer room that is close to the managed network device. In one possible manner, each management device is deployed in a target edge area of ​​at least one network device associated with the management device; the service processing method of the present application may also include at least one of C1 and C2:

[0163] C1. For each management device, the management device receives configuration data reported by at least one network device associated with the management device, detects abnormally configured devices among the network devices based on the configuration data of each network device, and repairs the abnormally configured devices;

[0164] C2. For each management device, the management device receives the operation status data periodically reported by at least one network device associated with the management device, generates an operation report in each network device based on the operation status data of each network device in each period, and performs alarm processing on abnormal operation devices in each network device based on pre-configured alarm indication information and operation report.

[0165] Exemplarily, the present application can implement an audit of the device configuration of network devices through C1. In the related art, the device configuration audit process requires the cloud business control device to pull the device configuration from the network device, but perform the audit in the cloud business control device; then the configuration information of the device with the abnormal configuration is repaired according to the audit results. In the present application, the device configuration audit process for each underlying network device can be executed by the management device, that is, the management device located at the edge area of ​​each network device communicates and interacts with the network device to complete the configuration audit of the network devices within a relatively close geographical location.

[0166] Exemplarily, the present application can detect the device operation status of the network device through C2. In the related art, for the detection of the operation status of the network device, the network device needs to report its operation status to the cloud business control device. The cloud business control device directly detects based on a large amount of network device reported data for display, and can also generate an alarm when the device is abnormal according to the configured alarm parameters. In the present application, the detection of the operation status of each underlying network device can be performed by the management device, that is, the device operation status reports the operation status to the edge management device, and the management device periodically processes the data to generate a report, and finally the management device reports the finally generated report to the cloud business control device; in addition, the management device can also be pre-configured with alarm indication information, so that the management device can timely discover and handle the abnormality according to the reported operation status. Through this edge-based deployment method, the edge-side management device can independently complete the closed-loop detection operation and the closed-loop audit operation, which can greatly reduce the time and cost overhead caused by the network link interaction.

[0167] In this application, by adopting an edge-based approach to deploy various management devices, the management device can be used to perform configuration audits, operation status detection, and other processes on close-range network devices. The close distance is relative to the cloud business control device, specifically, the distance between the management device and the network device is less than the distance between the cloud business control device and the network device. Based on this, the network delay of frequent communication interactions between the management device bureau and the managed network devices can be reduced; especially in scenarios where a large number of network devices are involved in a large number of services in the cloud network, the efficiency and timeliness of the management process such as auditing and operation detection of network devices by the management device can be improved.

[0168] It should be noted that in the field of cloud computing network services, through the service processing method provided by this application, a new general device management platform is constructed in the cloud network architecture, and various types of network devices are uniformly accessed and managed through the device management platform. By constructing incremental parameter templates corresponding to each business model instance in the device management platform, the upper-layer cloud service control device can be unaware of the underlying network devices, greatly reducing the impact of inconsistent configuration of the underlying network devices due to different manufacturers, software and hardware versions on the upper layer.

[0169] In addition, the incremental parameter template can be used to accurately locate the field position of the modification indication information of the parameters that need to be modified. Regardless of whether the business model instance is modified incrementally or fully, the cloud business control device uses an incremental method. The business request only carries information about the parameters that need to be modified, reducing the data interacting on the network and saving network costs.

[0170] In addition, it supports the deployment of management devices in an edge-based manner. Deploying corresponding management devices closer to network devices can reduce the overhead on network links when network devices interact with management devices and reduce network latency.

[0171] like Figure 4 As shown, in this application, the management device can be used as a new service between the cloud business control device and the network device - the device management platform, providing a universal control interface for the upper-level business controller so that they no longer need to perceive the differences in the underlying devices. For the network models used, such as VRF business model instances, ROUTE (routing) business model instances, VXLAN TUNNEL (VXLAN tunnel) business model instances, etc., the management platform can convert the business requests of these business model instances into instructions for the corresponding network devices through the unified access management of each network device, so as to realize the modification, creation or deletion of the universal business model instance. Universal operation and maintenance functions, such as device configuration auditing, device operation status detection, etc., can also be uniformly taken over by the management platform; different cloud business control devices do not need to be developed repeatedly.

[0172] like Figure 5 As shown, in this application, each time the device management platform receives a model object (that is, a business model instance) created by the service controller, it can save the full model object in the database and send the created model object to the network device. Based on this, when modifying the model object, the following 1-3 can be performed on the model object in the device management platform:

[0173] 1. Read the currently saved object (that is, the business model instance);

[0174] 2. Merge the incremental object (that is, the parameters to be modified in the business model instance) with the existing object;

[0175] 3. Save the merged object;

[0176] Then, the changed parts are converted into device instructions and sent to the device.

[0177] like Figure 6 As shown, in this application, the device management platform can be deployed in an edge manner, for example, Figure 6 In the example, the device management platform in Beijing is responsible for unified access management of network devices in Beijing. The device management platform in Shanghai is responsible for unified access management of network devices in Shanghai. Figure 6As shown in the figure, when the cloud service control device at the center needs to send down the configuration, a model object operation for a device needs to be sent to the edge device management platform node corresponding to the device. After the device management platform node completes the processing, it is converted into multiple RPC interactions with the device, and the configuration is completed. In this way, the original operation of the cloud network controller at the center to send multiple requests to the remote network device is simplified to one operation, and the latency of the multiple interactions of the device management platform at the edge side with the device can be low to negligible, which greatly improves the efficiency of system service configuration.

[0178] There are many types of network models to be managed in a system. If a customized model merging code is developed for each network model, it will bring a lot of workload. When the model is changed or added in the future, the scalability of the system will be relatively low (new development and upgrading of the online system are required).

[0179] The business processing method provided in the present application parses the modification indication information of the parameters to be modified from the business request of the cloud business control device based on the incremental parameter template corresponding to the first model instance, and the field position of the modification indication information corresponding to each parameter can be accurately located through the incremental parameter template; therefore, the modification indication information of the parameters to be modified can be accurately obtained. In addition, the management device can generate modification instructions based on the modification indication information of the parameters to be modified, and send the modification instructions to the target network device, thereby effectively converting the business request into an instruction of the corresponding network device. The management device can uniformly access and manage various types of network devices; the cloud business control device does not need to interact with the underlying network devices, but directly interacts with the management device, thereby avoiding the influence of the underlying devices on the upper-layer cloud business control devices. Even if the cloud business needs to be expanded, the upper-layer cloud business control devices can be made unaware through the management device, thereby improving the practicality of business processing.

[0180] In addition, the incremental parameter template can be used to accurately locate the field position of the modification indication information of the parameters that need to be modified. Regardless of whether the business model instance is modified incrementally or fully, the cloud business control device uses an incremental method. The business request only carries information about the parameters that need to be modified, reducing the data interacting on the network and saving network costs.

[0181] In addition, it supports the deployment of management devices in an edge-based manner. Deploying corresponding management devices closer to network devices can reduce the overhead on network links when network devices interact with management devices and reduce network latency.

[0182] The business processing method provided in this application relates to technical fields such as cloud computing, cloud storage, and private cloud. For example, cloud computing technology is used to modify, calculate, and process instantiated business model instances. For another example, cloud storage technology is used to achieve distributed storage of a large number of business model instances.

[0183] It is understandable that a private cloud is a cloud infrastructure and software and hardware resources created within a firewall so that departments within an organization or enterprise can share resources within the data center. In addition to hardware resources, creating a private cloud generally also requires cloud equipment (IaaS, Infrastructure as a Service) software.

[0184] Private cloud computing also includes three levels: cloud hardware, cloud platform, and cloud service. The difference is that cloud hardware is the user's own personal computer or server, not the cloud computing vendor's data center. The purpose of cloud computing vendors to build data centers is to provide public cloud services to millions of users, so they need to have tens of millions of servers. Private cloud computing only serves friends and relatives for individuals, and only serves employees, customers, and suppliers for enterprises. Therefore, an individual or enterprise's own personal computer or server is sufficient to provide cloud services.

[0185] It is understandable that cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space and information services as needed. The network that provides resources is called "cloud". The resources in the "cloud" are infinitely expandable in the eyes of users, and can be obtained at any time, used on demand, expanded at any time, and paid for by use.

[0186] As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service) platform) will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.

[0187] According to the logical function division, the PaaS (Platform as a Service) layer can be deployed on the IaaS (Infrastructure as a Service) layer, and the SaaS (Software as a Service) layer can be deployed on the PaaS layer. SaaS can also be deployed directly on IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is a variety of business software, such as web portals, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.

[0188] It can be understood that cloud storage is a new concept extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.

[0189] At present, the storage method of the storage system is: create a logical volume, and when creating a logical volume, allocate physical storage space for each logical volume. The physical storage space may be composed of disks of a storage device or several storage devices. The client stores data on a logical volume, that is, stores the data on the file system. The file system divides the data into many parts, each of which is an object. The object contains not only data but also additional information such as data identification (ID, ID entity). The file system writes each object into the physical storage space of the logical volume, and the file system records the storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.

[0190] Figure 7 A schematic diagram of the structure of a service processing device provided in an embodiment of the present application. The device is applied to a management device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; Figure 7 As shown, the device comprises:

[0191] A receiving module 701 is used to receive a service request sent by a cloud service control device, wherein the service request encapsulates modification indication information of a parameter to be modified, wherein the parameter to be modified is part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network;

[0192] A parsing module 702, configured to parse the service request to obtain modification indication information of the parameter to be modified based on an incremental parameter template corresponding to the first model instance, wherein the incremental parameter template indicates a field position of the modification indication information corresponding to each parameter in the first model instance;

[0193] An instruction generating module 703 is used to generate a modification instruction corresponding to the business request based on the modification indication information of the parameter to be modified according to the modification mode of the first model instance;

[0194] The instruction sending module 704 is used to send the modification instruction to the target network device associated with the first model instance, and the modification instruction indicates to modify the parameters to be modified in the first model instance.

[0195] In a possible implementation, the parsing module includes:

[0196] An extraction unit, configured to extract parsed data of corresponding parameters from corresponding field positions of the business request based on field positions corresponding to the parameters indicated by the incremental parameter template;

[0197] The acquisition unit is used to determine the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtain modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, wherein the modification indication information includes at least one of the modification parameter value or modification operation information.

[0198] In a possible implementation, the parameters include a first parameter whose data type is a basic type;

[0199] The acquisition unit is used to:

[0200] For each parameter, if the parameter is a first parameter of a basic type, extract the first parameter name and the parameter value corresponding to the first parameter name from the parsed data of the first parameter;

[0201] If the first parameter name carries a modification marker, the first parameter is used as a parameter to be modified, and the parameter value corresponding to the first parameter name is used as the modified parameter value of the first parameter.

[0202] In one possible implementation, the parameters include a second parameter whose data type is an array type of a basic type;

[0203] The acquisition unit is used to:

[0204] For each parameter, if the parameter is a second parameter of an array type of a basic type, extract element operation information from the parsed data of the second parameter;

[0205] If operation information of any array element included in the second parameter is extracted, the second parameter is used as the parameter to be modified, and the extracted operation information of the array element is used as the modification operation information of the second parameter.

[0206] In one possible implementation, the device further includes:

[0207] The updating module is used to update the pre-stored first model instance to the second model instance based on the modification indication information of the parameter to be modified and the parameter value of each parameter in the first model instance.

[0208] In a possible implementation, the instruction generation module is used to:

[0209] If the modification mode is incremental modification, a first modification instruction is generated based on the modification indication information of the parameter to be modified, and the first modification instruction instructs to modify the first model instance based on the modification indication information of the parameter to be modified;

[0210] If the modification method is a full modification, a second modification instruction is generated based on the second model instance, and the second modification instruction indicates that the first model instance is modified into a second model instance, and the second model instance is generated based on the modification indication information of the parameter to be modified and the first model instance.

[0211] In one possible implementation, the device further includes:

[0212] A configuration request receiving module, used to receive a service configuration request sent by a cloud service control device, where the service configuration request is used to request creation of a first model instance based on parameter values ​​of various parameters;

[0213] A construction module is used to create and store a first model instance based on the parameter values ​​of the various parameters, construct an incremental parameter template corresponding to the first model instance, and send a creation instruction for creating the first model instance to the target network device.

[0214] In one possible implementation, the cloud network includes a plurality of management devices, each of which is deployed within a target edge region of at least one network device associated with the management device;

[0215] The device also includes at least one of the following:

[0216] A first exception processing module is used to receive, for each management device, configuration data reported by at least one network device associated with the management device, detect abnormally configured devices in each network device based on the configuration data of each network device, and perform repair processing on the abnormally configured devices;

[0217] The second exception processing module is used to receive, for each management device, the operation status data periodically reported by at least one network device associated with the management device, generate an operation report in each network device based on the operation status data of each network device in each period, and perform alarm processing on the abnormally operating device in each network device based on pre-configured alarm indication information and operation report.

[0218] The business processing method provided in the present application parses the modification indication information of the parameters to be modified from the business request of the cloud business control device based on the incremental parameter template corresponding to the first model instance, and the field position of the modification indication information corresponding to each parameter can be accurately located through the incremental parameter template; therefore, the modification indication information of the parameters to be modified can be accurately obtained. In addition, the management device can generate modification instructions based on the modification indication information of the parameters to be modified, and send the modification instructions to the target network device, thereby effectively converting the business request into an instruction of the corresponding network device. The management device can uniformly access and manage various types of network devices; the cloud business control device does not need to interact with the underlying network devices, but directly interacts with the management device, thereby avoiding the influence of the underlying devices on the upper-layer cloud business control devices. Even if the cloud business needs to be expanded, the upper-layer cloud business control devices can be made unaware through the management device, thereby improving the practicality of business processing.

[0219] Figure 8 A schematic diagram of the structure of a service processing device provided in an embodiment of the present application. The device is applied to a cloud service control device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; Figure 8 As shown, the device comprises:

[0220] The acquisition module 801 is used to obtain modification indication information of a parameter to be modified in response to receiving a service processing request triggered by a user, where the parameter to be modified is part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network;

[0221] A business request generating module 802 is used to generate a business request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified, wherein the incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the business request;

[0222] The service request sending module 803 is used to send the service request to the management device; so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance; the modification instruction indicates to modify the parameter to be modified in the first model instance.

[0223] The business processing method provided in the present application parses the modification indication information of the parameters to be modified from the business request of the cloud business control device based on the incremental parameter template corresponding to the first model instance, and the field position of the modification indication information corresponding to each parameter can be accurately located through the incremental parameter template; therefore, the modification indication information of the parameters to be modified can be accurately obtained. In addition, the management device can generate modification instructions based on the modification indication information of the parameters to be modified, and send the modification instructions to the target network device, thereby effectively converting the business request into an instruction of the corresponding network device. The management device can uniformly access and manage various types of network devices; the cloud business control device does not need to interact with the underlying network devices, but directly interacts with the management device, thereby avoiding the influence of the underlying devices on the upper-layer cloud business control devices. Even if the cloud business needs to be expanded, the upper-layer cloud business control devices can be made unaware through the management device, thereby improving the practicality of business processing.

[0224] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.

[0225] Fig. 9 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device includes: a memory, a processor and a computer program stored in the memory, and the processor executes the above computer program to implement the steps of the business processing method. Compared with the related art, it can achieve:

[0226] The business processing method provided in the present application parses the modification indication information of the parameters to be modified from the business request of the cloud business control device based on the incremental parameter template corresponding to the first model instance, and the field position of the modification indication information corresponding to each parameter can be accurately located through the incremental parameter template; therefore, the modification indication information of the parameters to be modified can be accurately obtained. In addition, the management device can generate modification instructions based on the modification indication information of the parameters to be modified, and send the modification instructions to the target network device, thereby effectively converting the business request into an instruction of the corresponding network device. The management device can uniformly access and manage various types of network devices; the cloud business control device does not need to interact with the underlying network devices, but directly interacts with the management device, thereby avoiding the influence of the underlying devices on the upper-layer cloud business control devices. Even if the cloud business needs to be expanded, the upper-layer cloud business control devices can be made unaware through the management device, thereby improving the practicality of business processing.

[0227] In an alternative embodiment, an electronic device is provided, such as Fig. 9 As shown, Fig. 9 The electronic device 900 shown includes: a processor 901 and a memory 903. The processor 901 and the memory 903 are connected, such as through a bus 902. Optionally, the electronic device 900 may also include a transceiver 904, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 904 is not limited to one, and the structure of the electronic device 900 does not constitute a limitation on the embodiments of the present application.

[0228] Processor 901 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 901 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0229] The bus 902 may include a path to transmit information between the above components. The bus 902 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 902 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0230] The memory 903 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium\other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.

[0231] The memory 903 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 901. The processor 901 is used to execute the computer program stored in the memory 903 to implement the steps shown in the above method embodiment.

[0232] Among them, electronic equipment includes but is not limited to: servers, terminals or cloud computing center equipment, etc.

[0233] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.

[0234] The embodiment of the present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor.

[0235] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said", and "the" used herein may also include plural forms. The terms "include" and "comprise" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, and operations, but do not exclude the implementation as other features, information, data, steps, operations, etc. supported by the technical field.

[0236] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.

[0237] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0238] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A business processing method, characterized in that: The method is performed by a management device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; The method comprises: Receive a service request sent by a cloud service control device, wherein the service request encapsulates modification indication information of parameters to be modified, wherein the parameters to be modified are some parameters among the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network; Based on the incremental parameter template corresponding to the first model instance, parsing from the service request to obtain modification indication information of the parameter to be modified, the incremental parameter template indicating the field position of the modification indication information corresponding to each parameter in the first model instance; According to the modification method of the first model instance, a modification instruction corresponding to the business request is generated based on the modification indication information of the parameter to be modified, and the modification instruction is sent to the target network device associated with the first model instance, and the modification instruction indicates to modify the parameter to be modified in the first model instance.

2. The method according to claim 1, characterized in that The step of parsing the incremental parameter template corresponding to the first model instance from the service request to obtain modification indication information of the parameter to be modified includes: Based on the field positions corresponding to the parameters indicated by the incremental parameter template, extracting the parsed data of the corresponding parameters from the corresponding field positions of the service request; Based on the data type and parsed data of each parameter, the parameter to be modified among the parameters is determined, and modification indication information of the parameter to be modified is obtained from the parsed data of the parameter to be modified, wherein the modification indication information includes at least one of modification parameter value or modification operation information.

3. The method according to claim 2, characterized in that The parameters include a first parameter whose data type is a basic type; The determining of the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtaining modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, includes: For each parameter, if the parameter is a first parameter of a basic type, extracting a first parameter name and a parameter value corresponding to the first parameter name from parsed data of the first parameter; If the first parameter name carries a modification marker, the first parameter is used as a parameter to be modified, and the parameter value corresponding to the first parameter name is used as the modified parameter value of the first parameter.

4. The method according to claim 2, characterized in that: The parameters include a second parameter whose data type is an array type of a basic type; The determining of the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtaining modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, includes: For each parameter, if the parameter is a second parameter of an array type of a basic type, extracting element operation information from parsed data of the second parameter; If operation information of any array element included in the second parameter is extracted, the second parameter is used as the parameter to be modified, and the extracted operation information of the array element is used as the modification operation information of the second parameter.

5. The method according to claim 2, characterized in that: After determining the parameters to be modified among the parameters based on the data types and parsed data of the parameters, and obtaining modification indication information of the parameters to be modified from the parsed data of the parameters to be modified, the method further includes: Based on the modification indication information of the parameter to be modified and the parameter value of each parameter in the first model instance, the pre-stored first model instance is updated to the second model instance.

6. The method according to claim 1, characterized in that The step of generating a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification manner of the first model instance includes: If the modification mode is incremental modification, generating a first modification instruction based on the modification indication information of the parameter to be modified, the first modification instruction instructing to modify the first model instance based on the modification indication information of the parameter to be modified; If the modification method is a full modification, a second modification instruction is generated based on the second model instance, the second modification instruction indicates that the first model instance is modified to a second model instance, and the second model instance is generated based on the modification indication information of the parameter to be modified and the first model instance.

7. The method according to claim 1, characterized in that The method further comprises: Receive a service configuration request sent by a cloud service control device, where the service configuration request is used to request creation of a first model instance based on parameter values ​​of various parameters; A first model instance is created and stored based on the parameter values ​​of the various parameters, an incremental parameter template corresponding to the first model instance is constructed, and a creation instruction for creating the first model instance is sent to the target network device.

8. The method according to any one of claims 1 to 7, characterized in that The cloud network includes a plurality of management devices, each of which is deployed in a target edge area of ​​at least one network device associated with the management device; The method further comprises at least one of the following: For each management device, receiving configuration data reported by at least one network device associated with the management device, detecting abnormally configured devices among the network devices based on the configuration data of each network device, and repairing the abnormally configured devices; For each management device, receive the operating status data periodically reported by at least one network device associated with the management device, generate an operating report for each network device based on the operating status data of each network device in each period, and perform alarm processing on abnormal operating devices in each network device based on pre-configured alarm indication information and operating reports.

9. A business processing method, characterized in that: The method is performed by a cloud service control device in a cloud network, wherein a cloud service control device, a management device and a network device are deployed in the cloud network; the network device is used to perform service processing based on an associated service model instance, wherein the service model instance is a network communication model that provides service services in the cloud network; The method comprises: In response to receiving a service processing request triggered by a user, obtaining modification indication information of a parameter to be modified, wherein the parameter to be modified is a part of parameters included in a first model instance, and the first model instance is any service model instance in a cloud network; Generate a service request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified, wherein the incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the service request; Sending the service request to the management device; so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance; the modification instruction indicates to modify the parameter to be modified in the first model instance.

10. A service processing device, characterized in that: The device is applied to a management device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; The device comprises: A receiving module, configured to receive a service request sent by a cloud service control device, wherein the service request encapsulates modification indication information of a parameter to be modified, wherein the parameter to be modified is a part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network; a parsing module, configured to parse the service request to obtain modification indication information of the parameter to be modified based on an incremental parameter template corresponding to the first model instance, wherein the incremental parameter template indicates a field position of the modification indication information corresponding to each parameter in the first model instance; An instruction generation module, configured to generate a modification instruction corresponding to the business request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance; An instruction sending module is used to send the modification instruction to the target network device associated with the first model instance, and the modification instruction indicates to modify the parameters to be modified in the first model instance.

11. A service processing device, characterized in that: The device is applied to a cloud service control device in a cloud network, in which a cloud service control device, a management device and a network device are deployed; the network device is used to perform service processing based on an associated service model instance, and the service model instance is a network communication model that provides service services in the cloud network; The device comprises: an acquisition module, configured to acquire modification indication information of a parameter to be modified in response to receiving a service processing request triggered by a user, wherein the parameter to be modified is a part of the parameters included in the first model instance, and the first model instance is any service model instance in the cloud network; a business request generating module, configured to generate a business request based on the incremental parameter template corresponding to the first model instance and the modification indication information of the parameter to be modified, wherein the incremental parameter template indicates the field position of the modification indication information corresponding to each parameter in the first model instance, and the modification indication information of the parameter to be modified is encapsulated in the business request; A service request sending module, used to send the service request to the management device; so that the management device parses the service request based on the incremental parameter template to obtain the modification indication information of the parameter to be modified, generates a modification instruction corresponding to the service request based on the modification indication information of the parameter to be modified according to the modification method of the first model instance, and sends the modification instruction to the target network device associated with the first model instance; the modification instruction indicates to modify the parameter to be modified in the first model instance.

12. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the service processing method according to any one of claims 1 to 9.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the business processing method according to any one of claims 1 to 9 is implemented.