Movatterモバイル変換


[0]ホーム

URL:


CN112579156A - Processing system, processing method, processing device and processing equipment of business event - Google Patents

Processing system, processing method, processing device and processing equipment of business event
Download PDF

Info

Publication number
CN112579156A
CN112579156ACN202011459550.1ACN202011459550ACN112579156ACN 112579156 ACN112579156 ACN 112579156ACN 202011459550 ACN202011459550 ACN 202011459550ACN 112579156 ACN112579156 ACN 112579156A
Authority
CN
China
Prior art keywords
business
event
code
execution
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011459550.1A
Other languages
Chinese (zh)
Other versions
CN112579156B (en
Inventor
刘智杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Pte Ltd
Original Assignee
Bigo Technology Pte 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 Bigo Technology Pte LtdfiledCriticalBigo Technology Pte Ltd
Priority to CN202011459550.1ApriorityCriticalpatent/CN112579156B/en
Publication of CN112579156ApublicationCriticalpatent/CN112579156A/en
Application grantedgrantedCritical
Publication of CN112579156BpublicationCriticalpatent/CN112579156B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种业务事件的处理系统以及处理方法、装置和设备。其中,该系统包括:事件管理组件、代码绑定组件和事件执行组件,事件管理组件内注册有目标应用运行时的各业务事件;代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;事件执行组件如果在目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。本发明实施例提供的技术方案,实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性,提高目标应用运行的安全性和高效性。

Figure 202011459550

The embodiment of the present invention discloses a service event processing system, processing method, apparatus and equipment. The system includes: an event management component, a code binding component, and an event execution component. The event management component is registered with various business events of the target application runtime; the code binding component is oriented to each business event registered in the event management component. , under each license execution mode, bind the intermediate business code supporting multi-language compilation and conversion; if the event execution component receives the trigger message of the target business event when the target application is running, it will use each license execution mode to execute the target business correspondingly The intermediate business code bound to the event under this permission execution mode. The technical solution provided by the embodiments of the present invention realizes multi-voice compilation and multi-mode execution of business events, ensures the portability and scalability of execution of business events, and improves the security and efficiency of target application operation.

Figure 202011459550

Description

Translated fromChinese
一种业务事件的处理系统以及处理方法、装置和设备A business event processing system and processing method, device and equipment

技术领域technical field

本发明实施例涉及数据处理技术领域,尤其涉及一种业务事件的处理系统以及处理方法、装置和设备。Embodiments of the present invention relate to the technical field of data processing, and in particular, to a business event processing system, and a processing method, apparatus, and device.

背景技术Background technique

在互联网领域内针对不同业务类型已经开发有大量应用程序,每一应用程序在执行相应的核心业务操作时,该核心业务下会扩展出大量支持该核心业务准确执行的旁路逻辑,此时该应用程序在核心业务的处理过程中,通常也需要处理各个旁路逻辑下指定的业务事件,以确保核心业务的执行准确性。A large number of application programs have been developed for different business types in the Internet field. When each application program performs the corresponding core business operation, a large number of bypass logics that support the accurate execution of the core business will be expanded under the core business. During the processing of the core business, the application usually also needs to process the business events specified under each bypass logic to ensure the execution accuracy of the core business.

目前,在核心业务的处理过程中,应用程序对于各个旁路逻辑下指定的业务事件,存在如下三种处理方式:At present, in the process of core business processing, the application has the following three processing methods for the business events specified under each bypass logic:

1)基于核心业务代码的开发语言,在核心业务代码中编写旁路逻辑下业务事件的处理代码,并重启修改后的核心业务代码,此时将旁路逻辑嵌入到核心业务中,容易造成核心业务代码泄露,使得核心业务执行时存在一定的稳定性风险。1) Based on the development language of the core business code, write the processing code of the business event under the bypass logic in the core business code, and restart the modified core business code. At this time, the bypass logic is embedded in the core business, which is easy to cause the core business. The leakage of business code makes certain stability risks exist in the execution of core business.

2)基于Lua或者其他脚本语言作为旁路逻辑下业务事件的代码语言,但是需要将脚本语言转换成核心业务的语言,从而限制了脚本的开发语言,而且由于应用程序通常不支持除原生语言外的其他脚本语言的运行,使得脚本代码的可移植性较差。2) Based on Lua or other scripting languages as the code language for business events under the bypass logic, but the scripting language needs to be converted into the language of the core business, which limits the development language of scripts, and because applications usually do not support languages other than native languages The operation of other scripting languages makes the script code less portable.

3)将核心业务处理过程中触发的各个旁路逻辑下的业务事件,按照消息的形式异步发送到Kafka消息中间件中,然后通过消息消费进程不断处理Kafka消息中间件内的各个业务事件,能够实现业务事件执行与核心业务处理的解耦,但是仅支持异步处理方式,无法同步向核心业务返回各个业务事件的处理结果,从而影响核心业务的执行效率。3) The business events under each bypass logic triggered in the core business processing process are asynchronously sent to the Kafka message middleware in the form of messages, and then the various business events in the Kafka message middleware are continuously processed through the message consumption process. Realize the decoupling of business event execution and core business processing, but only supports asynchronous processing, and cannot synchronously return the processing results of each business event to the core business, thus affecting the execution efficiency of the core business.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种业务事件的处理系统以及处理方法、装置和设备,实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性,提高目标应用运行的安全性和高效性。The embodiments of the present invention provide a business event processing system and a processing method, device and equipment, which can realize multi-voice compilation and multi-mode execution of business events, ensure the portability and scalability of the execution of business events, and improve the operation of target applications. safety and efficiency.

第一方面,本发明实施例提供了一种业务事件的处理系统,该系统包括:事件管理组件、代码绑定组件和事件执行组件,所述事件管理组件内注册有目标应用运行时的各业务事件;其中,In a first aspect, an embodiment of the present invention provides a system for processing business events. The system includes: an event management component, a code binding component, and an event execution component. The event management component is registered with various services of the target application runtime. event; of which,

所述代码绑定组件面向所述事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;The code binding component faces each business event registered in the event management component, and binds the intermediate business code supporting multi-language compilation and conversion under each license execution mode;

所述事件执行组件如果在所述目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码。If the event execution component receives the trigger message of the target business event when the target application is running, it adopts each permission execution mode to execute the intermediate service code bound to the target business event in the permission execution mode.

第二方面,本发明实施例提供了一种业务事件的处理方法,应用于上述第一方面所述的业务事件的处理系统中,该方法包括如下非顺序执行的步骤:In a second aspect, an embodiment of the present invention provides a business event processing method, which is applied to the business event processing system described in the first aspect above. The method includes the following non-sequentially executed steps:

通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;Facing each business event registered in the event management component through the code binding component, bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;

如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;If the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and executes the target business event in the corresponding execution mode of the target business event. The intermediate business code bound in the license execution mode;

其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.

第三方面,本发明实施例提供了一种业务事件的处理装置,配置于上述第一方面所述的业务事件的处理系统中,该装置包括:In a third aspect, an embodiment of the present invention provides a service event processing apparatus, which is configured in the service event processing system described in the first aspect above, and the apparatus includes:

代码绑定模块,用于通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;The code binding module is used to face each business event registered in the event management component through the code binding component, and bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;

业务代码执行模块,用于如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;The business code execution module is used for, if the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and executes the corresponding execution the intermediate business code bound to the target business event under the permission execution mode;

其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.

第四方面,本发明实施例提供了一种计算机设备,该计算机设备包括:In a fourth aspect, an embodiment of the present invention provides a computer device, the computer device comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例所述的业务事件的处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing a business event according to any embodiment of the present invention.

第五方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明任意实施例所述的业务事件的处理方法。In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the business event processing method described in any embodiment of the present invention.

本发明实施例提供的一种业务事件的处理系统以及处理方法、装置和设备,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。The embodiment of the present invention provides a business event processing system, processing method, device and device. Each business event that exists when a target application is running is registered in an event management component, and a code binding component is used to face registered events in the event management component. Each business event is bound to the intermediate business code that supports multi-language compilation and conversion under each license execution mode, so that resources can be isolated between the execution of the business event and the running of the target application, thereby realizing multi-voice compilation and multi-mode business events. Execute to ensure the execution portability and scalability of the business event; at the same time, if the trigger message of the target business event is received through the event execution component when the target application is running, each permission execution mode of the target business event is used to correspond to the execution target. The intermediate business code bound by the business event in this permission execution mode avoids affecting the running of the target application, thereby improving the security and efficiency of the running of the target application.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1为本发明实施例一提供的一种业务事件的处理系统的原理架构图;FIG. 1 is a schematic structural diagram of a system for processing business events according toEmbodiment 1 of the present invention;

图2为本发明实施例二提供的一种业务事件的处理系统的结构示意图;FIG. 2 is a schematic structural diagram of a service event processing system according toEmbodiment 2 of the present invention;

图3为本发明实施例三提供的一种业务事件的处理系统的结构示意图;FIG. 3 is a schematic structural diagram of a service event processing system according to Embodiment 3 of the present invention;

图4为本发明实施例四提供的一种业务事件的处理方法的流程图;4 is a flowchart of a method for processing a business event according to Embodiment 4 of the present invention;

图5为本发明实施例五提供的一种业务事件的处理方法的流程图;5 is a flowchart of a method for processing a business event according to Embodiment 5 of the present invention;

图6为本发明实施例六提供的一种业务事件的处理装置的结构示意图;6 is a schematic structural diagram of an apparatus for processing a service event according to Embodiment 6 of the present invention;

图7为本发明实施例七提供的一种计算机设备的结构示意图。FIG. 7 is a schematic structural diagram of a computer device according to Embodiment 7 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。此外,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention. Furthermore, the embodiments of the invention and the features of the embodiments may be combined with each other without conflict.

由于各个业务应用在执行相应的核心业务操作时,该核心业务下会扩展出大量辅助该核心业务准确执行的旁路逻辑,因此为了确保核心业务的执行准确性,在该业务应用运行过程中,通常需要处理各个旁路逻辑下指定的业务事件;此时,本发明实施例会在任一业务应用中针对所存在的各个旁路逻辑指定的业务事件,专门设计一种新的事件处理系统,并内嵌到该业务应用中,用于在该业务应用的运行过程中,执行和管理与每一业务事件绑定的业务代码。此时,为了解决开发语言的包容性以及可移植性的问题,本发明实施例可以选用抽象描述代码执行环境的中间字节码技术(WebAssembly,WASM)来解决;WASM代码是一种抹平了不同架构的机器码,支持多种语言(如AssemblyScript、C\C++,Rust、Golang和Python等)下的编译代码能够转换为WASM代码。因此,本发明实施例可以基于WASM中间字节码,构建一个支持同步和异步的事件处理系统,并内嵌入业务应用中,以实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性,并提高业务应用运行的安全性和高效性。Since each business application executes the corresponding core business operation, a large number of bypass logics will be expanded under the core business to assist the accurate execution of the core business. Therefore, in order to ensure the execution accuracy of the core business, during the operation of the business application, Usually, it is necessary to process the business events specified under each bypass logic; at this time, the embodiment of the present invention will specifically design a new event processing system for the business events specified by each bypass logic existing in any business application, and integrate the internal It is embedded in the business application and used to execute and manage the business code bound to each business event during the running process of the business application. At this time, in order to solve the problems of inclusiveness and portability of the development language, the embodiment of the present invention can use an intermediate bytecode technology (WebAssembly, WASM) that abstractly describes the code execution environment to solve; WASM code is a kind of smoothing Machine codes of different architectures, and compiled codes that support multiple languages (such as AssemblyScript, C\C++, Rust, Golang, and Python, etc.) can be converted into WASM codes. Therefore, the embodiment of the present invention can build an event processing system supporting synchronous and asynchronous based on the WASM intermediate bytecode, and embed it into a business application, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the execution of business events. Portability and scalability, and improve the security and efficiency of business application operation.

实施例一Example 1

图1为本发明实施例一提供的一种业务事件的处理系统的原理架构图。本实施例可适用于在任一种业务应用内运行核心业务时,对核心业务扩展出的各个旁路逻辑下指定的业务事件进行处理的情况中。具体的,参照图1,该业务事件的处理系统10可以包括:事件管理组件110、代码绑定组件120和事件执行组件130。FIG. 1 is a schematic structural diagram of a system for processing business events according toEmbodiment 1 of the present invention. This embodiment can be applied to the case of processing the business events specified under each bypass logic extended by the core business when the core business is running in any business application. Specifically, referring to FIG. 1 , the businessevent processing system 10 may include: anevent management component 110 , acode binding component 120 and anevent execution component 130 .

其中,事件管理组件110内注册有目标应用运行时的各业务事件;具体的,代码绑定组件120面向事件管理组件110内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;事件执行组件130如果在目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。Among them, theevent management component 110 is registered with each business event of the target application runtime; specifically, thecode binding component 120 is oriented to each business event registered in theevent management component 110, and is bound separately under each license execution mode The intermediate business code that supports multi-language compilation and conversion; if theevent execution component 130 receives the trigger message of the target business event when the target application is running, it adopts each permission execution mode to execute the corresponding execution target business event bound under the permission execution mode. Intermediate business code.

可选的,本实施例中的目标应用可以为任一互联网业务类型下所开发出的能够安装于客户端上的业务应用程序,在该目标应用上执行主要的核心业务操作时,会扩展出大量用于辅助核心业务准确执行的旁路逻辑,此时为了确保目标应用内核心业务的运行准确性,本实施例还需要对各个旁路逻辑下产生的业务事件进行处理。此时,为了避免旁路逻辑下业务实践的处理,对核心业务运行造成负向影响,本实施例需要对核心业务与旁路逻辑下的业务事件进行隔离处理,使两者之间的处理过程互不影响,因此针对各个旁路逻辑下的业务事件的处理,会专门为每一业务事件重新编写相应处理功能的执行代码,以与核心业务的执行代码隔离开来,使得核心业务与旁路逻辑下的业务事件均能够独立执行,无需对核心业务的执行代码进行修改,从而保证目标应用内核心业务的运行安全性和稳定性。因此,本实施例针对目标应用内旁路逻辑下的业务事件,会专门设计一个事件处理装置,也就是本实施例中的业务事件的处理系统10,将该业务事件的处理系统10内嵌入目标应用中,用于在目标应用内的某一业务事件被触发时,能够通过运行为该业务事件重新编写的执行代码,来获取该业务事件的处理结果。Optionally, the target application in this embodiment may be a service application developed under any Internet service type that can be installed on the client. A large number of bypass logics are used to assist the accurate execution of the core business. In this case, in order to ensure the running accuracy of the core business in the target application, this embodiment also needs to process the business events generated under each bypass logic. At this time, in order to avoid the processing of business practices under the bypass logic, which has a negative impact on the operation of the core business, this embodiment needs to isolate the core business and the business events under the bypass logic, so that the processing between the two They do not affect each other, so for the processing of business events under each bypass logic, the execution code of the corresponding processing function will be specially rewritten for each business event to isolate it from the execution code of the core business, so that the core business and the bypass The business events under the logic can be executed independently without modifying the execution code of the core business, thus ensuring the operation security and stability of the core business in the target application. Therefore, in this embodiment, an event processing device is specially designed for the business event under the bypass logic in the target application, that is, the businessevent processing system 10 in this embodiment, and the businessevent processing system 10 is embedded in the target application. In the application, when a certain business event in the target application is triggered, the processing result of the business event can be obtained by running the execution code rewritten for the business event.

在本实施例中,为了准确了解目标应用运行时所产生的各个业务事件,会预先分析目标应用运行时,在核心业务下所扩展出的各个旁路逻辑,然后判断每一旁路逻辑下生成的业务事件,并将每一业务事件注册入事件管理组件110内,以便后续通过该事件管理组件110查看目标应用运行时核心业务扩展出的各个旁路逻辑下的业务事件,并针对每一业务事件的功能,专门编写对应的执行代码。此时,由于采用特定脚本语言编写各个业务事件的执行代码时,目标应用通常不支持除原生语言外的其他脚本语言的运行,使得采用特定脚本语言所编写的执行代码的可移植性较差,因此为了提高业务事件执行代码的可移植性,提高代码开发语言的包容性和开放性,本实施例会选用支持多语言编译转换的中间业务代码,来解决执行代码可移植性差的问题,本实施例中的中间业务代码可以为采用中间字节码技术(WebAssembly,WASM)为每一业务事件编写的WASM代码,支持多种语言(如AssemblyScript、C\C++、Rust、Golang或Python等)等编译的原始执行代码均能够转换成相应的WASM代码。In this embodiment, in order to accurately understand the various business events generated when the target application is running, each bypass logic extended under the core business during the running of the target application will be analyzed in advance, and then each bypass logic generated under each bypass logic will be judged. business events, and register each business event into theevent management component 110, so that theevent management component 110 can be used to view the business events under each bypass logic extended by the core business when the target application is running, and for each business event function, and the corresponding execution code is specially written. At this time, when the execution code of each business event is written in a specific scripting language, the target application usually does not support the operation of other scripting languages except the native language, so that the portability of the execution code written in the specific scripting language is poor. Therefore, in order to improve the portability of the execution code of the business event and the inclusiveness and openness of the code development language, this embodiment selects the intermediate service code that supports multi-language compilation and conversion to solve the problem of poor portability of the execution code. The intermediate business code in can be the WASM code written for each business event using intermediate bytecode technology (WebAssembly, WASM), which supports compilation in multiple languages (such as AssemblyScript, C\C++, Rust, Golang or Python, etc.) The original execution code can be converted into the corresponding WASM code.

具体的,开发人员通过事件管理组件110查看目标应用运行时核心业务扩展出的各个旁路逻辑下的业务事件,并分析出每一业务事件的事件功能后,会采用任一语言的专门为各个业务事件专门编写对应的原始执行代码,同时为了保证业务事件代码的可移植性,会将该原始执行代码转换成支持多语言编译转换的WASM语言下的中间业务代码,进而通过代码绑定组件120面向事件管理组件110内已注册的每一业务事件,分别绑定为该业务事件编写的各个中间业务代码,后续通过各个业务事件与中间业务代码之间的绑定关系,来查找表示每一业务事件功能的中间业务代码,并通过运行该中间业务代码来确保业务实践的准确处理。Specifically, the developer uses theevent management component 110 to view the business events under each bypass logic extended by the core business when the target application is running, and after analyzing the event function of each business event, the developer will use any language specifically for each business event. The corresponding original execution code is specially written for the business event. At the same time, in order to ensure the portability of the business event code, the original execution code is converted into the intermediate business code in the WASM language that supports multi-language compilation and conversion, and then thecode binding component 120 is used. For each business event registered in theevent management component 110, respectively bind each intermediate business code written for the business event, and then search for the representation of each business through the binding relationship between each business event and the intermediate business code. The intermediate business code of the event function, and by running the intermediate business code to ensure the accurate processing of the business practice.

同时,由于每一业务事件下编写的各个中间业务代码所表示的事件功能可能存在关联,也可能不存在任何关联,因此每一业务事件下各个中间业务代码的执行方式也各不相同,通过分析每一业务事件具备的事件功能之间的联系,可以确定出每一业务事件下运行各个中间业务代码时允许采用的许可执行方式,同时在针对每一业务事件的各个事件功能,编写对应的中间业务代码时,也会定义出每一中间业务代码的实际执行方式,进而通过代码绑定组件120分析每一业务事件下编写的各个中间业务代码的实际执行方式,并按照该业务事件下每一中间业务代码的实际执行方式,将该中间业务代码绑定到该业务事件下执行方式相同的许可执行方式下,也就是在每一业务事件的每一许可执行方式下,均绑定有支持采用该许可执行方式来实际执行的中间业务代码。At the same time, because the event functions represented by each intermediate business code written under each business event may or may not have any correlation, the execution methods of each intermediate business code under each business event are also different. The connection between the event functions of each business event can determine the permission execution mode that is allowed when running each intermediate business code under each business event, and at the same time, for each event function of each business event, write the corresponding intermediate business code. When the business code is used, the actual execution mode of each intermediate business code is also defined, and then the actual execution mode of each intermediate business code written under each business event is analyzed through thecode binding component 120, and each intermediate business code under the business event is analyzed according to the business event. The actual execution mode of the intermediate business code is to bind the intermediate business code to the permission execution mode of the same execution mode under the business event, that is, under each permission execution mode of each business event, it is bound to support the use of The license execution mode comes to actually execute the intermediate business code.

需要说明的是,本实施例中业务事件的许可执行方式可以包括同步执行方式和异步执行方式中的至少一种。此时,在业务事件的同步执行方式下,会绑定一部分中间业务代码,在该业务事件的异步执行方式下,也会绑定一部分中间业务代码,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性。It should be noted that, the permission execution manner of the service event in this embodiment may include at least one of a synchronous execution manner and an asynchronous execution manner. At this time, in the synchronous execution mode of the business event, a part of the intermediate business code will be bound, and in the asynchronous execution mode of the business event, a part of the intermediate business code will also be bound, so as to realize the multi-voice compilation and multi-mode of the business event. Execution ensures the portability and scalability of the execution of business events.

进一步的,在目标应用的运行过程中,会不断触发执行对应的业务事件,此时如果通过事件执行组件130接收到某一目标业务事件的触发消息,那么直接会通过代码绑定组件120查找出该目标业务事件在每一许可执行方式下分别绑定的各个中间业务代码,然后分别采用每一许可执行方式,对应执行目标业务事件在该许可执行方式下绑定的各个中间业务代码;例如,同步执行目标业务事件在同步执行方式下绑定的各个中间业务代码,异步执行目标业务事件在异步执行方式下绑定的各个中间业务代码。Further, during the running process of the target application, the corresponding business event will be continuously triggered and executed. At this time, if the trigger message of a target business event is received through theevent execution component 130, thecode binding component 120 will directly find out the information. Each intermediate business code bound to the target business event under each license execution mode, and then each license execution mode is respectively used to execute each intermediate business code bound to the target business event under the license execution mode; for example, Each intermediate business code bound by the target business event in the synchronous execution mode is executed synchronously, and each intermediate business code bound by the target business event in the asynchronous execution mode is executed asynchronously.

示例性的,在同步执行目标业务事件在同步执行方式下绑定的各个中间业务代码时,可以按照在同步执行方式下各个中间业务代码的绑定顺序,依次运行在同步执行方式下绑定的每一中间业务代码;而在异步执行目标业务事件在异步执行方式下绑定的各个中间业务代码时,可以专门开启一个独立线程,采用该独立线程来运行在异步执行方式下绑定的各个中间业务代码。然后,将目标业务事件下绑定的每一中间业务代码的执行结果反馈给目标应用,以确保目标应用的准确运行。Exemplarily, when synchronously executing each intermediate business code bound by the target business event in the synchronous execution mode, the code bound in the synchronous execution mode may be sequentially executed according to the binding sequence of each intermediate business code in the synchronous execution mode. Each intermediate business code; when asynchronously executing each intermediate business code bound by the target business event in the asynchronous execution mode, an independent thread can be specially opened, and the independent thread can be used to run each intermediate business code bound in the asynchronous execution mode. Business code. Then, the execution result of each intermediate business code bound under the target business event is fed back to the target application, so as to ensure the accurate operation of the target application.

需要说明的是,本实施例中的代码绑定过程与代码执行过程属于业务事件处理的两个阶段,代码绑定过程会在本实施例中业务事件的处理系统10的开发阶段完成,在为目标应用内各个旁路逻辑下的业务事件均在每一许可执行方式下分别绑定有对应的中间业务代码后,可以将该业务事件的处理系统10内嵌到该目标应用中,并在该目标应用的运行过程中通过事件执行组件130实时接收各个业务事件的触发消息,从而在应用运行阶段执行目标业务事件的代码执行过程,以此实现目标应用内各个旁路逻辑下业务事件的准确处理,在保证目标应用内核心业务的运行准确性的基础上,进一步提高业务事件的执行可移植性和可扩展性,以及目标应用运行的安全性和高效性。It should be noted that the code binding process and the code execution process in this embodiment belong to two stages of business event processing, and the code binding process will be completed in the development stage of the businessevent processing system 10 in this embodiment. After the business events under each bypass logic in the target application are respectively bound with the corresponding intermediate business codes under each permission execution mode, theprocessing system 10 of the business event can be embedded in the target application, and in the During the running process of the target application, the trigger message of each business event is received in real time through theevent execution component 130, so as to execute the code execution process of the target business event in the application running phase, so as to realize the accurate processing of business events under each bypass logic in the target application , on the basis of ensuring the running accuracy of the core business in the target application, further improving the execution portability and scalability of business events, as well as the security and efficiency of the target application operation.

本实施例提供的技术方案,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。In the technical solution provided by this embodiment, each business event that exists when the target application is running is registered in the event management component, and each business event registered in the event management component is oriented to each business event registered in the event management component through the code binding component. Bind the intermediate business code that supports multi-language compilation and conversion, so that resources can be isolated between the execution of business events and the running of the target application, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the portability and scalability of the execution of business events. At the same time, if the trigger message of the target business event is received through the event execution component when the target application is running, each permission execution mode of the target business event is used to execute the intermediate services bound by the target business event under the permission execution mode. code to avoid affecting the running of the target application, thereby improving the security and efficiency of the running of the target application.

实施例二Embodiment 2

图2为本发明实施例二提供的一种业务事件的处理系统的结构示意图。本实施例是在上述实施例提供的技术方案的基础上进行优化。参照图2,该业务事件的处理系统20可以包括事件管理组件210、代码绑定组件220和事件执行组件230。FIG. 2 is a schematic structural diagram of a system for processing a business event according toEmbodiment 2 of the present invention. This embodiment is optimized on the basis of the technical solutions provided by the foregoing embodiments. Referring to FIG. 2 , the businessevent processing system 20 may include anevent management component 210 , acode binding component 220 and anevent execution component 230 .

其中,事件管理组件210内注册有目标应用运行时的各业务事件;具体的,代码绑定组件220面向事件管理组件210内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;事件执行组件230如果在目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。Among them, theevent management component 210 is registered with various business events when the target application is running; specifically, thecode binding component 220 is oriented to each business event registered in theevent management component 210, and is bound separately under each license execution mode The intermediate business code that supports multi-language compilation and conversion; if theevent execution component 230 receives the trigger message of the target business event when the target application is running, it adopts each permission execution mode to execute the corresponding execution target business event bound under the permission execution mode. Intermediate business code.

需要说明的是,本实施例中的事件管理组件210、代码绑定组件220和事件执行组件230与上述实施例中的事件管理组件、代码绑定组件和事件执行组件具备相同的功能。It should be noted that theevent management component 210 , thecode binding component 220 and theevent execution component 230 in this embodiment have the same functions as the event management component, the code binding component and the event execution component in the above embodiment.

具体的,为了保证目标应用内各个业务事件在开发阶段的准确注册以及在运行阶段的准确触发,本实施例中的事件管理组件210可以包括事件注册接口(Regist)211和事件触发接口(Trigger)212。Specifically, in order to ensure accurate registration of each business event in the target application in the development phase and accurate triggering in the running phase, theevent management component 210 in this embodiment may include an event registration interface (Regist) 211 and an event trigger interface (Trigger) 212.

其中,事件注册接口211采用事件标识和许可执行方式注册目标应用运行时的各业务事件;事件触发接口212按照事件标识和事件触发条件,实时检测各业务事件的触发状态,并向事件执行组件230发送目标业务事件的触发消息。Among them, theevent registration interface 211 uses the event identifier and the permission execution method to register each business event when the target application is running; theevent trigger interface 212 detects the trigger state of each business event in real time according to the event identifier and the event trigger condition, and reports theevent execution component 230 to theevent execution component 230. Send the trigger message of the target business event.

可选的,事件注册接口211主要用于注册目标应用运行时所产生的各个业务事件,此时将业务事件的事件标识(如事件名称等)以及该业务事件下运行各个中间业务代码时所允许采用的许可执行方式作为该事件注册接口211的接口输入定义,以此通过事件注册接口211不断输入每一业务事件的注册信息,同时将该事件注册接口211的接口输出定义为注册成功或者注册失败及失败原因,从而保证业务事件的准确注册。Optionally, theevent registration interface 211 is mainly used to register each business event generated when the target application is running. At this time, the event identifier (such as the event name, etc.) of the business event and the business event allowed when running each intermediate business code. The adopted license execution mode is defined as the interface input of theevent registration interface 211, so that the registration information of each business event is continuously input through theevent registration interface 211, and the interface output of theevent registration interface 211 is defined as registration success or registration failure. and failure reasons to ensure accurate registration of business events.

同时,事件触发接口212主要用于在目标应用运行阶段内实时检测是否存在被触发执行的目标业务事件,此时该事件触发接口212的接口输入定义为业务事件的事件标识、事件触发条件(例如JSON编码封装的当前事件触发的具体信息)以及目标业务事件下各个中间业务代码的执行结果的回调处理方法等,此时回调处理方法的输入可以为目标业务事件在JSON解码封装下的处理结果,通过该事件触发接口212实时检测接口输入信息来判断各业务事件的触发状态,并将该事件触发接口212的接口输出定义为无,从而准确检测目标应用运行过程中各业务事件的触发状态,并在检测到目标业务事件被触发时,向事件执行组件230发送该目标业务事件的触发消息,以通过该事件执行组件230执行该目标业务事件下绑定的各个中间业务代码。At the same time, theevent trigger interface 212 is mainly used to detect in real time whether there is a target business event triggered to be executed in the target application running phase, and the interface input of theevent trigger interface 212 is defined as the event identifier of the business event, the event trigger condition (for example, The specific information triggered by the current event that is encapsulated in JSON encoding) and the callback processing method for the execution result of each intermediate business code under the target business event, etc. At this time, the input of the callback processing method can be the processing result of the target business event under JSON decoding and encapsulation. Theevent trigger interface 212 detects the interface input information in real time to determine the trigger state of each business event, and defines the interface output of theevent trigger interface 212 as none, so as to accurately detect the trigger state of each business event during the running process of the target application, and When it is detected that the target business event is triggered, a trigger message of the target business event is sent to theevent execution component 230, so that each intermediate business code bound under the target business event is executed by theevent execution component 230.

此外,对于每一业务事件与中间业务代码的绑定而言,主要是接收预先为每一业务事件所编写的中间业务代码,确定该中间业务代码的实际执行方式,并将业务事件与中间业务代码对应关联起来,以便后续能够准确查找出为每一业务事件编写的中间业务代码,因此为了保证业务事件与中间业务代码之间的绑定关系准确性,本实施例中的代码绑定组件220可以包括绑定接口(Bind)221、绑定移除接口(Remove)222和代码升级接口(Upgrade)223。In addition, for the binding of each business event and the intermediate business code, it is mainly to receive the intermediate business code written for each business event in advance, determine the actual execution mode of the intermediate business code, and associate the business event with the intermediate business code. The codes are correspondingly associated, so that the intermediate business code written for each business event can be accurately found in the future. Therefore, in order to ensure the accuracy of the binding relationship between the business event and the intermediate business code, thecode binding component 220 in this embodiment is It may include a binding interface (Bind) 221 , a binding removal interface (Remove) 222 and a code upgrade interface (Upgrade) 223 .

其中,绑定接口221按照事件标识、代码标识、实际执行方式和代码字节流,为每一业务事件,在各许可执行方式下分别绑定对应的中间业务代码;绑定移除接口222按照事件标识、代码标识和实际执行方式,移除各业务事件在对应许可执行方式下已绑定的中间业务代码;代码升级接口223按照代码标识和代码升级字节流,更新各业务事件已绑定的中间业务代码。Among them, the bindinginterface 221 binds the corresponding intermediate business code under each license execution mode for each business event according to the event identifier, code identifier, actual execution mode and code byte stream; thebinding removal interface 222 is based on Event ID, code ID, and actual execution mode, remove the intermediate business code that has been bound to each business event under the corresponding permission execution mode; thecode upgrade interface 223 updates the bound business event according to the code ID and code upgrade byte stream intermediate business code.

具体的,绑定接口221主要用于接收为每一业务事件编写的各个中间业务代码,以及该中间业务代码指向的业务事件,此时可以将绑定接口221的接口输入定义为待绑定业务事件的事件标识、所录入中间业务代码的代码标识、中间业务代码的实际执行方式以及该中间业务代码的代码字节流等,该代码字节流可以为WASM代码的二进制字节流;此时,按照上述接口输入信息可以在每一业务事件的各个许可执行方式下不断绑定各个中间业务代码,并且在绑定接口221的接口输入中还可以输入中间业务代码所依赖的扩展方法名称,以便后续在目标应用内创建对应的虚拟环境时,能够装载各个中间业务代码对应的扩展方法,从而保证中间业务代码的执行高效性。同时,该绑定接口221的接口输出定义为绑定成功或者绑定失败及失败原因,从而保证业务事件与中间业务代码之间的准确绑定。Specifically, the bindinginterface 221 is mainly used to receive each intermediate business code written for each business event, and the business event pointed to by the intermediate business code. In this case, the interface input of thebinding interface 221 can be defined as the business to be bound The event identifier of the event, the code identifier of the entered intermediate business code, the actual execution method of the intermediate business code, and the code byte stream of the intermediate business code, etc., the code byte stream can be the binary byte stream of the WASM code; at this time , according to the above-mentioned interface input information, each intermediate business code can be continuously bound under each permission execution mode of each business event, and the extension method name on which the intermediate business code depends can also be input in the interface input of thebinding interface 221, so that When a corresponding virtual environment is subsequently created in the target application, the extension method corresponding to each intermediate service code can be loaded, thereby ensuring the execution efficiency of the intermediate service code. At the same time, the interface output of thebinding interface 221 is defined as binding success or binding failure and the reason for the failure, so as to ensure accurate binding between business events and intermediate business codes.

此外,为了支持各个业务事件所绑定的中间业务代码的有效更新,本实施例会通过绑定移除接口222来删除某些失效的绑定关系,此时该绑定移除接口222的接口输入定义为业务事件的事件标识、所绑定的中间业务代码的代码标识以及该中间业务代码的实际执行方式,此时上述接口输入信息,可以对应的查找出在该业务事件内与实际执行方式相同的许可执行方式下绑定的需要移除的某一中间业务代码,然后直接在该业务事件下的绑定关系中移除该中间业务代码的代码信息,并将该绑定移除接口222的接口输出定义为移除成功或者移除失败及失败原因,从而保证各个业务事件所绑定的中间业务代码的有效更新。In addition, in order to support the effective update of the intermediate business codes bound to each business event, in this embodiment, some invalid binding relationships are deleted through thebinding removal interface 222. At this time, the interface input of thebinding removal interface 222 is removed. Defined as the event identifier of the business event, the code identifier of the bound intermediate business code, and the actual execution method of the intermediate business code. At this time, the input information of the above interface can be found correspondingly in the business event and the actual execution method is the same A certain intermediate business code that needs to be removed bound under the permission execution mode, and then directly remove the code information of the intermediate business code in the binding relationship under the business event, and remove the binding from theinterface 222 The interface output is defined as removal success or removal failure and failure reasons, so as to ensure the effective update of the intermediate business code bound to each business event.

同时,为了支持各个业务事件所绑定的中间业务代码的全面升级,本实施例会通过代码升级接口223来不断更新各个中间业务代码的代码内容,也就是本实施例中的代码字节流,此时该代码升级接口223的接口输入定义为待升级中间业务代码的代码标识,以及升级替换的代码升级字节流,此时按照上上述接口输入信息,将待升级中间业务代码原有的代码字节流替换为当前的代码升级字节流,并将该代码升级接口223的接口输出定义为升级成功或者升级失败及失败原因,从而保证中间业务代码升级的全面性和准确性。At the same time, in order to support the comprehensive upgrade of the intermediate service codes bound to each service event, this embodiment will continuously update the code content of each intermediate service code through thecode upgrade interface 223, that is, the code byte stream in this embodiment. At this time, the interface input of thecode upgrade interface 223 is defined as the code identifier of the intermediate service code to be upgraded, and the code upgrade byte stream to be upgraded and replaced. At this time, according to the above-mentioned interface input information, the original code word of the intermediate service code to be upgraded is The throttling is replaced with the current code upgrade byte stream, and the interface output of thecode upgrade interface 223 is defined as upgrade success or upgrade failure and the reason for the failure, thereby ensuring the comprehensiveness and accuracy of the intermediate service code upgrade.

进一步的,为了准确维护业务事件与中间业务代码之间的绑定关系,本实施例的业务事件的处理系统20中还可以包括存储组件240,该存储组件240采用键值对的方式记录每一业务事件在不同许可执行方式下已绑定的中间业务代码,以及该中间业务代码的代码字节流。Further, in order to accurately maintain the binding relationship between the business event and the intermediate business code, the businessevent processing system 20 of this embodiment may further include astorage component 240, and thestorage component 240 uses a key-value pair to record each item. The intermediate business code bound to the business event under different license execution modes, and the code byte stream of the intermediate business code.

示例性的,本实施例中的存储组件240可以划分出代码列表和绑定关系列表,以将中间业务代码的代码字节流和中间业务代码与业务事件之间的绑定关系隔离存储,此时在绑定关系列表中以事件标识和许可执行方式为键名,记录每一业务组件在不同许可执行方式下已绑定的中间业务代码的代码标识;在代码列表中以代码标识为键名,记录每一业务组件已绑定的各个中间业务代码的代码字节流。此外,在代码列表中还会记录每一业务组件已绑定的各个中间业务代码所依赖的扩展方法名称。Exemplarily, thestorage component 240 in this embodiment may divide a code list and a binding relationship list to isolate and store the code byte stream of the intermediate business code and the binding relationship between the intermediate business code and the business event. In the binding relationship list, the event identifier and the license execution method are used as the key names, and the code identifiers of the intermediate business codes that have been bound to each business component under different license execution methods are recorded; in the code list, the code identifier is used as the key name. , to record the code byte stream of each intermediate business code bound to each business component. In addition, the extension method name that each intermediate business code bound to each business component depends on is also recorded in the code list.

具体的,在绑定关系列表中通过将每一业务事件的事件标识和许可执行方式结合起来,统一作为key值,然后将value值设置为该key值指定的业务事件在具体许可执行方式下已绑定的各个中间业务代码的代码标识,从而将事件标识与代码标识关联起来,在每一业务事件的各个许可执行方式下得到准确的绑定关系;同时,每次为每一业务组件绑定的中间业务代码时,均会在代码列表中将所绑定的中间业务代码的代码标识作为key值,然后value值设置为该key值指定的中间业务代码的代码字节流,从而在代码列表中依次记录每一中间业务代码的代码内容。Specifically, in the binding relationship list, the event identifier of each business event and the license execution method are combined and unified as the key value, and then the value value is set as the business event specified by the key value has been executed under the specific license execution mode. The code identification of each intermediate business code that is bound, so as to associate the event identification with the code identification, and obtain an accurate binding relationship under each license execution mode of each business event; at the same time, each time is bound for each business component In the code list, the code identifier of the bound intermediate business code will be used as the key value in the code list, and then the value value will be set to the code byte stream of the intermediate business code specified by the key value, so that in the code list Record the code content of each intermediate business code in turn.

本实施例提供的技术方案,根据事件管理组件与代码绑定组件的具体功能分别设置不同的功能接口,保证目标应用运行前业务事件的准确注册以及目标应用运行过程后目标业务事件的准确触发检测,从而使业务事件执行与目标应用运行之间能够资源隔离,实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时采用在存储组件中划分出代码列表和绑定关系列表,来分别存储中间业务代码的代码内容和中间业务代码与业务事件之间的绑定关系,从而保证代码绑定的准确性,以及代码更新的便捷性。In the technical solution provided by this embodiment, different functional interfaces are respectively set according to the specific functions of the event management component and the code binding component, so as to ensure the accurate registration of business events before the target application runs and the accurate trigger detection of the target business events after the target application runs. , so that resources can be isolated between the execution of business events and the running of target applications, multi-voice compilation and multi-mode execution of business events can be realized, and the execution portability and scalability of business events can be guaranteed. A list and a binding relationship list are used to store the code content of the intermediate business code and the binding relationship between the intermediate business code and business events, so as to ensure the accuracy of code binding and the convenience of code update.

实施例三Embodiment 3

图3为本发明实施例三提供的一种业务事件的处理系统的结构示意图。本实施例是在上述实施例提供的技术方案的基础上进行优化。参照图3,该业务事件的处理系统30可以包括事件管理组件310、代码绑定组件320和事件执行组件330。FIG. 3 is a schematic structural diagram of a system for processing a service event according to Embodiment 3 of the present invention. This embodiment is optimized on the basis of the technical solutions provided by the foregoing embodiments. Referring to FIG. 3 , the businessevent processing system 30 may include anevent management component 310 , acode binding component 320 and anevent execution component 330 .

其中,事件管理组件310内注册有目标应用运行时的各业务事件;具体的,代码绑定组件320面向事件管理组件310内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;事件执行组件330如果在目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。Among them, theevent management component 310 is registered with various business events when the target application is running; specifically, thecode binding component 320 is oriented to each business event registered in theevent management component 310, and is bound under each license execution mode. The intermediate business code that supports multi-language compilation and conversion; if theevent execution component 330 receives the trigger message of the target business event when the target application is running, it adopts each permission execution mode to execute the corresponding execution target business event bound under the permission execution mode. Intermediate business code.

同时,本实施例中的事件管理组件310可以包括事件注册接口311和事件触发接口312;其中,事件注册接口311采用事件标识和许可执行方式注册目标应用运行时的各业务事件;事件触发接口312按照事件标识和事件触发条件,实时检测各业务事件的触发状态,并向事件执行组件330发送目标业务事件的触发消息。At the same time, theevent management component 310 in this embodiment may include anevent registration interface 311 and anevent trigger interface 312; wherein, theevent registration interface 311 uses an event identifier and a license execution method to register each business event when the target application is running; theevent trigger interface 312 According to the event identifier and the event trigger condition, the trigger state of each service event is detected in real time, and a trigger message of the target service event is sent to theevent execution component 330 .

而且,代码绑定组件320可以包括绑定接口321、绑定移除接口322和代码升级接口323;其中,绑定接口321按照事件标识、代码标识、实际执行方式和代码字节流,为每一业务事件,在各许可执行方式下分别绑定对应的中间业务代码;绑定移除接口322按照事件标识、代码标识和实际执行方式,移除各业务事件在对应许可执行方式下已绑定的中间业务代码;代码升级接口323按照代码标识和代码升级字节流,更新各业务事件已绑定的中间业务代码。Moreover, thecode binding component 320 may include abinding interface 321, abinding removal interface 322, and acode upgrade interface 323; wherein, the bindinginterface 321 is for each event identifier, code identifier, actual execution mode and code byte stream according to the event identifier, code identifier, and code byte stream. A business event, which is bound to the corresponding intermediate business code in each license execution mode; thebinding removal interface 322 removes the bound business event in the corresponding license execution mode according to the event ID, code ID and actual execution mode the intermediate business code; thecode upgrade interface 323 updates the bound intermediate business code of each business event according to the code identifier and the code upgrade byte stream.

此外,本实施例中的业务事件的处理系统30还可以包括存储组件340,该存储组件340采用键值对的方式记录每一业务事件在不同许可执行方式下已绑定的中间业务代码,以及该中间业务代码的代码字节流。具体的,存储组件340可以包括代码列表和绑定关系列表;其中,绑定关系列表以事件标识和许可执行方式为键名,记录每一业务组件在不同许可执行方式下已绑定的中间业务代码的代码标识;代码列表以代码标识为键名,记录每一业务组件已绑定的各个中间业务代码的代码字节流。In addition, the businessevent processing system 30 in this embodiment may further include astorage component 340, which uses a key-value pair to record the bound intermediate business codes of each business event under different license execution modes, and The code byte stream of the intermediate business code. Specifically, thestorage component 340 may include a code list and a binding relationship list; wherein, the binding relationship list takes the event identifier and the license execution mode as the key name, and records the bound intermediate services of each service component under different license execution modes The code identifier of the code; the code list uses the code identifier as the key name to record the code byte stream of each intermediate business code bound to each business component.

进一步的,为了保证目标应用运行过程中,目标业务事件被触发时所绑定的各个中间业务代码的准确执行,以及中间业务代码的准确绑定,本实施例的业务事件的处理系统30还可以包括虚拟环境创建组件350和控制中心360。Further, in order to ensure the accurate execution of each intermediate business code bound when the target business event is triggered during the running of the target application, and the accurate binding of the intermediate business code, the businessevent processing system 30 in this embodiment may also A virtualenvironment creation component 350 and acontrol center 360 are included.

