CN109840074A - A kind of business generating method, device and the network equipment - Google Patents

A kind of business generating method, device and the network equipment Download PDF

Info

Publication number
CN109840074A
CN109840074A CN201711195271.7A CN201711195271A CN109840074A CN 109840074 A CN109840074 A CN 109840074A CN 201711195271 A CN201711195271 A CN 201711195271A CN 109840074 A CN109840074 A CN 109840074A
Authority
CN
China
Prior art keywords
business
service
attribute
business object
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711195271.7A
Other languages
Chinese (zh)
Other versions
CN109840074B (en
Inventor
杨先煜
陈刚
郭一伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201711195271.7A priority Critical patent/CN109840074B/en
Publication of CN109840074A publication Critical patent/CN109840074A/en
Application granted granted Critical
Publication of CN109840074B publication Critical patent/CN109840074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of business generating method, device and the network equipment, this method comprises: service generation system receives the service design model that user inputs first, because service design model is N number of business object that user selects from the business objects library of business platform according to business demand, and the topological structure for generating N number of business object according to service logic link, it is possible to design a model the middle execution method for obtaining the corresponding N number of business object of each life cycle scene from business;Then service design model corresponding example under each life cycle scene is generated according to the method for execution, the incidence relation between attribute and the attribute based on the workflow packages containing N number of business object;So running the example, business packet of the service design model under different life scene can be generated.Development efficiency and reusability of this method to improve software shorten Operator Specific Service market periods.

Description

A kind of business generating method, device and the network equipment
Technical field
This application involves information technology field more particularly to a kind of business generating methods, device and the network equipment.
Background technique
There are multiple business objects in software systems, each business object has attribute, and attribute can indicate the business The characteristic of object in some respect is also possible to have business relations between multiple business objects.So, due to a software systems It may be supplied to different enterprises, but be different enterprise to have different business demands, the attribute and relationship of business object are not With, for attribute, relationship and the life cycle management process etc. for changing business object, need to modify all of corresponding program Code, then recompilate, the complexity of engineering is increased, field conduct is difficult, is not easy to maintenance code.
Therefore, needing a kind of technical solution can solve current operation to generate system multiplexing rate low, in the business of operator City's period longer problem.
Summary of the invention
In view of this, improving software to solve this application provides a kind of business generating method, device and the network equipment Development efficiency and reusability, shorten Operator Specific Service market periods.
In a first aspect, the embodiment of the present application provides a kind of business generating method, this method comprises: service generation system first System receives the service design model of designer's input, because service design model is that designer is flat from business according to business demand The N number of business object selected in the business objects library of platform, and N number of business object is tied according to the topology that service logic link generates Structure, it is possible to design a model the middle execution side for obtaining the corresponding N number of business object of each life cycle scene from business Method;Then service design model corresponding example under each life cycle scene is generated according to the method for execution, is based on institute The incidence relation between the attribute and the attribute that example includes N number of business object is stated, the business is ultimately generated and sets Count business packet of the model under different life scene.
In this way, the development efficiency and reusability of software can be improved by this method, shorten Operator Specific Service listing Period.
In order to manage the business of the service generation system, such as creation, deletion and staging business, the service generation System can receive the instruction of user's input, and the service design model is created on system interaction interface in different life Lifecycle management interface under scene.The advantage of doing so is that managing these business convenient for later period operator, facilitate charging etc. Management.
It should be noted that the incidence relation between the attribute for being included in instances, including the life cycle management Parameter in the incidence relation of the attribute of parameter in interface and N number of business object, the lifecycle management interface with The incidence relation of the input parameter of method, the attribute of N number of business object and the example are executed defined in the example Defined in execution method input parameter incidence relation.Why it is associated in this way, is in order to which business object is practical corresponding The parameters such as position, bandwidth associate with the execution method function in system, to externally provide creation ability.That deletes connects Mouth can also be associated with the input parameter for executing method function, generate calling program from exterior arrangement parameter different Operation result.
In addition, because the business packet under different life can be generated in the service generation system, it is possible to according to true The run mode engine of fixed operator, by the business packet under life cycle scene corresponding with the run mode engine of the operator Inject the run mode engine of the operator.In this way, service generation system business packet generated can dock various run modes Engine is suitable for a variety of generation cycle management scenes.
In a kind of possible design, under the corresponding different life scene of user-defined N number of business object Example may include at least one of script, file, jar packet type.Because of the corresponding example multiplicity of different business, The service generation system can be adapted to various development interfaces.
Second aspect, the embodiment of the present application also provides a kind of service generation device, which, which has, realizes above-mentioned first The function of service generation in aspect method example.The function can also be executed corresponding by hardware realization by hardware Software realization.The hardware or the software include one or more modules corresponding with above-mentioned function.
In a possible design, may include in the structure of the service generation device receiving unit, acquiring unit, Generation unit, the corresponding function in method example that any one design that these units can execute above-mentioned first aspect provides Can, referring specifically to the detailed description in method example, it is not repeated herein.
The third aspect, the embodiment of the present application also provides a kind of network equipment, which, which has, realizes above-mentioned first The function of service generation behavior in aspect method example.The function can pass through hardware realization.The structure of the network equipment Including communication interface, processor, bus and memory, wherein the processor and the memory pass through the bus Connection;Processor calls the instruction execution above method of storage in the memory.
Fourth aspect also provides a kind of computer storage medium in the embodiment of the present application, stores software in the storage medium Program, the software program can realize first aspect or above-mentioned first aspect when being read and executed by one or more processors The method that any one design provides.
5th aspect, present invention also provides a kind of computer program products comprising instruction, when it is transported on computers When row, so that computer executes data packet sending method described in above-mentioned various aspects or various possible implementations.
Business generating method provided by the embodiments of the present application is opened compared to traditional technology, the service generation for telecommunication service The various models that hair personnel provide, the ability for configuring and defining new business are provided based on model for user, telecommunication service is opened Hair personnel can be designed a model based on model configuration service, which can be according to business, network and equipment Corresponding relationship is instantiated, and corresponding code and interface are automatically generated, to greatly improve development efficiency, reduces exploitation Manpower and cost.Change in addition, the method that the service generation system generates business can rapidly adapt to new demand, in reduction business City's period.
Detailed description of the invention
Fig. 1 is a kind of service generation system structure diagram provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram for generating service design model provided by the embodiments of the present application;
Fig. 3 is a kind of business generating method flow diagram provided by the embodiments of the present application;
Fig. 4 is a kind of application scenarios schematic diagram of private line service provided by the embodiments of the present application;
Fig. 5 is another service generation system structure diagram provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of multielement incidence relation provided by the embodiments of the present application;
Fig. 7 is a kind of service design model schematic of new business provided by the embodiments of the present application;
Fig. 8 is a kind of attribute schematic diagram of business object provided by the embodiments of the present application;
Fig. 9 is the schematic diagram that a kind of example provided by the embodiments of the present application is workflow;
Figure 10 is a kind of attribute configuration interface schematic diagram provided by the embodiments of the present application;
Figure 11 is another service design model schematic provided by the embodiments of the present application;
Figure 12 service generation schematic device provided by the embodiments of the present application;
Figure 13 is a kind of network equipment infrastructure schematic diagram provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail below in conjunction with attached drawing.
Technical solution provided by the embodiment of the present application is suitable for the service generation system based on executing model drive structure, this is System is mainly used for the service design of field of telecommunications.Core concept is the service design method using model-driven, and electricity is rapidly completed The business packet of communication service designs, and shortens Operator Specific Service market periods (time to marketing, TTM).General typical industry Designing system of being engaged in includes component and function as shown in Figure 1:
(a) input adapter (Input Adapters) and o adapter (Output Adapters): outer for being adapted to Boundary different resource and business model.Such as the model of VNF network element is described file VNFD by input adapter, is adapted to the business The identifiable model of generation system simultaneously imports;Or o adapter is adapted to business packet and export as run mode engine and can recognize Format.
(b) business packet and resource packet design module (Service/resource design): business packet and the design of resource packet Module is the relevant functional unit of the embodiment of the present application, for developing telecommunication application personnel generate service design model (model), Generate the interface of example and design life cycle managerial ability (lifecycle).
Wherein the Interface design of lifecycle is service life cycle (such as creation is deleted, upgrading, monitoring, dilatation capacity reducing) Design;Generate example refer to the interface to lifecycle, execution method, etc. input datas be specifically associated with, generation Model file, interface document, workflow file etc., it is the industry under different life scene that operation result, which is packaged output, Business packet, meets the needs of different business (such as VPN) and different engines, service design model is that telecommunication service personnel will be more in fact The topological structure that is generated after the link of a business object, the illustrated topological structure of possible one kind of Fig. 2.
(c) the release directory (Catalogue): the responsible storage to each business packet under different life scene, version This management.
(d) data warehouse (Repository): for various global metadatas definition, global Reusable Module, reusable Execution method (such as various regulation strategies) definition.
As shown in Fig. 2, including various businesses object in the service generation system, developing telecommunication application personnel are for predefined Scene, such as creation scene, developing telecommunication application personnel determine to need the business object used according to business demand, then From the corresponding control of business objects library provided by service generation system, the control for the business object that selection needs to use will This kind of control is placed in design layout by modes such as draggings;Furthermore developing telecommunication application personnel determine each according to business demand Then service logic between business object selects line control from the corresponding control of business objects library, will be in design layout Each business object be chained up, the topology diagram that links constitutes service design model.
Because the service design model is generated using modeling language, by the functional specification of system and system specific flat On platform realization separation so that the architecture be able to maintain to programming language, middleware platform, product manufacturer neutrality.It is this The benefit of method is: being convenient to the system by existing system, the system built and possibility construction from now in difference Middleware platform on integrated, interoperate between raising system, the degree mutually transplanted, make system in continually changing software Flexibility is kept in face of infrastructure;Meanwhile the life cycle of software can be extended, reduce maintenance cost etc..In addition, model is stringent Formal Semantic define the quality of the system of can be improved, be also beneficial to improve the degree of automation of system development.
Based on above-mentioned concept, the embodiment of the present application is further described in detail the detailed process of business generating method, Specific steps are as shown in Figure 3.
Step 301, telecommunication service designer selects from the business objects library of service generation system according to business demand The multiple business objects for needing to use link multiple business objects then according to the service logic relationship between business object Get up, forms a topological structure, that is to say, that be abstracted into service design model.
During generating service design model, telecommunication service designer uses the execution side of business object default Method, or carry out on the basis of defaulting execution method customized, the execution method of each business object is defined, and will hold The input parameter of row method and the Attribute Association of business object are got up.So-called execution method generally corresponds to one or more and can hold Line function.
Step 302, after service generation system receives the instruction of telecommunication service personnel, from business design a model it is middle obtain it is each The execution method of the corresponding N number of business object of life cycle scene, wherein instruction is related to each life cycle scene , such as creation scene, instruction are exactly to indicate that practice operating system creates a new business.
Step 303, service generation system automatically generates the service design model in each life according to the execution method Order corresponding example under period scene.
Step 304, service generation system is compiled example, to generate the service design model in different life Business packet under period scene.
It is typically provided with multiple lifecycle management interfaces, that is, application programming interface in the embodiment of the present application (application programming interface, API), the partial parameters of general api interface can be configured, such as Amount of bandwidth, effective time, port etc..General lifecycle management interface has creation, deletion, upgrading, monitoring, dilatation capacity reducing etc. Type, wherein being created as fundamental type, remaining scene belongs to derived type on the basis of creation.Each api interface have with Corresponding service design model, example etc..The operation result of each example is each business packet, and each business packet is injected into The run mode engine of operator, then can complete the life-cycle processes of different scenes.
Such as creation scene, as shown in figure 4, branch of certain company in other places wishes accessible corporate HQ Database, therefore developing telecommunication application personnel need to design a kind of new business, i.e. Virtual Private Network (virtual for it Private network, VPN), it is assumed here that vpn service is new business.So in order to design this new business of VPN, telecommunications industry Using branch as business object A, corporate HQ as business object B, link tunnel between the two is abstracted as business personnel Business object C.Then the database of each business object is defined, wherein includes the attribute of the business object, the industry in database The execution method etc. of business object.Here, the attribute of business object A and business object B are mainly port, bandwidth etc..Business object C Attribute be mainly router path affiliated area port etc..Wherein the execution method of each business object is usually the letter defaulted Number, telecommunication service personnel can increase parameter based on the function of the default or delete parameter.
After completing the analysis preparation of above-mentioned business demand, telecommunication service personnel can utilize service generation system System creation private line service, it is specific as follows.
Step a, telecommunication service personnel select three business objects (three model) from service generation system, make respectively For business object A, business object B and business object C, then three business objects are linked according to the service logic of data access Get up, generates service design model.Telecommunication service personnel define the related of each business object in service design model and belong to Property, the execution method of business object, mutual Attribute Association relationship etc..
Step b, further, telecommunication service personnel are that the service generation creates interface (API), under creation interface is mainly convenient for Trip operator sales force manages the business using human-computer interaction interface.Creation control is generated mainly in service generation system Part, and be the function interface that the control defines software realization, because the function interface externally exposes some configurable parameters, Such as port numbers, bandwidth, effective time etc., so the sales force of later period operator can be according to the detailed requirements dilatation of client The port of the business, or determine term of validity etc..
Step c, after telecommunication service personnel define the attribute of business object, execution method and incidence relation, the business System can automatically generate executable code, that is, the corresponding example (implementation) of creation scene, example The result of operation can serve as the private line service in the business packet of creation scene.
Wherein, in addition to creating scene, upgrading scene can also be further derived on the basis of the scene, deletes field Scape, dilatation scene, capacity reducing scene etc..Each scene has corresponding function interface.
In addition, the execution method for including in business object can be realized based on the form of jar packet, file, script.This kind of text It may include the assignment of the called process of business object, the method for execution, the method parameter of execution method in part or script Process etc..
Wherein, the mutual Attribute Association relationship of business object generally refers to the parameter in lifecycle management interface With it is fixed in the parameter and the example in the incidence relation of the attribute of N number of business object, the lifecycle management interface The incidence relation of the input parameter of the execution method of justice, the attribute for stating N number of business object are held with defined in the example The incidence relation of the input parameter of row method.
For example, for the pass of the bandwidth, port and the bandwidth of branch company, port that for Fig. 4, exactly create in function interface System creates the incidence relation of the input parameter of the execution method of the business object A in the bandwidth and example in function interface, point public affairs The incidence relation of the input parameter of the execution method of the bandwidth and business object A of department.Incidence relation has only been determined, it just can be quasi- It really is execution method assignment and the biography ginseng etc. in example.
It, can be with it should be noted that vpn service is in addition to can be applied to the data access between parent company and branch company Long-distance education, Telemedicine Consultation, video conference are realized, if increasing security protection configuration can also realize that financial instrument is remote Journey is opened an account.
From example shown in Fig. 4, in summary, designing data required for a new business includes business object (model) the corresponding database of API and example that corresponding database, each generation period (lifecycle) define The corresponding database of implementation.
(1), the corresponding database of model: for describing business object, including business object attribute, business object attribute Type/value/explanation, the relationship between business object, the method for business object.Business object can be layered, first is that Resource, atom business, composite service can be divided into syntagmatic.Second is that deployment, configuration can be divided on operation level Deng.
(2), the corresponding database of API: api interface defined in lifecycle, under different life scene External ability exposure.Rest interface is generally used, URL, input parameter and the definition of type value range, output parameter and class are included The definition of type value range.The parameter of api interface is likely to be constant, it is also possible to be object properties or external variable.
(3), the corresponding database of Implementation:, example definition corresponding with the api interface that lifecycle is defined Interface based on workflow, jar, file, script is realized.The assignment procedure of process, method, method parameter including calling Deng.
Service generation system provided by the embodiments of the present application is as shown in figure 5, telecommunication service personnel utilize the service generation system It is as follows that system generates the step of new business.
Step 501, according to the demand of new business, business object is selected from business objects library, defines business object pair The database answered includes the attribute of each business object, execution method etc. in database.
Step 502, the api interface for determining life cycle corresponding to demand defines the data of API, defines the title of API Method is executed including the URL of API by taking rest interface as an example with information such as descriptions, inputs parameter, parameter type, value.It returns Value, type and value.
Step 503, the title of definitions example, the information such as description, and index ID is saved in the database.
Step 504, the incidence relation under each life cycle scape between API, business object and example, the pass of generation are determined Connection relationship is saved in database.
Wherein, the correlating method of step 504 is mainly as shown in fig. 6, the correlating method of first part, API and example is:
(1), all parameters externally exposed are indexed out from API;It (2), will be corresponding according to the business feature to be designed API parameter assignment executes the parameter of method to business object in service design model, or by corresponding API parameter assignment to foot Sheet or jar packet.Second part, API are with the correlating method of business object attribute: (1) from the corresponding database of business object Index out all object properties;It (2) is API pairs by corresponding object property definition according to the business demand for the business to be designed The parameter of outer exposure.The correlating method of Part III, business object and example is: (1) indexing, from the database of business object All business objects out select corresponding object method in service design model, are defined as service design according to business demand The node of model forms workflow by each node.(2) according to the mark of business object, the rope from the database of business object Attribute is drawn, then according to business demand, respective attributes is selected to be assigned to the shape of the corresponding execution method of each node of workflow Ginseng.
Further, above-mentioned data correlation relation shown in fig. 5 can be with flexible expansion.Extended method is as follows:
Extended method one, life cycle scene that can be new with expanded definition in addition to the deployment and configuration on basis, then extend prison Control, dilatation capacity reducing etc., meet the requirement of different life.
Extended method two can extend customized API: the standard interface in addition to meeting ETSI or 3GPP, then customized At privately owned interface corresponding with particular engine, or even do not define directly with the intrinsic interface of engine.Under the same life cycle scene Multiple API can be defined.
Extended method three extends customized example, in addition to that can also determine according to preset intrinsic logic automatic code generating Justice is at various forms such as workflow, jar, file, scripts.It can be defined under the same lifecycle multiple implementation。
In further example, as shown in fig. 7, by taking CloudVPN (cloud VPN) service design as an example, service design model is fixed Justice is as follows, including business object and linking relationship and attribute.It has been respectively corresponded office block (EPG) including business object, number It is serviced according to center (Gateway) and website (endpoint) and other proliferation, such as firewall (Sercice chain Function instance), security strategy (Qos policy) etc..Wherein, the attribute of business object is as shown in figure 8, include ginseng Several titles, the information such as parameter type, parameter codomain, parameter declaration.
Wherein, example can be the form of workflow, as shown in figure 9, being associated with business in workflow definition in Fig. 9 The data of object, such as one of node of the execution method creatSubnet as workflow of business object subnet.
Further, by taking the NSD service design of VOLTE as an example, object needed for VOLTE business is defined in Figure 10 and net The incidence relation and attribute of network plane, the service design model completed after defining are as shown in figure 11.Wherein, life cycle institute Use run mode engine default definition, i.e. creation scene.API use run mode engine default definition, including interface and input it is defeated Parameter out.The realization logic of example uses run mode engine default definition, i.e., using fixed creation sequence.
Service generation system bring beneficial effect provided by the embodiment of the present application is the pass by a variety of design elements Connection meets the business packet design requirement of operator's runtime engine;In addition life cycle scene, API, example can flexible expansion, The business for supporting customized different life cycle management scene, supports different run mode engines;Furthermore the business pair of layering As defining and assembling, a large amount of reusable units are accumulated, realization business quickly designs online, shortening business market periods.Thus, Operation system generation method provided by the embodiment of the present application provides based on model for user and configures and define new business The model of ability, user configuration can be in NetMatrix (a kind of platform) according to the corresponding relationship of business, network and equipment Instantiated, automatically generate corresponding code and interface, to greatly improve development efficiency, reduce exploitation manpower and at This.Wherein, NetMatrix supports interfaces and the agreements such as YANG, NetConf, Restful, RestConf of industry mainstream, with OSS system and third-party application realize seamless interfacing.North-south interface definition based on model-driven, can allow developer to focus Business itself reduces the concern realized to specific code, so that docking efficiency be substantially improved, on realization business production system is quick Line.
For above method process, the application provides a kind of service generation device, the specific execution of the service generation device Content can refer to above method implementation, and Figure 12 is a kind of structural schematic diagram of service generation device provided by the present application, the industry Generating means of being engaged in include: receiving unit 601, acquiring unit 602, generation unit 603;
Telecommunication service designer selects needs from the business objects library of service generation system according to business demand first Multiple business objects are chained up by the multiple business objects used then according to the service logic relationship between business object, Form a topological structure, that is to say, that be abstracted into service design model, the receiving unit 601 of service generation device is used In the aforesaid operations instruction for receiving telecommunication service designer, the service design model is generated.
During generating service design model, telecommunication service designer uses the execution side of business object default Method, or carry out on the basis of defaulting execution method customized, the execution method of each business object is defined, and will hold The input parameter of row method and the Attribute Association of business object are got up.So-called execution method generally corresponds to one or more and can hold Line function.
Then telecommunication service personnel further send instruction to service generation device, wherein instruction is and each life cycle Scene is relevant, such as creation scene, and instruction is exactly to indicate that practice operating system creates a new business, therefore service generation fills The acquiring unit 602 set middle obtains the corresponding N number of business object of each life cycle scene for designing a model from business Execution method.Wherein, generate period scene generally create, delete, upgrading, dilatation, the scenes such as capacity reducing.
And then, the generation unit 603 of service generation device, for generating the service design according to the execution method Model corresponding example under each life cycle scene, so-called example refer generally to one section of executable code, and form can be Script, file or jar packet etc..The example includes the association between the attribute and the attribute of N number of business object Relationship, it should be noted that the incidence relation between the attribute may include the parameter in the lifecycle management interface With it is fixed in the parameter and the example in the incidence relation of the attribute of N number of business object, the lifecycle management interface The incidence relation of the input parameter of the execution method of justice, the attribute for stating N number of business object are held with defined in the example The incidence relation etc. of the input parameter of row method.Then generation unit 603 can run the example, generate the service design Business packet of the model under different life scene.
In a kind of possible design, which further includes creating unit 604, for what is inputted according to user Instruction, creates lifecycle management interface of the service design model under different life scene, wherein the life For cycle management interface for business packet described in configuration management, the configuration management may include creates corresponding with life cycle scene It builds, delete, upgrading, monitoring, dilatation, any one in capacity reducing.
In a kind of possible design, the service generation system can also include injection unit 605, for generating list After member 603 generates the corresponding business packet of the service design model, the run mode engine of operator is further determined that, then will The run mode that business packet under life cycle scene corresponding with the run mode engine of the operator injects the operator draws It holds up.
It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present application It divides, there may be another division manner in actual implementation.Each functional unit in embodiments herein can integrate In one processing unit, it is also possible to each unit and physically exists alone, one can also be integrated in two or more units In a unit.Above-mentioned integrated unit both can take the form of hardware realization, can also be in the form of software functional units It realizes.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk Etc. the various media that can store program code.
Figure 13 is a kind of structural schematic diagram of the network equipment provided by the present application, and the network equipment includes: communication interface 701, processor 702, memory 703 and bus system 704;
Wherein, memory 703, for storing program.Specifically, program may include program code, and program code includes Computer operation instruction.Memory 703 may be random access memory (English: random-access memory, RAM), It may also be nonvolatile memory (English: non-volatile memory, NVM), for example, at least a magnetic disk storage. A memory is illustrated only in figure, certainly, memory also can according to need, and be set as multiple.Memory 703 is also possible to Memory in processor 702.
Memory 703 stores following element, executable modules or data structures perhaps their subset or Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
Processor 702 control the network equipment 700 operation, processor 702 can also be known as central processing unit (English: Central processing unit, CPU).In specific application, the various components of network equipment 700 pass through bus system 704 are coupled, wherein bus system 704 except include data/address bus in addition to, can also include power bus, control bus and Status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as bus system 704 in figure.For convenient for It indicates, is only schematically drawn in Fig. 7.
The method that above-mentioned the embodiment of the present application discloses can be applied in processor 702, or be realized by processor 702. Processor 702 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 702 or the instruction of software form.Above-mentioned processing Device 702 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.May be implemented or Person executes disclosed each method, step and logic diagram in the embodiment of the present application.General processor can be microprocessor or Person's processor is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be straight Connect and be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination executed At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can In the storage medium of this fields such as programmable memory, register maturation.The storage medium is located at memory 703, and processor 702 is read Information in access to memory 703 executes above method step in conjunction with its hardware.
Processor 702 executes the program instruction in memory 703, for realizing business generating method as shown in Figure 3, packet Include: service generation system receives the service design model that user inputs first, because service design model is user according to business N number of business object that demand is selected from the business objects library of business platform, and N number of business object is linked according to service logic The topological structure of generation, it is possible to design a model from business and middle obtain the corresponding N number of business of each life cycle scene The execution method of object;Then it is corresponding under each life cycle scene the service design model to be generated according to the method for execution Example, the incidence relation between attribute and the attribute based on the workflow packages containing N number of business object;So The example is run, business packet of the service design model under different life scene can be generated.This method to The development efficiency and reusability of software are improved, Operator Specific Service market periods are shortened.
In an optional embodiment, the instruction that the service generation system can also be inputted according to user, creation Lifecycle management interface of the service design model under different life scene, wherein the life cycle management connects Mouth is for business packet described in configuration management, including at least any one in creation, deletion, upgrading, monitoring, dilatation, capacity reducing.
In another optional embodiment, it is corresponding that the service design model is generated in the service generation system After business packet, further includes: the run mode engine for determining operator, by life corresponding with the run mode engine of the operator Business packet under period scene injects the run mode engine of the operator.
Wherein, the incidence relation between the attribute include parameter in the lifecycle management interface with it is described N number of The side of execution defined in parameter and the example in the incidence relation of the attribute of business object, the lifecycle management interface The incidence relation of the input parameter of method, the attribute for stating N number of business object are defeated with execution method defined in the example Enter the incidence relation of parameter.
It should be noted that the example can be, but not limited to be made of one of script, file, jar packet type.
The embodiment of the present application also provides a kind of computer readable storage medium, it is stored as holding needed for executing above-mentioned processor Capable computer software instructions, it includes the programs for execution needed for executing above-mentioned processor.
The embodiment of the present application also provides a kind of computer program products, when the computer program product is held by computer When row, hold the computer such as above-mentioned business generating method.
In conclusion a kind of service generation system is provided by the embodiment of the present application, compared to traditional technology, the business The various models of developing telecommunication application personnel offer are provided, provides for user based on model and configures and define new business Ability, developing telecommunication application personnel can be designed a model based on model configuration service, the service design model can according to business, Network and the corresponding relationship of equipment are instantiated, and corresponding code and interface are automatically generated, to greatly improve out Efficiency is sent out, exploitation manpower and cost are reduced.In addition, the method that the service generation system generates business can rapidly adapt to new demand Change, reduces business market periods.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as the production of method, system or computer program Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from this Shen to the embodiment of the present invention Spirit and scope please.In this way, if these modifications and variations of the embodiment of the present invention belong to the claim of this application and its wait Within the scope of technology, then the application is also intended to include these modifications and variations.

Claims (17)

1. a kind of business generating method, which is characterized in that this method comprises:
Receive the service design model of user's input, the service design model is user according to business demand from business platform The N number of business object selected in business objects library, and the topological structure that N number of business object is generated according to service logic link;
It designs a model the middle execution method for obtaining the corresponding N number of business object of each life cycle scene from business;
Service design model corresponding example, reality under each life cycle scene are generated according to the execution method Example includes the incidence relation between the attribute and the attribute of N number of business object;
The example is run, business packet of the service design model under different life scene is generated.
2. the method according to claim 1, wherein further include:
According to the instruction that user inputs, life cycle management of the service design model under different life scene is created Interface, wherein the lifecycle management interface is for business packet described in configuration management.
3. according to the method described in claim 2, it is characterized in that, the incidence relation between the attribute includes the Life Cycle In the incidence relation of the attribute of parameter in period management interface and N number of business object, the lifecycle management interface The incidence relation of the input parameter of execution method defined in parameter and the example, the attribute for stating N number of business object and The incidence relation of the input parameter of method is executed defined in the example.
4. method according to claim 1 or 2, which is characterized in that generate the corresponding business packet of the service design model Later, further includes:
The run mode engine for determining operator, by the industry under life cycle scene corresponding with the run mode engine of the operator Business packet injects the run mode engine of the operator.
5. method according to any one of claims 1 to 4, which is characterized in that the example is at least by script, file, jar One of packet type composition.
6. a kind of service generation device, which is characterized in that the device includes:
Receiving unit, for receiving the service design model of user's input, the service design model is user according to business need The N number of business object selected from the business objects library of business platform is sought, and N number of business object is delivered a child according to service logic chain At topological structure;
Acquiring unit, for designing a model the middle each life cycle scene corresponding N number of business object of obtaining from business Execution method;
Generation unit, it is corresponding under each life cycle scene for generating the service design model according to the execution method Example, the example include N number of business object attribute and the attribute between incidence relation;And run institute Example is stated, business packet of the service design model under different life scene is generated.
7. device according to claim 6, which is characterized in that further include:
Creating unit, the instruction for being inputted according to user create the service design model under different life scene Lifecycle management interface, wherein the lifecycle management interface is for business packet described in configuration management.
8. device according to claim 7, which is characterized in that the incidence relation between the attribute includes the Life Cycle In the incidence relation of the attribute of parameter in period management interface and N number of business object, the lifecycle management interface The incidence relation of the input parameter of execution method defined in parameter and the example, the attribute for stating N number of business object and The incidence relation of the input parameter of method is executed defined in the example.
9. device according to claim 6 or 7, which is characterized in that further include injection unit, in the generation unit After generating the corresponding business packet of the service design model, determine the run mode engine of operator, by with the operator Business packet under the corresponding life cycle scene of run mode engine injects the run mode engine of the operator.
10. according to the described in any item devices of claim 6 to 9, which is characterized in that the example at least by script, file, One of jar packet type composition.
11. a kind of network equipment, which is characterized in that the network equipment includes: communication interface, processor and memory,
The processor calls the instruction of storage in the memory, executes following processing:
The service design model of user's input is received by the communication interface, the service design model is user according to business N number of business object that demand is selected from the business objects library of business platform, and N number of business object is linked according to service logic The topological structure of generation;
It designs a model the middle execution method for obtaining the corresponding N number of business object of each life cycle scene from business;
Service design model corresponding example, reality under each life cycle scene are generated according to the execution method Example includes the incidence relation between the attribute and the attribute of N number of business object;And the example is run, generate institute State business packet of the service design model under different life scene.
12. the network equipment according to claim 11, which is characterized in that the processor is also used to:
According to the instruction that user inputs, life cycle management of the service design model under different life scene is created Interface, wherein the lifecycle management interface is for business packet described in configuration management.
13. the network equipment according to claim 11 or 12, which is characterized in that the incidence relation between the attribute includes Incidence relation, the life cycle pipe of the attribute of parameter and N number of business object in the lifecycle management interface The incidence relation of the input parameter of execution method defined in the parameter and the example in interface is managed, it is described to state N number of business pair The incidence relation of the input parameter of execution method defined in the attribute of elephant and the example.
14. the network equipment according to claim 11 or 12, which is characterized in that the processor generates the service design After the corresponding business packet of model, it is also used to:
The run mode engine for determining operator, by the industry under life cycle scene corresponding with the run mode engine of the operator Business packet injects the run mode engine of the operator.
15. 1 to 14 described in any item network equipments according to claim 1, which is characterized in that the example at least by script, One of file, jar packet type composition.
16. a kind of non-transient computer storage medium, which is characterized in that the non-transient computer readable storage medium is stored with Computer executable instructions, the computer executable instructions are described in any item for making the requirement 1 to 5 of computer perform claim Method.
17. a kind of computer program product, which is characterized in that the computer program includes computer executable instructions, works as institute When stating computer executable instructions and being computer-executed, the computer perform claim is made to require 1 to 5 described in any item sides Method.
CN201711195271.7A 2017-11-24 2017-11-24 Service generation method, device and network equipment Active CN109840074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711195271.7A CN109840074B (en) 2017-11-24 2017-11-24 Service generation method, device and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711195271.7A CN109840074B (en) 2017-11-24 2017-11-24 Service generation method, device and network equipment

Publications (2)

Publication Number Publication Date
CN109840074A true CN109840074A (en) 2019-06-04
CN109840074B CN109840074B (en) 2021-02-23

Family

ID=66878137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711195271.7A Active CN109840074B (en) 2017-11-24 2017-11-24 Service generation method, device and network equipment

Country Status (1)

Country Link
CN (1) CN109840074B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124394A (en) * 2019-11-26 2020-05-08 泰康保险集团股份有限公司 Form configuration method and device based on metadata, equipment and medium
CN111897725A (en) * 2020-07-23 2020-11-06 厦门航空有限公司 Automatic test method, medium, equipment and system for middle platform service
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device
CN112422476A (en) * 2019-08-20 2021-02-26 北京嗨动视觉科技有限公司 Data processing method, device and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957774A (en) * 2010-09-21 2011-01-26 用友软件股份有限公司 Service operation modeling method and device
US20120159421A1 (en) * 2010-12-16 2012-06-21 Sap Ag System and Method for Exclusion of Inconsistent Objects from Lifecycle Management Processes
US20130339925A1 (en) * 2007-04-27 2013-12-19 Dell Products, Lp System and Method for Automated On-Demand Creation of a Customized Software Application
CN103942281A (en) * 2014-04-02 2014-07-23 北京中交兴路车联网科技有限公司 Method and device for operating object persistently stored
CN104360859A (en) * 2014-11-14 2015-02-18 中国建设银行股份有限公司 Visual service development method and system
US20160085772A1 (en) * 2014-09-19 2016-03-24 Amazon Technologies, Inc. Automated configuration of log-coordinated storage groups
CN105474166A (en) * 2013-03-15 2016-04-06 先进元素科技公司 Methods and systems for purposeful computing
CN105930344A (en) * 2016-04-05 2016-09-07 北京宇航系统工程研究所 Database application rapid development platform based on product development process
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development
CN107003860A (en) * 2014-08-19 2017-08-01 华为技术有限公司 A kind of software defined network controller and its creation method
CN107113195A (en) * 2015-06-01 2017-08-29 华为技术有限公司 System and method for the virtualization in control plane and datum plane

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130339925A1 (en) * 2007-04-27 2013-12-19 Dell Products, Lp System and Method for Automated On-Demand Creation of a Customized Software Application
CN101957774A (en) * 2010-09-21 2011-01-26 用友软件股份有限公司 Service operation modeling method and device
US20120159421A1 (en) * 2010-12-16 2012-06-21 Sap Ag System and Method for Exclusion of Inconsistent Objects from Lifecycle Management Processes
CN105474166A (en) * 2013-03-15 2016-04-06 先进元素科技公司 Methods and systems for purposeful computing
CN103942281A (en) * 2014-04-02 2014-07-23 北京中交兴路车联网科技有限公司 Method and device for operating object persistently stored
CN107003860A (en) * 2014-08-19 2017-08-01 华为技术有限公司 A kind of software defined network controller and its creation method
US20160085772A1 (en) * 2014-09-19 2016-03-24 Amazon Technologies, Inc. Automated configuration of log-coordinated storage groups
CN104360859A (en) * 2014-11-14 2015-02-18 中国建设银行股份有限公司 Visual service development method and system
CN107113195A (en) * 2015-06-01 2017-08-29 华为技术有限公司 System and method for the virtualization in control plane and datum plane
CN105930344A (en) * 2016-04-05 2016-09-07 北京宇航系统工程研究所 Database application rapid development platform based on product development process
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱志良 等: "《计算机编程导论》", 31 December 2010, 西北工业大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422476A (en) * 2019-08-20 2021-02-26 北京嗨动视觉科技有限公司 Data processing method, device and system
CN111124394A (en) * 2019-11-26 2020-05-08 泰康保险集团股份有限公司 Form configuration method and device based on metadata, equipment and medium
CN111897725A (en) * 2020-07-23 2020-11-06 厦门航空有限公司 Automatic test method, medium, equipment and system for middle platform service
CN111897725B (en) * 2020-07-23 2022-09-02 厦门航空有限公司 Automatic test method, medium, equipment and system for middle platform service
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device
CN112337099B (en) * 2020-10-27 2024-01-12 腾讯科技(北京)有限公司 Service management method and device

Also Published As

Publication number Publication date
CN109840074B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
EP3501141B1 (en) A network service design and deployment process for nfv systems
CN112866333B (en) Cloud-native-based micro-service scene optimization method, system, device and medium
CN104679488B (en) A kind of flow custom development platform and flow custom development approach
Garlan et al. Evolution styles: Foundations and tool support for software architecture evolution
Decker et al. Local enforceability in interaction petri nets
Quinton et al. Towards multi-cloud configurations using feature models and ontologies
US9128724B2 (en) Configuring assembly of a system using supplied architectural artifacts
CN109840074A (en) A kind of business generating method, device and the network equipment
US8752003B2 (en) Model driven approach for availability management framework (AMF) configuration generation
Zhovtobryukh A petri net-based approach for automated goal-driven web service composition
US20170048331A1 (en) Platform runtime abstraction
CN109032590B (en) Configuration method, device, terminal and storage medium of visual development environment
CN111208975A (en) Concurrent execution service
Rossini et al. The cloud application modelling and execution language (CAMEL)
CN102203767A (en) Reconfiguring a model
US8103535B2 (en) Evaluation of fitness for a contractual agreement related to provisioning information technology services
Bhattacharjee et al. A model-driven approach to automate the deployment and management of cloud services
Lascu et al. Automatic deployment of component-based applications
US20100250228A1 (en) Modeling a composite application
US7987083B2 (en) Method for simulating a complex system with construction of at least one model including at least one modelled router, corresponding computer software package and storage means
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
Anseeuw et al. Design Time Validation for the Correct Execution of BPMN Collaborations.
Oberortner et al. Tailoring a model-driven quality-of-service DSL for various stakeholders
El-Khoury et al. A roadmap towards integrated CPS development environments
Bracchi et al. Performability modeling of mobile software systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200205

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Applicant before: Huawei Technologies Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant