CN110287438A - A kind of service convergence method transboundary based on micro services framework - Google Patents
A kind of service convergence method transboundary based on micro services framework Download PDFInfo
- Publication number
- CN110287438A CN110287438A CN201910534000.2A CN201910534000A CN110287438A CN 110287438 A CN110287438 A CN 110287438A CN 201910534000 A CN201910534000 A CN 201910534000A CN 110287438 A CN110287438 A CN 110287438A
- Authority
- CN
- China
- Prior art keywords
- service
- business
- industry
- data resource
- industry service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/60—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
- G16H40/60—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
- G16H40/67—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H80/00—ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring
Abstract
The present invention discloses a kind of service convergence method transboundary based on micro services framework, not only for as between industry service in terms of business and interface semanteme it is inconsistent caused by transboundary service convergence difficulty complete resolving ideas is provided, it transboundary services smooth integrated to realize, and provides based on the service convergence of micro services framework realization result the fast integration for helping to realize industry service.This method is broadly divided into five parts, using service convergence demand as driving force, gives the business mismatch detection method between industry service to be fused, and business process reengineering is carried out by way of human-computer interaction.Then it is inconsistent that semanteme of the industry service in Interface Matching is detected and solved by fractionation to concept of parameter and completion, to obtain service convergence design result.Finally, the service convergence based on micro services framework realizes that the business coupling between industry service is converted to data asynchronous communication by result, this is conducive to the fusion transboundary of complicated business service.
Description
Technical field
The present invention relates to field of service calculation, and in particular to a kind of service convergence method transboundary based on micro services framework.
Background technique
Under the historical background of " internet+", internet thinking has pushed the continuous change of social-economic formation, relies on mutual
Internet and the traditional industries that networked information technology is realized merge the development transboundary for promoting industry.The conjunction transboundary of industry service
Make and fusion phenomenon is more and more common, service transboundary becomes a kind of new trend.Service transboundary is a kind of creation of enterprise innovation
Process, by breaking through the boundary of traditional industries, to provide creativeness, novel and cross-cutting product and clothes for client
Business.Service transboundary is the new economic phenomenon and economic activity of one kind of modern service industry, it can create particular area service institute
The value that can not be provided, to realize that the value of " 1+1 > 2 " emerges in large numbers effect.The characteristic transboundary serviced first is that fusion, and not
It provides under the premise of realizing fusion between same industry service and transboundary services.Service convergence expression transboundary will adhere to different necks separately originally
It the multinomial Services Integration in domain and links together, forms a kind of process of new demand servicing.Lack at present on how to be formed and transboundary taken
The research of business.
Since the business function that the service in single field is capable of providing is limited, expire in order to make full use of existing service
The increasingly complicated user demand of foot, the service of multiple fields are usually cooperated together, to provide more powerful business function.With face
The fast development calculated to service, various industries field, which all develops, largely to be serviced and issues on network, industry service source
Multiplicity constitutes the complicated service ecosystem.Among these, service from different fields and supplier and be unaware that by
By which service call.Different field may also have different understanding to same semantic concept.Therefore the design of service is in business
The ununified exploitation standard with data etc..Generally existing this inconsistent realistic problem of semanteme between industry service,
Make service collaboration and it is integrated become difficult and time-consuming, smooth cannot integrate.Especially in service transboundary, this inconsistent phenomenon is more
For protrusion.Because there are very big differences for the business and interface of the service of different field, sometimes in the understanding to identical concept, no
Same domain has different understanding, and service transboundary integrates that there are great difficulties.In traditional service combining method, in order to
It is enough smoothly to combine service, there is the definition of unified standard to carry out hard constraints candidate service collection between service, so as to accurate
Matching and call service carry out meet demand.But it is difficult to constrain in reality and a large amount of industry service of specification, therefore service
Combination cannot be fully solved above-mentioned inconsistent realistic problem.And service convergence is concept more wider range of than Services Composition, after
Person is a kind of the former simple scenario.Service convergence generally comprises the reconstruct of fuzzy automatic/semi-automatic business and interface
Journey.Service convergence method can preferably solve the above problems.
In face of the quick variation of user demand and the demand of cross-cutting integrated service, developer of services wish it is quick and
The integrated multiple fields service of low cost creates more values so as to quick response user demand.For the ease of distribution
The exploitation of formula information system and integrated, SOA architectural framework has been put forward for the first time in Software Architecture Design, using lower coupling and towards
The design philosophy of service.Web service is based on SOA framework theory, is realized using a set of standard technique and is shared to Service Source
And reuse.Web service is to construct the Distributed Application of loose coupling to specify preferable direction, but it is used in development mode
It is monomer framework.This framework fast integration and in terms of exist it is many difficult.This loose coupling of micro services
The appearance of software architecture style preferably solves this problem.In micro services architectural framework, it is based on single responsibility principle, it will
Traditional monomer applications are effectively split, finally to realize agile development and deployment.The emergence and development of micro services framework
Fast integration transboundary to service provides technical support.
Summary of the invention
In order to overcome the deficiencies of the prior art, for as semanteme generally existing between industry service it is inconsistent caused by across
The difficulty of boundary's service convergence, the present invention provides a kind of service convergence methods transboundary based on micro services framework, it is indicated that service
It is integrated can to carry out industry service with guide service developer for the problem of being considered as in transboundary integrating and the thinking solved the problems, such as.It should
Method, using service convergence demand as driving force, is focused on service convergence and detects reconciliation in the process by way of human-computer interaction
The certainly semantic inconsistence problems between service in the business and data of possible physical presence, to realize the smooth collection transboundary serviced
At.And the service convergence based on micro services framework is given in the method and realizes that result can help to realize industry service
Fast integration.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of service convergence method transboundary based on micro services framework, comprising the following steps:
The first step prepares relevant key component data.Transboundary the relevant key component data of service convergence method includes
User demand, from the industry service set obtained in the service ecosystem, under domain expert's guidance the domain body that constructs and
Rule base.Wherein:
(101) service to preferably find and match and carry out service convergence, industry service need from grammer layer (such as
The information such as interface parameters) and semantic layer (such as the information such as field) be described.Industry service is defined as DS=< ds, d,
Des, req, gen, in, out >, wherein ds is the mark of industry service;D is field belonging to industry service;Des is field clothes
The function of business describes;Req is that industry service is data resource set required for completing its business function;Gen is industry service
Complete its business function generated data resource set later;In is the input parameter sets of industry service, is data in req
The subset of the attribute of resource;Out is the output parameter set of industry service, is the attribute set of data resource in gen.
(102) domain body describes the relationship between concept and these concepts in specific area, is effectively to show
Concept hierarchy and semantic model.In the present invention, domain body is used to the semantic dependency and hidden between analysis concept
Containing relationship, and the basis as building rule base.
(103) rule base stores the mapping ruler between different field Ontological concept with particular kind of relationship, mapping ruler
It is that the connection for meeting certain relationship is established between the concept of different field, on the basis of keeping the autonomy of each domain body
The upper layer mapping arrived.Mapping ruler is the common recognition that different field understands semantic concept.In the present invention, rule base by with
It is semantic inconsistent to detect and solve.
Second step obtains service convergence demand.Service convergence demand is the driving force of service convergence, it indicates to need which
A little industry service fusions become new demand servicing to meet user demand.User demand as the input of this step and is broken down into
A series of tasks to be done, then selection is able to achieve the industry service of each task, obtains industry service list to be fused, i.e.,
For service convergence demand.
(201) user demand is decomposed.Clearly recognize to have to demand, and can select to be able to satisfy from service library
The industry service of demand, the present invention analyze Requirement Description, and user demand is decomposed into a series of to be achieved appoint
Business, i.e. task list.Task description wishes to pass through feature operation to certain data resources, available certain data moneys
Source.Task is defined as TASK=<t, d, des, req, gen, and mService>, wherein t is the mark of task;D is belonging to task
Field;Des is the function description of task;Req is to complete the data resource set that required by task is wanted;Gen is to complete task
Generated data resource set afterwards;MService is the industry service that task is matched to.
(202) industry service to be fused is selected.It is that each task is searched and selection is able to achieve this from industry service set
The industry service of task obtains industry service list to be fused, as service convergence demand.When the data money that industry service generates
The data resource of source and needs separately included task generation data resource and needs data resource, and industry service and
The function description of task is consistent semantically, and industry service is considered matching with task.
Third step, the business matching between industry service.In order to determine the sequence that executes of industry service, and guarantee each neck
Domain service can realize its business function, need to match the business between industry service to be fused, obtain industry service
Operation flow.Using service convergence demand as the input of this step, then examined according to the inconsistent type of business predetermined
Whether the business function for surveying industry service can be realized and provides solution for the inconsistent type of every kind of business, finally obtain
The operation flow that all industry services to be fused can be executed normally, the i.e. output of third step.
(301) the inconsistent type of business (BIT) is defined.The data resource that industry service needs determines neck whether it is satisfied
Can domain service realize its business function, therefore data resource required for the inconsistent finger industry service of business is not got,
The problem of can not achieve so as to cause the business function of industry service.When two data resources have of equal value title and identical
When argument structure, it is believed that two data resources are of equal value.So mainly there is the inconsistent type of following four business:
Equivalence name and isomery (BIT_1): two FIELD Data resources have title of equal value and different argument structures;
Non-equivalence title and isomorphism (BIT_2): two FIELD Data resources have the title and identical parameter of non-equivalence
Structure;
The super data resource (BIT_3) met: on argument structure, the data resource that the former provides has been more than (to include
) data resource required for the latter;
Unsatisfied data resource (BIT_4): there are unmet required data resources for industry service.
(302) detection business is inconsistent.For every number in data resource set required for industry service A to be fused
According to resource, data resource of equal value can be found in the data resource set of the generation of remaining industry service to be fused, (for example look for
To be B service), it is considered that A service is that business is consistent, and B services that there are sequence relations with A service.According to above-mentioned pre-
The inconsistent type of the business first defined examines each of service convergence demand obtained in the previous step industry service to be fused one by one
Survey whether its business function can be realized, if it does not, then inconsistent labeled as there are business.
(303) business process reengineering.The present invention provides some with reference to solution for four kinds of inconsistent types of basic service
Scheme, including the new industry service of data resource renaming, addition semantic relation, fractionation data resource and industry service, addition
Deng operation.Two ways can be used and execute the solution for needing to modify service: we can add solution party in rule base
The upper layer mapping ruler of case, and the industry service for allowing to modify, we can directly modify industry service.According to above may be used
The solution of reference solve all business it is inconsistent after, obtain the industry that all industry services to be fused can be executed normally
Business process.
4th step, the Interface Matching between industry service.In order to guarantee that the operation flow of industry service can be executed smoothly,
It needs to carry out semantic matches to the interface parameters between industry service.Using operation flow as the input of this step, then basis
Whether the parameter that the inconsistent type detection industry service of interface predetermined needs can obtain, and different for every kind of interface
Type is caused to provide solution.The uniform interface parameter that can smoothly transmit between industry service is finally obtained, that is, has been obtained
Whole service convergence design result, this is the output of step 4.
(401) the inconsistent type of defining interface (IIT).The input parameter of industry service determines that field takes whether it is satisfied
Can business smoothly execute.Therefore the inconsistent parameter for referring to the data resource transmitted between industry service of interface exists semantic different
It causes, so as to cause the inexecutable problem of industry service.When two parameters have same names and identical semanteme, it is believed that this two
A parameter is of equal value.So mainly there is the inconsistent type of following four interface:
The same name different defining (IIT_1): two parameters title having the same and different semantemes.
Different name is synonymous (IIT_2): two parameters have different titles and identical semanteme.
The super parameter met is semantic (IIT_3): parameter semantically, the semanteme for the concept of parameter that the former exports is more than
It is semantic required for (including) the latter input.
Unsatisfied parameter is semantic (IIT_4): parameter semantically, service has unsatisfied input parameter semanteme.
(402) detection interface is inconsistent.To each interface parameters in the input parameter sets of A service, taken in the forerunner of A
Parameter of equal value can be found in the output parameter set of business, then it is assumed that A is serviced and forerunner's service is that interface is consistent.According to upper
The inconsistent type of interface predetermined is stated to the inconsistent detection of operation flow interface obtained in the previous step, judges that industry service needs
Whether the interface parameters wanted can obtain, inconsistent labeled as there are interfaces if cannot obtain.
(403) interface parameters reconstructs.The present invention provides some with reference to solution for four kinds of inconsistent types of basic interface
Scheme solves semantic inconsistent behaviour including semantic relation, the fractionation of concept of parameter and completion etc. are renamed, added to parameter
Make.There are two types of the modes for executing solution, identical as business process reengineering step.Then the present invention is different for every kind of interface
Cause type provide the solution that can refer to, according to the solution that can refer to above solve all interfaces it is inconsistent after, obtain
To accordant interface parameter between industry service.
5th step obtains the service convergence based on micro services framework and realizes result.Micro services framework uses event-driven frame
Frame and Message Agent realize that this mechanism is applied to service convergence by the cooperation service logic of the service of Distributed Autonomous, the present invention
Realization.Using service convergence design result as the input of this step, obtains the service convergence based on micro services framework and realize knot
Fruit makes business between industry service couple the asynchronous communication for being converted to data, to realize transboundary service quick and continue
It is integrated.
(501) business association;The micro services of each Distributed Autonomous complete an independent business function, in order to realize base
In the service convergence of micro services framework, need to carry out business association to using the industry service to be fused of micro services framework;Building
Business association table between industry service, according to the operation flow and collaborative logic$$$$ in design result, to traffic sequence relationship
Industry service, corresponding record is added in business association table.
(502) data are synchronous;When two industry services in business there are data resource transmitting sequence relation when, this two
Data resource in a respective database of industry service will keep synchronous;According to the data resource that is transmitted between industry service and
Interface parameters determines database association event, changes event when data resource generation side services publication data, passes through Message Agent
All data resource users are notified to service event, corresponding modification is made in data resource user's service, to protect
It demonstrate,proves user's data resource and generates number formulary according to resource consistence, it is synchronous to reach data.
Compared with prior art, the beneficial effects brought by the technical solution of the present invention are as follows:
(1) fusion process transboundary of industry service is divided into five steps to realize by the present invention, it is indicated that service transboundary is melted
The problem of being considered as in conjunction and the thinking solved the problems, such as, this facilitates guide service developer progress industry service and integrates, helps
Formation transboundary services, and realized value emerges in large numbers effect, to promote the prosperity and development of the service ecosystem.
(2) method of service convergence transboundary of interactive mode proposed by the present invention defines field clothes in step 3 and step 4
The inconsistent type of semanteme between business in terms of business and interface, and the detection and solution that can refer to are given, this is helped
In this generally existing semantic inconsistence problems for solving to be completely resolved always in field of service calculation, to help
It helps and realizes the smooth integrated of industry service.
(3) step five in the present invention provides the service convergence transboundary based on micro services framework and realizes as a result, by micro services
Framework apply to industry service transboundary integrate in, this thought can help service developers realize quickly, it is inexpensive
Industry service is integrated, so that developer of services be made to be enable to respond quickly user demand, creates more values.
Detailed description of the invention
Fig. 1 is the general frame schematic diagram of the method for the present invention.
Fig. 2 is task list schematic diagram involved in the present invention.
Fig. 3 is in the present invention about task and the matched algorithm description of industry service.
Fig. 4 is industry service list schematic diagram to be fused in the present invention.
Fig. 5 is algorithm description inconsistent about business between detection field service in the present invention.
Fig. 6 is initial service process figure in the specific embodiment of the invention.
Fig. 7 is final service flow chart in the specific embodiment of the invention.
Fig. 8 is algorithm description inconsistent about the interface of detection field service in the present invention.
Fig. 9 is the inconsistent exemplary diagram of interface of the present invention.
Figure 10 is that the present invention is based on the service convergences of micro services framework to realize result.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to implementation of the invention
Mode is described in further detail.Fig. 1 illustrates holistic approach frame of the invention.We provide one herein and use this hair
The bright implementation process to realize the case of health endowment service convergence is for reference.
The first step, related data prepare.Data preparation includes user demand, industry service, domain body and rule base number
According to preparation.
(1) user demand.By analysis health endowment industry report, the elderly is obtained in " looking after ", " medical treatment " and " drink
Food " etc. has personalized user demand.For example, the elderly wishes that geriatric nursing home can be regular according to their physical conditions
For old man's physical examination and Personalize News information is pushed, old man's medication can be reminded on time;Gerontal patient wishes not having to
Physically go to hospital's medical treatment, doctor can see a doctor online for old man and provide doctor's suggestion, old man can according to prescription it is online from
It is dynamic to place an order and dispense;The elderly wish dining room can according to doctor to dietary recommendation recommend menu, can make a reservation online.
(2) industry service.Based on crawled in the market pea pods APP " healthcare ", " medical " and
The APP initial data in the field " restaurant ", typical services function provided by extraction field, analyzes and describes these services
Data resource and interface parameters, to obtain abstract industry service set.
(3) domain body.On the basis of the data resource of analysis field service and the semantic concept of interface parameters, by leading
Domain expert guidance, uses Prot é g é three domain bodies of manual construction: looking after domain body, medical field ontology and diet neck
Domain ontology.
(4) rule base.Domain expert predefines some typical mapping rulers between domain body concept, and building is initial
Rule base.
Second step obtains service convergence demand.
(1) Requirement Description of previous step is decomposed, available 10 tasks, task list is shown in Fig. 2.
(2) Algorithm 1 according to Fig. 3 is that each task in task list matches the clothes for being able to achieve its business
Business, obtains service describing list to be fused as shown in Figure 4.
Third step, the business matching between industry service.
(1) business between the service of 2 detection field of Algorithm according to Fig. 5 is inconsistent, obtains that there are business
The set OTS of the industry service list BIL of inconsistence problems and the industry service with sequence relation.In Algorithm 2
For DRSem (a, b) function for determining whether two data resources have title of equal value, result may be " yes " and " no ".
For determining two data resources in argument structure side's relation of plane, result may be DRStruct (a, b) function
" isomorphic ", " isomerous " and " inclusive ".The orderly triple of each of connection OTS obtains initial service flow
Journey.Fig. 6 illustrates initial service process figure, and the part that BIT_1/BIT_2/BIT_3/BIT_4 is labelled in figure indicates in BIL
There are the business inconsistence problems of respective type.
(2) the business inconsistence problems solution that can refer to provided according to the present invention carries out initial service process
Recombination is to solve the business inconsistence problems between service.Fig. 7 illustrates final business process map, wherein the portion of overstriking font
Divide and represents the modification that solution business inconsistence problems are made.
4th step, the Interface Matching between industry service.
(1) interface between the service of 3 detection field of Algorithm according to Fig. 8 is inconsistent, obtains that there are interfaces
The set OTP of the parameter of the industry service list IIL and data resource with sequence relation of inconsistence problems.Algorithm
PName (a, b) function in 3 is used to determine two parameters title whether having the same, result may be " yes " and
"no".PSem (a, b) function is used to determine the semantic relations of two parameters, result may be " sameSemantics ",
" differentSemantics " and " inclusive ".The part table of IIT_1/IIT_2/IIT_3/IIT_4 is labelled in Fig. 9
Show the interface inconsistence problems in IIL there are respective type.
(2) the interface inconsistence problems solution that can refer to provided according to the present invention, is reconstructed interface parameters
The interface inconsistence problems between data parameters to solve service.
5th step obtains the service convergence based on micro services framework and realizes result.
Figure 10 illustrates the field based on event-driven mechanism by taking the fusion transboundary between micro services A and micro services B as an example
The details of result is realized in micro services fusion.When micro services A and micro services B has traffic sequence relationship, the number transmitted between them
It is respectively stored in their own database and should be consistent according to resource.Micro services B makes as the data resource
Need to subscribe to the event message that the data resource generation side services, i.e. event of the micro services A about the data resource with side's service
Message.Micro services A can issue event message when modifying the data resource, micro services B will update itself after receiving event message
Corresponding data resource in database.Business coupling between industry service is converted to data asynchronous communication by this process, can
To realize the quick and continuous integrating of industry service.
The present invention is not limited to embodiments described above.Above the description of specific embodiment is intended to describe and say
Bright technical solution of the present invention, the above mentioned embodiment is only schematical, is not restrictive.This is not being departed from
In the case of invention objective and scope of the claimed protection, those skilled in the art may be used also under the inspiration of the present invention
The specific transformation of many forms is made, within these are all belonged to the scope of protection of the present invention.
Claims (6)
1. a kind of service convergence method transboundary based on micro services framework, which comprises the following steps:
Step 1 prepares relevant key component data;The key component data include user demand, from service the ecosystem
The industry service set of middle acquisition, the domain body and rule base constructed under domain expert's guidance;
Step 2 obtains service convergence demand;User demand as the input of the step and is broken down into a series of to complete
At task form task list, selection is able to achieve the industry service of each task, obtains industry service list to be fused, as
Service convergence demand;
Step 3, the business matching between industry service;Using service convergence demand as the input of the step, according to pre-defined
The business function of the inconsistent type detection industry service of business can realize, and provide solution for the inconsistent type of every kind of business
Certainly scheme finally obtains the operation flow that all industry services to be fused can be executed normally, the i.e. output of step 3;
Step 4, the Interface Matching between industry service;Using operation flow as the input of the step, later according to pre-defined
The parameter that needs of the inconsistent type detection industry service of interface whether can obtain, and given for the inconsistent type of every kind of interface
Solution out finally obtains the uniform interface parameter that can smoothly transmit between industry service, that is, obtains complete service and melt
Close design result, the output as step 4;
Step 5 obtains the service convergence based on micro services framework and realizes result;Using service convergence design result as the step
Input, first according to the operation flow in service convergence design result to industry service carry out business association, then according to neck
The data resource and interface parameters transmitted between the service of domain determines database association event, issues when data resource generation side services
Data change event, notify all data resource users to service event by Message Agent, data resource user
Corresponding modification is made in service, to realize that data are synchronous, it is final obtain the service convergence based on micro services framework realize as a result,
The as output of step 5.
2. a kind of service convergence method transboundary based on micro services framework according to claim 1, which is characterized in that step 1
In specifically include:
(101) industry service is defined as DS=< ds, d, des, req, gen by being described from grammer layer and semantic layer,
In, out >, wherein ds is the mark of industry service;D is field belonging to industry service;Des is the function description of industry service;
Req is that industry service is data resource set required for completing its business function;Gen is that industry service completes its business function
Generated data resource set later;In is the input parameter sets of industry service, is the son of the attribute of data resource in req
Collection;Out is the output parameter set of industry service, is the attribute set of data resource in gen;
(102) domain body describes the relationship between concept and these concepts in specific area, is Representation of concepts level
Model structurally and semantically;Domain body is used to semantic dependency and implication relation between analysis concept, and advises as building
The then basis in library;
(103) rule base store between different field Ontological concept with particular kind of relationship mapping ruler, mapping ruler be
The connection for meeting certain relationship is established between the concept of different field, is obtained on the basis of keeping the autonomy of each domain body
One upper layer mapping;Rule base is used to detect and solve semantic inconsistent.
3. a kind of service convergence method transboundary based on micro services framework according to claim 1, which is characterized in that step 2
Middle service convergence demand is the driving force of service convergence, and expression needs which industry service fusion becoming new demand servicing to meet use
Family demand, specifically includes:
(201) user demand is decomposed;Requirement Description is analyzed, user demand is decomposed into a series of to be achieved appoint
Business, i.e. task list, task description wish to pass through the feature operation to certain data resources, available certain data moneys
Source;Task is defined as TASK=<t, d, des, req, gen, and mService>, wherein t is the mark of task;D is belonging to task
Field;Des is the function description of task;Req is to complete the data resource set that required by task is wanted;Gen is to complete task
Generated data resource set afterwards;MService is the industry service that task is matched to;
(202) industry service to be fused is selected;It is that each task is searched and selection is able to achieve corresponding appoint from industry service set
The industry service of business obtains industry service list to be fused, as service convergence demand;When the data resource that industry service generates
With the data resource of needs separately included task generation data resource and needs data resource, and industry service and appoint
The function description of business is consistent semantically, and industry service is considered matching with task.
4. a kind of service convergence method transboundary based on micro services framework according to claim 1, which is characterized in that step 3
In in order to determine the sequence that executes of industry service, and guarantee that each industry service can realize its business function, need to treat and melt
The business closed between industry service is matched, and the operation flow of industry service is obtained;It is specific as follows:
(301) the inconsistent type of business (BIT) is defined;The data resource that industry service needs determines that field takes whether it is satisfied
Can business realize its business function, therefore data resource required for the inconsistent finger industry service of business is not got, finally
The problem of leading to the business function of industry service can not achieve;When two data resources have title and identical parameter of equal value
When structure, it is believed that two data resources are of equal value;Therefore the inconsistent type of following four business is shared:
Equivalence name and isomery (BIT_1): two FIELD Data resources have title of equal value and different argument structures;
Non-equivalence title and isomorphism (BIT_2): title and identical argument structure of two FIELD Data resources with non-equivalence;
The super data resource (BIT_3) met: on argument structure, after the data resource that the former provides has been more than (containing)
Data resource required for person;
Unsatisfied data resource (BIT_4): there are unmet required data resources for industry service;
(302) detection business is inconsistent;For each data money in data resource set required for industry service A to be fused
Source can find data resource of equal value in the data resource set of the generation of remaining industry service to be fused, and that such as find is B
Service, it is believed that A service is that business is consistent, and there are sequence relations with A service for B service;According to above-mentioned business predetermined
Each of the service convergence demand that inconsistent type obtains step 2 industry service to be fused detects its business function one by one
Whether can be realized, if it does not, then inconsistent labeled as there are business;
(303) business process reengineering;The inconsistent type of business is provided and refers to solution, including data resource renames, adds
Add the industry service operation that semantic relation, fractionation data resource and industry service, addition are new;Two ways can be used to repair needs
The service execution solution changed: the upper layer mapping ruler of solution, or the neck for allowing to modify are added in rule base
Domain service, directly modification industry service;According to the solution that can refer to above solve all business it is inconsistent after, obtain institute
The operation flow for having industry service to be fused that can normally execute.
5. a kind of service convergence method transboundary based on micro services framework according to claim 1, which is characterized in that step 4
In to guarantee that the operation flow of industry service can be executed smoothly, need to carry out semantic to the interface parameters between industry service
Match, specific as follows:
(401) the inconsistent type of defining interface (IIT);The input parameter of industry service determines industry service energy whether it is satisfied
No smooth execution, therefore the inconsistent parameter for referring to the data resource transmitted between industry service of interface is inconsistent in the presence of semanteme,
Eventually lead to the inexecutable problem of industry service;When two parameters have same names and identical semanteme, it is believed that the two
Parameter is of equal value;Therefore there are the inconsistent types of following four interface:
The same name different defining (IIT_1): two parameters title having the same and different semantemes;
Different name is synonymous (IIT_2): two parameters have different titles and identical semanteme;
The super parameter met is semantic (IIT_3): parameter semantically, the semanteme for the concept of parameter that the former exports has been more than (to wrap
Containing) the required semanteme of the latter's input;
Unsatisfied parameter is semantic (IIT_4): parameter semantically, service has unsatisfied input parameter semanteme;
(402) detection interface is inconsistent;To each interface parameters in the input parameter sets of A service, serviced in the forerunner of A
Parameter of equal value can be found in output parameter set, then it is assumed that A is serviced and forerunner's service is that interface is consistent;According to above-mentioned pre-
The inconsistent detection of operation flow interface that the inconsistent type of the interface first defined obtains step 3 judges what industry service needed
Whether interface parameters can obtain, inconsistent labeled as there are interfaces if cannot obtain;
(403) interface parameters reconstructs;The inconsistent type of four kinds of basic interfaces is provided and refers to solution, including parameter is ordered again
The fractionation and completion of name, addition semantic relation, concept of parameter;There are two types of the modes for executing solution, with business process reengineering
Step is identical;The solution that can refer to finally is provided for the inconsistent type of every kind of interface, according to the solution that can refer to
Solve all interfaces it is inconsistent after, obtain accordant interface parameter between industry service.
6. a kind of service convergence method transboundary based on micro services framework according to claim 1, which is characterized in that step 5
The middle service convergence realization needed to obtain based on micro services framework is converted to data as a result, coupling the business between industry service
Asynchronous communication, it is specific as follows to realize the quick and continuous integrating that transboundary services:
(501) business association;The micro services of each Distributed Autonomous complete an independent business function, to realize based in incognito
The service convergence of business framework needs to carry out business association to using the industry service to be fused of micro services framework;Building field clothes
Business association table between business, according to the operation flow and collaborative logic$$$$ in design result, to the field with traffic sequence relationship
Corresponding record is added in service in business association table;
(502) data are synchronous;When two industry services in business there are data resource transmitting sequence relation when, the two neck
Domain, which services the data resource in respective database, will keep synchronous;According to the data resource and interface transmitted between industry service
Parameter determines database association event, changes event when data resource generation side services publication data, by Message Agent by thing
Part notifies all data resource users to service, and corresponding modification is made in data resource user's service, to guarantee to make
With square data resource and number formulary is generated according to resource consistence, and it is synchronous to reach data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910534000.2A CN110287438A (en) | 2019-06-19 | 2019-06-19 | A kind of service convergence method transboundary based on micro services framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910534000.2A CN110287438A (en) | 2019-06-19 | 2019-06-19 | A kind of service convergence method transboundary based on micro services framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110287438A true CN110287438A (en) | 2019-09-27 |
Family
ID=68004916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910534000.2A Pending CN110287438A (en) | 2019-06-19 | 2019-06-19 | A kind of service convergence method transboundary based on micro services framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110287438A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111461566A (en) * | 2020-04-10 | 2020-07-28 | 武汉大学 | Cross-boundary service flow fusion method and system based on message flow division and combination |
CN112486625A (en) * | 2020-10-22 | 2021-03-12 | 北京中软国际信息技术有限公司 | Service fusion method based on service fusion middleware |
CN113037625A (en) * | 2021-03-04 | 2021-06-25 | 浙江大学 | Layered routing method for cross-border service network |
WO2021217655A1 (en) * | 2020-04-30 | 2021-11-04 | 深圳中砼物联网科技有限公司 | Software development cooperative control method implemented on basis of service, and computer device and storage medium |
WO2021227636A1 (en) * | 2020-05-15 | 2021-11-18 | 京东方科技集团股份有限公司 | Microservice processing method and apparatus, storage medium, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254423A (en) * | 2016-07-20 | 2016-12-21 | 普元信息技术股份有限公司 | The method realizing Restful service release quickly based on micro services framework |
CN106878393A (en) * | 2017-01-16 | 2017-06-20 | 深圳市商沃科技发展有限公司 | A kind of system based on fusion micro services framework |
EP3312724A1 (en) * | 2016-10-21 | 2018-04-25 | Fujitsu Limited | Microservice-based data processing apparatus, method, and program |
CN109120708A (en) * | 2018-08-31 | 2019-01-01 | 北京神州泰岳软件股份有限公司 | Construction method, call method and the device of business module based on micro services component |
CN109286530A (en) * | 2018-11-09 | 2019-01-29 | 浙江大学 | One kind service network operation transboundary and supporting framework |
-
2019
- 2019-06-19 CN CN201910534000.2A patent/CN110287438A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254423A (en) * | 2016-07-20 | 2016-12-21 | 普元信息技术股份有限公司 | The method realizing Restful service release quickly based on micro services framework |
EP3312724A1 (en) * | 2016-10-21 | 2018-04-25 | Fujitsu Limited | Microservice-based data processing apparatus, method, and program |
CN106878393A (en) * | 2017-01-16 | 2017-06-20 | 深圳市商沃科技发展有限公司 | A kind of system based on fusion micro services framework |
CN109120708A (en) * | 2018-08-31 | 2019-01-01 | 北京神州泰岳软件股份有限公司 | Construction method, call method and the device of business module based on micro services component |
CN109286530A (en) * | 2018-11-09 | 2019-01-29 | 浙江大学 | One kind service network operation transboundary and supporting framework |
Non-Patent Citations (1)
Title |
---|
李贞昊: "微服务架构的发展与影响分析", 《信息系统工程》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111461566A (en) * | 2020-04-10 | 2020-07-28 | 武汉大学 | Cross-boundary service flow fusion method and system based on message flow division and combination |
CN111461566B (en) * | 2020-04-10 | 2023-02-03 | 武汉大学 | Cross-border service flow fusion method and system based on message flow division and combination |
WO2021217655A1 (en) * | 2020-04-30 | 2021-11-04 | 深圳中砼物联网科技有限公司 | Software development cooperative control method implemented on basis of service, and computer device and storage medium |
WO2021227636A1 (en) * | 2020-05-15 | 2021-11-18 | 京东方科技集团股份有限公司 | Microservice processing method and apparatus, storage medium, and electronic device |
CN112486625A (en) * | 2020-10-22 | 2021-03-12 | 北京中软国际信息技术有限公司 | Service fusion method based on service fusion middleware |
CN112486625B (en) * | 2020-10-22 | 2023-06-23 | 北京中软国际信息技术有限公司 | Service fusion method based on service fusion middleware |
CN113037625A (en) * | 2021-03-04 | 2021-06-25 | 浙江大学 | Layered routing method for cross-border service network |
CN113037625B (en) * | 2021-03-04 | 2022-04-01 | 浙江大学 | Layered routing method for cross-border service network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110287438A (en) | A kind of service convergence method transboundary based on micro services framework | |
Knublauch et al. | The Protégé OWL plugin: An open development environment for semantic web applications | |
Pottinger et al. | Merging models based on given correspondences | |
CN106104518A (en) | For the framework extracted according to the data of example | |
US20100251156A1 (en) | Facilitating Discovery and Re-Use of Information Constructs | |
Gonçalves | Streams, structures, spaces, scenarios, and societies (5S): A formal digital library framework and its applications | |
Bottoni et al. | A language-independent and formal approach to pattern-based modelling with support for composition and analysis | |
Yang et al. | Semantic interoperability with heterogeneous information systems on the internet through automatic tabular document exchange | |
Yongsiriwit et al. | A semantic framework for configurable business process as a service in the cloud | |
CN108536718A (en) | A kind of method and system for the IT application in management realized based on input and output semantization | |
CN115714001A (en) | Method for constructing multi-modal knowledge graph service platform for healthy diet | |
Nicolaescu et al. | View-based near real-time collaborative modeling for information systems engineering | |
Lahoud et al. | OCEAN: A semantic web service to extract knowledge in E-Groupwares | |
El Asikri et al. | A brief survey of Creating Semantic Web content with Protégé | |
Ibrahim et al. | Towards an ontology based integrated framework for semantic web | |
Braun et al. | Ontology maturing with lightweight collaborative ontology editing tools | |
Goncalves et al. | Formal method to implement fuzzy requirements | |
Guo et al. | Research on trans-boundary convergence of different service chains in health service ecosystem | |
Douali et al. | New Semantic Web rules and new medical reasoning framework | |
Hastilow | Manufacturing systems interoperability in dynamic change environments | |
Axaridou et al. | VisTA: Visual Terminology Alignment Tool for Factual Knowledge Aggregation. | |
Vogt | Extending FAIR to FAIREr: Cognitive interoperability and the human explorability of data and metadata | |
Slimani | Semantic description of web services | |
Bounif et al. | Schema repository for database schema evolution | |
Haller | Design, implementation and evaluation of an application for guiding architectural refactoring to microservices |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20230228 |