其中,虚拟环境创建组件350在目标应用启动时,根据每一业务事件已绑定的各中间业务代码的执行配置,创建对应的代码虚拟运行环境,并在代码虚拟运行环境内装载每一业务事件已绑定的各中间业务代码的扩展方法。The virtualenvironment creation component 350 creates a corresponding code virtual operating environment according to the execution configuration of each intermediate service code bound to each service event when the target application is started, and loads each service event in the code virtual operating environment The extension method of each bound intermediate business code.

具体的,为了保证目标业务事件被触发后,所绑定的各个中间业务代码的准确执行,本实施例会在目标应用启动后,预先查找出每一业务事件已绑定的各个中间业务代码的执行配置,也就是中间业务代码成功运行时所需要利用的虚拟环境参数等,从而创建出适合各个中间业务代码成功运行的代码虚拟运行环境,例如运行控制器、运行内存以及是否允许开启线程来执行等,从而确保中间业务代码运行环境的隔离和安全。同时,通过查找每一业务事件已绑定的各个中间业务代码所依赖的各个扩展方法名称,能够将各个中间业务代码所依赖的各个扩展方法预先装载到所创建的代码虚拟运行环境内,以便后续直接采用外部调用的扩展方法来直接运行各个中间业务代码,从而保证中间业务代码的运行准确性。Specifically, in order to ensure the accurate execution of each bound intermediate business code after the target business event is triggered, this embodiment will pre-find the execution of each intermediate business code bound to each business event after the target application is started. Configuration, that is, the virtual environment parameters that the intermediate business code needs to use when running successfully, so as to create a code virtual running environment suitable for the successful running of each intermediate business code, such as running the controller, running memory, and whether to allow threads to be opened for execution, etc. , so as to ensure the isolation and security of the intermediate business code running environment. At the same time, by looking up the name of each extension method that each intermediate business code that has been bound to each business event depends on, each extension method that each intermediate business code depends on can be pre-loaded into the created code virtual operating environment, so that subsequent The extension method of external call is directly used to directly run each intermediate business code, so as to ensure the running accuracy of the intermediate business code.

此外,控制中心360面向事件管理组件310内已注册的每一业务事件,采用多语言开发对应的初始业务代码,并转换为对应的中间业务代码,以绑定到该业务事件的对应许可执行方式下。In addition, for each business event registered in theevent management component 310, thecontrol center 360 develops the corresponding initial business code in multiple languages, and converts it into the corresponding intermediate business code, so as to be bound to the corresponding license execution mode of the business event. Down.

具体的,控制中心360可以通过操作界面来展示事件管理组件310内已注册的每一业务事件,以及该业务事件当前绑定的各个中间业务代码,此时开发人员可以通过查看事件管理组件310内已注册的每一业务事件的中间业务代码的绑定情况,支持采用多语言为各个业务事件编写对应的初始业务代码,从而开发出多语言下的初始业务代码,进而将初始业务代码对应转换成支持多语言编译转换的中间业务代码,以绑定到该业务事件的对应许可执行方式下,从而保证业务事件下执行代码的可移植性。Specifically, thecontrol center 360 can display each business event registered in theevent management component 310 and each intermediate business code currently bound to the business event through the operation interface. The binding of the intermediate business code of each registered business event supports the use of multiple languages to write the corresponding initial business code for each business event, so as to develop the initial business code in multiple languages, and then convert the initial business code correspondingly into The intermediate business code that supports multi-language compilation and conversion is bound to the corresponding license execution mode of the business event, thereby ensuring the portability of the code executed under the business event.

本实施例提供的技术方案,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过控制中心面向事件管理组件内已注册的每一业务事件,采用多语言开发对应的初始业务代码,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,在目标应用启动时,通过虚拟环境创建组件为各个中间业务代码创建对应的代码虚拟运行环境,从而保证中间业务代码的运行准确性,并在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息时,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。In the technical solution provided by this embodiment, each business event that exists when the target application is running is registered in the event management component, and the corresponding initial business code is developed in multiple languages for each business event registered in the event management component through the control center, Faced with each business event registered in the event management component through the code binding component, bind the intermediate business code that supports multi-language compilation and conversion under each license execution mode, so that resources can be connected between the execution of the business event and the running of the target application. Isolation, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the portability and scalability of the execution of business events; at the same time, when the target application starts, the corresponding code is created for each intermediate business code through the virtual environment creation component Virtual operating environment to ensure the accuracy of the operation of the intermediate business code, and when the target application is running through the event execution component to receive the trigger message of the target business event, each permission execution method of the target business event is used to execute the target business event correspondingly The intermediate business code bound in this permission execution mode avoids affecting the running of the target application, thereby improving the security and efficiency of running the target application.

实施例4Example 4

图4为本发明实施例四提供的一种业务事件的处理方法的流程图,本实施例可适用于在任一种业务应用内运行核心业务时,对核心业务扩展出的各个旁路逻辑下指定的业务事件进行处理的情况中。本实施例提供的一种业务事件的处理方法可以由本发明实施例提供的业务事件的处理装置来执行,该装置可以通过软件和/或硬件的方式来实现,并集成在执行本方法的计算机设备中,该计算机设备可以是配置有对应业务应用的终端。FIG. 4 is a flowchart of a method for processing a business event according to Embodiment 4 of the present invention. This embodiment is applicable to when running a core business in any business application, specifying the bypass logic extended by the core business. in the case of a business event being processed. The method for processing a business event provided in this embodiment may be executed by the apparatus for processing a business event provided in this embodiment of the present invention, and the apparatus may be implemented in software and/or hardware, and integrated into a computer device that executes the method. , the computer equipment may be a terminal configured with a corresponding service application.

具体的,参考图4,该方法可以包括如下非顺序执行的步骤:Specifically, referring to FIG. 4 , the method may include the following non-sequential steps:

S410,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码。S410 , face each business event registered in the event management component through the code binding component, and bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode.

在本实施例中,为了准确了解目标应用运行时所产生的各个业务事件,会预先分析目标应用运行时,在核心业务下所扩展出的各个旁路逻辑,然后判断每一旁路逻辑下生成的业务事件,并将每一业务事件注册入事件管理组件内,以便后续通过该事件管理组件查看目标应用运行时核心业务扩展出的各个旁路逻辑下的业务事件,并针对每一业务事件的功能,专门编写对应的执行代码。此时,为了保证业务事件代码的可移植性,会为每一业务事件编写支持多语言编译转换的WASM语言下的中间业务代码,进而通过代码绑定组件面向事件管理组件内已注册的每一业务事件,分别绑定为该业务事件编写的各个中间业务代码,后续通过各个业务事件与中间业务代码之间的绑定关系,来查找表示每一业务事件功能的中间业务代码,并通过运行该中间业务代码来确保业务实践的准确处理。In this embodiment, in order to accurately understand the various business events generated when the target application is running, each bypass logic extended under the core business during the running of the target application will be analyzed in advance, and then each bypass logic generated under each bypass logic will be judged. business events, and register each business event into the event management component, so that the business events under each bypass logic extended by the core business of the target application when the target application is running can be viewed through the event management component, and the functions of each business event can be viewed , specially write the corresponding execution code. At this time, in order to ensure the portability of the business event code, the intermediate business code in the WASM language that supports multi-language compilation and conversion will be written for each business event, and then the code binding component will be used to face each registered event management component. The business event is bound to each intermediate business code written for the business event, and then the binding relationship between each business event and the intermediate business code is used to find the intermediate business code representing the function of each business event, and by running the Intermediate business code to ensure accurate processing of business practices.

同时,由于每一业务事件下编写的各个中间业务代码所表示的事件功能可能存在关联,也可能不存在任何关联,因此每一业务事件下各个中间业务代码的执行方式也各不相同,通过分析每一业务事件具备的事件功能之间的联系,可以确定出每一业务事件下运行各个中间业务代码时允许采用的许可执行方式,同时在针对每一业务事件的各个事件功能,编写对应的中间业务代码时,也会定义出每一中间业务代码的实际执行方式,进而通过代码绑定组件分析每一业务事件下编写的各个中间业务代码的实际执行方式,并按照该业务事件下每一中间业务代码的实际执行方式,将该中间业务代码绑定到该业务事件下执行方式相同的许可执行方式下,也就是在每一业务事件的每一许可执行方式下,均绑定有支持采用该许可执行方式来实际执行的中间业务代码。At the same time, because the event functions represented by each intermediate business code written under each business event may or may not have any correlation, the execution methods of each intermediate business code under each business event are also different. The connection between the event functions of each business event can determine the permission execution mode that is allowed when running each intermediate business code under each business event, and at the same time, for each event function of each business event, write the corresponding intermediate business code. When the business code is used, the actual execution mode of each intermediate business code will also be defined, and then the actual execution mode of each intermediate business code written under each business event will be analyzed through the code binding component, and the actual execution mode of each intermediate business code under the business event will be analyzed. The actual execution mode of the business code, the intermediate business code is bound to the permission execution mode with the same execution mode under the business event, that is, under each permission execution mode of each business event, is bound to support the use of this License execution mode to actually execute the intermediate business code.

需要说明的是,本实施例中业务事件的许可执行方式可以包括同步执行方式和异步执行方式中的至少一种。此时,在业务事件的同步执行方式下,会绑定一部分中间业务代码,在该业务事件的异步执行方式下,也会绑定一部分中间业务代码,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性。It should be noted that, the permission execution manner of the service event in this embodiment may include at least one of a synchronous execution manner and an asynchronous execution manner. At this time, in the synchronous execution mode of the business event, a part of the intermediate business code will be bound, and in the asynchronous execution mode of the business event, a part of the intermediate business code will also be bound, so as to realize the multi-voice compilation and multi-mode of the business event. Execution ensures the portability and scalability of the execution of business events.

此时,对于每一业务事件与中间业务代码的绑定而言,主要是接收预先为每一业务事件所编写的中间业务代码,确定该中间业务代码的实际执行方式,并将业务事件与中间业务代码对应关联起来,以便后续能够准确查找出为每一业务事件编写的中间业务代码,因此为了保证业务事件与中间业务代码之间的绑定关系准确性,本实施例中的代码绑定组件可以包括绑定接口(Bind)、绑定移除接口(Remove)和代码升级接口(Upgrade)。At this time, for the binding of each business event and the intermediate business code, it is mainly to receive the intermediate business code written for each business event in advance, determine the actual execution mode of the intermediate business code, and associate the business event with the intermediate business code. The business codes are correspondingly associated, so that the intermediate business code written for each business event can be accurately found in the future. Therefore, in order to ensure the accuracy of the binding relationship between the business event and the intermediate business code, the code binding component in this embodiment is It can include a binding interface (Bind), a binding removal interface (Remove), and a code upgrade interface (Upgrade).

其中,绑定接口按照事件标识、代码标识、实际执行方式和代码字节流,为每一业务事件,在各许可执行方式下分别绑定对应的中间业务代码;绑定移除接口按照事件标识、代码标识和实际执行方式,移除各业务事件在对应许可执行方式下已绑定的中间业务代码;代码升级接口按照代码标识和代码升级字节流,更新各业务事件已绑定的中间业务代码,从而保证业务事件与中间业务代码之间的准确绑定、绑定更新和代码升级。Among them, the binding interface is bound to the corresponding intermediate business code under each license execution mode for each business event according to the event ID, code ID, actual execution mode and code byte stream; the binding removal interface is based on the event ID. , code identification and actual execution mode, remove the intermediate business code that has been bound to each business event under the corresponding license execution mode; the code upgrade interface updates the intermediate business bound to each business event according to the code identification and code upgrade byte stream code, so as to ensure accurate binding, binding update and code upgrade between business events and intermediate business code.

S420,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过事件执行组件采用目标业务事件注册时的每一许可执行方式,对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。S420, if the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and the corresponding execution target business event is executed in the permission execution mode Binding intermediate business code.

可选的,在目标应用的运行过程中,会不断触发执行对应的业务事件,此时如果通过事件执行组件接收到某一目标业务事件的触发消息,那么直接会通过代码绑定组件查找出该目标业务事件在每一许可执行方式下分别绑定的各个中间业务代码,然后分别采用每一许可执行方式,对应执行目标业务事件在该许可执行方式下绑定的各个中间业务代码;例如,同步执行目标业务事件在同步执行方式下绑定的各个中间业务代码,异步执行目标业务事件在异步执行方式下绑定的各个中间业务代码。Optionally, during the running process of the target application, the corresponding business event will be continuously triggered and executed. At this time, if the trigger message of a target business event is received through the event execution component, the code binding component will directly find out the corresponding business event. Each intermediate business code bound to the target business event under each license execution mode, and then each license execution mode is respectively used to execute each intermediate business code bound to the target business event under this license execution mode; for example, synchronization Execute each intermediate business code bound by the target business event in the synchronous execution mode, and asynchronously execute each intermediate business code bound by the target business event in the asynchronous execution mode.

此时,为了保证目标应用内各个业务事件在开发阶段的准确注册以及在运行阶段的准确触发,本实施例中的事件管理组件可以包括事件注册接口(Regist)和事件触发接口(Trigger)。其中,事件注册接口采用事件标识和许可执行方式注册目标应用运行时的各业务事件;事件触发接口按照事件标识和事件触发条件,实时检测各业务事件的触发状态,并向事件执行组件发送目标业务事件的触发消息,从而保证目标业务事件的触发准确性。At this time, in order to ensure accurate registration of various business events in the target application in the development phase and accurate triggering in the running phase, the event management component in this embodiment may include an event registration interface (Regist) and an event trigger interface (Trigger). Among them, the event registration interface uses the event identifier and permission execution method to register each business event when the target application is running; the event trigger interface detects the trigger status of each business event in real time according to the event identifier and event trigger conditions, and sends the target business to the event execution component. The triggering message of the event ensures the triggering accuracy of the target business event.

需要说明的是,本实施例提供的业务事件的处理方法可以应用于本发明任意实施例所提供的业务事件的处理系统中,具备相同的功能和有益效果。It should be noted that the business event processing method provided in this embodiment can be applied to the business event processing system provided by any embodiment of the present invention, and has the same functions and beneficial effects.

本实施例提供的技术方案,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。In the technical solution provided by this embodiment, each business event that exists when the target application is running is registered in the event management component, and each business event registered in the event management component is oriented to each business event registered in the event management component through the code binding component. Bind the intermediate business code that supports multi-language compilation and conversion, so that resources can be isolated between the execution of business events and the running of the target application, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the portability and scalability of the execution of business events. At the same time, if the trigger message of the target business event is received through the event execution component when the target application is running, each permission execution mode of the target business event is used to execute the intermediate services bound by the target business event under the permission execution mode. code to avoid affecting the running of the target application, thereby improving the security and efficiency of the running of the target application.

实施例五Embodiment 5

图5为本发明实施例五提供的一种业务事件的处理方法的流程图。本实施例是在上述实施例的基础上进行优化。具体的,如图5所示,本实施例主要对于业务事件与中间业务代码的具体绑定过程以及目标业务事件被触发时所绑定的各个中间业务代码的具体执行过程进行详细的解释说明。FIG. 5 is a flowchart of a method for processing a service event according to Embodiment 5 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. Specifically, as shown in FIG. 5 , this embodiment mainly explains in detail the specific binding process of the business event and the intermediate business code and the specific execution process of each intermediate business code bound when the target business event is triggered.

可选的,如图5所示,本实施例中可以包括如下步骤:Optionally, as shown in FIG. 5 , this embodiment may include the following steps:

S510,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码。S510, face each business event registered in the event management component through the code binding component, and bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode.

S520,通过存储组件采用键值对的方式记录每一业务事件在不同许可执行方式下已绑定的中间业务代码,以及该中间业务代码的代码字节流。S520, the storage component uses a key-value pair to record the bound intermediate business code of each business event under different license execution modes, and the code byte stream of the intermediate business code.

可选的,为了准确维护业务事件与中间业务代码之间的绑定关系,可以将存储组件划分出代码列表和绑定关系列表,以将中间业务代码的代码字节流和中间业务代码与业务事件之间的绑定关系隔离存储,此时在绑定关系列表中以事件标识和许可执行方式为键名,记录每一业务组件在不同许可执行方式下已绑定的中间业务代码的代码标识;在代码列表中以代码标识为键名,记录每一业务组件已绑定的各个中间业务代码的代码字节流。此外,在代码列表中还会记录每一业务组件已绑定的各个中间业务代码所依赖的扩展方法名称。Optionally, in order to accurately maintain the binding relationship between business events and intermediate business codes, the storage component can be divided into a code list and a binding relationship list, so as to combine the code byte stream of the intermediate business code and the intermediate business code with the business code. The binding relationship between events is isolated and stored. At this time, in the binding relationship list, the event ID and the license execution mode are used as the key names to record the code ID of the intermediate business code bound by each business component under different license execution modes. ; In the code list, use the code ID as the key name to record the code byte stream of each intermediate service code bound to each service component. In addition, the extension method name that each intermediate business code bound to each business component depends on is also recorded in the code list.

具体的,在绑定关系列表中通过将每一业务事件的事件标识和许可执行方式结合起来,统一作为key值,然后将value值设置为该key值指定的业务事件在具体许可执行方式下已绑定的各个中间业务代码的代码标识,从而将事件标识与代码标识关联起来,在每一业务事件的各个许可执行方式下得到准确的绑定关系;同时,每次为每一业务组件绑定的中间业务代码时,均会在代码列表中将所绑定的中间业务代码的代码标识作为key值,然后value值设置为该key值指定的中间业务代码的代码字节流,从而在代码列表中依次记录每一中间业务代码的代码内容。Specifically, in the binding relationship list, the event identifier of each business event and the license execution method are combined and unified as the key value, and then the value value is set as the business event specified by the key value has been executed under the specific license execution mode. The code identification of each intermediate business code that is bound, so as to associate the event identification with the code identification, and obtain an accurate binding relationship under each license execution mode of each business event; at the same time, each time is bound for each business component In the code list, the code identifier of the bound intermediate business code will be used as the key value in the code list, and then the value value will be set to the code byte stream of the intermediate business code specified by the key value, so that in the code list Record the code content of each intermediate business code in turn.

S530,在目标应用启动时,通过虚拟环境创建组件根据每一业务事件已绑定的各中间业务代码的执行配置,创建对应的代码虚拟运行环境,并在代码虚拟运行环境内装载每一业务事件已绑定的各中间业务代码的扩展方法。S530, when the target application is started, the virtual environment creation component creates a corresponding code virtual operating environment according to the execution configuration of each intermediate business code bound to each business event, and loads each business event in the code virtual operating environment The extension method of each bound intermediate business code.

具体的,为了保证目标业务事件被触发后,所绑定的各个中间业务代码的准确执行,本实施例会在目标应用启动后,预先查找出每一业务事件已绑定的各个中间业务代码的执行配置,也就是中间业务代码成功运行时所需要利用的虚拟环境参数等,从而创建出适合各个中间业务代码成功运行的代码虚拟运行环境,例如运行控制器、运行内存以及是否允许开启线程来执行等,从而确保中间业务代码运行环境的隔离和安全。同时,通过查找每一业务事件已绑定的各个中间业务代码所依赖的各个扩展方法名称,能够将各个中间业务代码所依赖的各个扩展方法预先装载到所创建的代码虚拟运行环境内,以便后续直接采用外部调用的扩展方法来直接运行各个中间业务代码,从而保证中间业务代码的运行准确性。Specifically, in order to ensure the accurate execution of each bound intermediate business code after the target business event is triggered, this embodiment will pre-find the execution of each intermediate business code bound to each business event after the target application is started. Configuration, that is, the virtual environment parameters that the intermediate business code needs to use when running successfully, so as to create a code virtual running environment suitable for the successful running of each intermediate business code, such as running the controller, running memory, and whether to allow threads to be opened for execution, etc. , so as to ensure the isolation and security of the intermediate business code running environment. At the same time, by looking up the name of each extension method that each intermediate business code that has been bound to each business event depends on, each extension method that each intermediate business code depends on can be pre-loaded into the created code virtual operating environment, so that subsequent The extension method of external call is directly used to directly run each intermediate business code, so as to ensure the running accuracy of the intermediate business code.

S540,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过事件执行组件从代码绑定组件中查询目标业务事件在每一许可执行方式下已绑定的中间业务代码。S540, if the triggering message of the target business event is received through the event execution component when the target application is running, the event execution component is used to query the code binding component for the bound intermediate business code of the target business event under each license execution mode .

可选的,如果在目标应用运行过程中,通过事件执行组件接收到目标业务事件的触发消息,说明该目标业务事件被触发,需要运行该目标业务事件绑定的各个中间业务代码,来实现目标业务事件的准确处理,此时首先需要从代码绑定组件中查询目标业务事件在每一许可执行方式下已绑定的中间业务代码,以便后续采用每一许可执行方式,对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,确保业务事件的处理准确性。Optionally, if a trigger message of the target business event is received through the event execution component during the running of the target application, it means that the target business event is triggered, and each intermediate business code bound to the target business event needs to be run to achieve the goal. For accurate processing of business events, at this time, it is first necessary to query the intermediate business code of the target business event bound under each license execution mode from the code binding component, so that each license execution mode can be used subsequently, and the corresponding execution target business event is in The intermediate business code bound in this license execution mode ensures the processing accuracy of business events.

S550,通过事件执行组件采用目标业务事件注册时的每一许可执行方式,对应执行目标业务事件在该许可执行方式下绑定的中间业务代码。S550, the event execution component adopts each permission execution mode when the target business event is registered, correspondingly executes the intermediate business code bound to the target business event in the permission execution mode.

S560,通过事件执行组件回调目标业务事件在同步执行方式下的代码执行结果,并发送给目标应用。S560, the code execution result of the target business event in the synchronous execution mode is called back by the event execution component, and sent to the target application.

可选的,在完成目标业务事件在每一许可执行方式下所绑定的各个中间业务代码的执行后,为了保证目标应用的准确运行,本实施例还会通过事件执行组件来回调该目标业务事件在同步执行方式下的代码执行结果,从而应用到目标应用的后续运行过程中,实现目标应用内核心业务的准确运行。Optionally, after completing the execution of each intermediate business code bound to the target business event under each permission execution mode, in order to ensure the accurate operation of the target application, this embodiment will also use the event execution component to call back the target business. The code execution result of the event in the synchronous execution mode is applied to the subsequent running process of the target application to realize the accurate operation of the core business in the target application.

