CN110211374A - Traffic guidance method, device, system, equipment and computer readable storage medium - Google Patents
Traffic guidance method, device, system, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110211374A CN110211374A CN201910431251.8A CN201910431251A CN110211374A CN 110211374 A CN110211374 A CN 110211374A CN 201910431251 A CN201910431251 A CN 201910431251A CN 110211374 A CN110211374 A CN 110211374A
- Authority
- CN
- China
- Prior art keywords
- traffic
- information
- traffic information
- road
- road condition
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及交通领域,尤其涉及一种交通指挥方法、装置、系统、设备及计算机可读存储介质。The present invention relates to the field of traffic, and in particular, to a traffic command method, device, system, device and computer-readable storage medium.
背景技术Background technique
随着计算机技术的发展和人们生活水平的提高,越来越多的家庭配有车辆,因此目前的交通越来越容易发生堵塞。当道路上的车辆较多时,容易造成道路拥堵,从而影响了人们的正常出行。而现有的道路交通,是通过车辆自己上报车辆定位信息到卫星,之后在应用中显示拥堵情况,这种情况下会整体的网络要求较高,所需成本也较高。With the development of computer technology and the improvement of people's living standards, more and more families are equipped with vehicles, so the current traffic is more and more prone to congestion. When there are many vehicles on the road, it is easy to cause road congestion, thus affecting people's normal travel. In the existing road traffic, the vehicle itself reports the vehicle positioning information to the satellite, and then displays the congestion situation in the application. In this case, the overall network requirements are higher, and the cost is also higher.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种交通指挥方法、装置、系统、设备及计算机可读存储介质,旨在解决现有技术的道路拥堵情况检测方式,对网络要求高及花费成本高的技术问题。The main purpose of the present invention is to provide a traffic command method, device, system, device and computer-readable storage medium, aiming to solve the technical problems of the prior art road congestion detection method, high network requirements and high cost.
为实现上述目的,本发明提供一种交通指挥方法,所述交通指挥方法包括以下步骤:In order to achieve the above object, the present invention provides a traffic command method, which comprises the following steps:
在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;When receiving a traffic command request, the server controls the camera to start to collect road images;
接收摄像头采集的路面图像;Receive road images collected by cameras;
根据采集的路面图像确定路况信息;Determine the road condition information according to the collected road image;
基于所述路况信息播报交通信息。Traffic information is broadcast based on the road condition information.
可选地,所述根据采集的路面图像确定路况信息的步骤包括:Optionally, the step of determining road condition information according to the collected road surface image includes:
根据采集的路面图像计算路况车辆密度;Calculate the density of vehicles in road conditions based on the collected road images;
根据车辆密度与预设路况等级的映射关系,确定所述车辆密度对应的路况等级;determining the road condition grade corresponding to the vehicle density according to the mapping relationship between the vehicle density and the preset road condition grade;
将确定的路况等级作为路况信息。The determined road condition level is used as road condition information.
可选地,所述基于所述路况信息播报交通信息的步骤包括:Optionally, the step of broadcasting traffic information based on the road condition information includes:
在预存语料库中依次查找所述路况信息对应的词语;Search for the words corresponding to the road condition information in sequence in the pre-stored corpus;
将依次查找的词语按照查找顺序进行组合,得到词句;Combine the words searched in turn according to the search order to get the words and sentences;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
可选地,所述基于所述路况信息播报交通信息的步骤还包括:Optionally, the step of broadcasting traffic information based on the road condition information further includes:
在预存语料库中查找所述路况信息对应的模板;Find the template corresponding to the road condition information in the pre-stored corpus;
在所述模板中提取出词句,作为所述路况信息对应的词句;Extracting words and sentences from the template as words and sentences corresponding to the road condition information;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
可选地,所述根据采集的路面图像确定路况信息的步骤之后,所述方法还包括:Optionally, after the step of determining road condition information according to the collected road image, the method further includes:
在显示界面中显示路况信息,和/或将计算的路况信息传输至显示设备。Display the road condition information in the display interface, and/or transmit the calculated road condition information to the display device.
进一步地,为实现上述目的,本发明还提供一种交通指挥装置,所述交通指挥装置包括:Further, in order to achieve the above object, the present invention also provides a traffic command device, the traffic command device includes:
控制模块,用于在接收到交通指挥请求时,控制摄像头启动以采集路面图像;The control module is used to control the camera to start to collect road images when a traffic command request is received;
接收模块,用于接收摄像头采集的路面图像;The receiving module is used to receive the road image collected by the camera;
确定模块,用于根据采集的路面图像确定路况信息;a determination module, used for determining road condition information according to the collected road image;
播报模块,用于基于所述路况信息播报交通信息。A broadcast module is used to broadcast traffic information based on the road condition information.
进一步地,为实现上述目的,本发明还提供一种交通指挥设备,所述交通指挥设备包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的交通指挥程序,所述交通指挥程序被所述处理器执行时实现如上述所述的交通指挥方法的步骤。Further, in order to achieve the above object, the present invention also provides a traffic command device, the traffic command device includes a memory, a processor, and a traffic command program stored in the memory and running on the processor. When the traffic command program is executed by the processor, the steps of the traffic command method as described above are implemented.
进一步地,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有交通指挥程序,所述交通指挥程序被处理器执行时实现如上所述的交通指挥方法的步骤。Further, in order to achieve the above object, the present invention also provides a computer-readable storage medium, where a traffic command program is stored on the computer-readable storage medium, and when the traffic command program is executed by a processor, the above-mentioned traffic is realized. The steps of the command method.
本发明的技术方案,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;接收摄像头采集的路面图像;根据采集的路面图像确定路况信息;基于所述路况信息播报交通信息。使得交通指挥过程由服务器控制摄像头拍照路面图像,之后根据路面图像播报交通信息,由于利用了道路中已有的摄像头进行交通信息的播报,无需车辆自动上报位置信息,对网络要求较低,整体花费的成本也有所降低。According to the technical scheme of the present invention, when a traffic command request is received, the server controls the camera to start to collect road images; receives road images collected by the cameras; determines road condition information according to the collected road images; and broadcasts traffic information based on the road condition information. In the traffic command process, the server controls the camera to take pictures of the road surface, and then broadcasts the traffic information according to the road surface image. Because the existing cameras on the road are used to broadcast the traffic information, there is no need for the vehicle to automatically report the location information, and the network requirements are low. The overall cost costs have also been reduced.
附图说明Description of drawings
图1为本发明交通指挥设备实施例方案涉及的设备硬件运行环境的结构示意图;1 is a schematic structural diagram of a device hardware operating environment involved in a traffic command device embodiment scheme of the present invention;
图2为本发明交通指挥方法第一实施例的流程示意图;2 is a schematic flowchart of the first embodiment of the traffic command method of the present invention;
图3为本发明交通指挥装置的功能模块示意图。FIG. 3 is a schematic diagram of functional modules of the traffic command device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
本发明提供一种交通指挥设备,参照图1,图1为本发明交通指挥设备实施例方案涉及的设备硬件运行环境的结构示意图。The present invention provides a traffic command device. Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of the hardware operating environment of the device involved in the traffic command device embodiment scheme of the present invention.
如图1所示,该交通指挥设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储设备。As shown in FIG. 1 , the traffic command device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的交通指挥设备的硬件结构并不构成对交通指挥设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the hardware structure of the traffic command device shown in FIG. 1 does not constitute a limitation on the traffic command device, and may include more or less components than the one shown, or combine some components, or different component layout.
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及交通指挥程序。其中,操作系统是管理和控制交通指挥设备与软件资源的程序,支持网络通信模块、用户接口模块、交通指挥程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1004;用户接口模块用于管理和控制用户接口1003。As shown in FIG. 1 , the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a traffic command program. Among them, the operating system is a program that manages and controls traffic command equipment and software resources, and supports the operation of network communication modules, user interface modules, traffic command programs and other programs or software; the network communication module is used to manage and control the network interface 1004; users The interface module is used to manage and control the user interface 1003 .
在图1所示的交通指挥设备硬件结构中,网络接口1004主要用于连接显示设备、声控设备和摄像头,实现数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;处理器1001可以调用存储器1005中存储的交通指挥程序,并执行以下交通指挥方法的操作:In the hardware structure of the traffic command device shown in FIG. 1, the network interface 1004 is mainly used to connect the display device, the voice control device and the camera to realize data communication; the user interface 1003 is mainly used to connect the client (client), and communicate with the client. Data communication; the processor 1001 can call the traffic command program stored in the memory 1005, and perform the operations of the following traffic command methods:
在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;When receiving a traffic command request, the server controls the camera to start to collect road images;
接收摄像头采集的路面图像;Receive road images collected by cameras;
根据采集的路面图像确定路况信息;Determine the road condition information according to the collected road image;
基于所述路况信息播报交通信息。Traffic information is broadcast based on the road condition information.
进一步地,所述根据采集的路面图像确定路况信息的步骤包括:Further, the step of determining road condition information according to the collected road surface images includes:
根据采集的路面图像计算路况车辆密度;Calculate the density of vehicles in road conditions based on the collected road images;
根据车辆密度与预设路况等级的映射关系,确定所述车辆密度对应的路况等级;determining the road condition grade corresponding to the vehicle density according to the mapping relationship between the vehicle density and the preset road condition grade;
将确定的路况等级作为路况信息。The determined road condition level is used as road condition information.
进一步地,所述基于所述路况信息播报交通信息的步骤包括:Further, the step of broadcasting traffic information based on the road condition information includes:
在预存语料库中依次查找所述路况信息对应的词语;Search for the words corresponding to the road condition information in sequence in the pre-stored corpus;
将依次查找的词语按照查找顺序进行组合,得到词句;Combine the words searched in turn according to the search order to get the words and sentences;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
进一步地,所述基于所述路况信息播报交通信息的步骤还包括:Further, the step of broadcasting traffic information based on the road condition information further includes:
在预存语料库中查找所述路况信息对应的模板;Find the template corresponding to the road condition information in the pre-stored corpus;
在所述模板中提取出词句,作为所述路况信息对应的词句;Extracting words and sentences from the template as words and sentences corresponding to the road condition information;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
进一步地,所述根据采集的路面图像确定路况信息的步骤之后,所述方法还包括:Further, after the step of determining the road condition information according to the collected road images, the method further includes:
在显示界面中显示路况信息,和/或将计算的路况信息传输至显示设备。Display the road condition information in the display interface, and/or transmit the calculated road condition information to the display device.
本实施例中,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;接收摄像头采集的路面图像;根据采集的路面图像确定路况信息;基于所述路况信息播报交通信息。使得交通指挥过程由服务器控制摄像头拍照路面图像,之后根据路面图像播报交通信息,由于利用了道路中已有的摄像头进行交通信息的播报,无需车辆自动上报位置信息,对网络要求较低,整体花费的成本也有所降低。In this embodiment, when a traffic command request is received, the server controls the camera to start to collect road images; receives road images collected by the cameras; determines road condition information according to the collected road images; and broadcasts traffic information based on the road condition information. In the traffic command process, the server controls the camera to take pictures of the road surface, and then broadcasts the traffic information according to the road surface image. Because the existing cameras on the road are used to broadcast the traffic information, there is no need for the vehicle to automatically report the location information, and the network requirements are low. The overall cost costs have also been reduced.
本发明还提供一种交通指挥方法。The invention also provides a traffic command method.
本发明实施例提供了交通指挥方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiment of the present invention provides an embodiment of the traffic command method. It should be noted that, although the logical sequence is shown in the flowchart, in some cases, the sequence shown or described may be performed in a different sequence than the one here. A step of.
在交通指挥方法的各个实施例中,为了便于描述,省略执行主体进行阐述各个实施例。参照图2,图2为本发明交通指挥方法第一实施例的流程示意图,所述交通指挥方法应用于服务器中,所述交通指挥方法包括:In the various embodiments of the traffic command method, for the convenience of description, the execution body is omitted to describe the various embodiments. Referring to FIG. 2, FIG. 2 is a schematic flowchart of the first embodiment of the traffic command method of the present invention. The traffic command method is applied to the server, and the traffic command method includes:
步骤S10,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;Step S10, when receiving the traffic command request, the server controls the camera to start to collect road images;
步骤S20,接收摄像头采集的路面图像;Step S20, receiving the road surface image collected by the camera;
步骤S30,根据采集的路面图像确定路况信息;Step S30, determining road condition information according to the collected road image;
步骤S40,基于所述路况信息播报交通信息。Step S40, broadcast traffic information based on the road condition information.
本实施例中,所述交通指挥请求的接收方式包括:In this embodiment, the receiving method of the traffic command request includes:
1)方式一、在服务器通过预置的语音设备接收到语音信息时,将接收到的语音信息与预存语音信息进行比较;1) Mode 1, when the server receives voice information through a preset voice device, compares the received voice information with the pre-stored voice information;
判断所述语音信息的声纹是否与预存语音信息中的预存声纹匹配,和/或所述语音信息的强度是否在预存语音信息的强度区间内;Judging whether the voiceprint of the voice information matches the pre-stored voiceprint in the pre-stored voice information, and/or whether the strength of the voice information is within the strength interval of the pre-stored voice information;
若是,则确定接收到交通指挥请求。If so, it is determined that a traffic command request is received.
具体地,服务器内置有语音设备,该服务器通过预置的语音设备监听语音信息,若通过该内置的语音设备接收到语音信息时,将接收到的语音信息与预存语音信息进行比较,其中,预存语音信息是事先设置用于开启该摄像头的,判断所述语音信息的声纹是否与预存语音信息中的预存声纹匹配,和/或所述语音信息的强度是否在预存语音信息的强度区间内,若是,确定接收交通指挥请求,并通过该交通指挥请求控制摄像头启动以采集路面图像。在本实施例中,通过内置预存语音信息,以在通过预置的语音设备接收到语音信息时进行比较,并在比较结果符合要求时控制摄像头启动,无需人工手动启动,提高了摄像头启动的智能性和便捷性。Specifically, the server has a built-in voice device, the server monitors voice information through the preset voice device, and if voice information is received through the built-in voice device, the received voice information is compared with the pre-stored voice information, wherein the pre-stored voice information is compared. The voice information is set in advance to turn on the camera, and it is judged whether the voiceprint of the voice information matches the pre-stored voiceprint in the pre-stored voice information, and/or whether the strength of the voice information is within the intensity range of the pre-stored voice information , if yes, determine to receive a traffic command request, and control the camera to start to collect road images through the traffic command request. In this embodiment, the built-in pre-stored voice information is used to compare when the voice information is received through the preset voice device, and when the comparison result meets the requirements, the camera is controlled to start up, and manual activation is not required, which improves the intelligence of camera activation. sex and convenience.
此外,在通过上述语音信息启动摄像头之前,可选是否启动语音模式,若事先启动了该语音模式,可通过上述的语音设备接收语音信息,并执行后续的比较过程,若事先未启动该语音模式,则可按照控件模式控制摄像头启动,即通过服务器的实体控件或者服务器显示界面的虚拟控件控制摄像头启动。In addition, before starting the camera through the above voice information, you can choose whether to activate the voice mode. If the voice mode is activated in advance, the voice information can be received through the above voice device, and the subsequent comparison process can be performed. If the voice mode is not activated in advance , the camera startup can be controlled according to the control mode, that is, the camera startup can be controlled through the physical control of the server or the virtual control of the server display interface.
2)方式二、在服务器的实体控件或者服务器显示界面的虚拟控件中接收到触控指令时,确定接收到交通指挥请求,并控制摄像头启动以采集路面图像。2) Method 2: When a touch command is received in the physical control of the server or the virtual control of the server display interface, it is determined that a traffic command request is received, and the camera is controlled to start to collect road images.
在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像,其中,所述摄像头可以服务器管理区域内的一个或多个摄像头。在控制摄像头采集路面图像之后,接收摄像头采集的路面图像,然后根据采集的路面图像确定路况信息,具体地,所述步骤S30包括:When receiving the traffic command request, the server controls the camera to start to collect road images, wherein the camera can be one or more cameras in the server management area. After controlling the camera to collect the road surface image, the road surface image collected by the camera is received, and then the road condition information is determined according to the collected road surface image. Specifically, the step S30 includes:
步骤a,根据采集的路面图像计算路况车辆密度;Step a, calculating the density of vehicles in road conditions according to the collected road surface images;
步骤b,根据车辆密度与预设路况等级的映射关系,确定所述车辆密度对应的路况等级;Step b, determining the road condition grade corresponding to the vehicle density according to the mapping relationship between the vehicle density and the preset road condition grade;
步骤c,将确定的路况等级作为路况信息。In step c, the determined road condition level is used as road condition information.
即,在接收到摄像头发送的路面图像之后,根据采集的路面图像计算路况车辆密度,具体地,识别拍摄的路面图像的路面面积,然后统计该路面图像所在路面面积对应的车辆数量,根据该路面面积和车辆数量确定路况的车辆密度。之后,在预存表中查找车辆密度和路况等级的映射关系表,该映射关系表中存储有车辆密度区间和路况等级的映射关系,一个车辆密度区间对应一个路况等级,在计算出路况车辆密度之后,确定该车辆密度所在的车辆密度区间,然后根据该区间与路况等级的映射关系,即可确定该车辆密度所对应的路况等级,其中,路况等级包括但不限于非常塞、一般塞、不塞、通畅。最终,将确定的路况等级作为路况信息。在确定路况信息之后,基于所述路况信息播报交通信息。That is, after receiving the road surface image sent by the camera, calculate the road condition vehicle density according to the collected road surface image, specifically, identify the road surface area of the photographed road surface image, and then count the number of vehicles corresponding to the road surface area where the road surface image is located. Area and number of vehicles determine the vehicle density of the road condition. After that, look up the mapping relationship table between the vehicle density and the road condition level in the pre-stored table. The mapping relationship table stores the mapping relationship between the vehicle density interval and the road condition level. One vehicle density interval corresponds to a road condition level. After calculating the road condition vehicle density , determine the vehicle density interval in which the vehicle density is located, and then determine the road condition grade corresponding to the vehicle density according to the mapping relationship between the interval and the road condition grade. ,unobstructed. Finally, the determined road condition level is used as road condition information. After the road condition information is determined, the traffic information is broadcast based on the road condition information.
在本实施例中,基于所述路况信息播报交通信息的方式包括:In this embodiment, the way of broadcasting traffic information based on the road condition information includes:
1)方式一、所述步骤S40包括:1) Mode 1, the step S40 includes:
步骤1,在预存语料库中依次查找所述路况信息对应的词语;Step 1: Search for the words corresponding to the road condition information in sequence in the pre-stored corpus;
步骤2,将依次查找的词语按照查找顺序进行组合,得到词句;Step 2, the words searched in turn are combined according to the search order to obtain the words and sentences;
步骤3,在预存语音库中查询所述词句对应的语音;Step 3, query the corresponding voice of the phrase in the pre-stored voice library;
步骤4,播报所述语音对应的交通信息。Step 4, broadcast the traffic information corresponding to the voice.
即,先查找预存语料库,在预存语料库中依次查找所述路况信息对应的词语,可选在该预料库中直接查找与路况信息匹配的词语,如该路况信息为一般塞,则在该语料库中依次找到一般、塞等词语,然后将依次查找的词语按照查找顺序进行组合,得到词句。之后,在预存语音库中找到所述词句对应的语音,并播报所述语音对应的交通信息。That is, the pre-stored corpus is searched first, and the words corresponding to the road condition information are searched in turn in the pre-stored corpus. Optionally, the words matching the road condition information can be directly searched in the expected database. If the road condition information is normal, then in the corpus Find words such as general and stop in turn, and then combine the words searched in turn according to the search order to get the words and sentences. Afterwards, the voice corresponding to the words and sentences is found in the pre-stored voice database, and the traffic information corresponding to the voice is broadcast.
2)方式二、进一步地,为了提高交通指挥的灵活性和智能性,所述步骤S40包括:2) Method 2. Further, in order to improve the flexibility and intelligence of traffic command, the step S40 includes:
步骤5,在预存语料库中查找所述路况信息对应的模板;Step 5, searching for the template corresponding to the road condition information in the pre-stored corpus;
步骤6,在所述模板中提取出词句,作为所述路况信息对应的词句;Step 6, extract words and sentences in the template, as the words and sentences corresponding to the road condition information;
步骤7,在预存语音库中查询所述词句对应的语音;Step 7, inquire the corresponding voice of described words and sentences in the pre-stored voice library;
步骤8,播报所述语音对应的交通信息。Step 8, broadcast the traffic information corresponding to the voice.
即,先在该预存语料库中查找所述路况信息对应的模板,该模板中包含一些套话,模板是事先配置并与路况信息一一对应后存储到语料库中的,因此,在确定路况信息之后,查找语料库即可得到该路况信息对应的模板,然后在该模板中查找出提取出词句,作为所述路况信息对应的词句。之后,同样在预存语音库中查询所述词句对应的语音,并播报所述语音对应的交通信息。That is, the template corresponding to the road condition information is first searched in the pre-stored corpus. The template contains some clichés. The templates are pre-configured and stored in the corpus in one-to-one correspondence with the road condition information. Therefore, after the road condition information is determined, The template corresponding to the road condition information can be obtained by searching the corpus, and then the extracted words and sentences are found in the template as the words and sentences corresponding to the road condition information. Afterwards, the voice corresponding to the words and sentences is also queried in the pre-stored voice database, and the traffic information corresponding to the voice is broadcast.
通过上述过程,实现了交通指挥过程。Through the above process, the traffic command process is realized.
进一步地,为了提高交通指挥的灵活性,所述步骤S30之后,所述方法还包括:Further, in order to improve the flexibility of traffic command, after the step S30, the method further includes:
在显示界面中显示路况信息,和/或将计算的路况信息传输至显示设备。Display the road condition information in the display interface, and/or transmit the calculated road condition information to the display device.
即,在服务器的显示界面中显示路况信息,以便播报员语音播报该路况信息,或者,所述服务器将该路况信息发送至连接的显示设备中,以供播报员基于显示设备中显示的路况信息进行播报,从而实现交通的指挥。That is, the road condition information is displayed on the display interface of the server, so that the announcer can broadcast the road condition information by voice, or the server sends the road condition information to the connected display device, so that the announcer can base on the road condition information displayed in the display device. To broadcast, so as to realize the command of traffic.
本实施例中,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;接收摄像头采集的路面图像;根据采集的路面图像确定路况信息;基于所述路况信息播报交通信息。使得交通指挥过程由服务器控制摄像头拍照路面图像,之后根据路面图像播报交通信息,由于利用了道路中已有的摄像头进行交通信息的播报,无需车辆自动上报位置信息,对网络要求较低,整体花费的成本也有所降低。In this embodiment, when receiving a traffic command request, the server controls the camera to start to collect road images; receives road images collected by the cameras; determines road condition information according to the collected road images; and broadcasts traffic information based on the road condition information. In the traffic command process, the server controls the camera to take pictures of the road surface, and then broadcasts the traffic information according to the road surface image. Because the existing cameras on the road are used to broadcast the traffic information, there is no need for the vehicle to automatically report the location information, and the network requirements are low. The overall cost costs have also been reduced.
本发明还提供一种交通指挥装置。The invention also provides a traffic command device.
参照图3,图3为本发明交通指挥装置第一实施例的功能模块示意图,所述交通指挥装置应用于服务器,所述交通指挥装置包括:Referring to FIG. 3, FIG. 3 is a schematic diagram of the functional modules of the first embodiment of the traffic command device of the present invention. The traffic command device is applied to a server, and the traffic command device includes:
控制模块10,用于在接收到交通指挥请求时,控制摄像头启动以采集路面图像;The control module 10 is used to control the camera to start to collect road images when receiving a traffic command request;
接收模块20,用于接收摄像头采集的路面图像;The receiving module 20 is used for receiving the road surface image collected by the camera;
确定模块30,用于根据采集的路面图像确定路况信息;A determination module 30, configured to determine road condition information according to the collected road image;
播报模块40,用于基于所述路况信息播报交通信息。The broadcasting module 40 is used for broadcasting traffic information based on the road condition information.
进一步地,所述确定模块30包括:Further, the determining module 30 includes:
计算单元,用于根据采集的路面图像计算路况车辆密度;a calculation unit, used for calculating the density of vehicles in road conditions according to the collected road surface images;
确定单元,用于根据车辆密度与预设路况等级的映射关系,确定所述车辆密度对应的路况等级;a determining unit, configured to determine the road condition grade corresponding to the vehicle density according to the mapping relationship between the vehicle density and the preset road condition grade;
处理单元,用于将确定的路况等级作为路况信息。The processing unit is configured to use the determined road condition level as road condition information.
进一步地,所述播报模块40包括:Further, the broadcasting module 40 includes:
第一查找单元,用于在预存语料库中依次查找所述路况信息对应的词语;a first search unit, configured to sequentially search for words corresponding to the road condition information in a pre-stored corpus;
组合单元,用于将依次查找的词语按照查找顺序进行组合,得到词句;a combining unit, which is used to combine the sequentially searched words according to the search order to obtain the words and sentences;
第一查询单元,用于在预存语音库中查询所述词句对应的语音;a first query unit, used for querying the voice corresponding to the words and sentences in the pre-stored voice library;
第一播放单元,用于播报所述语音对应的交通信息。The first playing unit is used to broadcast the traffic information corresponding to the voice.
进一步地,所述播报模块40还包括:Further, the broadcasting module 40 also includes:
第二查找单元,用于在预存语料库中查找所述路况信息对应的模板;a second search unit, configured to search for a template corresponding to the road condition information in a pre-stored corpus;
提取单元,用于在所述模板中提取出词句,作为所述路况信息对应的词句;an extraction unit for extracting words and sentences from the template as words and sentences corresponding to the road condition information;
第二查询单元,用于在预存语音库中查询所述词句对应的语音;a second query unit, used for querying the voice corresponding to the words and sentences in the pre-stored voice library;
第二播放单元,用于播报所述语音对应的交通信息。The second playing unit is used to broadcast the traffic information corresponding to the voice.
进一步地,所述交通指挥装置还包括:Further, the traffic command device also includes:
处理模块,用于在显示界面中显示路况信息,和/或将计算的路况信息传输至显示设备。The processing module is used for displaying the road condition information in the display interface, and/or transmitting the calculated road condition information to the display device.
本发明交通指挥装置具体实施方式与上述交通指挥方法各实施例基本相同,在此不再赘述。The specific implementation manner of the traffic command device of the present invention is basically the same as the above-mentioned embodiments of the traffic command method, and will not be repeated here.
本实施例中,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;接收摄像头采集的路面图像;根据采集的路面图像确定路况信息;基于所述路况信息播报交通信息。使得交通指挥过程由服务器控制摄像头拍照路面图像,之后根据路面图像播报交通信息,由于利用了道路中已有的摄像头进行交通信息的播报,无需车辆自动上报位置信息,对网络要求较低,整体花费的成本也有所降低。In this embodiment, when receiving a traffic command request, the server controls the camera to start to collect road images; receives road images collected by the cameras; determines road condition information according to the collected road images; and broadcasts traffic information based on the road condition information. In the traffic command process, the server controls the camera to take pictures of the road surface, and then broadcasts the traffic information according to the road surface image. Because the existing cameras on the road are used to broadcast the traffic information, there is no need for the vehicle to automatically report the location information, and the network requirements are low. The overall cost costs have also been reduced.
本发明还提供一种交通指挥系统,其特征在于,所述交通指挥系统包括:服务器、摄像头,其中,所述服务器上文所述的交通指挥设备;The present invention also provides a traffic command system, characterized in that, the traffic command system includes: a server and a camera, wherein the server is the traffic command device described above;
所述交通指挥设备,用于在接收到交通指挥请求时,控制摄像头启动以采集路面图像;The traffic command device is used to control the camera to start to collect road images when a traffic command request is received;
接收摄像头采集的路面图像;Receive road images collected by cameras;
根据采集的路面图像确定路况信息;Determine the road condition information according to the collected road image;
基于所述路况信息播报交通信息。Traffic information is broadcast based on the road condition information.
在本实施例中,交通指挥系统包括服务器、摄像头,该服务器为上文所述的交通指挥设备,服务器与摄像头有通信连接关系,该服务器用于控制该摄像头采集路面图像,其中,控制该摄像头采集路面图像可选为:控制该摄像头定向采集路面图像,还可选为控制摄像头进行转向,以从不同的角度采集路面图像。In this embodiment, the traffic command system includes a server and a camera, the server is the traffic command device described above, the server has a communication connection with the camera, and the server is used to control the camera to collect road images, wherein the camera is controlled The options for collecting road images are: controlling the camera to directionally collect road images, and optionally controlling the camera to steer, so as to collect road images from different angles.
当服务器控制摄像头启动以采集路面图像之后,服务器接收路面图像,并根据采集的路面图像确定路况信息,具体根据采集的路面图像确定路况信息的步骤包括:根据采集的路面图像计算路况车辆密度;根据车辆密度与预设路况等级的映射关系,确定所述车辆密度对应的路况等级;将确定的路况等级作为路况信息。之后,基于所述路况信息播报交通信息,所述基于所述路况信息播报交通信息的方式包括:After the server controls the camera to start to collect the road surface image, the server receives the road surface image, and determines the road condition information according to the collected road surface image. Specifically, the steps of determining the road condition information according to the collected road surface image include: calculating the road condition vehicle density according to the collected road surface image; The mapping relationship between the vehicle density and the preset road condition grade is used to determine the road condition grade corresponding to the vehicle density; the determined road condition grade is used as road condition information. Afterwards, broadcasting traffic information based on the road condition information, and the manner of broadcasting the traffic information based on the road condition information includes:
1)方式一、在预存语料库中依次查找所述路况信息对应的词语;1) Method 1: Search for words corresponding to the road condition information in sequence in a pre-stored corpus;
将依次查找的词语按照查找顺序进行组合,得到词句;Combine the words searched in turn according to the search order to get the words and sentences;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
2)方式二、在预存语料库中查找所述路况信息对应的模板;2) Method 2, searching for a template corresponding to the road condition information in a pre-stored corpus;
在所述模板中提取出词句,作为所述路况信息对应的词句;Extracting words and sentences from the template as words and sentences corresponding to the road condition information;
在预存语音库中查询所述词句对应的语音;query the voice corresponding to the phrase in the pre-stored voice database;
播报所述语音对应的交通信息。The traffic information corresponding to the voice is broadcast.
通过上述方式,实现了交通信息的自动播放。In the above manner, the automatic playback of traffic information is realized.
进一步地,所述交通指挥系统还包括与所述服务器通信连接的显示设备,Further, the traffic command system further includes a display device connected in communication with the server,
所述交通指挥系统,用于在显示界面中显示路况信息,和/或将计算的路况信息传输至显示设备。The traffic command system is used for displaying road condition information in a display interface, and/or transmitting the calculated road condition information to a display device.
本发明交通指挥系统具体实施方式与上述交通指挥方法各实施例基本相同,在此不再赘述。The specific implementation manner of the traffic command system of the present invention is basically the same as the above-mentioned embodiments of the traffic command method, and will not be repeated here.
本实施例中,在接收到交通指挥请求时,服务器控制摄像头启动以采集路面图像;接收摄像头采集的路面图像;根据采集的路面图像确定路况信息;基于所述路况信息播报交通信息。使得交通指挥过程由服务器控制摄像头拍照路面图像,之后根据路面图像播报交通信息,由于利用了道路中已有的摄像头进行交通信息的播报,无需车辆自动上报位置信息,对网络要求较低,整体花费的成本也有所降低。In this embodiment, when receiving a traffic command request, the server controls the camera to start to collect road images; receives road images collected by the cameras; determines road condition information according to the collected road images; and broadcasts traffic information based on the road condition information. In the traffic command process, the server controls the camera to take pictures of the road surface, and then broadcasts the traffic information according to the road surface image. Because the existing cameras on the road are used to broadcast the traffic information, there is no need for the vehicle to automatically report the location information, and the network requirements are low. The overall cost costs have also been reduced.
此外,本发明实施例还提出一种计算机可读存储介质。In addition, the embodiments of the present invention also provide a computer-readable storage medium.
计算机可读存储介质上存储有交通指挥程序,交通指挥程序被处理器执行时实现如上所述的交通指挥方法的步骤。The computer-readable storage medium stores a traffic command program, and when the traffic command program is executed by the processor, implements the steps of the above-mentioned traffic command method.
本发明计算机可读存储介质具体实施方式与上述交通指挥方法各实施例基本相同,在此不再赘述。The specific implementation manner of the computer-readable storage medium of the present invention is basically the same as that of the above-mentioned embodiments of the traffic command method, and will not be repeated here.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,这些均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the scope of protection of the purpose of the present invention and the claims, many forms can be made. Directly or indirectly applied in other related technical fields, these all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431251.8A CN110211374A (en) | 2019-05-22 | 2019-05-22 | Traffic guidance method, device, system, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431251.8A CN110211374A (en) | 2019-05-22 | 2019-05-22 | Traffic guidance method, device, system, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110211374A true CN110211374A (en) | 2019-09-06 |
Family
ID=67788147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910431251.8A Pending CN110211374A (en) | 2019-05-22 | 2019-05-22 | Traffic guidance method, device, system, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110211374A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110853345A (en) * | 2019-09-25 | 2020-02-28 | 陈广柱 | Crossing intensive information acquisition system for traffic police command |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090281808A1 (en) * | 2008-05-07 | 2009-11-12 | Seiko Epson Corporation | Voice data creation system, program, semiconductor integrated circuit device, and method for producing semiconductor integrated circuit device |
CN102023579A (en) * | 2009-09-14 | 2011-04-20 | 刘海斌 | Remote controller |
CN102324995A (en) * | 2011-04-20 | 2012-01-18 | 铁道部运输局 | Speech broadcasting method and system |
CN102831779A (en) * | 2012-08-16 | 2012-12-19 | 深圳市领华卫通数码科技有限公司 | Method and system for realizing road condition prompting and navigation |
CN103208208A (en) * | 2013-03-25 | 2013-07-17 | 苏州德鲁克供应链管理有限公司 | Early education intelligence benefiting system for children |
CN203135927U (en) * | 2013-01-08 | 2013-08-14 | 有鹏 | Internet of Things-based wireless voice control system |
CN104851295A (en) * | 2015-05-22 | 2015-08-19 | 北京嘀嘀无限科技发展有限公司 | Method and system for acquiring road condition information |
CN105185113A (en) * | 2015-08-30 | 2015-12-23 | 武汉市蜡笔科技有限公司 | Application device for traffic camera traffic information acquisition based on image identification |
CN105578060A (en) * | 2016-02-18 | 2016-05-11 | 温岭市太平高级职业中学 | Voice remote control digital camera based on ASR (Automatic Speech Recognition) MO8-A and TC35 |
CN105791676A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Terminal, imaging device, interactive system, control method and control device thereof |
CN106428006A (en) * | 2016-12-20 | 2017-02-22 | 北京小米移动软件有限公司 | Vehicle control method and vehicle control device |
CN107301776A (en) * | 2016-10-09 | 2017-10-27 | 上海炬宏信息技术有限公司 | Track road conditions processing and dissemination method based on video detection technology |
US20170372148A1 (en) * | 2014-07-07 | 2017-12-28 | Here Global B.V. | Lane level traffic |
CN108154878A (en) * | 2017-12-12 | 2018-06-12 | 北京小米移动软件有限公司 | Control the method and device of monitoring device |
CN109522840A (en) * | 2018-11-16 | 2019-03-26 | 孙睿 | A kind of expressway vehicle density monitoring calculation system and method |
CN109615874A (en) * | 2018-12-28 | 2019-04-12 | 浙江大学 | A Road Condition Analysis Method Based on Gestalt Psychology Criteria |
CN109618067A (en) * | 2018-11-30 | 2019-04-12 | 携程旅游信息技术(上海)有限公司 | Outgoing call dialog process method and system |
-
2019
- 2019-05-22 CN CN201910431251.8A patent/CN110211374A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090281808A1 (en) * | 2008-05-07 | 2009-11-12 | Seiko Epson Corporation | Voice data creation system, program, semiconductor integrated circuit device, and method for producing semiconductor integrated circuit device |
CN102023579A (en) * | 2009-09-14 | 2011-04-20 | 刘海斌 | Remote controller |
CN102324995A (en) * | 2011-04-20 | 2012-01-18 | 铁道部运输局 | Speech broadcasting method and system |
CN102831779A (en) * | 2012-08-16 | 2012-12-19 | 深圳市领华卫通数码科技有限公司 | Method and system for realizing road condition prompting and navigation |
CN203135927U (en) * | 2013-01-08 | 2013-08-14 | 有鹏 | Internet of Things-based wireless voice control system |
CN103208208A (en) * | 2013-03-25 | 2013-07-17 | 苏州德鲁克供应链管理有限公司 | Early education intelligence benefiting system for children |
US20170372148A1 (en) * | 2014-07-07 | 2017-12-28 | Here Global B.V. | Lane level traffic |
CN104851295A (en) * | 2015-05-22 | 2015-08-19 | 北京嘀嘀无限科技发展有限公司 | Method and system for acquiring road condition information |
CN105185113A (en) * | 2015-08-30 | 2015-12-23 | 武汉市蜡笔科技有限公司 | Application device for traffic camera traffic information acquisition based on image identification |
CN105578060A (en) * | 2016-02-18 | 2016-05-11 | 温岭市太平高级职业中学 | Voice remote control digital camera based on ASR (Automatic Speech Recognition) MO8-A and TC35 |
CN105791676A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Terminal, imaging device, interactive system, control method and control device thereof |
CN107301776A (en) * | 2016-10-09 | 2017-10-27 | 上海炬宏信息技术有限公司 | Track road conditions processing and dissemination method based on video detection technology |
CN106428006A (en) * | 2016-12-20 | 2017-02-22 | 北京小米移动软件有限公司 | Vehicle control method and vehicle control device |
CN108154878A (en) * | 2017-12-12 | 2018-06-12 | 北京小米移动软件有限公司 | Control the method and device of monitoring device |
CN109522840A (en) * | 2018-11-16 | 2019-03-26 | 孙睿 | A kind of expressway vehicle density monitoring calculation system and method |
CN109618067A (en) * | 2018-11-30 | 2019-04-12 | 携程旅游信息技术(上海)有限公司 | Outgoing call dialog process method and system |
CN109615874A (en) * | 2018-12-28 | 2019-04-12 | 浙江大学 | A Road Condition Analysis Method Based on Gestalt Psychology Criteria |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110853345A (en) * | 2019-09-25 | 2020-02-28 | 陈广柱 | Crossing intensive information acquisition system for traffic police command |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12112032B2 (en) | Controlling a device based on processing of image data that captures the device and/or an installation environment of the device | |
CN108289244B (en) | Video subtitle processing method, mobile terminal and computer readable storage medium | |
US20140074318A1 (en) | Vehicle information processing system and method | |
US20130311506A1 (en) | Method and apparatus for user query disambiguation | |
JP7231638B2 (en) | Image-based information acquisition method and apparatus | |
CN110992937B (en) | Language offline identification method, terminal and readable storage medium | |
CN108170266A (en) | Smart machine control method, device and equipment | |
WO2022089594A1 (en) | Information display method and apparatus, and electronic device | |
CN114880569B (en) | Recommended control method, device, electronic device, system and storage medium for vehicle | |
WO2022218149A1 (en) | Information processing method and apparatus, and storage medium | |
CN109597996B (en) | A semantic analysis method, device, equipment and medium | |
WO2020010817A1 (en) | Video processing method and device, and terminal and storage medium | |
US20150281394A1 (en) | Data sharing method and electronic device thereof | |
JP2017526988A (en) | Search result acquisition method and apparatus | |
WO2025098043A1 (en) | In-vehicle intelligent scenario recommendation method and apparatus, and device and medium | |
CN110211374A (en) | Traffic guidance method, device, system, equipment and computer readable storage medium | |
CN111105641A (en) | BIM model-based vehicle searching method and device and readable storage medium | |
JP2019533250A (en) | Method, system, and medium for pairing devices and completing tasks using application requests | |
CN111539217A (en) | Method, equipment and system for disambiguating natural language content title | |
CN110600031A (en) | Play control method, play device, and computer-readable storage medium | |
CN109542576B (en) | Terminal initialization information setting method, terminal and computer readable storage medium | |
CN113573027A (en) | Resource sorting display method, device, equipment and medium in command terminal | |
JP2018112598A (en) | Karaoke system, server device | |
KR102721552B1 (en) | Methods of processing data and electronic devices thereof | |
CN112101387A (en) | Salient element identification method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |