Business processing method, device, electronic device and storage medium

Through data abstract processing and modular construction methods, the problem of business operation framework design deviation in the existing technology is solved, the compatibility and universality of services are improved, and the development and maintenance process is simplified.

CN112527251BActive Publication Date: 2025-02-14SHANDONG LONGDU INTELLIGENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011376589.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2025-02-14
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

In the prior art, relying on manual maintenance of design documents to build a business operation framework leads to poor understanding deviations, service compatibility and universality, and lack of effective solutions.

Method used

By obtaining the description file for building the business operation framework in basic units, performing data abstraction processing, obtaining business operation modules that support different businesses, and building a business operation framework based on these modules.

Benefits of technology

It improves service compatibility and universality, reduces the complexity of service module development, and improves the design and maintenance efficiency of business operation frameworks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112527251B_ABST
    Figure CN112527251B_ABST
Patent Text Reader

Abstract

The present application discloses a business processing method, device, electronic device and storage medium, and relates to the field of Internet of Things, especially to the fields of data abstraction, system modularization, etc. The specific implementation scheme is: obtain a description file that constructs a business operation framework with basic units; according to the description file, perform data abstraction processing on the interface and attributes of the business operation module to obtain at least two business operation modules that support different businesses; according to the at least two business operation modules, obtain the business operation framework. The use of this application can improve the compatibility and universality of services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things, and in particular to the fields of data abstraction, system modularization, etc. Background Art

[0002] In order to meet the growing needs of users, business application services can be provided to users through the business operation framework according to user needs. Different business applications need to run different business operation frameworks. Developers can improve different business operation frameworks by manually maintaining the design documents of various service modules or components (such as middleware).

[0003] However, if the design documents are completely dependent on manual maintenance, the understanding and design ideas of different developers will inevitably lead to deviations during the development process, resulting in the business operation framework not being able to well support the services of upper-level business applications, and the compatibility and universality of the services are poor. There is no effective solution to this problem in the relevant technology. Summary of the invention

[0004] The present application provides a service processing method, device, electronic device and storage medium.

[0005] According to one aspect of the present application, a service processing method is provided, including:

[0006] Obtain a description file for building a business operation framework based on basic units;

[0007] According to the description file, data abstraction processing is performed on the interface and attributes of the service operation module to obtain at least two service operation modules supporting different services;

[0008] The service operation framework is obtained according to the at least two service operation modules.

[0009] According to another aspect of the present application, a service processing device is provided, including:

[0010] An acquisition module is used to acquire a description file for constructing a business operation framework based on basic units;

[0011] An abstract processing module, used to perform data abstraction processing on the interface and attributes of the service operation module according to the description file, so as to obtain at least two service operation modules supporting different services;

[0012] The framework generation module is used to obtain the service operation framework according to the at least two service operation modules.

[0013] According to another aspect of the present application, there is provided an electronic device, including:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided by any embodiment of the present application.

[0017] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method provided by any embodiment of the present application.

[0018] According to a fifth aspect of the present application, a computer program product is provided, comprising a computer program, wherein the computer program implements the method as described above when executed by a processor.

[0019] By using the present application, a description file for constructing a business operation framework with basic units can be obtained. According to the description file, data abstraction processing is performed on the interface and attributes of the business operation module to obtain at least two business operation modules supporting different businesses. According to the at least two business operation modules, the business operation framework is obtained, thereby improving the compatibility and universality of the service.

[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.

[0022] Figure 1 is a flowchart of a business processing method according to an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of a business operation module in an application example according to an embodiment of the present application;

[0024] Figure 3 is a schematic diagram of a life cycle of a business operation module in an application example according to an embodiment of the present application;

[0025] Figure 4 is a schematic diagram of a business operation framework in an application example according to an embodiment of the present application;

[0026] Figure 5 is a schematic diagram of the structure of a service processing device according to an embodiment of the present application;

[0027] Figure 6 It is a block diagram of an electronic device used to implement the service processing method of an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0029] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The term "at least one" in this article means any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C. The terms "first" and "second" in this article refer to multiple similar technical terms and distinguish them. They do not mean to limit the order or to limit them to only two. For example, the first feature and the second feature refer to two types / two features. The first feature can be one or more, and the second feature can also be one or more.

[0030] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0031] Microservices divide monolithic applications into independent programs or services according to business. They communicate with each other through HTTP protocol or message queues (MQ). Microservices use open and decoupled design thinking, rich middleware and basic frameworks to form a business operation framework, which can provide more advanced and flexible support for the development of upper-level business applications.

[0032] However, due to the developers' understanding and usage habits, the services provided by the actual business applications often do not achieve the purpose of openness and decoupling. The service modules often still retain strong coupling, and flexible orchestration cannot be achieved. The reusability of service modules or services is also poor. In the related technologies, most of them rely on manually writing complete documents in the design phase, making detailed definitions of the interfaces and various properties of service modules or components, explaining the calling methods and corresponding designs; various tests are performed during the development and testing phases to detect whether they are being developed according to the design; and test verification is performed during the overall joint debugging to ensure that the overall capabilities of all services meet the design expectations.

[0033] It is difficult to ensure that there will be no deviations during the development process if you completely rely on documents, which will bring problems, including: the documents lack binding force, and developers often find it difficult to ensure consistency with the documents during the development process; document changes and program changes are not synchronized, making it difficult to ensure timely synchronization and consistency; poor testability, and testers need to align document design and delivered code at the same time; and completely relying on human maintenance, which is difficult to systematize and automate, and has low operating efficiency. In other words, trying to rely on manual writing of perfect documents is not ideal in actual applications, and has high maintenance costs and low operating efficiency. The resulting business operation framework cannot well support the services of upper-level business applications, and the compatibility and universality of the services are not good.

[0034] By adopting this application, the service module can be abstracted into a business operation module with only a few fixed types of interfaces, and then the basic operation framework and tools can be used to provide basic communication capabilities and flexible orchestration capabilities, thereby reducing the complexity of service module or component development, increasing freedom and reducing coupling, simplifying the design and maintenance of the business operation framework, and improving operating efficiency. The resulting business operation framework can well support the services of upper-level business applications, and the services have good compatibility and universality.

[0035] According to an embodiment of the present application, a service processing method is provided. Figure 1 It is a flowchart of a business processing method according to an embodiment of the present application. The method can be applied to a business processing device. For example, the device can be deployed in a terminal or server or other processing device for execution. It can perform data abstraction processing, build a business operation framework based on basic units, etc. The terminal can be a user equipment (UE, User Equipment), a mobile device, a cellular phone, a cordless phone, a personal digital assistant (PDA, Personal Digital Assistant), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the method can also be implemented by a processor calling a computer-readable instruction stored in a memory. For example Figure 1 As shown, including:

[0036] S101. Obtain a description file for constructing a business operation framework based on basic units.

[0037] S102: Perform data abstraction processing on the interface and attributes of the service operation module according to the description file to obtain at least two service operation modules supporting different services.

[0038] S103: Obtain the service operation framework according to the at least two service operation modules.

[0039] In the above S101, the above basic unit can be called a digital cell, which is the smallest operating unit in the business operation framework (a modular system composed of modules) of this application. The design principle of the digital cell is to decompose a complex business operation framework into multiple independent business operation modules in the form of the smallest functional unit, and construct the business operation framework through digital cells and business operation modules. Furthermore, MQ can be used as the core link for data exchange to combine multiple business operation modules into a complete system framework (i.e., the above business operation framework) in various connection modes such as series and / or parallel.

[0040] In the above S102, the above business operation module can be abstracted into a general module with only a few fixed interfaces and attributes through the above data abstraction processing (for example, a business operation module can only do one thing, which can be: a business operation module that performs data structure conversion, a business operation module that performs image format conversion, a business operation module that performs face recognition on input images, etc.), and then these business operation modules are arbitrarily combined according to user needs, and through flexible orchestration and coordination mechanisms, they are finally combined into a business operation framework that meets user needs. These business operation modules can also have the ability to communicate with each other, thereby not only reducing the complexity of business operation module development, but also arbitrarily combining these business operation modules, so that the business operation framework has good compatibility and universality, and can better provide continuous and improved support capabilities for the services of upper-level business applications.

[0041] In the above S103, based on the digital cell, a modularized business operation framework can be constructed according to at least two business operation modules, and then the business operation framework is operated to provide corresponding business application services for upper-layer business applications.

[0042] By using the present application, a description file for constructing a business operation framework with basic units can be obtained. According to the description file, data abstraction processing is performed on the interface and attributes of the business operation module to obtain at least two business operation modules supporting different businesses. According to the at least two business operation modules, the business operation framework is obtained, thereby improving the compatibility and universality of the service.

[0043] In one implementation, the description file includes: description information for characterizing interfaces and properties of the service operation modules; and / or description information for characterizing orchestration and coordination mechanisms implemented between the service operation modules.

[0044] In one example, it may include: 1) description information for characterizing the interface and attributes of the business operation module; 2) description information for characterizing the orchestration and coordination mechanism implemented between the business operation modules. Based on the above 1) and 2), based on the description, orchestration and coordination mechanism for the interface and attributes of simple services or component modules (such as business operation modules) provided by digital cells, various hardware devices (such as Internet of Things devices) and software modules supporting upper-level business applications can communicate and collaborate with each other with a high degree of freedom, thereby building a complete business operation framework to support the services of the upper-level business applications. Through this digital cell mechanism, the hardware devices and software modules are abstracted, making them independent of the underlying implementation of the hardware devices and software modules, and can span multiple communication methods and protocols, with good compatibility and universality, and faster business processing speed.

[0045] In one implementation, the service operation module includes: at least one interface and attributes, and the service operation module supports access to one input terminal and access to at least one output terminal.

[0046] In one example, a business operation module can do only one thing, such as only executing data structure conversion, format conversion of a certain type of image, face recognition of input images, etc. A business operation module can have at most one input data (the input data, the input data type, can be a basic type or a custom complex type), and can have multiple output data (the output data can output multiple types of data, which can be a basic type or a custom complex type). A business operation module can have multiple interfaces and multiple attributes, among which read-only attributes can be used to describe the attributes of the business operation module, which can contain fixed content such as the name, version, and organization information of the business operation module; read-write attributes can provide configuration capabilities for the business operation module, and writing and modifying the configuration will affect some operating modes of the business operation module. Since a business operation module can do only one thing, multiple business operation modules can be arbitrarily combined according to design requirements to obtain the desired business operation framework, avoiding deviations in the development process, and improving the success rate of testing and test verification, so that the final generated business operation framework meets the expected design requirements, can well support the services of upper-level business applications, and has good compatibility and universality of services.

[0047] In one embodiment, the business operation framework is obtained according to the at least two business operation modules, including: using a message queue as a connection component for data exchange, connecting the at least two business operation modules according to the message queue to obtain the business operation framework. For example, at least one of the three connection interaction modes (method, event, transmission) can be provided through the message queue to connect at least two business operation modules. Since a variety of flexible connection interaction modes are provided, they can be arbitrarily combined according to design requirements, making the communication mode between business operation modules more flexible, and the compatibility and universality of services are good.

[0048] In one embodiment, the method further includes: establishing a communication collaboration channel between the at least two business operation modules through the message queue; and performing interaction processing between the at least two business operation modules according to the communication collaboration channel. Since the communication collaboration channel can be established through the message queue, and the message queue can also provide a variety of flexible connection and interaction methods, the communication method between the business operation modules is more flexible, and the service compatibility and universality are good.

[0049] In one embodiment, it also includes: reading the description file, parsing the description information of the orchestration and coordination mechanism between the business operation modules from the description file, and according to the description information of the orchestration and coordination mechanism between the business operation modules, combining components to indicate the operation mode of the business operation modules in the business operation framework, driving the business operation modules to perform orchestration and coordination processing, and obtaining operation results. Provide corresponding business application services for upper-level business applications according to the operation results. Since after reading the description file, the framework can also be combined with components to run to provide services, the constructed business operation framework is more flexible and diversified, and the service compatibility and universality are good.

[0050] Application examples:

[0051] The processing flow of the first embodiment of the present application includes the following contents:

[0052] The interface and attributes of the business operation module are described based on the description file of the digital cell, and the orchestration and coordination between the business operation modules can also be realized based on the description file of the digital cell. Among them, the design principle of the digital cell is to decompose a complex system into independent business operation modules in the form of the smallest functional unit, that is: define the business operation modules that implement different business functions through standardized and structured capability descriptions, use MQ as the core link for data exchange, and build a complete business operation framework based on multiple business operation modules. It can also be combined with flexible and efficient runtime libraries, services and development tools. Taking the business application as an Internet of Things application as an example, the development and deployment costs of the business operation framework that provides services for the Internet of Things application can be greatly reduced. The service has good compatibility and universality, which can achieve sustainable development of the business.

[0053] 1. Digital cells can be referred to as dCells. The design principles of dCells include the following:

[0054] Simplified operation unit;

[0055] Efficient and lightweight runtime framework;

[0056] Stable operation and fast restart;

[0057] In the following, Cell is used to represent the business operation module, and Cell is the smallest operation unit of the system.

[0058] Figure 2 is a schematic diagram of a business operation module in an application example according to an embodiment of the present application, such as Figure 2 As shown in the figure, a unit can do only one thing, such as a certain data structure conversion, a certain type of image format conversion, face recognition of input images, etc. A unit has at most one input data, a unit can have multiple output data, and a unit has multiple attributes, among which the read-only attribute (readonly) describes the unit, and the read-write attribute (readwrite) provides configuration capabilities.

[0059] Among them, each business operation module can present the following four types of content:

[0060] 1. Cell capability

[0061] A standard interface is used to obtain self-describing content written in the language defined by the business operation module.

[0062] 2. Property

[0063] Attributes are divided into read-only attributes and read-write attributes. Read-only attributes generally contain fixed content such as the name, version, and organization information of the business operation module. Read-write attributes are configuration functions of the business operation module. Writing and modifying them will affect some operating modes of the business operation module.

[0064] 3. Input

[0065] The input data type of the business operation module can be a basic type or a custom complex type.

[0066] 4. Output

[0067] The business operation module can output multiple types of data, which can be basic types or custom complex types.

[0068] 2. Life cycle of core components and cells

[0069] dCell covers the entire life cycle management from the abstraction, definition, implementation to application generation of business operation modules. Figure 3 is a schematic diagram of a service operation module life cycle in an application example according to an embodiment of the present application, such as Figure 3 As shown, dCell has three core components: dCell definition language, dCell development tools, and dCell runtime framework.

[0070] 1. dCell Definition Language

[0071] The above four types of content descriptions and service orchestration descriptions of the business operation module are described through a complete set of standardized languages. The definition language adopts a lightweight language based on Java-described object representation language (JSON, JavaScript Object Notation). JSON is an open standard data exchange format based on a subset of JavaScript syntax, which is easy for developers to define and read.

[0072] The dCell definition language provides a variety of primitive schemas for describing the types of data in the unit and service orchestration and serializing / deserializing the actual operation; it also supports custom complex type schemas to achieve the purpose of simplification and reuse. Multiple units are orchestrated and coordinated through components, so that they can be run through the operation framework. The business operation modules defined by the dCell definition language can be managed independently or in a unified unit warehouse, so as to achieve data sharing and interaction.

[0073] 2. dCell Development Tools

[0074] dCell development tools can include three parts: SDK, code generation, and orchestration tools.

[0075] As for SDK, SDK provides basic data conversion and protocol interaction to isolate the basic capabilities of business logic and framework, so that developers only need to complete the capabilities in the code pile. SDK can participate in compilation / running, and can directly call SDK to implement a complete business operation module, or use code generation tools to implement the business operation module.

[0076] As far as code generation is concerned, developers can implement the business operation module defined by the dCell definition language based on the code generation. This process can be completed and verified entirely by the developer, but this may often result in inconsistencies in the final implemented units due to differences in understanding, development language, etc., and ultimately cause the entire system to fail to work properly after being combined. In order to standardize this process, a complete development tool will help developers complete the conversion and generation from business operation module definition to development language, as well as the ability to automatically verify the implemented business operation module after development, reducing the aforementioned problems and significantly reducing repetitive work.

[0077] The generated code supports many popular languages, such as C++, Golang, Python, Java, etc. The generation tool includes a code generator and a unit verification tool.

[0078] Based on SDK, capability generation can also be completed in the code pile. The code pile can contain four types of unit content: 1) Standard unit capability interface, which returns the self-description definition; 2) Read-only attributes and read-write attributes will generate corresponding framework code, return the corresponding attributes or obtain the passed-in attributes to change the running state of the unit; 3) Generate the corresponding framework code for memory calls, network remote calls or event responses; 4) For the results of the event response class, provide an interface function for writing to the specified topic of the message queue, and the user only needs to call it directly to output the results to the message queue.

[0079] As for the orchestration tool, the orchestration of services can be completed by directly writing the orchestration file (.json), but this method is not intuitive enough, and it is not easy to find errors in complex applications. For this reason, the development tool will provide a graphical one. The graphical orchestration tool is developed based on Node-RED, and the drag-and-drop method greatly reduces the difficulty of orchestration.

[0080] The SDK, code generation, and orchestration tools mentioned above can be used independently, or they can be integrated through the IDE's integration function. They will be integrated into Visual Studio Code in the form of plug-ins to provide a more user-friendly development interface.

[0081] 3. dCell operating framework

[0082] Figure 4 is a schematic diagram of a business operation framework in an application example according to an embodiment of the present application, such as Figure 4 As shown, the business application composed of the business operation module described in the dCell definition language can be operated according to the orchestration description through the business operation framework after the corresponding business operation module is implemented. During operation, the business operation framework can read the corresponding description file (such as the description information of the orchestration and coordination mechanism between the business operation modules), and then drive all the business operation modules in the entire application to operate according to the orchestration / coordination. Among them, three connection interaction methods (such as method, event, and transmission) can be provided to connect various business operation modules. The business operation framework provided by the SDK (which can be language-independent) can call the interface of the business operation module, and can rely on the built-in MQ (such as using the efficient and lightweight RabbitMQ) to connect for data exchange between various business operation modules. Among them, for RabbitMQ, RabbitMQ can be a message component (or open source message middleware), which is an open source implementation of the evolved message queue protocol (AMQP, Advanced Message Queue), wherein AMQP is an application layer standard advanced message queue protocol that provides unified message services. As an open standard of the application layer protocol, it can be designed for message-oriented middleware. Through AMQP, messages can be transmitted between clients and message middleware without being restricted by different client / middleware products, different development languages, etc., making full-function interoperability between AMQP-compliant client applications and message middleware servers possible, and solving message communication between different components, modules, and systems.

[0083] 3. Stable operation and fast restart

[0084] Programs running on a single device do not require high-availability technologies like cloud services to ensure their stability, but programs need to undergo long-term testing to ensure stable operation in order to meet the operating requirements of common embedded devices. For stable operation, the above business operation framework also needs to be able to quickly reset by restarting in the event of an unrecoverable exception (wherein, a quick restart can allow for the loss of some data), mainly to be able to quickly return to normal working conditions.

[0085] This application example standardizes the functions of services or modules through abstract definitions, and provides self-description capabilities for services or modules in the form of standard interfaces. Services and modules that meet the standards can be freely combined and orchestrated under the business operation framework. At the same time, corresponding tools can also realize framework code generation, visual orchestration and automated testing capabilities.

[0086] According to an embodiment of the present application, a service processing device is provided. Figure 5 is a schematic diagram of the structure of a service processing device according to an embodiment of the present application. Figure 5 As shown, it includes: an acquisition module 41, which is used to acquire a description file for constructing a business operation framework with basic units; an abstract processing module 42, which is used to perform data abstraction processing on the interface and attributes of the business operation module according to the description file, and obtain at least two business operation modules supporting different businesses; a framework generation module 43, which is used to obtain the business operation framework according to the at least two business operation modules.

[0087] In one implementation, the description file includes: description information for characterizing interfaces and properties of the service operation modules; and / or description information for characterizing orchestration and coordination mechanisms implemented between the service operation modules.

[0088] In one implementation, the service operation module includes: at least one interface and attributes; the service operation module supports access to one input terminal and access to at least one output terminal.

[0089] In one implementation, the framework generation module is configured to use a message queue as a connection component for data exchange, connect the at least two business operation modules according to the message queue, and obtain the business operation framework.

[0090] In one embodiment, it also includes an interaction processing module, which is used to establish a communication collaboration channel between the at least two business operation modules through the message queue; and perform interaction processing between the at least two business operation modules according to the communication collaboration channel.

[0091] In one embodiment, it also includes a framework operation module, which is used to read the description file and parse out the description information of the orchestration and coordination mechanism implemented between the business operation modules from the description file; based on the description information of the orchestration and coordination mechanism implemented between the business operation modules, combined with the components to indicate the operation mode of the business operation module in the business operation framework, drive the business operation modules to perform orchestration and coordination processing to obtain operation results; and provide corresponding business application services for the upper-level business applications based on the operation results.

[0092] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0093] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.

[0094] like Figure 6 , is a block diagram of an electronic device for implementing the business processing method of an embodiment of the present application. The electronic device can be the aforementioned deployment device or proxy device. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present application described and / or required herein.

[0095] like Figure 6 As shown, the electronic device includes: one or more processors 801, memory 802, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 801 is taken as an example.

[0096] The memory 802 is a non-transient computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the business processing method provided in the present application. The non-transient computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the business processing method provided in the present application.

[0097] The memory 802 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the business processing method in the embodiment of the present application (for example, the attached Figure 5 The processor 801 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 802, that is, the business processing method in the above method embodiment is implemented.

[0098] The memory 802 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 802 may optionally include a memory remotely arranged relative to the processor 801, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0099] The electronic device of the service processing method may further include: an input device 803 and an output device 804. The processor 801, the memory 802, the input device 803 and the output device 804 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0100] The input device 803 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 804 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0101] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0102] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0103] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0104] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0105] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server may also be a server of a distributed system, or a server combined with a blockchain.

[0106] By using the present application, a description file for constructing a business operation framework with basic units can be obtained. According to the description file, data abstraction processing is performed on the interface and attributes of the business operation module to obtain at least two business operation modules supporting different businesses. According to the at least two business operation modules, the business operation framework is obtained, thereby improving the compatibility and universality of the service.

[0107] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0108] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A business processing method, mainly comprising: Obtain a description file for building a business operation framework based on basic units; The description file includes: description information for characterizing the interface and attributes of the service operation module; and / or description information for characterizing the orchestration and coordination mechanism implemented between the service operation modules; According to the description file, data abstraction processing is performed on the interface and attributes of the service operation module to obtain at least two service operation modules supporting different services; the data abstraction processing includes abstracting the service operation module into a service operation module with fixed type interface and attributes; The service operation framework is obtained according to the at least two service operation modules.

2. The method according to claim 1, wherein: The business operation module includes: at least one interface and attributes; The service operation module supports access to one input terminal and access to at least one output terminal.

3. The method according to any one of claims 1 to 2, wherein: The obtaining the service operation framework according to the at least two service operation modules includes: The message queue is used as a connection component for data exchange, and the at least two service operation modules are connected according to the message queue to obtain the service operation framework.

4. The method according to claim 3, further comprising: Establishing a communication collaboration channel between the at least two business operation modules through the message queue; According to the communication collaboration channel, interactive processing is performed between the at least two service operation modules.

5. The method according to any one of claims 1 to 2, further comprising: Read the description file, and parse the description information of the orchestration and coordination mechanism between the business operation modules from the description file; According to the description information of the orchestration and coordination mechanism between the business operation modules, the operation mode of the business operation module in the business operation framework is indicated in combination with the components, and the orchestration and coordination processing is driven between the business operation modules to obtain the operation result; Provide corresponding business application services for upper-layer business applications based on the operation results.

6. A service processing device, comprising: An acquisition module is used to acquire a description file for constructing a business operation framework based on basic units; The description file includes: description information for characterizing the interface and attributes of the service operation module; and / or description information for characterizing the orchestration and coordination mechanism implemented between the service operation modules; An abstract processing module, used to perform data abstraction processing on the interface and attributes of the service operation module according to the description file, so as to obtain at least two service operation modules supporting different services; the data abstraction processing includes abstracting the service operation module into a service operation module with fixed type interface and attributes; The framework generation module is used to obtain the service operation framework according to the at least two service operation modules.

7. The device according to claim 6, wherein: The business operation module includes: at least one interface and attributes; The service operation module supports access to one input terminal and access to at least one output terminal.

8. The device according to any one of claims 6 to 7, wherein: The framework generation module is used to: The message queue is used as a connection component for data exchange, and the at least two service operation modules are connected according to the message queue to obtain the service operation framework.

9. The device according to claim 8, further comprising an interaction processing module, configured to: A communication collaboration channel is established between the at least two business operation modules through the message queue; and interaction processing is performed between the at least two business operation modules according to the communication collaboration channel.

10. The device according to any one of claims 6 to 7, further comprising a framework operation module, configured to: Read the description file, and parse the description information of the orchestration and coordination mechanism between the business operation modules from the description file; According to the description information of the orchestration and coordination mechanism between the business operation modules, the operation mode of the business operation module in the business operation framework is indicated in combination with the components, and the orchestration and coordination processing is driven between the business operation modules to obtain the operation result; Provide corresponding business application services for upper-layer business applications based on the operation results.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 5.

13. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • VNMS for building dynamic application systems

    CN103995692A

  • Event driving-based component method

    CN105808261A