本实施例提供的技术方案,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。In the technical solution provided by this embodiment, each business event that exists when the target application is running is registered in the event management component, and each business event registered in the event management component is oriented to each business event registered in the event management component through the code binding component. Bind the intermediate business code that supports multi-language compilation and conversion, so that resources can be isolated between the execution of business events and the running of the target application, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the portability and scalability of the execution of business events. At the same time, if the trigger message of the target business event is received through the event execution component when the target application is running, each permission execution mode of the target business event is used to execute the intermediate services bound by the target business event under the permission execution mode. code to avoid affecting the running of the target application, thereby improving the security and efficiency of the running of the target application.

实施例六Embodiment 6

图6为本发明实施例六提供的一种业务事件的处理装置的结构示意图,可以配置于本发明任意实施例提供的业务事件的处理系统中。具体的,如图6所示,该装置可以包括:FIG. 6 is a schematic structural diagram of a service event processing apparatus provided in Embodiment 6 of the present invention, which may be configured in the service event processing system provided by any embodiment of the present invention. Specifically, as shown in Figure 6, the device may include:

代码绑定模块610,用于通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;Thecode binding module 610 is configured to face each business event registered in the event management component through the code binding component, and respectively bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;

业务代码执行模块620,用于如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;The businesscode execution module 620 is configured to, if the trigger message of the target business event is received through the event execution component when the target application is running, adopt each permission execution mode when the target business event is registered through the event execution component, corresponding to Execute the intermediate business code bound to the target business event under the permission execution mode;

其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.

本实施例提供的技术方案,在事件管理组件内注册目标应用运行时存在的各个业务事件,通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码,使得业务事件执行与目标应用运行之间能够资源隔离,从而实现业务事件的多语音编译和多方式执行,保证业务事件的执行可移植性和可扩展性;同时,如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则采用目标业务事件的每一许可执行方式对应执行目标业务事件在该许可执行方式下绑定的中间业务代码,避免对目标应用运行产生影响,从而提高目标应用运行的安全性和高效性。In the technical solution provided by this embodiment, each business event that exists when the target application is running is registered in the event management component, and each business event registered in the event management component is oriented to each business event registered in the event management component through the code binding component. Bind the intermediate business code that supports multi-language compilation and conversion, so that resources can be isolated between the execution of business events and the running of the target application, so as to realize multi-voice compilation and multi-mode execution of business events, and ensure the portability and scalability of the execution of business events. At the same time, if the trigger message of the target business event is received through the event execution component when the target application is running, each permission execution mode of the target business event is used to execute the intermediate services bound by the target business event under the permission execution mode. code to avoid affecting the running of the target application, thereby improving the security and efficiency of the running of the target application.

本实施例提供的业务事件的处理装置可适用于上述任意实施例提供的业务事件的处理方法,具备相应的功能和有益效果。The apparatus for processing a business event provided in this embodiment is applicable to the processing method for a business event provided in any of the above embodiments, and has corresponding functions and beneficial effects.

实施例七Embodiment 7

图7为本发明实施例七提供的一种计算机设备的结构示意图,如图7所示,该计算机设备包括处理器70、存储装置71和通信装置72;计算机设备中处理器70的数量可以是一个或多个,图7中以一个处理器70为例;计算机设备中的处理器70、存储装置71和通信装置72可以通过总线或其他方式连接,图7中以通过总线连接为例。FIG. 7 is a schematic structural diagram of a computer device according to Embodiment 7 of the present invention. As shown in FIG. 7 , the computer device includes aprocessor 70, astorage device 71, and acommunication device 72; the number ofprocessors 70 in the computer device may be One or more, aprocessor 70 is taken as an example in FIG. 7 ; theprocessor 70, thestorage device 71 and thecommunication device 72 in the computer equipment can be connected through a bus or other means, and the connection through a bus is taken as an example in FIG. 7 .

本实施例提供的一种计算机设备可用于执行上述任意实施例提供的业务事件的处理方法,具备相应的功能和有益效果。The computer device provided in this embodiment can be used to execute the business event processing method provided by any of the foregoing embodiments, and has corresponding functions and beneficial effects.

实施例八Embodiment 8

本发明实施例八还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时可实现上述任意实施例中的业务事件的处理方法。该方法具体可以包括如下非顺序执行的步骤:The eighth embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for processing a service event in any of the foregoing embodiments can be implemented. Specifically, the method may include the following non-sequential steps:

通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;Facing each business event registered in the event management component through the code binding component, bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;

如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;If the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and executes the target business event in the corresponding execution mode of the target business event. The intermediate business code bound in the license execution mode;

其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本发明任意实施例所提供的业务事件的处理方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions of which are not limited to the above-mentioned method operations, and can also execute the business event processing method provided by any embodiment of the present invention. related operations in .

通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be realized by software and necessary general-purpose hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment . Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in a computer-readable storage medium, such as a floppy disk of a computer , read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the methods described in the various embodiments of the present invention.

值得注意的是,上述业务事件的处理装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that, in the embodiment of the above-mentioned apparatus for processing business events, the units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; , the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present invention.

以上所述仅为本发明的优选实施例,并不用于限制本发明,对于本领域技术人员而言,本发明可以有各种改动和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (17)

Translated fromChinese
1.一种业务事件的处理系统,其特征在于,包括:事件管理组件、代码绑定组件和事件执行组件,所述事件管理组件内注册有目标应用运行时的各业务事件;其中,1. A processing system for business events, comprising: an event management component, a code binding component and an event execution component, wherein each business event of a target application runtime is registered in the event management component; wherein,所述代码绑定组件面向所述事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;The code binding component faces each business event registered in the event management component, and binds the intermediate business code supporting multi-language compilation and conversion under each license execution mode;所述事件执行组件如果在所述目标应用运行时接收到目标业务事件的触发消息,则采用每一许可执行方式对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码。If the event execution component receives the trigger message of the target business event when the target application is running, it adopts each permission execution mode to execute the intermediate service code bound to the target business event in the permission execution mode.2.根据权利要求1所述的处理系统,其特征在于,所述事件管理组件包括事件注册接口和事件触发接口;其中,2. The processing system according to claim 1, wherein the event management component comprises an event registration interface and an event trigger interface; wherein,所述事件注册接口采用事件标识和许可执行方式注册所述目标应用运行时的各业务事件;The event registration interface uses an event identifier and a permission execution method to register each business event when the target application is running;所述事件触发接口按照事件标识和事件触发条件,实时检测各所述业务事件的触发状态,并向所述事件执行组件发送所述目标业务事件的触发消息。The event trigger interface detects the trigger state of each business event in real time according to the event identifier and the event trigger condition, and sends a trigger message of the target business event to the event execution component.3.根据权利要求1所述的处理系统,其特征在于,所述代码绑定组件包括绑定接口、绑定移除接口和代码升级接口;其中,3. The processing system according to claim 1, wherein the code binding component comprises a binding interface, a binding removal interface and a code upgrade interface; wherein,所述绑定接口按照事件标识、代码标识、实际执行方式和代码字节流,为每一业务事件,在各许可执行方式下分别绑定对应的中间业务代码;The binding interface, according to the event identifier, the code identifier, the actual execution mode and the code byte stream, is for each business event, and the corresponding intermediate business code is respectively bound under each license execution mode;所述绑定移除接口按照事件标识、代码标识和实际执行方式,移除各业务事件在对应许可执行方式下已绑定的中间业务代码;The binding removal interface removes the bound intermediate business codes of each business event under the corresponding permission execution mode according to the event identifier, the code identifier and the actual execution mode;所述代码升级接口按照代码标识和代码升级字节流,更新各业务事件已绑定的中间业务代码。The code upgrade interface updates the intermediate business code bound to each business event according to the code identifier and the code upgrade byte stream.4.根据权利要求1所述的处理系统,其特征在于,所述业务事件的许可执行方式包括同步执行方式和异步执行方式中的至少一种。4 . The processing system according to claim 1 , wherein the permitted execution mode of the business event includes at least one of a synchronous execution mode and an asynchronous execution mode. 5 .5.根据权利要求1-4任一项所述的处理系统,其特征在于,还包括存储组件;5. The processing system of any one of claims 1-4, further comprising a storage component;所述存储组件采用键值对的方式记录每一业务事件在不同许可执行方式下已绑定的中间业务代码,以及该中间业务代码的代码字节流。The storage component uses a key-value pair to record the intermediate business code bound to each business event under different license execution modes, and the code byte stream of the intermediate business code.6.根据权利要求5所述的处理系统,其特征在于,所述存储组件包括代码列表和绑定关系列表;其中,6. The processing system according to claim 5, wherein the storage component comprises a code list and a binding relationship list; wherein,所述绑定关系列表以事件标识和许可执行方式为键名,记录每一业务组件在不同许可执行方式下已绑定的中间业务代码的代码标识;The binding relationship list takes the event identifier and the license execution mode as the key name, and records the code identifier of the intermediate business code that each business component has bound under different license execution modes;所述代码列表以代码标识为键名,记录每一业务组件已绑定的各个中间业务代码的代码字节流。The code list uses the code identifier as the key name, and records the code byte stream of each intermediate service code bound to each service component.7.根据权利要求1-4任一项所述的处理系统,其特征在于,还包括虚拟环境创建组件;7. The processing system according to any one of claims 1-4, further comprising a virtual environment creation component;所述虚拟环境创建组件在所述目标应用启动时,根据每一业务事件已绑定的各中间业务代码的执行配置,创建对应的代码虚拟运行环境,并在所述代码虚拟运行环境内装载每一业务事件已绑定的各中间业务代码的扩展方法。When the target application is started, the virtual environment creation component creates a corresponding code virtual operating environment according to the execution configuration of each intermediate service code bound to each service event, and loads each code virtual operating environment in the code virtual operating environment. An extension method of each intermediate business code bound to a business event.8.根据权利要求1-4任一项所述的处理系统,其特征在于,还包括控制中心;8. The processing system according to any one of claims 1-4, characterized in that, further comprising a control center;所述控制中心面向所述事件管理组件内已注册的每一业务事件,采用多语言开发对应的初始业务代码,并转换为对应的中间业务代码,以绑定到该业务事件的对应许可执行方式下。For each business event registered in the event management component, the control center develops the corresponding initial business code in multiple languages, and converts it into the corresponding intermediate business code to be bound to the corresponding license execution mode of the business event Down.9.根据权利要求8所述的处理系统,其特征在于,所述控制中心通过操作界面展示所述事件管理组件内已注册的每一业务事件所绑定的中间业务代码。9 . The processing system according to claim 8 , wherein the control center displays the intermediate business code bound to each business event registered in the event management component through an operation interface. 10 .10.一种业务事件的处理方法,其特征在于,应用于权利要求1-9任一项所述的业务事件的处理系统中,包括如下非顺序执行的步骤:10. A method for processing a business event, characterized in that, being applied to the processing system for a business event according to any one of claims 1-9, comprising the following steps of non-sequential execution:通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;Facing each business event registered in the event management component through the code binding component, bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;If the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and executes the target business event in the corresponding execution mode of the target business event. The intermediate business code bound in the license execution mode;其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.11.根据权利要求10所述的方法,其特征在于,在通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码之前,还包括:11. The method according to claim 10, wherein, when each license execution mode when the target business event is registered by the event execution component is used, the target business event is executed correspondingly under the license execution mode Before the bound intermediate business code, it also includes:通过所述事件执行组件从所述代码绑定组件中查询所述目标业务事件在每一许可执行方式下已绑定的中间业务代码。The event execution component is used to query the code binding component for the bound intermediate business code of the target business event under each permission execution mode.12.根据权利要求10所述的方法,其特征在于,在通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码之后,还包括:12. The method according to claim 10, characterized in that, in each business event registered in the event-oriented management component through the code binding component, under each license execution mode, bind the data that supports multi-language compilation and conversion respectively. After the intermediate business code, it also includes:通过存储组件采用键值对的方式记录每一业务事件在不同许可执行方式下已绑定的中间业务代码,以及该中间业务代码的代码字节流。The intermediate business code that has been bound to each business event under different permission execution modes and the code byte stream of the intermediate business code are recorded by the storage component in the form of key-value pairs.13.根据权利要求10所述的方法,其特征在于,在通过事件执行组件采用所述目标业务事件的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码之后,还包括:13 . The method according to claim 10 , wherein when each permission execution mode of the target business event is adopted by an event execution component, the corresponding execution of the target business event is bound in the middle of the permission execution mode. 14 . After the business code, it also includes:通过所述事件执行组件回调所述目标业务事件在同步执行方式下的代码执行结果,并发送给所述目标应用。The code execution result of the target business event in the synchronous execution mode is called back by the event execution component, and sent to the target application.14.根据权利要求10-13任一项所述的方法,其特征在于,还包括:14. The method according to any one of claims 10-13, further comprising:在所述目标应用启动时,通过虚拟环境创建组件根据每一业务事件已绑定的各中间业务代码的执行配置,创建对应的代码虚拟运行环境,并在所述代码虚拟运行环境内装载每一业务事件已绑定的各中间业务代码的扩展方法。When the target application starts, the virtual environment creation component creates a corresponding code virtual operating environment according to the execution configuration of each intermediate service code bound to each business event, and loads each code virtual operating environment in the code virtual operating environment. The extension method of each intermediate business code bound to the business event.15.一种业务事件的处理装置,其特征在于,配置于权利要求1-9任一项所述的业务事件的处理系统中,包括:15. A business event processing device, characterized in that, configured in the business event processing system according to any one of claims 1-9, comprising:代码绑定模块,用于通过代码绑定组件面向事件管理组件内已注册的每一业务事件,在每一许可执行方式下分别绑定支持多语言编译转换的中间业务代码;The code binding module is used to face each business event registered in the event management component through the code binding component, and bind the intermediate business code supporting multi-language compilation and conversion under each license execution mode;业务代码执行模块,用于如果在目标应用运行时通过事件执行组件接收到目标业务事件的触发消息,则通过所述事件执行组件采用所述目标业务事件注册时的每一许可执行方式,对应执行所述目标业务事件在该许可执行方式下绑定的中间业务代码;The business code execution module is used for, if the trigger message of the target business event is received through the event execution component when the target application is running, the event execution component adopts each permission execution mode when the target business event is registered, and executes the corresponding execution the intermediate business code bound to the target business event under the permission execution mode;其中,所述事件管理组件内注册有目标应用运行时的各业务事件。Wherein, each business event of the target application running time is registered in the event management component.16.一种计算机设备,其特征在于,所述计算机设备包括:16. A computer device, characterized in that the computer device comprises:一个或多个处理器;one or more processors;存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求10-14中任一所述的业务事件的处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the business event processing method according to any one of claims 10-14.17.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求10-14中任一所述的业务事件的处理方法。17. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method for processing a business event according to any one of claims 10-14 is implemented.
CN202011459550.1A2020-12-112020-12-11 A business event processing system, processing method, device and equipmentActiveCN112579156B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011459550.1ACN112579156B (en)2020-12-112020-12-11 A business event processing system, processing method, device and equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011459550.1ACN112579156B (en)2020-12-112020-12-11 A business event processing system, processing method, device and equipment

