Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, so that only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, the form, number and proportion of each component in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
The road condition sharing method, system, medium and device are used for accurately, quickly and timely acquiring and sharing the real-time road condition.
As shown in fig. 1a, the road condition sharing method, system, medium and device of the present invention are applied to application scenarios constructed by vehicles and cloud processors. The cloud processor receives first road condition information and first road condition photo information sent by a vehicle, identifies the first road condition photo information to obtain second road condition information, judges whether the first road condition information belongs to the second road condition information, obtains position information based on the first road condition photo information when the first road condition information belongs to the second road condition information, and marks a corresponding place of a map based on the position information. Thus, the real-time road condition information is shared with other vehicles, and the real-time road condition information is accurately, quickly and timely acquired and shared.
As shown in fig. 1b, in an embodiment, the road condition sharing method of the present invention includes the following steps:
Step S11, receiving first road condition information and first road condition photo information sent by a vehicle.
Specifically, the vehicle acquires first road condition photo information through an imaging device when running. The camera device can be arranged at the front of the vehicle, the vehicle body and other positions, and the camera is used for taking road condition pictures so as to acquire first road condition picture information.
Specifically, the first road condition photo information acquisition is based on the acquisition of a front road shot by a vehicle-mounted camera of a vehicle.
Specifically, the first road condition information acquisition includes:
step S111, receiving voice information.
Specifically, when the vehicle is driven on the road, and when the driver finds that the road condition is problematic, the road condition problem is described in a recording mode, and recording information containing the description of the road condition problem is sent to the cloud processor. And the cloud processor receives the voice information.
Step S112, converting the voice information into text information so as to acquire the first road condition information.
Specifically, the voice information is converted into text information based on a preset voice-to-text software. The voice-to-text software comprises the steps of voice recognition of a Tencent cloud, quick-to-text assistant, message flying hearing and the like.
And step S12, identifying the first road condition photo information to obtain second road condition information.
Specifically, the identifying the first road condition photo information to obtain second road condition information includes:
step S121, identifying the first road condition photo information based on a preset image identification algorithm to obtain an identification result.
Specifically, the image recognition algorithm comprises a Convolutional Neural Network (CNN) algorithm and a feature extraction algorithm. And acquiring the road condition corresponding to the first road condition photo information based on a preset image recognition algorithm, so as to acquire a recognition result. For example, training a convolutional neural network model by using standard road condition photos, and after the convolutional neural network model is trained, putting the first road condition photo to be identified into the convolutional neural network model, so as to obtain a corresponding identification result.
Step S122, converting the identification result into text information to obtain second road condition information.
And S13, judging whether the first road condition information belongs to the second road condition information, and when the first road condition information belongs to the second road condition information, acquiring position information based on the first road condition photo information, and marking a corresponding place of a map based on the position information.
Specifically, the determining whether the first road condition information belongs to the second road condition information includes:
step S131, obtaining a first road condition keyword based on the first road condition information.
Specifically, a road section accident word stock is preset, and a first road condition keyword is obtained from the first road condition information based on the road section accident word stock. Specifically, the first road condition information is segmented to obtain a plurality of words based on a preset Chinese text word segmentation algorithm, and the first road condition keyword is identified from the plurality of words based on a preset road section accident word stock. The preset road section accident word stock is a preset word stock containing words related to road section accidents, the first road condition information can be segmented to obtain a plurality of words, and the first road condition keywords can be obtained by carrying out preset road section accident word stock identification. The preset Chinese text word segmentation algorithm comprises a reverse maximum matching method, a Chinese sentence word segmentation algorithm (MaxMatch) and the like.
And step S132, obtaining a second road condition keyword based on the second road condition information. And presetting a road section accident word stock, and obtaining a second road condition keyword from the second road condition information based on the road section accident word stock. Specifically, the second road condition information is segmented to obtain a plurality of words based on a preset Chinese text word segmentation algorithm, and the second road condition keywords are identified from the plurality of words based on a preset road section accident word stock. The preset road section accident word stock is a preset word stock containing words related to road section accidents, and the second road condition information can be segmented to obtain a plurality of words, and the words are identified through the preset road section accident word stock so as to obtain second road condition keywords. The preset Chinese text word segmentation algorithm comprises a reverse maximum matching method, a Chinese sentence word segmentation algorithm (MaxMatch) and the like.
And step S133, judging the similarity of the first road condition keywords and the second road condition keywords. Specifically, the similarity of the first road condition keyword and the second road condition keyword is compared based on a preset text similarity algorithm. For example, the text similarity algorithm is a semantic matching LSA (latent semanticanalysis) model, the text topic matrix obtained by LSA can be used for text similarity calculation, and the calculation method is generally cosine similarity.
The marking of the corresponding place of the map based on the position information comprises that the first road condition photo information comprises the position information of the place when the first road condition photo is shot, so that the position information can be obtained based on the first road condition photo information, and after the position information is obtained, the marking can be performed on the corresponding place of the map according to the position information.
The marking of the corresponding place of the map based on the position information comprises the steps of presetting the corresponding relation between road conditions and marks, judging the corresponding marks of the second road condition information based on the second road condition information and the corresponding relation, and making the corresponding marks of the corresponding places of the map. Therefore, different marks can be set according to different road conditions, so that the user can check conveniently, and the user can recognize different road conditions according to different marks in time.
And step S134, judging that the first road condition information belongs to the second road condition information if the similarity is larger than a preset threshold value.
Specifically, the method further comprises the following steps:
step S141, obtaining second road condition photo information of marked places sent by other vehicles.
And step S142, identifying the second road condition photo information to obtain third road condition information.
And step S143, judging whether the road condition is normal or not based on the third condition information.
And step S144, when the road condition photo information is normal, removing the mark of the place corresponding to the second road condition photo information on the map. Therefore, whether the road condition of the marked place is restored or not can be judged according to the second road condition photo information of the marked place sent by other vehicles, and if so, the road condition can be updated in time so as not to cause misguidance to the travel of other users.
As shown in fig. 2, in an embodiment, the road condition sharing system of the present invention includes a receiving module 21, an identifying module 22 and a judging module 23, where the receiving module is configured to receive first road condition information and first road condition photo information sent by a vehicle, the identifying module is configured to identify the first road condition photo information to obtain second road condition information, and the judging module is configured to judge whether the first road condition information belongs to the second road condition information, and when the first road condition information belongs to the second road condition information, obtain location information based on the first road condition photo information, and mark a corresponding location on a map based on the location information.
It should be noted that the structures and principles of the receiving module 21, the identifying module 22 and the judging module 23 are in one-to-one correspondence with the steps in the road condition sharing method, so that the description thereof is omitted herein.
It should be noted that, it should be understood that the division of the modules of the above system is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. The modules can be realized in the form of software which is called by the processing element, in the form of hardware, in the form of software which is called by the processing element, and in the form of hardware. For example, a certain module may be a processing element that is set up separately, may be implemented in a certain chip of the above apparatus, or may be stored in a memory of the above apparatus in the form of program code, and may be called by a certain processing element of the above apparatus and execute the functions of the above certain module. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
For example, the modules above may be one or more integrated circuits configured to implement the methods above, such as one or more Application SPECIFIC INTEGRATED Circuits (ASICs), or one or more microprocessors (Micro Processor Uint MPUs), or one or more field programmable gate arrays (Field Programmable GATE ARRAY FPGAs), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In an embodiment of the present invention, the present invention further includes a computer readable storage medium having a computer program stored thereon, which when executed by a processor implements any of the road condition sharing methods described above.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of implementing the method embodiments described above may be performed by computer program related hardware. The aforementioned computer program may be stored in a computer readable storage medium. The program, when executed, performs the steps comprising the method embodiments described above, and the storage medium described above includes various media capable of storing program code, such as ROM, RAM, magnetic or optical disk.
In one embodiment, the road condition sharing device of the present invention includes a processor and a memory.
The memory is used for storing a computer program.
The memory includes a ROM, RAM, magnetic disk, U-disk, memory card, or optical disk, etc. various media that can store program codes.
The processor is connected with the memory and is used for executing the computer program stored in the memory so that the financial named entity identification terminal executes the financial named entity identification method.
Preferably, the Processor may be a general-purpose Processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network Processor (Network Processor, abbreviated as NP), etc., or may be a digital signal Processor (DIGITAL SIGNAL Processor, abbreviated as DSP), an Application Specific Integrated Circuit (ASIC), a field programmable gate array (Field Programmable GATE ARRAY, abbreviated as FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
As shown in fig. 3, in one embodiment, the road 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).
Bus 33 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (ISA: industry Standard Architecture) bus, micro channel architecture (MAC: MEDIA ACCESS Control) bus, enhanced ISA bus, video electronics standards Association (VESA: video Electronics Standard Association) local bus, and peripheral component interconnect (PCI: PERIPHERAL COMPONENT INTERCONNECT) bus.
Road condition sharing devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the road conditions sharing device and includes both volatile and non-volatile media, removable and non-removable media.
Memory 32 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 321 and/or cache memory 322. The road condition sharing device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 323 may be used to read from and write to non-removable, non-volatile magnetic media (not shown in FIG. 3, commonly referred to as a "hard disk drive"). Although not shown in fig. 3, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be coupled to bus 33 through one or more data medium interfaces. Memory 32 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 324 having a set (at least one) of program modules 3241 can be stored, for example, in 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 or some combination of which can include an implementation of a network environment. Program modules 3241 typically carry out the functions and/or methods of the embodiments described herein.
The road condition sharing device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the road condition sharing device, and/or any device (e.g., network card, modem, etc.) that enables the road condition sharing device to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 34. And, the road condition sharing device may also communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the internet, through the network adapter 35. As shown in fig. 3, the network adapter 35 communicates with other modules of the road condition sharing device via the bus 33. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the road condition sharing device, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems (Redundant Array of INDEPENDENT DISKS, redundant arrays of independent disks), tape drives, and data backup storage systems.
In summary, the road condition sharing method, system, medium and device are used for accurately, rapidly and timely acquiring and sharing real-time road conditions. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.