Unlock instant, AI-driven research and patent intelligence for your innovation.

A service scheduling method, apparatus, device and storage medium

A business scheduling and business technology, applied in the computer field, can solve problems such as system unavailability, data consistency problems, data read and write operation sequence errors, etc., to achieve the effect of ensuring anti-risk ability, maintaining consistency, and ensuring correctness

Active Publication Date: 2021-05-28
GUANGZHOU HUYA INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the multi-active operation scenario of the system in different places, that is, all the business of the system is distributed in two or more computer rooms for business processing. Due to the instability and delay of the network, as well as the uncontrollability of user access, it is easy to cause data loss. The sequence of read and write operations is wrong, which will cause data consistency problems and further affect the entire business logic
[0003] There are usually two solutions: one is to use a single write point to write the business data corresponding to the business into a computer room, which can maintain data consistency and access is more efficient, but the anti-risk ability is weak. When writing When the node is unavailable, the entire system will be unavailable; the second is to adopt the multi-regional strong consistency scheme. Among them, the multi-regional strong consistency scheme is a read-write separation mechanism across the computer room. All write operations are directed to a computer room. Operations can be performed in the secondary database of each computer room, or can be bound to the main computer room, which can maintain data consistency and have better anti-risk capabilities, but the performance will be greatly reduced and become a system bottleneck

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
  • A service scheduling method, apparatus, device and storage medium
  • A service scheduling method, apparatus, device and storage medium
  • A service scheduling method, apparatus, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Figure 1A It is a flow chart of a service scheduling method provided in Embodiment 1 of the present invention, Figure 1B It is a schematic diagram of a multi-machine room deployment provided by Embodiment 1 of the present invention.

[0046] This embodiment is applicable to the situation of multi-active in different places, and the multi-active in different places is realized by deploying multiple computer rooms, that is, two or more computer rooms are used to deploy services. Specifically, the business is extended to multiple computer rooms. When a computer room fails, other computer rooms can still continue normal business processing, thereby avoiding failures at the entire business system level and achieving natural expansion and high availability. However, the deployment of multiple computer rooms will cause data consistency problems due to network instability and delay, as well as uncontrollable user access. Specifically, the business is generally extended to mu...

Embodiment 2

[0072] figure 2 It is a flow chart of a service scheduling method provided by Embodiment 2 of the present invention.

[0073] This embodiment is refined on the basis of the above embodiments, and the target computer room corresponding to the business order is determined by using the order identification number. Refer to figure 2 , the business scheduling method specifically includes the following steps:

[0074] S210. Receive a processing request of the service order.

[0075] S220. Obtain the order identification number of the business order according to the processing request, where the order identification number is generated when the business order is processed for the first time.

[0076] In this embodiment, the order identification number is used to uniquely identify the business order. Specifically, carrying the order identification number in the processing request can uniquely identify the business order. Further, all business data of the business order can be ob...

Embodiment 3

[0101] image 3 It is a schematic structural diagram of a service scheduling device provided by Embodiment 3 of the present invention.

[0102] This embodiment is applicable to multi-active in different places. Multi-active in different places is implemented by deploying multiple computer rooms. Specifically, the business is extended to multiple computer rooms. When a computer room fails, other computer rooms can still continue normal business processing , so as to avoid failures at the entire business system level and achieve natural expansion and high availability technical effects. However, the deployment of multiple computer rooms will cause data consistency problems due to network instability and delay, as well as uncontrollable user access. Specifically, the service is extended to multiple computer rooms, and when the service is processed, the cooperation of multiple computer rooms is required to complete the service. Furthermore, the business data generated by the bus...

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 business scheduling method, device, equipment and storage medium. The method receives a processing request of a business order; responds to the processing request, determines the candidate computer room that has processed the business order as the target computer room; dispatches the business order to the target computer room for business processing; according to the business The result of the processing updates the business data for the business order, wherein each of the candidate computer rooms stores the business data, thereby solving the problem of weak anti-risk ability due to a single write point, and also solving the problem of The problem of strong consistency in multiple places will be greatly reduced. On the premise of maintaining the consistency of business data, the technical effect of ensuring the anti-risk capability of business data and increasing the performance of business processing is realized.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a service scheduling method, device, equipment and storage medium. Background technique [0002] In the multi-active operation scenario of the system in different places, that is, all the business of the system is distributed in two or more computer rooms for business processing. Due to the instability and delay of the network, as well as the uncontrollability of user access, it is easy to cause data loss. The wrong sequence of read and write operations will cause data consistency problems and further affect the entire business logic. [0003] There are usually two solutions: one is to use a single write point to write the business data corresponding to the business into a computer room, which can maintain data consistency and access is more efficient, but the anti-risk ability is weak. When writing When the node is unavailable, the entire system...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06Q10/06
CPCG06Q10/0631
Inventor 吴文宜刘汉林
Owner GUANGZHOU HUYA INFORMATION TECH CO LTD