Road condition sharing method, system, medium and device
By identifying and matching the road condition photo information sent by the vehicle, and obtaining and marking locations on the map, the problem of insufficiently accurate, fast and timely sharing of road condition information in the existing technology is solved, and the accurate sharing and timely update of real-time road condition information is achieved.
Patent Information
- Application Number
- CN202111021904.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-01
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2041-09-01
AI Technical Summary
In the prior art, the sharing of road conditions information is not accurate, fast and timely enough, and cannot be updated in time, resulting in misleading other users' travel.
By receiving the first road condition information and the first road condition photo information sent by the vehicle, identify the photo information to obtain the second road condition information, and determine whether the two match. If the match is done, the location information is obtained based on the photo information and mark it on the map to realize real-time road condition sharing.
It realizes accurate, fast and timely acquisition and sharing of real-time road conditions information, and timely updates marks according to changes in road conditions to avoid misleading other users' travel.
Smart Images

Figure CN115731732B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of navigation technology, and in particular to a road condition sharing method, system, medium and device. Background Art
[0002] Nowadays, if there is an emergency on the road, such as flooding of the road due to heavy rain, ground collapse, closure of highway entrances, etc., people still rely on car radio to share road conditions. The above is still a primitive method, without records. Most users cannot remember all road conditions information, sharing information is not accurate and fast enough, and obtaining content is not intuitive enough. If the road conditions change later, they cannot be modified in time.
[0003] Therefore, it is hoped that the problem of how to share traffic information accurately, quickly and timely can be solved. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a road condition sharing method, system, medium and device for solving the problem of how to accurately, quickly and timely share road condition information in the prior art.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a road condition sharing method, comprising the following steps: receiving first road condition information and first road condition photo information sent by a vehicle; identifying the first road condition photo information to obtain second road condition information; determining whether the first road condition information belongs to the second road condition information, and if so, obtaining location information based on the first road condition photo information, and marking the corresponding location on the map based on the location information.
[0006] To achieve the above-mentioned purpose, the present invention also provides a road condition sharing system, including: a receiving module, an identification module and a judgment module; the receiving module is used to receive first road condition information and first road condition photo information sent by a vehicle; the identification module is used to identify the first road condition photo information to obtain second road condition information; the judgment module is used to determine whether the first road condition information belongs to the second road condition information, and when it does, obtain location information based on the first road condition photo information, and mark the corresponding location on the map based on the location information.
[0007] To achieve the above objectives, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements any of the above-mentioned road condition sharing methods when executed by a processor.
[0008] To achieve the above objectives, the present invention also provides a traffic condition sharing device, comprising: a processor and a memory; the memory is used to store a computer program; the processor is connected to the memory, and is used to execute the computer program stored in the memory, so that the traffic condition sharing device executes any of the above traffic condition sharing methods.
[0009] As described above, a road condition sharing method, system, medium and device of the present invention have the following beneficial effects: they are used to accurately, quickly and timely obtain real-time road conditions and share them; different marks can be set according to different road conditions, which is convenient for users to view and convenient for users to timely identify different road conditions according to different marks; the road condition of the marked location can be judged based on the second road condition photo information of the marked location sent by other vehicles to determine whether it has returned to normal. If it has returned to normal, it can be updated in time to avoid misleading other users' travel. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1a Shown is a schematic diagram of an application scenario architecture of a traffic condition sharing method of the present invention in one embodiment;
[0011] Figure 1b Shown is a flow chart of a traffic condition sharing method in one embodiment of the present invention;
[0012] Figure 2 Shown is a schematic diagram of the structure of a traffic condition sharing system in one embodiment of the present invention;
[0013] Figure 3 Shown is a schematic structural diagram of a traffic condition sharing device in one embodiment of the present invention.
[0014] Component number description
[0015] 21. Receiver module
[0016] 22 Identification Module
[0017] 23 Judgment module
[0018] 31 Processing Units
[0019] 32 Memory
[0020] 321 Random Access Memory
[0021] 322 Cache memory
[0022] 323 Storage System
[0023] 324 Programs / Utilities
[0024] 3241 Program Module
[0025] 33 Bus
[0026] 34 I / O interfaces
[0027] 35 Network Adapter DETAILED DESCRIPTION
[0028] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0029] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0030] The traffic condition sharing method, system, medium and device of the present invention are used to accurately, quickly and timely obtain real-time traffic conditions and share them.
[0031] like Figure 1a As shown, the road condition sharing method, system, medium and device of the present invention are applied to an application scenario constructed by a vehicle and a cloud processor. The vehicle sends first road condition information and first road condition photo information, and the cloud processor receives the first road condition information and first road condition photo information sent by the vehicle; identifies the first road condition photo information to obtain second road condition information; determines whether the first road condition information belongs to the second road condition information, and if so, obtains location information based on the first road condition photo information, and marks the corresponding location on the map based on the location information. In this way, real-time road condition information is shared with other vehicles for accurate, fast and timely acquisition of real-time road conditions and sharing.
[0032] like Figure 1b As shown, in one embodiment, the traffic condition sharing method of the present invention includes the following steps:
[0033] Step S11, receiving first road condition information and first road condition photo information sent by a vehicle.
[0034] Specifically, the vehicle obtains the first road condition photo information through a camera device when driving. The camera device can be installed in front of the vehicle, on the vehicle body, etc. The camera is used to take road condition photos to obtain the first road condition photo information.
[0035] Specifically, the first road condition photo information is obtained based on photographing the road ahead with a vehicle-mounted camera.
[0036] Specifically, the first road condition information acquisition includes:
[0037] Step S111: receiving voice information.
[0038] Specifically, when the vehicle is driving on the road, if the driver finds that there is a problem with the road condition, he will describe the road condition problem by recording, and send the recording information containing the description of the road condition problem to the cloud processor. The cloud processor receives the voice information.
[0039] Step S112: Convert the voice information into text information to obtain the first road condition information.
[0040] Specifically, the voice information is converted into text information based on a preset voice-to-text software. The voice-to-text software includes: Tencent Cloud Voice Recognition, Xunjie Text Assistant, iFlytek Hear, etc.
[0041] Step S12: Identify the first road condition photo information to obtain second road condition information.
[0042] Specifically, the identifying the first road condition photo information to obtain the second road condition information includes:
[0043] Step S121: Recognize the first road condition photo information based on a preset image recognition algorithm to obtain a recognition result.
[0044] Specifically, the image recognition algorithm includes: a convolutional neural network (CNN) algorithm and a feature extraction algorithm. Based on the preset image recognition algorithm, the road condition corresponding to the first road condition photo information can be obtained, thereby obtaining a recognition result. For example, a convolutional neural network model is trained with a standard road condition photo. After the convolutional neural network model is trained, the first road condition photo to be identified is put into the convolutional neural network model to obtain the corresponding recognition result.
[0045] Step S122: Convert the recognition result into text information to obtain second road condition information.
[0046] Step S13, determining whether the first road condition information belongs to the second road condition information, and if so, obtaining location information based on the first road condition photo information, and marking a corresponding location on a map based on the location information.
[0047] Specifically, the determining whether the first road condition information belongs to the second road condition information includes:
[0048] Step S131: Obtain a first traffic condition keyword based on the first traffic condition information.
[0049] Specifically, a road accident word library is preset, and a first road condition keyword is obtained from the first road condition information based on the road accident word library. Specifically, the first road condition information is segmented to obtain multiple words based on a preset Chinese text word segmentation algorithm, and the first road condition keyword is identified from the multiple words based on the preset road accident word library. The preset road accident word library is a pre-set word library containing vocabulary related to road accidents, and the first road condition information can be segmented to obtain multiple words, and the first road condition keyword is obtained by performing recognition on the preset road accident word library. The preset Chinese text word segmentation algorithm includes: reverse maximum matching method, Chinese sentence word segmentation algorithm (MaxMatch), etc.
[0050] Step S132, obtaining a second road condition keyword based on the second road condition information. A road section accident word library is preset, and a second road condition keyword is obtained from the second road condition information based on the road section accident word library. Specifically, the second road condition information is segmented to obtain a plurality of words based on a preset Chinese text segmentation algorithm, and the second road condition keyword is identified from the plurality of words based on the preset road section accident word library. The preset road section accident word library is a pre-set word library containing vocabulary associated with road section accidents, and the second road condition information can be segmented to obtain a plurality of words, which are identified through the preset road section accident word library to obtain the second road condition keyword. The preset Chinese text segmentation algorithm includes: reverse maximum matching method, Chinese sentence word segmentation algorithm (MaxMatch), etc.
[0051] Step S133, determining the similarity between the first traffic condition keyword and the second traffic condition keyword. Specifically, the similarity between the first traffic condition keyword and the second traffic condition keyword is compared based on a preset text similarity algorithm. For example, the text similarity algorithm is a semantic matching LSA (latent semantic analysis) type model, and the text topic matrix obtained by LSA can be used for text similarity calculation, and the calculation method is generally through cosine similarity.
[0052] Specifically, obtaining location information based on the first road condition photo information and marking a corresponding location on the map based on the location information include: the first road condition photo information includes the location information of the location when the first road condition photo was taken. Therefore, the location information can be obtained based on the first road condition photo information. After obtaining the location information, marking can be made on the corresponding location on the map according to the location information.
[0053] Specifically, marking the corresponding location on the map based on the location information includes: presetting the corresponding relationship between the road condition and the mark; judging the corresponding mark of the second road condition information based on the second road condition information and the corresponding relationship; and marking the corresponding location on the map. In this way, different marks can be set according to different road conditions, which is convenient for users to view and to identify different road conditions in a timely manner according to different marks.
[0054] Step S134: If the similarity is greater than a preset threshold, it is determined that the first road condition information belongs to the second road condition information.
[0055] Specifically, the following steps are also included:
[0056] Step S141: Acquire the second road condition photo information of the marked location sent by other vehicles.
[0057] Step S142: Identify the second road condition photo information to obtain third road condition information.
[0058] Step S143: determine whether the road condition is normal based on the third road condition information.
[0059] Step S144: when the traffic is normal, remove the mark of the location corresponding to the second road condition photo information on the map. In this way, it is possible to determine whether the traffic condition of the marked location has returned to normal based on the second road condition photo information of the marked location sent by other vehicles. If it has returned to normal, it can be updated in time to avoid misleading other users' travel.
[0060] like Figure 2 As shown, in one embodiment, the road condition sharing system of the present invention includes a receiving module 21, an identification module 22 and a judgment module 23; the receiving module is used to receive the first road condition information and the first road condition photo information sent by the vehicle; the identification module is used to identify the first road condition photo information to obtain the second road condition information; the judgment module is used to determine whether the first road condition information belongs to the second road condition information, and when it does, obtain the location information based on the first road condition photo information, and mark the corresponding location on the map based on the location information.
[0061] It should be noted that the structures and principles of the receiving module 21 , the identifying module 22 and the judging module 23 correspond one to one with the steps in the above-mentioned road condition sharing method, and therefore will not be described in detail here.
[0062] It should be noted that it should be understood that the division of the various modules of the above system is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, a certain module can be a separately established processing element, or it can be integrated in a certain chip of the above-mentioned device for implementation. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called and executed by a certain processing element of the above-mentioned device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0063] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (MPU), or one or more field programmable gate arrays (FPGA). For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0064] In one embodiment of the present invention, the present invention further includes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, any of the above-mentioned road condition sharing methods is implemented.
[0065] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0066] In one embodiment, the traffic condition sharing device of the present invention includes: a processor and a memory.
[0067] The memory is used to store computer programs.
[0068] The memory includes: ROM, RAM, disk, USB flash drive, memory card or CD and other media that can store program codes.
[0069] The processor is connected to the memory and is used to execute the computer program stored in the memory so that the financial named entity recognition terminal executes the above-mentioned financial named entity recognition method.
[0070] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0071] like Figure 3 As shown, in one embodiment, the traffic condition sharing device of the present invention includes but is not limited to: one or more processors or processing units 31, a memory 32, and a bus 33 connecting different system components (including the memory 32 and the processing unit 31).
[0072] Bus 33 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standard Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0073] The traffic sharing device typically includes a variety of computer system readable media, which can be any available media that can be accessed by the traffic sharing device, including volatile and non-volatile media, removable and non-removable media.
[0074] The memory 32 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322. The traffic sharing device may further include other removable / non-removable, volatile / non-volatile computer system storage media. For example only, the storage system 323 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 not shown, usually called a "hard drive"). Although Figure 3 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 33 via one or more data medium interfaces. The memory 32 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the embodiments of the present invention.
[0075] A program / utility 324 having a set (at least one) of program modules 3241 may be stored, for example, in the memory 32, such program modules 3241 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 3241 generally perform the functions and / or methods of the embodiments described herein.
[0076] The traffic sharing device may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), one or more devices that enable a user to interact with the traffic sharing device, and / or any device that enables the traffic sharing device to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 34. Furthermore, the traffic sharing device may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 35. Figure 3As shown, the network adapter 35 communicates with other modules of the road condition sharing device via the bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the road condition sharing device, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system (Redundant Array of Independent Disks, Redundant Array of Independent Disks), tape drive and data backup storage system, etc.
[0077] In summary, the traffic condition sharing method, system, medium and device of the present invention are used to accurately, quickly and timely obtain real-time traffic conditions and share them. Therefore, the present invention effectively overcomes various shortcomings of the prior art and has high industrial utilization value.
[0078] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for sharing traffic conditions. It is characterized in that The following steps are involved: Receiving first road condition information and first road condition photo information sent by a vehicle; Recognize the first road condition photo information to obtain second road condition information; determining whether the first road condition information belongs to the second road condition information, and if so, obtaining location information based on the first road condition photo information, and marking a corresponding location on a map based on the location information; The first road condition information acquisition includes: Receive voice messages; Convert the voice information into text information to obtain the first road condition information; The identifying the first road condition photo information to obtain the second road condition information comprises: Recognize the first road condition photo information based on a preset image recognition algorithm to obtain a recognition result; Convert the recognition result into text information to obtain second road condition information; Obtaining the second road condition photo information of the marked location sent by other vehicles; Recognize the second road condition photo information to obtain third road condition information; Determining whether the road condition is normal based on the third road condition information; When normal, remove the mark on the map of the location corresponding to the second road condition photo information.
2. According to the road condition sharing method of claim 1, the first road condition photo information is obtained based on the vehicle's onboard camera taking pictures of the road ahead.
3. The method for sharing traffic conditions according to claim 1, wherein the step of determining whether the first traffic condition information belongs to the second traffic condition information include: Obtaining a first traffic condition keyword based on the first traffic condition information; obtaining a second traffic condition keyword based on the second traffic condition information; Determining the similarity between the first traffic condition keyword and the second traffic condition keyword; If the similarity is greater than a preset threshold, it is determined that the first road condition information belongs to the second road condition information.
4. The method for sharing traffic conditions according to claim 1, wherein the corresponding location on the map is marked based on the location information. include: Preset the correspondence between road conditions and markings; Determining a corresponding mark of the second road condition information based on the second road condition information and the corresponding relationship; Make the corresponding mark at the corresponding location on the map.
5. A traffic condition sharing system, It is characterized in that include: Receiving module, identifying module and judging module; The receiving module is used to receive the first road condition information and the first road condition photo information sent by the vehicle; The recognition module is used to recognize the first road condition photo information to obtain second road condition information; The judging module is used to judge whether the first road condition information belongs to the second road condition information, and if so, obtain location information based on the first road condition photo information, and mark a corresponding location on the map based on the location information; The first road condition information acquisition includes: Receive voice messages; Convert the voice information into text information to obtain the first road condition information; The identifying the first road condition photo information to obtain the second road condition information comprises: Recognize the first road condition photo information based on a preset image recognition algorithm to obtain a recognition result; Convert the recognition result into text information to obtain second road condition information; Obtaining the second road condition photo information of the marked location sent by other vehicles; Recognize the second road condition photo information to obtain third road condition information; Determining whether the road condition is normal based on the third road condition information; When normal, remove the mark on the map of the location corresponding to the second road condition photo information.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer program is executed by a processor to implement the traffic condition sharing method according to any one of claims 1 to 4.
7. A road condition sharing device, It is characterized in that include: Processor and memory; The memory is used to store computer programs; The processor is connected to the memory and is used to execute the computer program stored in the memory so that the road condition sharing device executes the road condition sharing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Road condition information processing method and device, device and medium
CN111693064A