Check patentability & draft patents in minutes with Patsnap Eureka AI!

Service configuration method, device and server and storage medium

A configuration method and service container technology, applied in the computer field, can solve the problems of unclear splitting of each link, high coupling degree, complex and diverse process combination, etc.

Inactive Publication Date: 2017-07-28
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Important and complex systems in Internet applications have many process links. For example, the order process involves multiple processes such as risk control, review, order placement, and payment. With the complexity and diversification of business scenarios, the combination of these processes will be more complex and diverse
[0003] In the existing technology, the processes of multiple business scenarios are coupled together. If a problem occurs in one scenario, it will affect all other scenarios. The coupling degree of each business scenario is high. Once a new business scenario or process link is added, the original code needs to be modified. It is easy to introduce new bugs; the code reuse rate is low. Once new business scenarios or process links are added, new service nodes need to be added; the division of each link is not clear, and it is difficult to immediately locate which link is wrong when a problem occurs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service configuration method, device and server and storage medium
  • Service configuration method, device and server and storage medium
  • Service configuration method, device and server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flowchart of the service configuration method provided in the first embodiment of the present invention. This embodiment is applicable to the case of performing service configuration on an application program. The method can be executed by a computing device such as a server computer, such as figure 1 As shown, the specific solution provided by this embodiment is as follows:

[0028] S101. Receive a service process change instruction entered by a user, generate a zookeeper node according to the change instruction, and store it in the zookeeper and a database.

[0029] In this embodiment, zookeeper is a distributed, open source distributed application coordination service, and is an important component of Hadoop and Hbase. It is a software that provides consistent services for distributed applications. The functions provided include: configuration maintenance, domain name services, distributed synchronization, group services, etc.

[0030] In this embodiment, t...

Embodiment 2

[0039] figure 2 It is a flowchart of the service configuration method provided in the second embodiment of the present invention. Based on the above-mentioned embodiment 1, optionally, the receiving a service process change instruction entered by a user and generating a zookeeper node according to the change instruction includes:

[0040] Receive the name of the service process entered by the user and the name and input format of each service link in the service process, and generate a zookeeper node according to the name of the service process and the name and input format of each service link in the service process.

[0041] As a result, the service process is abstracted, modularized, and configurable.

[0042] Based on the above optimization, such as figure 2 As shown, the technical solution provided by this embodiment is specifically as follows:

[0043] S201. Receive the name of the service process entered by the user and the name and input format of each service link in the ser...

Embodiment 3

[0070] Figure 3A It is a flowchart of the service configuration method provided in the third embodiment of the present invention. Based on the above embodiment, optionally, before the receiving the service process change instruction entered by the user, the method further includes:

[0071] Configure and start the engine front-end interface and engine execution module.

[0072] Based on the above optimization, such as Figure 3A As shown, the technical solution provided by this embodiment is specifically as follows:

[0073] S301. Configure and start the engine front-end interface and the engine execution module.

[0074] Such as Figure 3B As shown, Figure 3B It is the architecture diagram of the service configuration method provided in the third embodiment of the present invention, in which, when the front-end interface of the engine is started, the received xml service process change instruction is stored in zookeeper and DB database; the engine execution module includes one or mo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a service configuration method, device and server and a storage medium. The method comprises the steps that the service process change instructions entered by a user are received, zookeeper nodes are generated according to the change instructions and are stored in zookeeper and a database; a service container is refreshed, the zookeeper nodes are loaded to the service container; after the zookeeper node is loaded completely, the operation instructions are executed according to the process logic in the service container. According to the scheme, the dynamic monitoring and dynamic loads of each process and link in the application process are achieved, and the links do not affect each other and can be dynamically changed.

Description

Technical field [0001] The embodiments of the present invention relate to computer technology, in particular to a service configuration method, device, server, and storage medium. Background technique [0002] Important complex systems in Internet applications have many process links. For example, the ordering process involves multiple processes such as risk control, review, order placement, and payment. As business scenarios become more complex and diversified, the combination of these processes It will be more complex and diverse. [0003] In the prior art, the processes of multiple business scenarios are coupled together. A problem in one scenario will affect all other scenarios; the coupling degree of each business scenario is high. Once a business scenario or process link is added, the original code needs to be modified. It is easy to introduce new bugs; the code reuse rate is low. Once new business scenarios or process links are added, service nodes need to be added; the spl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445
Inventor 魏阔王枫
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More