CN110321181A - Event production method and its device under SOA system - Google Patents

Event production method and its device under SOA system Download PDF

Info

Publication number
CN110321181A
CN110321181A CN201910573900.8A CN201910573900A CN110321181A CN 110321181 A CN110321181 A CN 110321181A CN 201910573900 A CN201910573900 A CN 201910573900A CN 110321181 A CN110321181 A CN 110321181A
Authority
CN
China
Prior art keywords
event
schema
attribute value
dynamic script
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
Application number
CN201910573900.8A
Other languages
Chinese (zh)
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910573900.8A priority Critical patent/CN110321181A/en
Publication of CN110321181A publication Critical patent/CN110321181A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses the event production methods and its device under a kind of SOA system.Event production method under the SOA system, comprising: by the hot load mechanism of Spring, jar file and Groovy dynamic script are loaded into Spring container;Fish for event Schema;According to the definition of the Schema, corresponding dynamic script function is obtained;The dynamic script function is called, event attribute value is calculated;According to the event attribute value, the assembling of event is completed.

Description

Event production method and its device under SOA system
Technical field
This specification is related to computer application field.
Background technique
SOA (Service-Oriented Architecture, Enterprise SOA) is a kind of new service architecture, Unified Development Framework, service improvement, system monitoring, configuration management etc. are provided for user.The theory of SOA provides service The relationship that loose couplings are formd between person and service user is more favorable for the maintenance of system, have higher availability and Better scalability, advantage is particularly evident in large-scale distributed environment.
Part is administered in the service of SOA system, and ISP services user by introducing clothes in configuration center issuing service The jar file that business provider provides, after writing corresponding service configuration, by system automatic addressing to corresponding service.In thing On part is realized, the form that general multi-pass crosses hard coded is realized.Therefore, when a kind of event of new type needs to develop, It needs to realize by coding.
The Development Framework of SOA is based on Spring more and is realized, such as the open source product Dubbo of Ali, such as ant Increase income product SofaStack etc..These frames, which introduce new service, two steps, first is that corresponding JAR is introduced, second is that with Spring Equally, the mode of XML configurationization is mostly used to configure the service for needing to use.Such as in SofaStack, dependence is serviced Configuration mode are as follows:
<bean class=" com.alipay.sofa.rpcserver.SampleServiceImpl " id= “sampleService”/>
< sofa:service ref=" sampleService " interface=" com.alipay.sofa.rpcser ver.SampleService”>
<sofa:binding.bolt/>
</sofa:service>
The exploitation of event is even more so, and each type of event all needs to define in advance, can not be by way of configurableization It realizes.
Summary of the invention
Present description provides the event production methods and its device under a kind of SOA system, for solving in the prior art, When a kind of event of new type needs to develop, needing to be realized by way of hard coded, the development cycle of event is long, The problem of inefficiency.
Presently filed embodiment discloses the event production method under a kind of SOA system, comprising:
By the hot load mechanism of Spring, jar file and Groovy dynamic script are loaded into Spring container;
Fish for event Schema;
According to the definition of the Schema, corresponding dynamic script function is obtained;
The dynamic script function is called, event attribute value is calculated;
According to the event attribute value, the assembling of event is completed.
Presently filed embodiment also discloses the event process units under a kind of SOA system, comprising:
Jar file and Groovy dynamic script are loaded by loading unit for passing through the hot load mechanism of Spring In Spring container;
Unit is fished for, for fishing for event Schema;
Acquiring unit obtains corresponding dynamic script function for the definition according to the Schema;
First computing unit calculates event attribute value for calling the dynamic script function;
Assembling unit, for completing the assembling of event according to the event attribute value.
Presently filed embodiment also discloses the event production equipment under a kind of SOA system, comprising:
Memory, for storing computer executable instructions;And
Processor, for realizing the step in the above method when executing the computer executable instructions.
Presently filed embodiment also discloses a kind of computer readable storage medium, the computer readable storage medium In be stored with computer executable instructions, when the computer executable instructions are executed by processor realize the above method in step Suddenly.
In this specification embodiment, it is based on Spring JAR and Groovy scripting language dynamically load mechanism, is not necessarily to generation Code change, it is only necessary to which new demand servicing introducing can be realized in a small amount of configuration, greatly reduces the development cost of event.
A large amount of technical characteristic is described in this specification, is distributed in each technical solution, if this Shen is set out Specification please can be made excessively tediously long if the combination (i.e. technical solution) of all possible technical characteristic.In order to avoid this Problem, each technical characteristic disclosed in this specification foregoing invention content disclose in each embodiment and example below Each technical characteristic and attached drawing disclosed in each technical characteristic, can freely be combined with each other, to constitute various new Technical solution (these technical solutions should be considered as have been recorded in the present specification), unless the combination of this technical characteristic It is technically infeasible.For example, disclosing feature A+B+C in one example, feature A is disclosed in another example + B+D+E, and feature C and D are the equivalent technologies means for playing phase same-action, as long as technically selecting a use, it is impossible to same Shi Caiyong, feature E can be technically combined with feature C, then, the scheme of A+B+C+D should not be regarded because technology is infeasible To have recorded, and the scheme of A+B+C+E should be considered as being described.
Detailed description of the invention
Fig. 1 is the schematic diagram of service registration discovery mechanism under a kind of SOA system according to this specification first embodiment;
Fig. 2 is the process signal of the event production method under a kind of SOA system according to this specification first embodiment Figure;
Fig. 3 is to load timing diagram according to a kind of Groovy dynamic script of this specification first embodiment;
Fig. 4 is the timing diagram according to a kind of complete event generation process of this specification first embodiment;
Fig. 5 is the structural representation of the event process units under a kind of SOA system according to this specification second embodiment Figure.
Specific embodiment
In the following description, in order to make the reader understand this application better, many technical details are proposed.But this The those of ordinary skill in field is appreciated that even if without these technical details and many variations based on the following respective embodiments And modification, the application technical solution claimed also may be implemented.
The explanation of part concept:
SOA: i.e. Enterprise SOA, is a component model, it (referred to as takes the different function units of application program Business) by these service between define good interface and contract connects.
Event: in majority decision system, decision is all to be triggered by event, for example market rate drop 10% is exactly One event.
In addition, heat load is identical as the meaning of dynamically load, and the dynamic class of JAVA adds in each embodiment of the application It carries and the meaning of the heat load of Spring is also identical, the meaning of Spring container and IoC container is also identical.
Fig. 1 is the schematic diagram of service registration discovery mechanism under SOA system.Service registration discovery procedure includes three steps altogether: the 1st Walk service registration, step 2 service discovery and step 3 service call.Wherein, step 1 service registration and step 3 service call use The mode of frame script.The application aims to solve the problem that the development efficiency problem of step 2 service discovery part.
It is described in further detail below in conjunction with embodiment of the attached drawing to this specification.
The first embodiment of this specification is related to the event production method under a kind of SOA system, process such as Fig. 2 institute Show, method includes the following steps:
In step 202, by the hot load mechanism of Spring, jar file and Groovy dynamic script are loaded into In Spring container.
Here, it should be further noted that
Service, such as RPC (Remote Procedure Call, remote procedure call) service are relied on external clothes Business requires the Client JAR of upload service provider offer using external service, generally passes through under traditional mode Maven mode static state introduces, and is to dynamically introduce JAR in the application.
Groovy dynamic script is used primarily in event instance structurally for dynamic implement to the function of data mart modeling, Groovy dynamic script is in the construction process of example, it is possible to the service for calling JAR to introduce.
Service user using service before, it is first of all clear that know service provider provide service specification be assorted , servicing a big chunk content in specification is exactly to be described by way of java class.So firstly, service user Need to introduce the JAR of service provider service specification.Under traditional mode, JAR is introduced by way of maven.And this Application dynamically introduces JAR first with the Dynamic Class Loading mechanism of JAVA.
The dynamically load of Java: dynamically load jar file is realized by Classloader ClassLoader, when a class quilt When load, all classes cited in this class can be also loaded.Java Dynamic Class Loading is not primarily to change main program generation Code can operate different objects by modification configuration file and execute different functions, be very beneficial for the extension of system, example Such as change a function when desired, it is only necessary to do a class, then write corresponding function, can use by configuration file New function, from anywhere in not needing modification system, it is only necessary to add a class, adequately achieve loose under SOA system Coupling.
SOA system will necessarily maintain all chartered in the presence of one " service register center " application or module Service.In step 202, after dynamically load JAR, after getting corresponding service by configuration center, clothes can be used Business.In XML file, system is initialised in IoC container when starting for traditional service reference configuration.In the present invention, will lead to The hot load mechanism for crossing Spring, Groovy dynamic script is loaded into IoC container, realizes that final system is called.To So that research staff may not need modification code, the service flexibly provided according to service provider is provided and completes service group It closes.
Then into step 204, event Schema is fished for.
Here, it should be further noted that
Event generally refers to financial risks event, in other words, as a risk data carrier, such as a stream Dynamic property risk case includes: several attributes such as main body, mobility rate of filled vacancy.
Schema, i.e. XML Schema, it is indicated that how form describes the element of XML document.
Further, it is preferable to ground, before the step 204, further includes:
Receive user-defined event Schema.
That is, before the step 204, user needs to define event Schema first.
Event generation is the propulsion in order to drive business, then different events just has different processing methods.In order to unite The processing of one event, it is necessary first to define the Schema of event.
In the present embodiment, it is preferable that event Schema includes: event code, event name and state-event.
After having received user-defined event Schema, according to the event Schema, when fishing for the triggering of event Between rule, and calculate the next triggered time of event.
And further determine whether the next triggered time of arrival event.
If the next triggered time of the also non-arrival event of current time continues waiting for not to the triggered time.
If current time arrived the next triggered time of event, 204 are thened follow the steps.
Corresponding dynamic script function is obtained according to the definition of the Schema then into step 206.
For example for, by taking capital adequacy ratio event as an example,
Event Schema is defined as follows:
Wherein, calCapitalAdequacyRatio is that the Groovy dynamic script of calculating amply supported with funds is loaded into Corresponding dynamic script function name (name) in Spring container.Date is the Groovy dynamic script quilt for returning to current time The corresponding dynamic script function name (name) being loaded into Spring container, for example, #date (" -1d ") is indicated upper one day, # Date (" -1m ") indicates last month, and #date (" -1d ", " yyyyMMdd ") indicates to return upper one day, and format is yyyyMMdd etc..
Then into step 208, the dynamic script function is called, calculates event attribute value.
Equally by taking above-mentioned capital adequacy ratio event as an example, calCapitalAdequacyRatio function is called, to calculate The attribute value of capital adequacy ratio event.
In the present embodiment, it is based on dynamic script dynamic data service, so that the production of event attribute value is more flexible.
In addition, according to the calculation formula of capital adequacy ratio:
Need to inquire the information such as capital, weighted assets again it is found that calculating in the Groovy dynamic script of amply supported with funds, because This, needs to rely on other service.That is, it is also necessary to the other service for calling JAR to introduce.
The assembling of event is completed according to the event attribute value then into step 210.
In the present embodiment, it is preferable that event attribute includes: event code, event attribute code, event attribute name, event Attribute value, event attribute Value Types and event production trigger etc..
Event and event attribute are the relationships of 1:N, also particularly important for the design of event attribute value, are that event can be marked The key point of standardization.Wherein, event attribute value is either a fixed value, also can be used above-mentioned dynamic script dynamic The mode of aggregated service flexibly calculates.
Different event, not only content is different, production cycle also different from.For example partial event is daily every 1 Hour generates once, has plenty of and 5 generated once every 10 minutes weekly.It is configured, can flexibly be controlled by flexible time rule The generation frequency of event.
Further, it is preferable to ground, after step 210, further includes:
Event consumer side is sent by the event being completed.
Event consumer side here, such as can be the decision center etc. for needing to make decisions according to event.
Further, it is preferable to which ground can also include: after step 210
The next triggered time of update event.
By above description as can be seen that in the present embodiment, being based on Spring JAR and Groovy scripting language Dynamically load mechanism is changed without code, it is only necessary to which new demand servicing introducing can be realized in a small amount of configuration, can be flexibly according to event week Phase assembles various types of events, significantly reduces the development cost of event, under SOA system, solves service user The low problem of efficiency of research and development.
In order to more fully understand the technical solution of this specification, said below with reference to a specific example Bright, the details enumerated in the example is primarily to be easy to understand, not as the limitation to the application protection scope.
One, dynamically load JAR
Service user using service before, it is first of all clear that know service provider provide service specification be assorted , servicing a big chunk content in specification is exactly to be described by way of java class.So firstly, service user Need to introduce the JAR of service provider service specification.Under traditional mode, introduced by way of maven.The application benefit JAR is introduced with the Dynamic Class Loading mechanism of JAVA.
For JAR, traditional mode is stored by the warehouse maven (abbreviation Mvn), and database is used in the application The mode of+distributed storage device carries out.Maintain the relevant basic information of JAR in database first, including name, version, Safeguard people etc..It is as shown in table 1 below:
Table 1
Field Field description
group_id Mvn coordinate groupId
artified_id Mvn coordinate artifiedId
version Mvn coordinate version
status JAR state
file_path The path JAR
User upload information safeguarded by upper table 1, the specific content of JAR can by distributed file system come Storage.System on startup, after loading bean defined in Spring XML by BeanFactory first, then passes through JAR information table is read, the JAR that state is online state, Mobile state of going forward side by side load are obtained.Here, the mistake of Spring dynamically load Cheng Buzai description, can refer to JAVA relevant knowledge document.
Two, dynamic script
SOA system will necessarily maintain all chartered in the presence of one " service register center " application or module Service.After previous step dynamically load JAR, after getting corresponding service by configuration center, service can be used.Above It mentions, in XML file, system is initialised in IoC container when starting for traditional service reference configuration.In the present invention, will By the hot load mechanism of Spring, the mode of Groovy dynamic script is loaded into IoC container, realizes final system tune With.So that research staff may not need modification code, the service flexibly provided according to service provider is provided and is completed Services Composition.Fig. 3 is a kind of Groovy dynamic script load timing diagram.
Three, event assembles
Event generation is the propulsion in order to drive business, then different events just has different processing methods.In order to unite The processing of one event, it is necessary first to define the Schema of event.As shown in the following table 2 and table 3:
2 event schema table of table
event_code Event code
event_name Event name
status State-event
3 event attribute table of table
event_code Event code
event_property_code Event attribute code
event_property_name Event attribute name
event_property_value Event attribute value
event_property_value_type Event attribute Value Types
Event and event attribute are the relationships of 1:N, also particularly important for the design of event attribute value, are that event can be marked The key point of standardization.Above-mentioned dynamic foot also can be used either a fixed value in event_property_value The mode of this dynamic aggregation service flexibly calculates.
Four, event produces trigger
Not only content is different for different event, production cycle also different from.For example partial event is small every 1 daily When generate it is primary, have plenty of weekly 5 generated every 10 minutes it is primary.
The pseudocode for so calculating the next triggered time is as follows:
Five, complete event generation process
The timing diagram of complete event generation process is as shown in Figure 4.
In conclusion the application embodiment devises the event dynamic producing method under a kind of SOA system, pass through utilization Dynamic Service addressing in the Dynamic Class Loading mechanism and SOA Development Framework of Java is realized that a set of code that is not necessarily to changes, need to only be lacked The scheme that new demand servicing introduced, carried out flexible event configuration and production can be realized in amount configuration, to improve efficiency of research and development, adapts to interconnection The rhythm of net high speed development.
Specifically, compared with prior art, having following technical effect that
(1) in such a way that dynamic script assembles, so that obtaining service, the research and development cost for calculating data is substantially reduced.
(2) it is based on dynamic script dynamic data service, so that the production of event attribute value is more flexible.
(3) it is configured by flexible time rule, can flexibly control the generation frequency of event.
The second embodiment of this specification is related to the event process units under a kind of SOA system, structure such as Fig. 5 institute Show, the event process units under the SOA system includes:
Jar file and Groovy dynamic script are loaded by loading unit for passing through the hot load mechanism of Spring In Spring container;
Unit is fished for, for fishing for event Schema;
Acquiring unit obtains corresponding dynamic script function for the definition according to the Schema;
First computing unit calculates event attribute value for calling the dynamic script function;
Assembling unit, for completing the assembling of event according to the event attribute value.
In the present embodiment, it is preferable that further include:
Receiving unit receives user-defined event Schema.
Second computing unit calculates the next triggered time of event for the triggered time rule for the event of fishing for.
Judging unit, for judging whether the next triggered time of arrival event.
Transmission unit, for sending event consumer side for the event being completed.
Updating unit, for complete event assembling after, the next triggered time of update event.
Wherein, the event Schema includes: event code, event name and state-event.
The event attribute includes: event code, event attribute code, event attribute name, event attribute value, event attribute value class Type and event produce trigger.
In conclusion under SOA architectural framework, using the hot load mechanism of Java and the dynamic characteristic of scripting language, in conjunction with The service management at service configuration center in SOA provides flexible configuration service, and the time of using flexible for the production of event Rule flexibly generates event, and the development cost of event can be greatly reduced.
First embodiment is method implementation corresponding with present embodiment, and the technology in first embodiment is thin Section can be applied to present embodiment, and the technical detail in present embodiment also can be applied to first embodiment.
It should be noted that it will be appreciated by those skilled in the art that the implementation of the event process units under above-mentioned SOA system The realization function of each unit module shown in mode can refer to the associated description of the event production method under aforementioned SOA system and Understand.The function of each unit module shown in the embodiment of event process units under above-mentioned SOA system can pass through operation It realizes, can also be realized by specific logic circuit in the program (executable instruction) on processor.This specification is implemented If the event process units under the above-mentioned SOA system of example is realized in the form of software function module and is sold as independent product Or it in use, also can store in a computer readable storage medium.Based on this understanding, this specification embodiment Technical solution substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute each embodiment the method for this specification all or part. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), magnetic disk or light The various media that can store program code such as disk.In this way, this specification embodiment is not limited to any specific hardware and soft Part combines.
Correspondingly, this specification embodiment also provides a kind of computer readable storage medium, wherein being stored with computer Executable instruction, the computer executable instructions realize each method embodiment of this specification when being executed by processor.It calculates Machine readable storage medium storing program for executing include permanent and non-permanent, removable and non-removable media can by any method or technique Lai Realize information storage.Information can be computer readable instructions, data structure, the module of program or other data.Computer The example of storage medium includes but is not limited to that phase change memory (PRAM), static random access memory (SRAM), dynamic random are deposited Access to memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable are only Read memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), the more function of number Can CD (DVD) other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices or it is any its His non-transmission medium, can be used for storing and can be accessed by a computing device information.As defined in this article, computer-readable to deposit Storage media does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
In addition, this specification embodiment also provides the event production equipment under a kind of SOA system, including for depositing The memory of computer executable instructions is stored up, and, processor;The processor is used for can in the computer executed in the memory The step in above-mentioned each method embodiment is realized when executing instruction.Wherein, which can be central processing unit (Central Processing Unit, referred to as " CPU "), can also be other general processors, digital signal processor (Digital Signal Processor, referred to as " DSP "), specific integrated circuit (Application SpecificIntegrated Circuit, referred to as " ASIC ") etc..Memory above-mentioned can be read-only memory (read- Only memory, referred to as " ROM "), random access memory (random access memory, referred to as " RAM "), flash memory Reservoir (Flash), hard disk or solid state hard disk etc..The step of method disclosed in each embodiment of the present invention, can directly embody Execute completion for hardware processor, or in processor hardware and software module combination execute completion.
It should be noted that relational terms such as first and second and the like are only in the application documents of this patent For distinguishing one entity or operation from another entity or operation, without necessarily requiring or implying these entities Or there are any actual relationship or orders between operation.Moreover, the terms "include", "comprise" or its any other Variant is intended to non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only It including those elements, but also including other elements that are not explicitly listed, or further include for this process, method, object Product or the intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence " including one ", not There is also other identical elements in the process, method, article or apparatus that includes the element for exclusion.The application of this patent In file, if it is mentioned that certain behavior is executed according to certain element, then refers to the meaning for executing the behavior according at least to the element, wherein Include two kinds of situations: executing the behavior according only to the element and the behavior is executed according to the element and other elements.Multiple, Repeatedly, the expression such as a variety of include 2,2 times, 2 kinds and 2 or more, 2 times or more, two or more.
It is included in the disclosure of the specification with being considered as globality in all documents that this specification refers to, To can be used as the foundation of modification if necessary.In addition, it should also be understood that, the foregoing is merely the preferred embodiment of this specification and , it is not intended to limit the protection scope of this specification.It is all this specification one or more embodiment spirit and principle it Interior, any modification, equivalent replacement, improvement and so on should be included in the protection model of this specification one or more embodiment Within enclosing.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.

Claims (16)

1. the event production method under a kind of SOA system, comprising:
By the hot load mechanism of Spring, jar file and Groovy dynamic script are loaded into Spring container;
Fish for event Schema;
According to the definition of the Schema, corresponding dynamic script function is obtained;
The dynamic script function is called, event attribute value is calculated;
According to the event attribute value, the assembling of event is completed.
2. the method for claim 1, wherein before described the step of fishing for event Schema, further includes:
Receive user-defined event Schema.
3. the method for claim 1, wherein before described the step of fishing for event Schema, further includes:
The triggered time rule for fishing for event, calculates the next triggered time of event;
Judge whether the next triggered time of arrival event.
4. the method for claim 1, wherein the assembling of the completion event the step of after, further includes:
Event consumer side is sent by the event being completed.
5. the method for claim 1, wherein the assembling of the completion event the step of after, further includes:
The next triggered time of update event.
6. the method for claim 1, wherein the event Schema includes: event code, event name and state-event.
7. the method for claim 1, wherein the event attribute includes: event code, event attribute code, event attribute Name, event attribute value, event attribute Value Types and event produce trigger.
8. the event process units under a kind of SOA system, comprising:
Jar file and Groovy dynamic script are loaded into Spring for passing through the hot load mechanism of Spring by loading unit In container;
Unit is fished for, for fishing for event Schema;
Acquiring unit obtains corresponding dynamic script function for the definition according to the Schema;
First computing unit calculates event attribute value for calling the dynamic script function;
Assembling unit, for completing the assembling of event according to the event attribute value.
9. device as claimed in claim 8, wherein further include:
Receiving unit receives user-defined event Schema.
10. device as claimed in claim 8, wherein further include:
Second computing unit calculates the next triggered time of event for the triggered time rule for the event of fishing for;
Judging unit, for judging whether the next triggered time of arrival event.
11. device as claimed in claim 8, wherein further include:
Transmission unit, for sending event consumer side for the event being completed.
12. device as claimed in claim 8, wherein further include:
Updating unit, for complete event assembling after, the next triggered time of update event.
13. device as claimed in claim 8, wherein the event Schema includes: event code, event name and state-event.
14. device as claimed in claim 8, wherein the event attribute includes: event code, event attribute code, event attribute Name, event attribute value, event attribute Value Types and event produce trigger.
15. the event production equipment under a kind of SOA system, comprising:
Memory, for storing computer executable instructions;And
Processor, it is as claimed in any of claims 1 to 8 in one of claims for being realized when executing the computer executable instructions Step in method.
16. a kind of computer readable storage medium, computer executable instructions are stored in the computer readable storage medium, The computer executable instructions are realized when being executed by processor in method as claimed in any of claims 1 to 8 in one of claims Step.
CN201910573900.8A 2019-06-28 2019-06-28 Event production method and its device under SOA system Pending CN110321181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910573900.8A CN110321181A (en) 2019-06-28 2019-06-28 Event production method and its device under SOA system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910573900.8A CN110321181A (en) 2019-06-28 2019-06-28 Event production method and its device under SOA system