Publications (2)

Publication NumberPublication Date
CN112579156Atrue CN112579156A (en)2021-03-30
CN112579156B CN112579156B (en)2024-11-22

Family

ID=75131421

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011459550.1AActiveCN112579156B (en)2020-12-112020-12-11 A business event processing system, processing method, device and equipment

Country Status (1)

CountryLink
CN (1)CN112579156B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113282378A (en)*2021-07-232021-08-20奥特酷智能科技(南京)有限公司Vehicle-mounted system based on environment isolation subsystem
CN113296742A (en)*2021-05-172021-08-24建信金融科技有限责任公司APP data processing method and device and mobile terminal
CN120407043A (en)*2025-07-012025-08-01中信建投证券股份有限公司 Business response method, device, electronic device and storage medium
CN120407043B (en)*2025-07-012025-10-14中信建投证券股份有限公司 A business response method, device, electronic device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040220910A1 (en)*2003-05-022004-11-04Liang-Jie ZangSystem and method of dynamic service composition for business process outsourcing
US20050278708A1 (en)*2004-06-152005-12-15Dong ZhaoEvent management framework for network management application development
US20100064357A1 (en)*2008-09-092010-03-11Kerstin BairdBusiness Processing System Combining Human Workflow, Distributed Events, And Automated Processes
CN103279840A (en)*2013-06-082013-09-04北京首钢自动化信息技术有限公司Workflow engine implement method based on dynamic language and event processing mechanism
CN103927218A (en)*2014-04-302014-07-16广州唯品会网络技术有限公司Event dispatching method and system
US20190305957A1 (en)*2018-04-022019-10-03Ca, Inc.Execution smart contracts configured to establish trustworthiness of code before execution
CN111309406A (en)*2020-02-172020-06-19北京字节跳动网络技术有限公司Event processing method and device of application program and electronic equipment
CN111369221A (en)*2020-03-092020-07-03浙江大学Intelligent contract monitoring method and system for block chain supervision
US20200250372A1 (en)*2019-02-042020-08-06Cloudflare, Inc.Application remoting across a network using draw commands
CN111679828A (en)*2020-05-252020-09-18泰康保险集团股份有限公司Data processing method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040220910A1 (en)*2003-05-022004-11-04Liang-Jie ZangSystem and method of dynamic service composition for business process outsourcing
US20050278708A1 (en)*2004-06-152005-12-15Dong ZhaoEvent management framework for network management application development
US20100064357A1 (en)*2008-09-092010-03-11Kerstin BairdBusiness Processing System Combining Human Workflow, Distributed Events, And Automated Processes
CN103279840A (en)*2013-06-082013-09-04北京首钢自动化信息技术有限公司Workflow engine implement method based on dynamic language and event processing mechanism
CN103927218A (en)*2014-04-302014-07-16广州唯品会网络技术有限公司Event dispatching method and system
US20190305957A1 (en)*2018-04-022019-10-03Ca, Inc.Execution smart contracts configured to establish trustworthiness of code before execution
US20200250372A1 (en)*2019-02-042020-08-06Cloudflare, Inc.Application remoting across a network using draw commands
CN111309406A (en)*2020-02-172020-06-19北京字节跳动网络技术有限公司Event processing method and device of application program and electronic equipment
CN111369221A (en)*2020-03-092020-07-03浙江大学Intelligent contract monitoring method and system for block chain supervision
CN111679828A (en)*2020-05-252020-09-18泰康保险集团股份有限公司Data processing method and device, electronic equipment and storage medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
ABDERRAHMANE LESHOB等: "A value-oriented approach to business process specialization: Principles, proof-of-concept, and validation", JOURNAL OF SYSTEMS AND SOFTWARE, vol. 127, 17 February 2017 (2017-02-17), pages 120 - 149, XP029939939, DOI: 10.1016/j.jss.2017.02.002*
BEN WILCOCK: "Simple Event Driven Microservices with Spring Cloud Stream", Retrieved from the Internet <URL:https://spring.io/blog/2019/10/15/simple-event-driven-microservices-with-spring-cloud-stream>*
JAN ŠILAR等: "Development of In-Browser Simulators for Medical Education: Introduction of a Novel Software Toolchain", J MED INTERNET RES 2019, vol. 21, no. 7, 3 July 2019 (2019-07-03), pages 1 - 10*
崔盛斌: "面向航空票价发布系统的事件驱动模型设计与应用", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑, no. 1, 15 January 2020 (2020-01-15), pages 031 - 61*
潘从祥: "基于Web技术的移动机器人SLAM方法研究", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 1, 15 January 2020 (2020-01-15), pages 140 - 852*
車輪の唄: "spring 事件:实现业务逻辑解耦", Retrieved from the Internet <URL:https://www.cnblogs.com/kukudi/p/17345265.html>*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113296742A (en)*2021-05-172021-08-24建信金融科技有限责任公司APP data processing method and device and mobile terminal
CN113282378A (en)*2021-07-232021-08-20奥特酷智能科技(南京)有限公司Vehicle-mounted system based on environment isolation subsystem
CN113282378B (en)*2021-07-232021-11-12奥特酷智能科技(南京)有限公司Vehicle-mounted system based on environment isolation subsystem
CN120407043A (en)*2025-07-012025-08-01中信建投证券股份有限公司 Business response method, device, electronic device and storage medium
CN120407043B (en)*2025-07-012025-10-14中信建投证券股份有限公司 A business response method, device, electronic device and storage medium

Also Published As

Publication numberPublication date
CN112579156B (en)2024-11-22

Similar Documents

PublicationPublication DateTitle
EP2368189B1 (en)Debugging pipeline
CN105512044B (en)Update method and system for the library of object of keyword driving test
US7539854B2 (en)System and method to seamlessly enable enhanced management and scripting of a computer system and its add-in devices
US20100281463A1 (en)XML based scripting framework, and methods of providing automated interactions with remote systems
US8607203B1 (en)Test automation framework using dependency injection
CN111179086A (en)Intelligent contract virtual machine based on WebAssembly
CN105893061A (en)Application program development method and system
CN118227424B (en)Log record template access method and system applied to distributed component
CN108345458B (en) A method and system for calling static compiled language and scripting language
CN111880804A (en)Application program code processing method and device
CN112579156A (en)Processing system, processing method, processing device and processing equipment of business event
WO2017020459A1 (en)Method and apparatus for configuring plugin package for host
WO2022038461A1 (en)Method and system for identifying and extracting independent services from a computer program
CN111240772A (en)Data processing method and device based on block chain and storage medium
WO2023179298A1 (en)Application program updating method and apparatus, application program development method and apparatus, and computer device
CN111240728A (en)Application program updating method, device, equipment and storage medium
US10394610B2 (en)Managing split packages in a module system
CN111061642A (en)Full-automatic competition data processing system and method based on user data
CN113590179B (en)Plug-in detection method and device, electronic equipment and storage medium
CN113590166B (en)Application program updating method and device and computer readable storage medium
CN113626001B (en)API dynamic arrangement method and device based on script
CN114253532A (en)Model development method, device, engine and storage medium
CN116501596A (en) App testing method and device
CN113791824A (en)Peripheral driver loading method, system and medium for terminal equipment
CN104714791B (en)A kind of method and apparatus that Web applications are split and reset

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp