摘要
为解决现有技术存在的无法按照优先级处理订单的问题,设计一个基于消息优先级队列的分布式交换网元调用系统。增添消息队列topic个数并且赋予每个消息队列topic优先级属性,然后按照高优先级的消息队列topic优先消费来将处理订单的顺序重新排列。通过Json微服务调用工单拆分模块,将优先级高的订单分配到优先级高的消息队列中,然后工单调度系统按照高优先级队列优先处理原则进行工单的调度,最后高优先级的订单会优先执行工单激活模块。本技术可以简化业务逻辑,提高系统效率,保证多主机多节点同时工作,起到负载均衡和自动切换的作用。
Distributed message queue storage of data is an existing general solution, but there is a defect that emergency services are difficult to be processed as priority. The purpose of this research is to provide a system for invoking distributed switching net elements based on message priority queues to solve the problem of the prior art that cannot process orders according to priority by increasing the number of message queue topics and calling the Json microservice ticket splitting module. The system can simplify business logic, improve system efficiency, and ensure that multiple hosts and multiple nodes work at the same time. It plays the role of load balancing and automatic switching.
作者
胡佳
HU Jia(China United Network Communications Group Co.,Ltd.Guangdong Branch,Guangzhou 510000,Guangdong)
出处
《电脑与电信》
2021年第11期44-48,共5页
Computer & Telecommunication