Publications (1)

Publication Number Publication Date
CN110321181A true CN110321181A (en) 2019-10-11

Family

ID=68120584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910573900.8A Pending CN110321181A (en) 2019-06-28 2019-06-28 Event production method and its device under SOA system

Country Status (1)

Country Link
CN (1) CN110321181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328322A (en) * 2020-10-26 2021-02-05 银盛支付服务股份有限公司 Apollo configuration localization method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733589A (en) * 2018-04-12 2018-11-02 阿里巴巴集团控股有限公司 The implementation method and device of distributed transaction heat deployment
CN108804166A (en) * 2018-05-31 2018-11-13 阿里巴巴集团控股有限公司 Determine the method and device of the liquidity scale of business assets
CN108830706A (en) * 2018-05-31 2018-11-16 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment
CN109582476A (en) * 2018-11-29 2019-04-05 阿里巴巴集团控股有限公司 Data processing method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733589A (en) * 2018-04-12 2018-11-02 阿里巴巴集团控股有限公司 The implementation method and device of distributed transaction heat deployment
CN108804166A (en) * 2018-05-31 2018-11-13 阿里巴巴集团控股有限公司 Determine the method and device of the liquidity scale of business assets
CN108830706A (en) * 2018-05-31 2018-11-16 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment
CN109582476A (en) * 2018-11-29 2019-04-05 阿里巴巴集团控股有限公司 Data processing method, apparatus and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
中国地质环境监测院 编著: "《Enterprise JAVABEANS》", 北京邮电大学出版社, pages: 190 - 197 *
中国地质环境监测院 编著: "《地质灾害防治信息化建设理论与技术方法》", 北京邮电大学出版社 *
况亚萍 等: "基于代价感知的云任务处理策略", 《计算机系统应用》, 30 November 2013 (2013-11-30), pages 148 - 153 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328322A (en) * 2020-10-26 2021-02-05 银盛支付服务股份有限公司 Apollo configuration localization method and system

Similar Documents

Publication Publication Date Title
US10901791B2 (en) Providing configurable workflow capabilities
US11288142B2 (en) Recovery strategy for a stream processing system
US8543436B2 (en) Dynamic workflow architectures for loan processing
US8825798B1 (en) Business event tracking system
WO2021017442A1 (en) Method and device for electronic negotiable instrument reimbursement based on blockchain, and electronic device
CN102810057A (en) Log recording method
CN104781812A (en) Policy driven data placement and information lifecycle management
Wijegunaratne et al. Distributed Applications Engineering: Building new applications and managing legacy applications with distributed technologies
CN110086894A (en) Personnel&#39;s related information method for digging, communication recommended method and relevant apparatus
CN110321181A (en) Event production method and its device under SOA system
CN112395371A (en) Financial institution asset classification processing method and device and readable medium
CN110276685A (en) Bill business market method for pushing and device
CN110110295A (en) Large sample grinds report information extracting method, device, equipment and storage medium
CN101695078A (en) Combined services recommendation method based on graph matching
US9286112B2 (en) Determining and dispatching processing agent for transaction processing
CN111737729A (en) Evaluation data storage method and system based on service data block chain
CN112115235A (en) Entity attribute data query and configuration method, device and server
Losch Structural change and employment in Africa: State of play and development challenges
US11928125B2 (en) Cleaning and organizing schemaless semi-structured data for extract, transform, and load processing
CN110046911A (en) Consume contract processing method and its system
Rogers The tragedy of conservation
CN117634751B (en) Data element evaluation method, device, computer equipment and storage medium
CN113704327B (en) Data recording method, device, equipment and storage medium
CN111488606B (en) Data sharing method and device based on service data block chain
Birrane An Exploration of Blockchain: An Unsupervised Analysis of the Ethereum Network

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
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011