CN112003956B - Traffic management system - Google Patents

Traffic management system Download PDF

Info

Publication number
CN112003956B
CN112003956B CN202011167247.4A CN202011167247A CN112003956B CN 112003956 B CN112003956 B CN 112003956B CN 202011167247 A CN202011167247 A CN 202011167247A CN 112003956 B CN112003956 B CN 112003956B
Authority
CN
China
Prior art keywords
picture
data center
data
traffic management
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011167247.4A
Other languages
Chinese (zh)
Other versions
CN112003956A (en
Inventor
蒋远发
罗伦文
谭军胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhongke Tongda High New Technology Co Ltd
Original Assignee
Wuhan Zhongke Tongda High New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhongke Tongda High New Technology Co Ltd filed Critical Wuhan Zhongke Tongda High New Technology Co Ltd
Priority to CN202011167247.4A priority Critical patent/CN112003956B/en
Publication of CN112003956A publication Critical patent/CN112003956A/en
Application granted granted Critical
Publication of CN112003956B publication Critical patent/CN112003956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the application relates to the field of traffic management, and provides a traffic management system which comprises front-end equipment, a first data center, a second data center, a service server and the like, wherein the front-end equipment is used for acquiring and caching traffic management pictures, then sending the traffic management pictures to the first data center, and sending local storage paths corresponding to the traffic management pictures to the second data center; the first data center is used for storing and providing data service for the business server based on the traffic management picture; the second data center is used for storing and providing data service to the service server based on the local storage path; the business server is used for providing business services based on the data services. The application of the traffic management system enables the picture data to be backed up in a text form, reduces the storage pressure of the system on the premise of not influencing the normal operation of the system, and improves the reliability of the system.

Description

Traffic management system
Technical Field
The embodiment of the application relates to the traffic control field, in particular to a traffic control system.
Background
At present, a service system may perform offline data backup and may also perform primary and standby database synchronization, and when a database fails, the database can be restored to ensure continuous service, but the restoration may be interrupted briefly, and the restoration progress is also determined by the severity of the failure, which is slow for several hours or a day, or even longer. The synchronous data backup mode of the main database and the standby database requires a system to provide two data machine rooms with equivalent storage capacity, but in the traffic management service, the quantity cardinality of various pictures such as vehicle passing pictures or illegal pictures is very large, the adoption of the main and standby mode can cause huge storage resource purchasing cost, meanwhile, the data volume is very large, tens of millions of bayonet pictures can be generated every day, and the pictures are generated uninterruptedly every moment like flowing water, so that the real-time backup between the main database and the standby database is difficult to realize.
In the process of research and practice of the prior art, the inventors of the embodiments of the present application find that the current traffic management system may have a large impact on some important provincial traffic management units, which need to store a provincial range of traffic management pictures, and have a greater requirement on storage resources.
Therefore, the existing traffic management system has the problem of occupying a large storage space, and needs to be improved.
Disclosure of Invention
The embodiment of the application provides a traffic management system, which is used for solving the technical problem that the existing traffic management system occupies a large storage space.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
the application provides a traffic management system, which comprises front-end equipment, a first data center, a second data center and a service server; wherein:
the front-end equipment is used for acquiring and caching a traffic management picture, sending the traffic management picture to the first data center, and sending a local storage path corresponding to the traffic management picture to the second data center;
the first data center is used for storing and providing data service for the business server based on the traffic management picture;
the second data center is used for storing and providing data services to the business server based on the local storage path;
the business server provides business services based on the data services.
Has the advantages that: the application provides a traffic management system, the traffic management system includes front end equipment, first data center, second data center and service server. In the traffic management system, front-end equipment is used for acquiring and caching traffic management pictures, then sending the traffic management pictures to a first data center so that the first data center stores and provides data services to a service server based on the traffic management pictures, and sending a local storage path of the traffic management pictures to a second data center so that the second data center is used for storing and providing data services to the service server based on the local storage path, and the service server provides corresponding service services based on the data services; through the traffic management system, an asymmetric storage architecture is realized, the dependency between two data centers is reduced, the risk bearing capacity of the whole traffic management system is improved, most importantly, the storage pressure of the system is reduced, and the storage space of the system is effectively saved. In addition, the front-end equipment in the traffic management system can regularly carry out data cleaning on the traffic management picture stored in the front-end equipment according to the acquired cleaning period, so that the storage pressure of the front-end equipment can be reduced, and the utilization rate of the front-end equipment can be improved.
Drawings
The technical solutions and other advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a scene schematic diagram of a traffic management system according to an embodiment of the present application.
Fig. 2 is a schematic view of a work flow of a traffic management system according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a first data center provided in an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a second data center provided in an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a traffic management system data management device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a front-end device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below in a clear and complete manner with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the present application, the traffic management data refers to data, such as vehicle information, driver information, pedestrian information, and operation parameters of vehicles and pedestrians, in a monitoring location, which are captured by an acquisition module in a front-end device, and is usually visual data, such as videos or images, where the vehicle information may include brands, models, colors, driving speeds, license plate number information, and the like of the vehicles, the driver information may include sexes, dresses, hairstyles, and the like of the drivers, and the pedestrian information may include sexes, heights, dresses, hairstyles, and the like of the pedestrians.
In the embodiment of the present application, the traffic management picture includes, but is not limited to, a bayonet picture, an illegal picture, and the like.
In the embodiment of the present application, the data service may refer to operations of storing, deleting, modifying, marking, analyzing, and the like, on data.
The embodiment of the application provides a traffic management system.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a traffic management system according to an embodiment of the present application, where the system may include terminals and servers, and the terminals, the servers, and the terminals and the servers are connected and communicated through internet composed of various gateways, and the like, where the application scenario includes a front-end device 101, a first data center 102, a second data center 103, a service server 104, and a configuration server 105, where:
the front-end apparatus 101 may include video and image capturing apparatuses and the like provided at respective checkpoints.
The first data center 102 and the second data center 103 may be independent servers, or may be a server network or a server cluster formed by servers; for example, the first data center 102 and the second data center 103 described in the embodiments of the present application include, but are not limited to, computers, network hosts, database servers, large data server clusters, storage servers, and Cloud servers formed by application servers or multiple servers, where the Cloud servers are formed by a large number of computers or network servers based on Cloud Computing (Cloud Computing).
In the embodiment of the application, since the storage space occupied by the picture data is large, the first data center 102 with a large storage space is used for storing the picture; since the storage space occupied by the text data is small, the second data center 103 having a small storage space is used to store the local storage path of the picture. The storage mode greatly reduces the storage pressure of the system and improves the usability of the system.
In the embodiment of the present application, the server and the front end may implement communication through any communication manner, including but not limited to mobile communication based on the third Generation Partnership Project (3 GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP), and the like. As shown in the traffic management system in fig. 1, the front-end device 101 may respectively interact with the first data center 102, the second data center 103, and the configuration server 105, and the first data center 102 and the second data center 103 respectively interact with the service server 104, where:
the method comprises the steps that front-end equipment 101 firstly collects traffic management pictures of the equipment, wherein the traffic management pictures comprise at least one of bayonet pictures and illegal pictures, the collected traffic management pictures are stored in the front-end equipment 101, and local storage paths corresponding to the traffic management pictures are generated; then, the configuration server 105 configures a picture communication address and a path communication address of a corresponding local storage path for the traffic management picture stored in the front-end device; then, the front-end device uploads the traffic management picture to the first data center 102 for storage based on the picture communication address, so that the first data center 102 can provide data service based on the traffic management picture, and meanwhile, the front-end device uploads the local storage path of the traffic management picture to the second data center 103 for storage based on the path communication address, so that the second data center 103 can provide data service based on the local storage path. Because the storage path belongs to text information, the difference between the size of the text information and the size of the picture information is very large, and the difference can generally reach the ratio of 1 to 1000, and therefore compared with the prior art, the storage space is greatly saved by the storage mode.
When the first data center 102 fails to operate normally, the communication between the front-end device 101 and the first data center 102 is interrupted, at this time, the front-end device 101 does not receive a picture uploading response returned by the first data center 102, and the front-end device 101 marks a traffic management picture which does not receive the picture uploading response as an abnormal picture; after the failure is resolved and the first data center 102 resumes operating, the front-end device 101 will take the abnormal picture as a picture to be uploaded, and resend the picture uploading request to the first data center 102, the first data center 102 receives the picture uploading request, stores the received picture, and sends the abnormal picture uploading response to the front-end device 101 at the same time, and the front-end device 101 receives the picture uploading response of the abnormal picture and marks it as an uploaded picture, so that the abnormal picture will not occupy the storage space of the first data center 102 because of being repeatedly uploaded. In addition, when the first data center 102 fails, the service server 104 cannot send a service request to the first data center 102, so that the service server 104 sends the service request to the second data center 103, requests to call and analyze the traffic management picture corresponding to the local storage path stored therein, and after receiving the service request, the second data center 103 performs corresponding operation and sends a processing result to the service server 104.
When the second data center 103 fails to operate, the first data center 102 still operates normally, but at this time, an upload failure occurs in a local storage path uploaded to the second data center 103 by the front-end device 101, in this case, the front-end device 101 does not receive a path upload response sent by the second data center 103, and at this time, the front-end device 101 marks the local storage path that does not receive the path upload response as an abnormal path; after the failure is resolved and the second data center 103 resumes operation, the front-end device 101 may receive a path upload response again at a certain time, at this time, the front-end device 101 may use the abnormal path as a path to be uploaded and upload the abnormal path to the second data center 103, and after the upload is successful, the front-end device 101 may receive the path upload response of the abnormal path and mark the path upload response as an uploaded path, so that the local storage path may not occupy the storage space of the second data center 103 because of being repeatedly uploaded. In addition, when the second data center 103 fails, the service server 104 cannot send a service request to the second data center 103, so that the service server 104 sends the service request to the first data center 102, requests to call and analyze the traffic management picture stored therein, and after receiving the service request, the first data center 102 performs a corresponding operation and sends a processing result to the service server 104.
It should be noted that the system scenario diagram shown in fig. 1 is only an example, and the server and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a schematic view of a work flow of a traffic management system according to an embodiment of the present application, which includes:
201: the front-end device 101 collects the traffic management picture, caches the collected traffic management picture, and generates a storage path of the traffic management picture.
In one embodiment, the front-end device 101 includes an acquisition module, and all vehicles, drivers, and pedestrians in a shooting range can be shot through the acquisition module, such as a camera, to obtain a traffic management picture; then, the front-end device 101 temporarily stores the acquired traffic management picture, generates a local storage path according to the storage location of the traffic management picture, and can accurately determine the corresponding traffic management picture through the local storage path.
In an embodiment, a certain size of memory may be configured for each front-end device 101, and the storage space of the memory device may be 1G, so that the front-end device 101 may perform temporary data caching for 1 hour, and the 1 hour may provide sufficient time for the failure recovery of the data center, and the configuration of the memory device may ensure normal system service without increasing the device cost, especially the hardware cost of the data center.
In one embodiment, the storage path refers to the location of a file in the memory, and can be divided into a picture storage folder and a video storage folder. The Memory can be a Static Random-Access Memory (SRAM), which has a high speed, but a complex process and a high production cost; or an Electrically Erasable Read-Only Memory (EEPROM), which has a fast update speed and can still store data when power is off; the Memory can also be a Flash Memory (Flash Memory), which can be written in and read out, has large capacity and high speed, can improve the storage performance, and can also be other suitable memories.
In an embodiment, the traffic management picture stored in the front-end device 101 is not persistently stored, a user may set a cleaning period as needed, where the cleaning period may be other periods such as 30 minutes and 1 hour, and a processor in the front-end device 101 periodically cleans the traffic management picture stored therein by running a corresponding computer program, so as to provide sufficient storage space for the subsequently acquired traffic management picture and improve the utilization rate of the front-end device.
202: the configuration server 105 configures a picture communication address and a communication address of a local storage path, respectively.
In one embodiment, the configuration server 105 is mainly used for configuring the communication address, and may provide an entrance for the front-end device 101 to communicate with the first data center 102 and the second data center 103. The configuration server 105 configures a picture communication address for the traffic management picture stored in the front-end device 101, configures a path communication address for a local storage path corresponding to the traffic management picture, and sends the path communication address to the front-end device 101.
203: the head-end 101 sends a traffic management picture to the first data center 102.
In one embodiment, the front-end device 101 establishes communication with the first data center 102 based on the picture communication address configured by the configuration server for the traffic management picture, and then sends the traffic management picture to the first data center 102.
204: the first data center 102 stores the picture of the traffic management transmitted from the head-end 101.
In one embodiment, the first data center 102 is mainly used for storing picture data due to its large capacity. The first data center 102 may be a single server, or may be a server network or a server cluster composed of a plurality of servers, where different servers have different functions, for example, a database server is mainly used for managing and configuring related data, a storage server is mainly used for storing data, and an application server is mainly used for providing applications to clients through various protocols.
205: the first data center 102 sends a picture upload response to the front-end device 101.
In an embodiment, after receiving the traffic management picture uploaded by the front-end device 101, the first data center 102 returns a picture upload response to the front-end device 101 to feed back to the front-end device 101 to indicate that it has received the uploaded traffic management picture.
206: the front-end device 101 receives a picture upload response returned by the first data center 102, and marks a picture for which the picture upload response is not received as an abnormal picture.
In an embodiment, the front-end device 101 establishes communication with the first data center 102, receives the picture upload response, the front-end device 101 marks the traffic management picture as an uploaded picture, and does not receive the picture upload response, the front-end device 101 marks the traffic management picture as an abnormal picture.
In one embodiment, the failure of the front-end device 101 to receive the picture upload response indicates that the communication between the front-end device 101 and the first data center 102 is a problem, that is, the communication is interrupted, and in this case, the picture is not successfully uploaded to the first data center 102 for storage; when the communication between the front-end device 101 and the first data center 102 is reconnected, the front-end device 101 may upload the previously marked abnormal picture to the first data center 102 again, if the first data center 102 receives the uploaded abnormal picture, an upload response of the abnormal picture may be returned to the front-end device 101, which indicates that it has successfully received the picture and stored, and if the uploaded abnormal picture is not received, the front-end device 101 may not receive the upload response of the abnormal picture, and may only wait for the next retransmission, and the process is repeated until the picture is successfully uploaded to the first data center 102.
207: the business server 104 sends a business service request to the first data center 102.
In an embodiment, the service server 104 may send a service request to the first data center 102 according to a user's requirement, and may request to call a traffic management picture stored in the first data center 102, so that the traffic management picture can be analyzed and correspondingly serviced.
208: the first data center 102 sends data to the business server 104 based on its stored picture data.
In one embodiment, the first data center 102 determines a matching target picture according to the business service request and sends it to the business server 104.
209: the front-end device 101 transmits the local storage path corresponding to the traffic management picture to the second data center 103.
In one embodiment, the storage path, i.e., the storage location of the file, for example, the storage path of the file "Photo 1" in the computer is "D: \ Photo Files \ Photo 1", through which the file can be accurately determined, and therefore, the only matched cross-managed picture can be determined according to the storage path corresponding to the local storage path, i.e., the specific storage location of the cross-managed picture in the front-end device 101.
In one embodiment, the configuration server 105 configures a communication address for the local storage path corresponding to the managed picture to be sent through a communication protocol, establishes communication with the second data center 103 based on the communication address, and then sends the local storage path corresponding to the managed picture to the second data center 103.
210: the second data center 103 stores the local storage path corresponding to the traffic management picture uploaded by the front-end device 101.
In one embodiment, the local storage path corresponding to the managed picture is data in text form, which occupies a small storage space and is therefore stored by the second data center 103 with a smaller storage capacity than the first data center 102. Similarly, the second data center 103 may be a single server, or may be a server network or a server cluster composed of a plurality of servers, where different servers have different functions, for example, a database server is mainly used for managing and configuring related data, and also can be used for storing data, an application server is mainly used for providing applications to clients through various protocols, and the like.
211: the second data center 103 sends a path upload response to the front-end device 101.
In an embodiment, after receiving the local storage path corresponding to the traffic management picture uploaded by the front-end device 101, the second data center 103 returns a path upload response to the front-end device 101 to feed back to the front-end device 101 to indicate that it has received the uploaded storage path.
212: the front-end device 101 receives the path upload response returned by the second data center 103, and marks the local storage path that has not received the path upload response as an abnormal path.
In one embodiment, the front-end device 101 establishes communication with the second data center 103, receives the path upload response, the front-end device 101 marks the local storage path as an uploaded path, and does not receive the path upload response, the front-end device 101 marks the local storage path as an abnormal path.
In one embodiment, the failure of the front-end 101 to receive the path upload response indicates that a problem, possibly an interruption, occurs in the communication between the front-end 101 and the second data center 103, and in this case, the local storage path is not successfully uploaded to the second data center 103 for storage; when the communication between the front-end device 101 and the second data center 103 is reconnected, the front-end device 101 re-uploads the previously marked abnormal path to the second data center 103, if the second data center 103 receives the uploaded abnormal path, an upload response of the abnormal path is returned to the front-end device 101, which indicates that it has successfully received the path and stored, and if the upload abnormal path is not received, the front-end device 101 does not receive the upload response of the abnormal path, and only waits for the next retransmission, and the process is repeated until the storage path is successfully uploaded to the second data center 103.
213: the business server 104 sends a business service request to the second data center 103.
In an embodiment, when the first data center 102 fails and cannot operate normally, the service server 104 may send a service request to the second data center 103 to request to call a local storage path of the managed picture stored in the second data center 103, so that a corresponding target picture may be determined in the front-end device according to the local storage path, so that data analysis and service may be performed subsequently.
214: the second data center 103 sends a data call request to the front-end device 101.
In an embodiment, since the second data center 103 stores a local storage path of the traffic management picture, when a user needs to perform service processing by accessing data in the second data center 103, the user accesses path data stored in the second data center 103 first, and only based on the local storage path, there is no way to obtain relevant information required by the service, so that the second data center 103 needs to establish a communication connection with the front-end device 101, and sends a data call request to the front-end device 101, thereby obtaining the traffic management picture corresponding to the local storage path.
215: the front-end device 101 receives the data call request sent by the second data center 103, and determines a target picture according to the data call request.
In an embodiment, the data call request carries a local storage path of the managed picture, so that, after receiving the data call request, the front-end device 101 may access a corresponding file through the local storage path, that is, determine a unique target picture matching the file.
216: the front-end device 101 sends the target picture to the second data center 103.
In one embodiment, the front-end device 101 determines, according to the storage path, a target picture uniquely matching the storage path, establishes a communication connection with the second data center 103, and sends the target picture to the second data center 103 for subsequent processing.
217: the second data center 103 sends the data to the traffic server 104 based on its stored local storage path.
In an embodiment, in order to reduce the storage pressure of the system, the second data center 103 stores a local storage path corresponding to the traffic management picture, and when a user needs the local storage path, the front-end device 101 sends a data call request based on the local storage path, the front-end device 101 determines a target picture uniquely matching with the data call request through the data call request and sends the target picture to the second data center 103, and the second data center 103 sends the target picture to the service server 104.
218: the business server 104 performs business services based on data transmitted by the first data center 102 or the second data center 103.
In an embodiment, the service server 104 receives a target picture sent by the first data center 102 or the second data center 103, based on the target picture, the traffic management system analyzes and obtains related information of the target picture, such as a license plate number, a license plate type, a vehicle color, a vehicle type, a brand, a vehicle speed and time when passing through a gate, a sex, clothing, a hairstyle of a driver, a sex, a height, clothing, a hairstyle of a pedestrian, and the like, further checks whether the vehicle and the pedestrian have illegal behaviors according to the information, and the traffic manager can process the illegal behaviors according to specific information obtained from the data.
As shown in fig. 3, a schematic structural diagram of a first data center provided in this embodiment of the present application may include an operation terminal 301, a database server 302, a big data server cluster 303, a first storage server 304, a second storage server 305, and an application server 306, where the operation terminal communicates with a central area network of a transit administration. Those skilled in the art will appreciate that the server configuration shown in fig. 3 does not constitute a limitation of a data center, and the first data center may be a single server, a server network or a server cluster composed of a plurality of servers, and may include more or less servers than those shown, or different servers. Wherein:
the operation terminal 301 is connected to the server through the central lan of the central office, and can access the programs and data on the server or the computers of other devices in the network.
Database server 302 is used primarily for managing, querying, and maintaining databases, including system configuration and management, data access and update, data integrity and data security management, database retrieval and modification, data import and export, database structure maintenance, data recovery, and performance detection.
The big data server cluster 303 can improve the computing power of the whole server, and is a parallel or distributed system formed by interconnected server clusters. The first storage server 304 stores the picture data, which occupies a very large storage space, and therefore, a server with high computing power is required for analyzing and processing the data.
The first storage server 304 is mainly used for storing and backing up data, sharing data, and the like, and mainly stores managed pictures acquired by the front-end device.
In one embodiment, the first storage server may comprise a relational database.
The second storage server 305 is mainly used for storing the picture identifier of the managed picture and the storage path of the managed picture in the first storage server.
In one embodiment, the second storage server may comprise a non-relational database whose data is organized, indexed, and stored in a form corresponding to key values. Key-Value object (KV) storage is very suitable for business data which do not relate to excessive data relation business relations, and meanwhile, times of reading and writing a disk can be effectively reduced, and the Key-Value object (KV) storage has better reading and writing performance compared with SQL database storage.
In one embodiment, the picture identifier may be a unique code of the picture, and may have the following form:
equipment number-intersection number-direction number-lane number-passing time-number plate number-number plate color-vehicle brand-vehicle body color-illegal behavior-identifying code-file serial number 1. picture file extension name;
equipment number-intersection number-direction number-lane number-passing time-number plate number-number plate color-running speed-illegal action-verification code-file number 1. picture file extension.
An application server 306, located between the network and the database, may provide code for the application to provide business logic, access mechanisms through various protocols, and perform primarily tasks such as data analysis, storage, data processing, archiving, and other data management related tasks.
In one embodiment, the operation terminal 301 may be a workstation, a notebook computer, a file server, a web server, a mobile handheld device, etc., which is mainly operated by a user.
In one embodiment, first storage server 304 and second storage server 305 may have built-in file server functionality, may access and manage data in the storage servers through browsers, and may upload and download in the HTTP fashion.
As shown in fig. 4, a schematic structural diagram of a second data center provided in the embodiment of the present application is provided, where the second data center may include an operation terminal 401 communicating with a traffic management center lan, a database server 402, a third storage server 403, and an application server 404. Those skilled in the art will appreciate that the server architecture shown in fig. 4 does not constitute a limitation of a data center, and a second data center may be a single server, a network of servers or a cluster of servers, and may include more or fewer servers than those shown, or different servers. Wherein:
the operation terminal 401 is connected to the server through the central lan of the central office, and can access the program and data on the server or the computer of other devices in the network.
Database server 402 may be used primarily for managing, querying, and maintaining databases, including system configuration and management, data access and update, data integrity and data security management, database retrieval and modification, data import and export, database structure maintenance, data recovery, and performance checking.
The third storage server 403 is mainly used for storing and backing up data, sharing data, and the like, and mainly stores a storage path of the traffic management picture in the front-end device and a picture identifier.
In one embodiment, the third storage server may include a non-relational database in which the corresponding traffic management picture in the front-end device may be determined through the storage path stored therein.
In one embodiment, the picture identifier may be a unique code of the picture, and may have the following form:
equipment number-intersection number-direction number-lane number-passing time-number plate number-number plate color-vehicle brand-vehicle body color-illegal behavior-identifying code-file serial number 1. picture file extension name;
equipment number-intersection number-direction number-lane number-passing time-number plate number-number plate color-running speed-illegal action-verification code-file number 1. picture file extension.
An application server 404, located between the network and the database, may provide code for the application to provide business logic, access mechanisms through various protocols, and perform primarily tasks such as data analysis, storage, data processing, archiving, and other data management related tasks.
In one embodiment, the operation terminal 401 may be a workstation, a notebook computer, a file server, a web server, a mobile handheld device, etc., which is mainly operated by a user.
In an embodiment, the second data center may include the terminal and the server, and the storage space of the second data center is smaller than that of the first data center, so that the second data center is mainly used for storing text data, that is, a storage path of the traffic management picture in the front-end device and a picture identifier, and the application server accesses the traffic management picture corresponding to the storage path based on a user's requirement, and then analyzes and processes the traffic management picture.
As shown in fig. 5, which is a schematic structural diagram of a traffic management system data management device provided in an embodiment of the present application, the data management device may include:
the collecting module 501 is used for collecting traffic control pictures in the location range of the equipment, wherein the traffic control pictures comprise at least one of bayonet pictures and illegal pictures;
the storage module 502 may be configured to cache the traffic management picture and generate a storage path corresponding to the traffic management picture;
a first sending module 503, configured to send a first upload request to the first data center to establish a connection with the first data center;
a second sending module 504, configured to send a second upload request to the second data center to establish a connection with the second data center;
a receiving module 505, configured to receive a first service response returned by the first data center, and receive a data invocation request sent by the second data center and a second service response returned by the second data center;
the marking module 506 may be configured to mark data that does not receive a service response as abnormal data, and mark data that receives a service response as uploaded data;
the data cleaning module 507 may be configured to perform data cleaning on the stored traffic management picture according to the acquired cleaning cycle.
In an embodiment, the data management apparatus further includes a determining module, which determines whether the receiving module receives a service response returned by the data center, so as to provide a basis for marking the service by the marking module.
In one embodiment, the storage module 502 stores executable computer programs in addition to the traffic management pictures, and the service execution commands of the first sending module 503, the second sending module 504, the receiving module 505, the marking module 506 and the data cleaning module 507 are all issued by running the corresponding computer programs.
In an embodiment, the first sending module 503 is configured to establish a communication connection with a first data center, send a picture uploading request to the first data center, and upload a management picture to the first data center; the second sending module 504 is configured to establish a communication connection with the second data center, send a path upload request to the second data center, and upload a local storage path corresponding to the traffic management picture to the second data center.
In one embodiment, the receiving module 505 comprises:
the receiving service response module is used for receiving a picture uploading response returned by the first data center and a path uploading response returned by the second data center;
the data call request receiving module may be configured to receive a data call request sent by the second data center, where the data call request carries a local storage path, and a traffic management picture uniquely matched with the local storage path may be determined through the local storage path.
In an embodiment, the marking module 506 marks the traffic management picture according to whether a picture upload response returned by the first data center is received, if the picture upload response is received, the picture is marked as an uploaded picture, and if the picture upload response is not received, the picture is marked as an abnormal picture to wait for re-uploading; the marking module 506 also marks the storage path according to whether a path upload response returned by the second data center is received, if the path upload response is received, the storage path is marked as an uploaded path, and if the path upload response is not received, the storage path is marked as an abnormal path to wait for re-uploading.
Different from the prior art, the traffic management system data management device provided by the application is provided with two sending modules which respectively upload different types of data, wherein the first sending module uploads picture data, and the second sending module uploads text data, namely a local storage path of a picture, so that the data is divided into two types to be stored, namely the picture data is backed up in a text data mode, the storage space of the system is saved, and the storage pressure of the system is reduced; meanwhile, due to the existence of the two data centers, the system can well realize disaster tolerance, when one data center fails and cannot operate, the other data center can also normally operate, and the reliability of the system is improved.
An embodiment of the present application further provides a front-end device, as shown in fig. 6, which is a schematic structural diagram of the front-end device, and the front-end device may include a processor 601 having one or more processing cores, a memory 602 having one or more computer-readable storage media, an acquisition module 603, a power supply 604, a radio frequency circuit 605, and other components. Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 6 does not constitute a limitation of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 601 is a control center of the whole front-end device, and the processor connects the whole front-end device by using various interfaces and lines, and executes various functions of the front-end device and processes data by running or executing computer programs or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing consolidation monitoring on the front-end device. Optionally, processor 601 may include one or more processing cores.
The memory 602 is used for storing computer programs and modules, and also for storing the traffic management pictures acquired by the acquisition module. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store a computer program, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the data storage area can store traffic management pictures collected by the collection module and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
The acquisition module 603 may be a camera or other equipment with a shooting function, and is mainly used for acquiring all traffic management pictures in the range where the front-end equipment is located, where the traffic management pictures include bayonet pictures, illegal pictures, and the like.
The power supply 604 is used to supply power to the front-end device to ensure that the power is sufficient. Preferably, the power supply may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 604 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The rf circuit 605 may be used for receiving and sending signals in a communication process, for example, sending a first upload request, a second upload request, and the like, receiving a first upload response, a second upload response, a data call request, and the like.
Although not shown, the front-end device may further include a WIFI module, a bluetooth module, and the like, which are not described herein again. Specifically, in this embodiment of the present application, the processor 601 in the front-end device loads the executable file corresponding to one or more computer programs into the memory 602 according to the following instructions, and the processor 601 runs the computer program stored in the memory 602, so as to implement various functions, which are specifically as follows:
collecting a traffic management picture in the range of the front-end equipment, wherein the traffic management picture comprises at least one of a bayonet picture and an illegal picture; caching the traffic management picture and generating a storage path corresponding to the traffic management picture; sending a traffic management picture to a first data center so that the first data center stores and provides data service based on the traffic management picture; and sending a local storage path corresponding to the traffic management picture to a second data center, so that the second data center stores and provides data service based on the local storage path.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and a detailed description is not given in a certain embodiment, and reference may be made to the above detailed description, which is not repeated herein.
The traffic management system provided by the embodiment of the present application is described in detail above, and the principle and the implementation of the present application are explained by applying specific examples, and the description of the above embodiment is only used to help understanding the technical scheme and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. A traffic management system is characterized by comprising front-end equipment, a first data center, a second data center and a service server, wherein the first data center and the second data center are main and standby data centers; wherein:
the front-end equipment is used for acquiring and caching a traffic management picture, sending the traffic management picture to the first data center, and sending a local storage path corresponding to the traffic management picture to the second data center;
the first data center is used for storing and providing data service for the business server based on the traffic management picture;
the second data center is used for storing the local storage path and providing data service to the business server based on the local storage path only when the first data center fails;
the business server provides business services based on the data services.
2. The traffic management system according to claim 1, wherein the first data center comprises a first storage server and a second storage server, the first storage server is used for storing the traffic management picture, and the second storage server is used for storing the picture identifier of the traffic management picture and the storage path of the traffic management picture in the first storage server.
3. The transit system of claim 2, wherein the first memory comprises a relational database and the second storage server comprises a non-relational database.
4. The transit system according to claim 1, wherein the second data center comprises a third storage server for storing the picture identifiers of the transit pictures and the corresponding local storage paths.
5. The transit system of claim 4, wherein the third storage server comprises a non-relational database.
6. The transit system as claimed in claim 1, further comprising a configuration server configured to configure a picture communication address and a path communication address of the front-end device, so that the front-end device sends the transit picture to the first data center based on the picture communication address, and the front-end device sends the local storage path to the second data center based on the path communication address.
7. The transit management system according to claim 1, wherein the second data center is further configured to generate and send a data call request based on the local storage path, the front-end device is further configured to receive the data call request, the data call request carries the local storage path, the front-end device determines a target picture corresponding to the data call request based on the local storage path, and sends the target picture to the second data center.
8. The traffic management system according to claim 1, wherein the first data center is further configured to send a picture upload response, and the front-end device is further configured to receive the picture upload response and mark a traffic management picture for which the picture upload response is not received as an abnormal picture.
9. The transit management system according to claim 1, wherein the front-end device is further configured to take the abnormal picture, which has received the picture upload response again, as a picture to be uploaded, and upload the picture to be uploaded to the first data center.
10. The transit management system as claimed in claim 1, wherein the front-end device is further configured to obtain a cleaning cycle, and perform data cleaning on the stored transit management picture according to the cleaning cycle.
CN202011167247.4A 2020-10-27 2020-10-27 Traffic management system Active CN112003956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011167247.4A CN112003956B (en) 2020-10-27 2020-10-27 Traffic management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011167247.4A CN112003956B (en) 2020-10-27 2020-10-27 Traffic management system

Publications (2)

Publication Number Publication Date
CN112003956A CN112003956A (en) 2020-11-27
CN112003956B true CN112003956B (en) 2021-01-15

Family

ID=73475165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011167247.4A Active CN112003956B (en) 2020-10-27 2020-10-27 Traffic management system

Country Status (1)

Country Link
CN (1) CN112003956B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024037A (en) * 2010-11-30 2011-04-20 厦门雅迅网络股份有限公司 Retrieval method of massive image data of website operation system
CN102104617A (en) * 2010-11-30 2011-06-22 厦门雅迅网络股份有限公司 Method for storing massive picture data by website operating system
CN103338261A (en) * 2013-07-04 2013-10-02 北京泰乐德信息技术有限公司 Storage and processing method and system of rail transit monitoring data
CN103778184A (en) * 2013-12-26 2014-05-07 深圳市华仁达技术有限公司 Intelligent transportation massive checkpoint passage data transmission system
CN104050271A (en) * 2014-06-23 2014-09-17 桂林长海科技有限责任公司 Bayonet data processing method based on HBase
CN104504137A (en) * 2014-12-31 2015-04-08 深圳市科漫达智能管理科技有限公司 Data storage method and system
CN105677826A (en) * 2016-01-04 2016-06-15 博康智能网络科技股份有限公司 Resource management method for massive unstructured data
CN107169083A (en) * 2017-05-11 2017-09-15 聚龙融创科技有限公司 Public security bayonet socket magnanimity vehicle data storage and retrieval method and device, electronic equipment
CN107798142A (en) * 2017-11-24 2018-03-13 泰华智慧产业集团股份有限公司 The method and device of concealment vehicle is analyzed based on big data
CN107797768A (en) * 2017-10-11 2018-03-13 南京东方金信数据服务有限公司 A kind of method and system for handling big data
CN108763436A (en) * 2018-05-25 2018-11-06 福州大学 A kind of distributed data-storage system based on ElasticSearch and HBase
CN110275983A (en) * 2019-06-05 2019-09-24 青岛海信网络科技股份有限公司 The search method and device of traffic monitoring data
CN111078765A (en) * 2019-11-13 2020-04-28 北京中盾安全技术开发公司 View base system based on Hadoop system architecture and construction method thereof
CN111275980A (en) * 2020-01-21 2020-06-12 上海天齐智能建筑股份有限公司 Big data application platform based on Internet + intelligent traffic video monitoring management system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235825B (en) * 2013-05-08 2016-05-25 重庆大学 A kind of magnanimity face recognition search engine design method based on Hadoop cloud computing framework
CN104850601B (en) * 2015-05-04 2018-09-18 科技谷(厦门)信息技术有限公司 Police service based on chart database analyzes application platform and its construction method in real time
CN105045820B (en) * 2015-06-25 2020-10-16 浙江立元科技有限公司 Method for processing video image information of high-level data and database system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024037A (en) * 2010-11-30 2011-04-20 厦门雅迅网络股份有限公司 Retrieval method of massive image data of website operation system
CN102104617A (en) * 2010-11-30 2011-06-22 厦门雅迅网络股份有限公司 Method for storing massive picture data by website operating system
CN103338261A (en) * 2013-07-04 2013-10-02 北京泰乐德信息技术有限公司 Storage and processing method and system of rail transit monitoring data
CN103778184A (en) * 2013-12-26 2014-05-07 深圳市华仁达技术有限公司 Intelligent transportation massive checkpoint passage data transmission system
CN104050271A (en) * 2014-06-23 2014-09-17 桂林长海科技有限责任公司 Bayonet data processing method based on HBase
CN104504137A (en) * 2014-12-31 2015-04-08 深圳市科漫达智能管理科技有限公司 Data storage method and system
CN105677826A (en) * 2016-01-04 2016-06-15 博康智能网络科技股份有限公司 Resource management method for massive unstructured data
CN107169083A (en) * 2017-05-11 2017-09-15 聚龙融创科技有限公司 Public security bayonet socket magnanimity vehicle data storage and retrieval method and device, electronic equipment
CN107797768A (en) * 2017-10-11 2018-03-13 南京东方金信数据服务有限公司 A kind of method and system for handling big data
CN107798142A (en) * 2017-11-24 2018-03-13 泰华智慧产业集团股份有限公司 The method and device of concealment vehicle is analyzed based on big data
CN108763436A (en) * 2018-05-25 2018-11-06 福州大学 A kind of distributed data-storage system based on ElasticSearch and HBase
CN110275983A (en) * 2019-06-05 2019-09-24 青岛海信网络科技股份有限公司 The search method and device of traffic monitoring data
CN111078765A (en) * 2019-11-13 2020-04-28 北京中盾安全技术开发公司 View base system based on Hadoop system architecture and construction method thereof
CN111275980A (en) * 2020-01-21 2020-06-12 上海天齐智能建筑股份有限公司 Big data application platform based on Internet + intelligent traffic video monitoring management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于Hbase的交通数据管理平台设计与实现》;宋仁勇;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170115;第三、四章 *

Also Published As

Publication number Publication date
CN112003956A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
US11615115B2 (en) Systems and methods for managing distributed database deployments
US11544288B2 (en) Systems and methods for managing distributed database deployments
US10713280B2 (en) Systems and methods for managing distributed database deployments
CN105357296B (en) Elastic caching system under a kind of Docker cloud platforms
US20170344618A1 (en) Systems and methods for managing distributed database deployments
CN107959588A (en) Cloud resource management method, cloud resource management platform and the management system of data center
CN107820043B (en) Control method, device and system of video monitoring system
CN111651305B (en) Virtual machine backup method, virtual machine backup assembly and cloud computing system
CN104966006A (en) Intelligent face identification system based on cloud variation platform
CN111124277A (en) Deep learning data set caching method, system, terminal and storage medium
US10826812B2 (en) Multiple quorum witness
CN112039970A (en) Distributed business lock service method, server, system and storage medium
CN106201772A (en) The backup of a kind of operating system based on data center, restoration methods and device
CN103778024A (en) Server system and message processing method thereof
CN112003956B (en) Traffic management system
CN112015598B (en) Traffic management data management method and device and front-end equipment
CN110708209B (en) Virtual machine flow acquisition method and device, electronic equipment and storage medium
CN116805940A (en) Data acquisition system and method based on extensible edge calculation
CN116170275A (en) Cloud network operation and maintenance management method and device
CN111208949B (en) Method for determining data rollback time period in distributed storage system
CN105939278B (en) Traffic processing method and device
US10866871B1 (en) Processes and methods of aggregating, analyzing, and reporting distributed storage system properties within a central platform using storage descriptor data structures
CN113312174A (en) Information query method and device, electronic equipment and container management system
CN108614873B (en) Data processing method and device
CN112231152A (en) Data synchronization method, remote server, client and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant