Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Motor vehicle safety detection scheduling method and system based on Redis

A technology of safety detection and scheduling method, which is applied in the direction of vehicle testing, machine/structural component testing, and measuring devices. It can solve problems such as inherent risks, continuous update power not as good as open source systems, and low efficiency, so as to achieve fast queue allocation. , Save the version update and increase the distribution speed

Inactive Publication Date: 2020-12-15
深邦智能科技集团(青岛)有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Defects and deficiencies in the prior art: the message queues of most of the motor vehicle security inspection schedulers are developed based on windows, which has the following congenital and acquired deficiencies: 1. the domestic piracy of Windows system is relatively serious, and it is easy to Cause copyright disputes and large-scale inherent risks; ②The software architecture under windows is also extremely unstable, and the continuous update power is not as good as that of open source systems or frequent services
[0004] In addition, most of the existing motor vehicle safety inspection scheduling programs are all vehicles in one queue, and then the queue is compared one by one, which has high resource usage, complex structure, and low efficiency

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
  • Motor vehicle safety detection scheduling method and system based on Redis
  • Motor vehicle safety detection scheduling method and system based on Redis
  • Motor vehicle safety detection scheduling method and system based on Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] such as Figure 1 As shown, the first embodiment of the present invention provides a vehicle safety detection and scheduling method based on Redis, which is implemented based on linux system and includes the following steps:

[0037] S1, build redis service in linux system to make Linux system support redis service; At the same time, the types and quantities of detection items are determined, and according to the quantity of detection items, a plurality of detection sub-queues corresponding to detection items are set;

[0038] S2, after the motor vehicle logs in and pays the fee, the ID corresponding to the motor vehicle is added into the key-value table through the Redis Rpush command, and the key-value table corresponds to the vehicle queue to be detected;

[0039] S3, the first element in the vehicle queue to be detected is taken out by the Redis Blpop command, and the motor vehicle corresponding to this element is added to a detection sub-queue by the Redis Rpush command...

Embodiment 2

[0049] such as Figure 3 As shown, the second embodiment of the present invention provides a vehicle safety detection and scheduling method based on Redis, which is implemented based on linux system and includes the following steps:

[0050] S1, build redis service in linux system to make Linux system support redis service; At the same time, the types and quantities of detection items are determined, and according to the quantity of detection items, a plurality of detection sub-queues corresponding to detection items are set;

[0051] S2, after the motor vehicle logs in and pays the fee, the ID corresponding to the motor vehicle is added into the key-value table through the Redis Rpush command, and the key-value table corresponds to the vehicle queue to be detected;

[0052] S3, the first element in the vehicle queue to be detected is taken out by the Redis Blpop command, and the motor vehicles corresponding to this element are sequentially added to each detection sub-queue corresp...

Embodiment 3

[0064] such as Figure 1 As shown, Embodiment 3 of the present invention provides a vehicle safety detection and scheduling method based on Redis, which is implemented based on linux system and includes the following steps:

[0065] S1, build redis service in linux system to make Linux system support redis service; At the same time, the types and quantities of detection items are determined, and according to the quantity of detection items, a plurality of detection sub-queues corresponding to detection items are set;

[0066] S2, after the motor vehicle logs in and pays the fee, the ID corresponding to the motor vehicle is added into the key-value table through the Redis Rpush command, and the key-value table corresponds to the vehicle queue to be detected;

[0067] S3, the first element in the vehicle queue to be detected is taken out by the Redis Blpop command, and the motor vehicles corresponding to this element are sequentially added to each detection sub-queue corresponding to...

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 relates to the technical field of motor vehicle detection, in particular to a motor vehicle safety detection scheduling method and system based on Redis, which are implemented based on alinux system, and the method comprises the following steps: S1, establishing a redis service in a Linux system to enable the linux system to support the redis service; determining the types and the number of the detection items, and setting a plurality of detection sub-queues corresponding to the detection items according to the number of the detection items; s2, after the motor vehicle logs in and pays fees, adding an ID corresponding to the motor vehicle into a to-be-detected vehicle queue through a Redis Rpush command; s3, taking out a first element in the vehicle queue to be detected through a Redis Blpop command, and adding the first element into a detection sub-queue through a Redis Rpush command; and S4, enabling each detection instrument to detect the motor vehicle corresponding to the first element in the detection sub-queue according to the information of the corresponding detection sub-queue. According to the invention, a two-stage distribution mode is formed, which is faster and more stable.

Description

Technical field [0001] The invention relates to the technical field of motor vehicle detection, in particular to a vehicle safety detection scheduling method and system based on Redis. technical background [0002] With the increasing popularity of Linux, open source projects are more and more recognized by the state and society, and it has many advantages such as avoiding copyright disputes and hacker attacks based on windows. Redis is an in-memory database based on Linux, which is very fast, rich in data types, widely matched and easy to use. The open source system and services also provide a continuous and strong technical guarantee for subsequent product updates. [0003] Defects and shortcomings of the existing technology: At present, most message queues of motor vehicle security check scheduling programs are developed based on windows, which has the following innate and acquired shortcomings: ① The piracy of Windows system in China is serious, which easily leads to copyrigh...

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): G06Q10/06G01M17/007
CPCG01M17/007G06Q10/06316
Inventor 张泽谦李邵利崔大鹏
Owner 深邦智能科技集团(青岛)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products