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

Message queue-based message distribution method, access control system and storage medium

A technology of message distribution and message queuing, applied in transmission systems, inter-program communication, instruments, etc., can solve problems such as eye fatigue, users cannot view event information, and many event messages, so as to ensure real-time push, improve viewing experience, The effect of improving management efficiency

Pending Publication Date: 2021-12-24
RALID INFORMATION SYST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In actual usage scenarios, different operators generally only need to monitor the devices they are personally responsible for managing, and the devices managed by other operators do not need to be bothered; however, the message push in the existing message queue can only push messages synchronously, that is, all devices The event messages are pushed to all clients, so that the clients receive too many event messages and cannot filter the event messages, which increases the difficulty of operator management
At the same time, the update frequency of the interface events displayed on the existing client corresponds to the frequency of message push, so that the client interface events are refreshed too quickly and the user cannot view the event information, and the refresh frequency is too fast, which will easily cause eye fatigue and affect the user's view. to experience

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
  • Message queue-based message distribution method, access control system and storage medium
  • Message queue-based message distribution method, access control system and storage medium
  • Message queue-based message distribution method, access control system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This embodiment provides a method for distributing messages based on message queues, such as figure 1 shown, including:

[0038] Step S1: Receive the event message pushed by the website in real time and store it in the event service queue, and format the event message;

[0039] Step S2: read the event message from the event service queue, and distribute the event message to one or more clients subscribing to the same event service queue for display according to the preset distribution rule; the distribution rule is based on the event Push frequency, event classification and / or event prioritization generation.

[0040] In this embodiment, one or more devices are networked in advance, and after the devices are networked, the device status information of each device is collected through a website, that is, the website is used to send a request to obtain the device status to all networked devices, and each device receives the request Afterwards, the device status informat...

Embodiment 2

[0047] This embodiment provides an access control system. The access control system implements the message distribution method based on the message queue described in Embodiment 1, and can distribute high-priority event information such as alarm events and alarm elimination events to corresponding clients for further processing. show. Such as figure 2 , image 3 As shown, the access control system of this embodiment mainly includes a hardware layer, a service layer and a client layer; the hardware layer is equivalent to hardware devices such as smart door locks that can trigger alarms in the access control system, and is used for storing and pushing event messages in real time ; The service layer is used to store the event message pushed by the hardware layer into the event service queue, and format it, and then format the message read from the event service queue according to the preset distribution rule. The processed event messages are distributed to designated clients. ...

Embodiment 3

[0049] This embodiment provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the first embodiment is implemented. The method for distributing messages based on message queues; in addition, this embodiment also provides a storage medium on which a computer program is stored, and when the computer program is executed, the above method for distributing messages based on message queues is implemented.

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 invention discloses a message queue-based message distribution method, an access control system and a storage medium, and the message distribution method comprises the following steps: receiving an event message pushed by a website side in real time, storing the event message into an event service queue, and formatting the event message; reading the formatted event messages from the event service queue, and distributing the event messages to one or more clients subscribing the same event service queue according to a preset distribution rule for display; the distribution rule is generated according to event pushing frequency, event classification and / or event priority. According to the invention, one-end sending and multi-end access and receiving of event messages at any time according to requirements can be realized, and the user experience is improved.

Description

technical field [0001] The invention relates to the data processing field of an access control system, in particular to a message distribution method and system based on a message queue. Background technique [0002] At present, after the access control system is connected to multiple clients, if real-time message push is to be realized, the existing method is to allow all clients to subscribe to the same message queue, and then the messages in the message queue can be synchronously pushed to all clients . In actual usage scenarios, different operators generally only need to monitor the devices they are personally responsible for managing, and the devices managed by other operators do not need to be bothered; however, the message push in the existing message queue can only push messages synchronously, that is, all devices Event messages are pushed to all clients, so that the clients receive too many event messages and cannot filter the event messages, which increases the di...

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 Applications(China)
IPC IPC(8): H04L29/08G07C9/00G06F9/54
CPCH04L67/1095G07C9/00G06F9/546G06F9/542H04L67/55Y02P90/02
Inventor 何猛莫明锋陈荣简智君李锦华郭军胡运龙胡远航李大乐
Owner RALID INFORMATION SYST