CN109766075A - A kind of enterprise software construction method and system based on micro services - Google Patents

A kind of enterprise software construction method and system based on micro services Download PDF

Info

Publication number
CN109766075A
CN109766075A CN201910027879.1A CN201910027879A CN109766075A CN 109766075 A CN109766075 A CN 109766075A CN 201910027879 A CN201910027879 A CN 201910027879A CN 109766075 A CN109766075 A CN 109766075A
Authority
CN
China
Prior art keywords
software
business
micro services
service
built
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
CN201910027879.1A
Other languages
Chinese (zh)
Other versions
CN109766075B (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.)
Beijing Yuneng Fengzhi Technology Co ltd
Original Assignee
Beijing Youmingyun Software 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 Beijing Youmingyun Software Co Ltd filed Critical Beijing Youmingyun Software Co Ltd
Publication of CN109766075A publication Critical patent/CN109766075A/en
Application granted granted Critical
Publication of CN109766075B publication Critical patent/CN109766075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of enterprise software construction method and system based on micro services, the method includes obtaining the software architecture suitable for software to be built pre-established, the software architecture includes: control management region, including event control module and main module;Logical hierarchy region, including podium level, model layer, service layer and application layer;According to the demand and the software architecture of the software to be built, micro services are obtained from micro services shared server, construct the program to be built.Allowing micro services to have the ability for sharing, exchange, extending, trade, assembling in software production and delivery chain reduces cost to significantly improve efficiency.

Description

A kind of enterprise software construction method and system based on micro services
[technical field]
The present invention relates to software technology field, in particular to a kind of enterprise software construction method based on micro services and it is System.
[background technique]
With internet, cloud computing, big data flourish, business administration digitlization be that the general trend of events is driven.Enterprise it is thorough Bottom digitlization means that enterprise needs a large amount of application software, needs to purchase more set application software from different software companys and meets not Same demand.
However the building mode of current application software is that every software company all constructs oneself a set of software systems, it can be with Solve the demand of enterprise's a part.The software systems of every software company are all developed by oneself, upgraded and safeguarded.One production Product are completed in an entity from production is designed into.
For enterprise, when purchasing different software from different software companys, if the software of the software of company A and B company Complementation, then enterprise needs additional Integrated Development to be connected to them.And many times due to the isomerism of two sets of software, even It is logical to be not always able to success;If the software mutual exclusion of the software of company A and B company, and enterprise would be to a part of company A software Satisfaction, another part is dissatisfied, satisfied to B company a part, and another part is dissatisfied, but enterprise can not only purchase expiring for A Meaning part is satisfied with part with B's, then combines them most being satisfied with as a result, one can only therefrom be selected.
It is this to be responsible for by a software enterprise from the mode for being designed into production to sale, it is a kind of manual workshop form Software building mode.This just has very big difference with industrialized production: the production of such as one automobile, have company be responsible for design, There is company to be responsible for marketing, there is company to be responsible for production, and the part of formed automobile can be best suitable for visitor to produce with global procurement The finished product of family demand.All manufacturers in this supply chain are only responsible for carrying out the professional part of oneself, combine as visitor The finished product of family offer final optimal.
The reason of causing software building equally to form supply chain without image of Buddha industrial products, partly because software itself Nonstandard parasexuality integrally can only upgrade or replace as a kind of monomer structure, substantially it can only in an entity by production and Maintenance;Partly because the limitation of software technology;Another part is that software is constructed as industrial production in default of a set of Method.
[summary of the invention]
The many aspects of the application provide enterprise software construction method, system, equipment and storage based on micro services Medium is capable of providing the enterprise software construction method based on micro services of a set of on-demand service.
The one side of the application provides a kind of enterprise software construction method based on micro services, comprising:
The software architecture suitable for software to be built pre-established is obtained, the software architecture includes: control directorial area Domain, including event control module and main module;Logical hierarchy region, including podium level, model layer, service layer and application layer;
According to the demand and the software architecture of the software to be built, micro services are obtained, construct the program to be built.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the event control Molding block is generated for receiving the customer incident request for developing the software to be built based on customer incident request Entrusted information, and the entrusted information is sent to the main module.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the main module, Internal configuration parameter is obtained for receiving the entrusted information, and based on the entrusted information;
Application scenarios, resolution service are designed based on the internal configuration parameter;
Required business service is searched in micro services shared server;
In the business scenario model basin of prebuild, business scenario is constructed according to business service;
In the Application models pond of prebuild, software is constructed according to business scenario.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the micro services It is next including the unrelated grade micro services of industry, professional standard grade micro services and customization grade micro services three ranks from top to bottom Grade opens completely to upper level, and upper level inherits the repertoire for obtaining next stage from next stage, and can expand on this basis Open up the function of the same level.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described according to institute The demand and the software architecture of software to be built are stated, micro services are obtained, constructing the software to be built includes:
The event control module is called, the customer incident for creating software is received and requests, be based on the customer incident Request generates entrusted information, and the entrusted information is sent to the main module;
The main module is called, application scenarios are designed according to the user demand in the entrusted information, by application scenarios point Solution is business service;Corresponding micro services, i.e. business service are searched in the service pool of prebuild, will be searched obtained business and are taken The business scenario model basin of prebuild is added in business;In the Application models pond of prebuild, software is constructed according to business scenario.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described from incognito Shared server of being engaged in obtains micro services further include:
If not finding required micro services, judge whether can from the micro services shared server existing micro services It is extended, if so, being extended on the basis of existing micro services, obtains required micro services;If it is not, then creating in incognito Business.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described according to institute The demand and the software architecture of software to be built are stated, micro services are obtained, constructing the software to be built includes:
The event control module is called, the customer incident for upgrading software is received and requests, be based on the customer incident Request generates entrusted information, and the entrusted information is sent to the main module;
The entrusted information is received, and obtains the service for needing to upgrade in the software to be upgraded based on the entrusted information With non-upgrade service, corresponding staging business service is searched in micro services shared server,;In the business scenario mould of prebuild In type pond, business scenario is constructed according to staging business service and non-upgrade service;In the Application models pond of prebuild, root Software is constructed according to business scenario.
Another aspect of the present invention provides a kind of software building system of model-driven, comprising:
Framework obtains module, for obtaining the software architecture suitable for software to be built pre-established, the software frame Structure includes: control management region, including event control module and main module;Logical hierarchy region, including podium level, model layer, Service layer and application layer;
Software building module, for the application demand and the software architecture to be realized according to the software to be built, Micro services are obtained, the software to be built is constructed.
Another aspect of the present invention, provides a kind of computer equipment, including memory, processor and is stored in the storage On device and the computer program that can run on the processor, the processor are realized as previously discussed when executing described program Method.
Another aspect of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, described Method as described above is realized when program is executed by processor.
Can be seen that based on above-mentioned introduction using scheme of the present invention, be capable of providing a set of on-demand service based on micro- The enterprise software construction method of service.
[Detailed description of the invention]
Fig. 1 is the flow chart of the enterprise software construction method based on micro services described in some embodiments of the invention;
Fig. 2 is the structure chart that enterprise software described in some embodiments of the invention constructs system;
Fig. 3 shows the frame for being suitable for the exemplary computer system/server 012 for being used to realize embodiment of the present invention Figure.
[specific embodiment]
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Whole other embodiments obtained without creative efforts, shall fall in the protection scope of this application.
Fig. 1 is that the present invention is based on the flow charts of the enterprise software construction method of micro services, as shown in Figure 1, including following Step:
Step S11, the software architecture for being used to construct enterprise software pre-established is obtained, the software architecture includes: Control management region, including event control module and main module;Logical hierarchy region, including podium level, model layer, service layer and Application layer;
Step S12, micro services are obtained according to the demand and the software architecture of the software to be built, building it is described to Construction procedures.
In a kind of preferred implementation of step S11,
The event control module is based on institute for receiving the customer incident request for developing the software to be built It states customer incident request and generates entrusted information, and the entrusted information is sent to the main module;
The main module, is used for:
The entrusted information is received, and internal configuration parameter is obtained based on the entrusted information;
Application scenarios are designed based on the internal configuration parameter, business scenario is decomposed into business service;
In the business service pond of prebuild, the corresponding business service of lookup/generation;
In the business scenario model basin of prebuild, business scenario is constructed according to business service;
In the Application models pond of prebuild, software is constructed according to business scenario.
Preferably, business service is divided into the unrelated grade of industry, professional standard grade and customization grade.Wherein, industry is unrelated Grade opens the public service unrelated with shared industry to professional standard grade;Professional standard grade can be inherited from the unrelated grade of industry and Upgrade service, and industrial nature is extended on this basis.The distinctive business service of the sector can also be created.Similarly, industry mark Quasi- grade is opened to customization grade and shared industry-standard services;Customization grade can be inherited and upgrade from professional standard grade Industry-standard services, and the characteristic of client is extended on this basis.The distinctive business service of the client can also be created.
Preferably, in logical hierarchy region,
Podium level is for constructing unified infrastructure, hardware needed for being used to support and running IT application in enterprises, software.
Model layer is used for business event operating mechanism, composed structure, integrated relationship, with data model, service model and Business event mode is described and is solidified in the form of prototype network by the form of business integration model.And by prototype network come Drive the execution and propulsion of whole business procedure.
Service layer is used to use micro services technology, and business event is split as a series of mutually independent functional units, claims Be micro services.These micro services are mutually indepedent, but each micro services occupy a position in model layer.When certain business row When to occur, model layer can perceive the variation of micro services, to define according to model, the relationship of prototype network be follow, by industry Changing push be engaged in relevant micro services, i.e. service functional unit, to complete the execution of whole business.Each micro services expression One independent service functional unit, their entirety expresses complete professional ability, so as to form service pool.
Application layer is made of module and application, and each module is formed by one or more Services Compositions in service pool, right Answer a specific application scenarios;And the combination of multiple modules, then constitute an application.
Preferably, the main module obtains internal configuration for receiving the entrusted information, and based on the entrusted information Parameter;Application scenarios are designed based on the internal configuration parameter, business scenario is decomposed into business service, is specifically included:
The application scenarios of user are described, it is right to find out its in the scene by defining user for a software requirement The business service answered.Preferably, the business service includes business conduct (interface and method) and business paper (business pair As), the business object includes independent data object.
Preferably, the data object is stored in the data object pond pre-established;It is defined for each data object It can consult other data objects of (look up), to form data object model in data object pond.When business occurs When, access chain is follow, data needed for looking for business.For example, the data object include order, customer, Product, contract, price, vipcard, dictionary etc..
Preferably, data object can be in relevant database (such as MYSql, PostgreSQL, Oracle etc.) with table Form storage, can also be stored in Document image analysis (such as MongoDB, ElasticSearch etc.) with object form.In general, The data object being stored in relevant database is used for online business processing, the data object being stored in Document image analysis For online service inquiry.
Preferably, the data object pond is constructed by following steps: being decomposited data object from business object, is defined number According to the incidence relation between object.
Such as order business object can decomposite order, customer and product data object;And contract services Object can decomposite contract, order, customer, product data object.It establishes between these data objects Incidence relation, for example, order data object can be associated with product data object and customer data object;And Product data object can be further associated with price data object;And customer data object can be further associated with To vipcard data object, while being associated as well to dictionary data object.
During the entire process of software building and operation, data object pond is for service pool, module pond and application pool For be unique and shared, no matter therefore ensure that enterprise finally constructs how many a application scenarios and application program, and In these application scenarios and the operational process of application program, the data object of bottom is unique and shared always.This is just eliminated The problem of data between multiple application programs are inconsistent and information island.
Preferably, the business service is stored in micro services shared server, and the business service is micro services.The industry Business service include the unrelated grade business service of industry, professional standard grade business service and customization grade business service this from top to bottom Three ranks.In each rank, business service all has identical development ability.Next stage is opened completely to upper level It puts, upper level is inherited from next stage, obtains the repertoire of next stage, and can extend the function of the same level on this basis.Under When level-one upgrades, upper level can be upgraded after whole abilities, but the ability that the same level expands is unaffected.
1) the unrelated grade business service of industry
The business service for defining and developing in this level-one does not include any industrial characteristic, is inter-trade general function Energy.The business service of this rank constitutes inter-trade shared, extension gene.To each generic service, there are corresponding Universal model.For example, generic service are as follows: membership service, commodity and service, transactional services, integral service, clearing service;It is corresponding Universal model are as follows: member's model, goods model, Trading Model, integral model, settlement model.
2) professional standard grade business service
The business service for defining and developing in this level-one is for specific industry.If business service is not the sector It is exclusive, then inheriting corresponding business service from the unrelated rank of industry, and the characteristic and function of the sector are extended on this basis Energy.When industry unrelated grade business service upgrading, the unrelated rank respective service of industry can be upgraded after whole abilities, but Expansion is unaffected.It is exclusive if the sector, then a business service is created completely.These business services constitute a row The standards service library of industry and application library.For each professional standard grade business service, there are corresponding professional standard grades Using.For example, professional standard grade business service are as follows: the service of member management class, the service of merchandise control class, the service of trade management class, The service of integration managing class resolves management class service, third party's service;Corresponding professional standard grade application are as follows: estate management application, Management of leasing application, financial management application, member management application, trade company's management application, third-party application.
3) customization grade business service
The business service for defining and developing in this level-one is for particular customer.If business service is not the user It is exclusive, then inherit corresponding business service from the sector levels of the standard, and extend on this basis the user characteristic and Function.When professional standard grade business service upgrading when, customization rank respective service can be upgraded after whole abilities, But expansion is unaffected.It is exclusive if the user, then a business service is created completely.These business services constitute one The personalized service library of user and application library.Grade business service is customized for client's degree, for example, the customization of tenant A configuration Grade application, the customization grade application of tenant B configuration.
Preferably, the unrelated grade business service of industry, professional standard grade business service and client in the software architecture are fixed Grade business service processed is stored in the running environment database of software development, be can be different software company and is developed and upload respectively 's.
Preferably, the business service is identified in the database with its label, to select required business to take Business.
Preferably, each business service in the application corresponds to its business object and data object automatically, without being located Reason, for example, the business object decomposition in business service is independent data object.
It preferably, can not be from micro- shared server if there is no required business service in business service shared server In the characteristic and function of the sector are extended on the basis of existing business service, then need voluntarily to create required business service.
Preferably, the business service voluntarily created can be uploaded in the business service shared server.
The business service is stored in the business service model basin pre-established, the business service model basin by with Lower step building:
1, data object is found from data object pond, is combined into business paper (business object);
2, it combines function (business conduct) with business paper (business object), using each business object as unit, will make Business conduct for it combines, and constitutes a business service.Preferably, business object, event, rule and role combinations Get up to constitute a business service.Each business service keeps independent.For example, for XX business service, including its business object, Service logic and general role.Wherein, a business object corresponds to a business service, includes to the business pair in business service The all operationss of elephant.The business object includes data object, object association, intrinsic regular (information configuration item) again;And business Logic includes call in event (processing logic), rules of interaction (logic configuration item) and call out event (integrated configuration again );And general role includes authority configuration item.For order business service comprising data object have order, Customer, product and price;Wherein, order and customer data object is associated, product and price number It is associated according to object.Wherein, information configuration item such as " XX can not be empty ", " XX must be number ", " member can enjoy discount ";It patrols Collect configuration item such as " product is empty not producible order ", " new customer order needs to examine after coming into force ";Integrated configuration item such as " nothing Protocol Client order automatically creates contract after coming into force ", " framework agreement client does not generate contract ";Authority configuration item such as " client Order can be created ", " client can not modify order ", " sale can create order ", " sale can modify order ".
If 3, a business conduct acts on multiple business objects, multiple business pair of a business conduct are completed jointly One group of dependence can be constructed as between.This group of dependence is presented as the dependence between service.It obtains between each service Dependence.For example, the call in event of order business service is creation order, call out event is creation contract;And Creation contract is the call in event of contract services service again, and here it is between order business service and contract services service Dependence.
4, when being calculated for the dependence between multiple business services, from some service, by dynamic structure Build out one group of service dependent tree with hierarchical relationship.When business conduct occurs, the behavior will follow the transmitting of this paths.
By above-mentioned step, form using business object as the separate traffic service of unit and with business conduct and business Object interactively and the business service dependence that is formed are the business execution route of train of thought, to constitute business service mould Type pond.
The service of each of this business service model basin expresses a service functional unit, they constitute service Layer;And rely on network and then express business operation mechanism, composed structure and integrated relationship, they constitute model layer.
And the business object in each business service, then from the data object combination in data object pond.It institute The data needed follow data object and consult (look up) network namely data object model acquisition.
Business service model basin be for business scenario module pond and Application models pond it is unique and shared, because No matter this ensure that enterprise finally constructs how many a application scenarios and application program, they share a set of unique business always Functional unit.This is eliminated the need for because function is inconsistent caused by the cutting of application scenarios, does not integrate and using isolated island.
Preferably, the business scenario is stored in the business scenario model basin of prebuild;A business scenario i.e. software User issues business conduct to software, it is desirable that the process of business datum.Business scenario can be expressed as one of complete application Application module.Each business scenario is made of multiple business conducts, and therefore, an application module can be by business service mould Corresponding business service is composed in type pond.
Each application module expresses a specific business scenario, mutually indepedent between them.All application module structures At business scenario pond, all processes of business event execution are expressed.Business scenario pond constitutes being total to for application layer Enjoy module.
Preferably, according to different business scopes, business scenario is modeled, generates business scenario pond.By same industry In business field, rules of interaction and composition of matter that different role operates different business object/business service.Such as Client can create/more new order (service), charge slip;Marketing team can create/more new order (service);Client can create Build member card;Price setter can create price;And order (service) can create contract (service);Contract (service) can be with Charge slip is created, product is read, reads member card;Product can read price.By these roles, business object/business service, interaction rule Then, composition of matter gets up to be formed a business scenario.
Application module is that personalized, different Services Composition will form different business scenarios;The building of application module It is that quickly, business function required for it only needs to find corresponding service in service pool.Each application module is equal User is expressed by some man-machine interface, some business conduct is issued, thus the corresponding industry into business service model basin Business service issues request, and the process that corresponding data is obtained in pond is held from data object.
Preferably, in the Application models pond, an application program is made of multiple business scenarios.According to specific Application demand, finds corresponding business scenario module from Application models pond, and organic assembling can form one some A referable application program.
Each Application models express it and are made of which application module, and know that it will hold by application module Capable business service, then the data object that it will access is known by business service.So far, one needed for an application program Highly necessary element is complete.
The building of application program be it is personalized, the various combination of application module will form different application programs;Using The building of program is quickly that it is only a kind of assembling of application module.
In a kind of preferred implementation of step S12, according to the demand and the software architecture of the software to be built, Micro services are obtained, the program to be built is constructed.
Preferably, including following sub-step:
Sub-step S121, the application demand to be realized of software to be built is obtained.
Sub-step S122, the main module is called, for the application demand, by defining user;User is described Application scenarios;Its business service, including business conduct (interface and method), Yi Jiye are found out in the application scenarios of user It is engaged in document (business object);
Sub-step S123, the software to be built is constructed according to the business service.
In the preferred embodiment of the application, if the software to be built is newly-built software, the event is called Control module receives the customer incident for creating software and requests, and generates entrusted information based on customer incident request, and will The entrusted information is sent to the main module;
The main module is called,
Application scenarios are designed according to the user demand in the entrusted information first, application scenarios are decomposed into business clothes Business;
Then corresponding business service (micro services) is searched in the service pool of prebuild, the business service that lookup is obtained The business scenario model basin of prebuild is added;
In the business scenario model basin of prebuild, business scenario is constructed according to business service;In the application journey of prebuild In sequence model basin, software is constructed according to business scenario.
During the entire process of software building and operation, data object pond is for service pool, module pond and application pool For be unique and shared, no matter therefore ensure that enterprise finally constructs how many a application scenarios and application program, and In these application scenarios and the operational process of application program, the data object for the bottom that business service and business object are called begins It is unique and shared eventually.This eliminates the need for the problem of inconsistent data between multiple application programs and information island.
Preferably, corresponding business service (micro services) is searched in shared data bank (the business service pond of prebuild); Include: by the business scenario model basin for searching obtained business service addition prebuild
If finding the business service (micro services) of meet demand in shared data bank, obtained business service will be searched The business scenario model basin of prebuild is added;Or,
If not finding the business service (micro services) of meet demand in shared data bank, but find meet demand The next stage business service (micro services) of business service (micro services) then expands the next stage business service (micro services) Exhibition, obtains the business service (micro services) of meet demand, obtained business service is stored in shared data bank;Or,
If not finding the business service (micro services) of meet demand and the business of meet demand in shared data bank The next stage business service (micro services) of (micro services) is serviced, then creates the corresponding business service of demand.Preferably, according to setting Meter, is decomposed into data object for business service;Corresponding data object is searched in data object pond, in business service model basin It is middle that business object is constructed according to the data object, it combines business conduct with business object, generates the corresponding business clothes of demand Business, business service generated is stored in shared data bank.
In the escalation process of enterprise software, the application scenarios for needing to upgrade are determined, the application scenarios that needs are upgraded It is decomposed into business service, further determines that the business service that needs upgrade, then searches corresponding business in shared data bank again It services (micro services).
In the preferred embodiment of the application, if the software to be built is the upgrading to existing software, call The event control module, receives the customer incident for upgrading software and requests, and generates commission based on customer incident request Information, and the entrusted information is sent to the main module;
The main module is called,
The entrusted information is received, and internal configuration parameter is obtained based on the entrusted information;
The service and non-upgrade service for needing to upgrade in the software to be upgraded are obtained based on the internal configuration parameter, Corresponding staging business service is searched in micro services shared server, the business service is by function (business conduct) and data (business object) is constituted;In the business scenario model basin of prebuild, industry is constructed according to staging business service and non-upgrade service Business scene;In the Application models pond of prebuild, software is constructed according to business scenario.
Preferably, the application scenarios for needing to upgrade are determined, the application scenarios upgraded will be needed to be decomposed into business service, into one Step determines the business service for needing to upgrade, and corresponding business service (micro services) is then searched in micro services shared server New version is applied in the business service to be upgraded (micro services) by new version, and new version will replace the business service to be upgraded In from upper level service inherit part, expansion is not influenced, to realize upgrading.After upgrading, to be upgraded Service will also generate a new version.Next, the new version after upgrading is applied in model of place in application scenarios, Application scenarios will call the service of new version later, to complete the upgrading of application scenarios.
Preferably, the process for searching corresponding staging business service and above-mentioned in the shared data bank (industry of prebuild Be engaged in service pool) in search corresponding business service (micro services) process it is similar, details are not described herein.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
The introduction about embodiment of the method above, below by way of Installation practice, to scheme of the present invention carry out into One step explanation.
Fig. 2 is the structure chart that enterprise software of the present invention constructs system, as shown in Figure 2, comprising:
Framework obtains module 21, for obtaining the software architecture suitable for software to be built pre-established, the software Framework includes: control management region, including event control module and main module;Logical hierarchy region, including podium level, model Layer, service layer and application layer;
Software building module 22 obtains micro services for the demand and the software architecture according to the software to be built, Construct the program to be built.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system it is specific The course of work can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The enterprise software construction method and system based on micro services according to the present invention, by the classification of micro services, Extension and lasting upgrading, during software building, if business service needed for existing in shared data bank;It then only needs to call Existing business service;Or already present business service is extended to obtain required business service;Without to each business Service is decomposed, and the business object decomposition that business service is related to is independent data object, in the data object of prebuild Data object required for obtaining the building software to be built according to business object decomposition result in pond, in the business of prebuild Business service is established according to data object in service model pond;The complexity for greatly reducing software building, improves work Extent for multiplexing.
Meanwhile micro services being allowed to have the ability to circulate in software development process;By the shared of micro services, exchange, Transaction, extension and assembling allow micro services to have and share in software production and delivery chain, exchange, extension, trade, assemble Ability.
Software vendor's positioning is had nothing in common with each other, and generic service is provided with;It is provided with professional standard grade service;It is provided with visitor Family customization level service.It is formed up and down as provided the manufacturer of components in industrialized production, providing the manufacturer that finished product assembles It is the same to swim supply chain.Different vendor can cooperate, and from unitary construction with high costs, be changed into Virtual production, call Most suitable micro services reduce cost to significantly improve efficiency.For example, the manufacturer for being positioned as providing generic service provides row The micro services of the unrelated rank of industry, these micro services are shared to the manufacturer of be provided with professional standard grade service;Industry mark is provided These micro services are inherited and extended in the manufacturer of quasi- grade service, forms professional standard micro services library and shares to customization rank factory Quotient;These micro services are inherited and extended in customization rank manufacturer, for going out personalized final software product for customization.
For enterprise, the components that can obtain optimization select and most suitable software product.The liter of software Grade regenerates and is also transformed to components upgrading from whole replacement, to significantly improve efficiency, reduces cost.
In several embodiments provided herein, it should be understood that disclosed method and apparatus can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can integrate in a processor, it is also possible to Each unit physically exists alone, and can also be integrated in one unit with two or more units.The integrated unit Both it can take the form of hardware realization, can also have been realized in the form of hardware adds SFU software functional unit.
Fig. 3 shows the frame for being suitable for the exemplary computer system/server 012 for being used to realize embodiment of the present invention Figure.The computer system/server 012 that Fig. 3 is shown is only an example, should not function and use to the embodiment of the present invention Range band carrys out any restrictions.
As shown in figure 3, computer system/server 012 is showed in the form of universal computing device.Computer system/clothes The component of business device 012 can include but is not limited to: one or more processor or processor 016, system storage 028, Connect the bus 018 of different system components (including system storage 028 and processor 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 012 typically comprises a variety of computer system readable media.These media, which can be, appoints The usable medium what can be accessed by computer system/server 012, including volatile and non-volatile media, movably With immovable medium.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 030 and/or cache memory 032.Computer system/server 012 may further include other Removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can For reading and writing immovable, non-volatile magnetic media (Fig. 3 do not show, commonly referred to as " hard disk drive ").Although in Fig. 3 It is not shown, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to can The CD drive of mobile anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situations Under, each driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include At least one program product, the program product have one group of (for example, at least one) program module, these program modules are configured To execute the function of various embodiments of the present invention.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 042 usually executes function and/or method in embodiment described in the invention.
Computer system/server 012 can also with one or more external equipments 014 (such as keyboard, sensing equipment, Display 024 etc.) communication, in the present invention, computer system/server 012 is communicated with outside radar equipment, can also be with One or more equipment that sounder is interacted with the computer system/server 012 communication, and/or with make this Any equipment that computer system/server 012 can be communicated with one or more of the other calculating equipment (adjust by such as network interface card Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 022.Also, computer system/ Server 012 can also pass through network adapter 020 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, for example, internet) communication.As shown in figure 3, network adapter 020 passes through bus 018 and computer Other modules of systems/servers 012 communicate.It should be understood that computer system/service can be combined although being not shown in Fig. 3 Device 012 uses other hardware and/or software module, including but not limited to: microcode, device driver, redundant processor, outside Disk drive array, RAID system, tape drive and data backup storage system etc..
The program that processor 016 is stored in system storage 028 by operation, thereby executing reality described in the invention Apply the function and/or method in example.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with Computer program, the program by one or more computers when being executed, so that one or more computers execute in the present invention State method flow shown in embodiment and/or device operation.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media. Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium Matter for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It is fully executed on sounder computer, partly executes on sounder computer, held as an independent software package Row, partially on sounder computer part on the remote computer execute or completely on a remote computer or server It executes.In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area network (WAN) is connected to sounder computer, or, it may be connected to outer computer (such as utilize internet Service provider is connected by internet).
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of the description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed method and apparatus can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can integrate in a processor, it is also possible to Each unit physically exists alone, and can also be integrated in one unit with two or more units.The integrated unit Both it can take the form of hardware realization, can also have been realized in the form of hardware adds SFU software functional unit.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of enterprise software construction method based on micro services characterized by comprising
The software architecture suitable for software to be built pre-established is obtained, the software architecture includes: control management region, packet Include event control module and main module;Logical hierarchy region, including podium level, model layer, service layer and application layer;
According to the demand and the software architecture of the software to be built, micro services are obtained, construct the program to be built.
2. the method according to claim 1, wherein
The event control module is based on the use for receiving the customer incident request for developing the software to be built Family event request generates entrusted information, and the entrusted information is sent to the main module.
3. according to the method described in claim 2, it is characterized in that,
The main module obtains internal configuration parameter for receiving the entrusted information, and based on the entrusted information;
Application scenarios, resolution service are designed based on the internal configuration parameter;
Required business service is searched in micro services shared server;
In the business scenario model basin of prebuild, business scenario is constructed according to business service;
In the Application models pond of prebuild, software is constructed according to business scenario.
4. the method according to claim 1, wherein
The micro services include the unrelated grade micro services of industry, professional standard grade micro services and customization grade micro services from top to bottom Three ranks, next stage open completely to upper level, and upper level is inherited from next stage and obtains the repertoire of next stage, and can be with The function of the same level is extended on this basis.
5. according to the method described in claim 4, it is characterized in that, the demand according to the software to be built and described soft Part framework obtains micro services, constructs the software to be built and includes:
The event control module is called, the customer incident for creating software is received and requests, requested based on the customer incident Entrusted information is generated, and the entrusted information is sent to the main module;
The main module is called, application scenarios are designed according to the user demand in the entrusted information, application scenarios are decomposed into Business service;Corresponding micro services, i.e. business service are searched in the service pool of prebuild, will be searched obtained business service and are added Enter the business scenario model basin of prebuild;In the Application models pond of prebuild, software is constructed according to business scenario.
6. according to the method described in claim 5, it is characterized in that, described also wrap from micro services shared server acquisition micro services It includes:
If not finding required micro services, judge whether existing micro services to carry out from the micro services shared server Extension, if so, being extended on the basis of existing micro services, obtains required micro services;If it is not, then creating micro services.
7. according to the method described in claim 4, it is characterized in that, the demand according to the software to be built and described soft Part framework obtains micro services, constructs the software to be built and includes:
The event control module is called, the customer incident for upgrading software is received and requests, requested based on the customer incident Entrusted information is generated, and the entrusted information is sent to the main module;
Receive the entrusted information, and obtained based on the entrusted information service that needs to upgrade in the software to be upgraded with not Corresponding staging business service is searched in upgrade service in micro services shared server,;In the business scenario model basin of prebuild In, business scenario is constructed according to staging business service and non-upgrade service;In the Application models pond of prebuild, according to industry Business scenario building software.
8. a kind of software building system of model-driven characterized by comprising
Framework obtains module, for obtaining the software architecture suitable for software to be built pre-established, the software architecture packet It includes: control management region, including event control module and main module;Logical hierarchy region, including podium level, model layer, service Layer and application layer;
Software building module is obtained for the application demand and the software architecture to be realized according to the software to be built Micro services construct the software to be built.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor is realized when executing described program as any in claim 1~7 Method described in.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed Such as method according to any one of claims 1 to 7 is realized when device executes.
CN201910027879.1A 2018-11-29 2019-01-11 Enterprise-level software construction method and system based on microservice Active CN109766075B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2018114415249 2018-11-29
CN201811441524 2018-11-29
CN201811452165 2018-11-30
CN2018114521657 2018-11-30

Publications (2)

Publication Number Publication Date
CN109766075A true CN109766075A (en) 2019-05-17
CN109766075B CN109766075B (en) 2022-09-09

Family

ID=66453914

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910028594.XA Active CN109783091B (en) 2018-11-29 2019-01-11 Model-driven software construction method and system
CN201910027879.1A Active CN109766075B (en) 2018-11-29 2019-01-11 Enterprise-level software construction method and system based on microservice

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910028594.XA Active CN109783091B (en) 2018-11-29 2019-01-11 Model-driven software construction method and system

Country Status (1)

Country Link
CN (2) CN109783091B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837382A (en) * 2019-09-26 2020-02-25 北京和德宇航技术有限公司 Service framework-based narrowband space-based Internet of things terminal upgrading method and system
CN111008008A (en) * 2019-11-27 2020-04-14 广州润普网络科技有限公司 Micro-service architecture-based application development method and system
CN111913737A (en) * 2020-07-24 2020-11-10 北京锐安科技有限公司 Method, device, equipment and storage medium for constructing data service interface
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling
CN112241285A (en) * 2019-07-16 2021-01-19 腾讯科技(深圳)有限公司 Configuration method, device and equipment of operation program
CN113419732A (en) * 2021-06-30 2021-09-21 青岛海信智慧生活科技股份有限公司 Property service management system, deployment method and device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378564A (en) * 2019-06-18 2019-10-25 中国平安财产保险股份有限公司 Monitoring model generation method, device, terminal device and storage medium
CN111273968A (en) * 2020-01-17 2020-06-12 上海米哈游天命科技有限公司 Object calling method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420787A (en) * 2007-06-15 2009-04-29 捷讯研究有限公司 Device for communicating in multiple modes using multi-mode applications
US20090210858A1 (en) * 2008-02-15 2009-08-20 Samsung Electronics Co., Ltd. Method and apparatus for generating virtual software platform based on component model and validating software platform architecture using the platform
CN101625649A (en) * 2009-08-17 2010-01-13 中兴通讯股份有限公司 Loading method and loading device of software
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
CN107506179A (en) * 2017-07-07 2017-12-22 中国建设银行股份有限公司 A kind of interface prototype data creation method and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7793284B2 (en) * 2005-03-25 2010-09-07 Microsoft Corporation Role based server installation and configuration
CN101320327A (en) * 2008-07-17 2008-12-10 上海众恒信息产业有限公司 Software structure for special certificate management system
CN101969475A (en) * 2010-11-15 2011-02-09 张军 Business data controllable distribution and fusion application system based on cloud computing
CN105630472B (en) * 2014-11-03 2019-12-24 中国科学院沈阳自动化研究所 Client rapid development framework of manufacturing execution system and software development method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420787A (en) * 2007-06-15 2009-04-29 捷讯研究有限公司 Device for communicating in multiple modes using multi-mode applications
US20090210858A1 (en) * 2008-02-15 2009-08-20 Samsung Electronics Co., Ltd. Method and apparatus for generating virtual software platform based on component model and validating software platform architecture using the platform
CN101625649A (en) * 2009-08-17 2010-01-13 中兴通讯股份有限公司 Loading method and loading device of software
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
CN107506179A (en) * 2017-07-07 2017-12-22 中国建设银行股份有限公司 A kind of interface prototype data creation method and computer equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241285A (en) * 2019-07-16 2021-01-19 腾讯科技(深圳)有限公司 Configuration method, device and equipment of operation program
CN110837382A (en) * 2019-09-26 2020-02-25 北京和德宇航技术有限公司 Service framework-based narrowband space-based Internet of things terminal upgrading method and system
CN111008008A (en) * 2019-11-27 2020-04-14 广州润普网络科技有限公司 Micro-service architecture-based application development method and system
CN111913737A (en) * 2020-07-24 2020-11-10 北京锐安科技有限公司 Method, device, equipment and storage medium for constructing data service interface
CN111913737B (en) * 2020-07-24 2024-05-10 北京锐安科技有限公司 Method, device, equipment and storage medium for constructing data service interface
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling
CN113419732A (en) * 2021-06-30 2021-09-21 青岛海信智慧生活科技股份有限公司 Property service management system, deployment method and device, equipment and storage medium

Also Published As

Publication number Publication date
CN109783091A (en) 2019-05-21
CN109766075B (en) 2022-09-09
CN109783091B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN109766075A (en) A kind of enterprise software construction method and system based on micro services
Bhattacharya et al. Coalition of 6G and blockchain in AR/VR space: Challenges and future directions
CN104866513B (en) System and method for being accessed across tenant data
CN104395899B (en) Master data management system and its method based on cloud
CN102640475B (en) The method and system of resource-sharing between the cloud in cloud computing environment
JP5767646B2 (en) Supply of services using cloud service catalog
US20070150370A1 (en) System for Increasing On-Line Shopping Presence
US20090138335A1 (en) Method and system for providing identity template management as a part of a marketing and sales program for universal life stage decision support
CN106462471A (en) Opportunistically connecting private computational resources to external services
CN105210063A (en) Recommending context based actions for data visualizations
US20130167109A1 (en) System to Automate Development of System Integration Application Programs and Method Therefor
US8036942B2 (en) Ecommerce marketplace integration techniques
CN109886699A (en) Activity recognition method and device, electronic equipment, storage medium
US20170337601A1 (en) Monetization of interactive network-based information objects
JP2022065636A (en) Computer-implemented method, computer program and computer system (digital twin enabled asset performance and upgrade management)
US20210365614A1 (en) Machine learning based design framework
US20120101871A1 (en) Using masking properties for management of a dynamic identity template as a part of a marketing and sales program for universal life stage decision support
CN110363583A (en) A kind of method, apparatus and electronic equipment based on location information creation consumer consumption behavior label
Clarke et al. Spatial interaction models: from numerical experiments to commercial applications
CN114756234A (en) APP development method based on traditional application and dynamic configuration strategy
CN105988822A (en) Method and system for helping user to perform service request
Gupta et al. Metaverse in the Technological World
CN109003121A (en) Establishment of item method and apparatus, shared platform
KR20190084145A (en) Artificial intelligence system for finding promising technologies using online patent auction system
WO2023041029A1 (en) Constraint-based multi-party image modification

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: 20201116

Address after: 501-wework05-102, block D, China Resources Land building, 19 Kefa Road, Dachong community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Youming Digital Technology Co.,Ltd.

Address before: 100738 East Chang'an Street, Dongfang Square, Dongfang Economic and Trade City, Dongcheng District, Beijing

Applicant before: BEIJING YOUMINGYUN SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201218

Address after: Room a section 469, basement 1-1, building 3, Shangdi Information Industry base, Haidian District, Beijing 100085

Applicant after: Beijing Daguan Technology Co.,Ltd.

Address before: 501-wework05-102, block D, China Resources Land building, 19 Kefa Road, Dachong community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Youming Digital Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210426

Address after: 100085 082, Section A, basement, 1st floor, building 1, 3rd Street, Shangdi Information Industry base, Haidian District, Beijing

Applicant after: Beijing Yuneng Fengzhi Technology Co.,Ltd.

Address before: 100085 section 469, basement a, 1st floor, building 1, 3rd Street, Shangdi Information Industry base, Haidian District, Beijing

Applicant before: Beijing Daguan Technology Co.,Ltd.

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