Road condition judgment method and system, electronic equipment and mobile terminal
By analyzing the voice text and expressions in the vehicle, combined with the pre-constructed road condition relationships, a variety of algorithms are used to determine the road conditions, which solves the problem of inaccurate road condition judgment in the existing technology and achieves higher accuracy and real-time performance of road condition judgment.
Patent Information
- Application Number
- CN202410573013.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-10
AI Technical Summary
Existing road condition judgment methods cannot accurately determine the degree and causes of road congestion, and cannot meet user needs.
By obtaining the voice text in the vehicle, conducting in-depth analysis, combining the correspondence between the pre-constructed keywords and road conditions, and the expression recognition of the people in the vehicle, using algorithms such as RFE recursive feature elimination method and decision tree, the environment of the vehicle is determined. Traffic conditions, thereby improving the accuracy and real-time performance of road condition judgment.
It achieves accurate judgment of the degree and causes of road congestion, improves the accuracy and real-time nature of road condition judgment, and can more accurately reflect the road conditions of the road section where the vehicle is located.
Smart Images

Figure CN118569262A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine learning technology, and in particular to a road condition judgment method and system, electronic equipment, and a mobile terminal. Background Art
[0002] Traveling by car has become the main mode of transportation for most people. However, road congestion, traffic accidents, weather and other reasons may affect the normal travel of car owners, causing great inconvenience to car owners.
[0003] Currently available navigation software generally determines road congestion through satellite positioning and can mark it on mobile terminals. However, this method can only roughly determine that a certain section of road is seriously congested and a certain section of road is not congested. It cannot accurately determine the degree of congestion and the cause of congestion, and still cannot meet the user's usage needs. Summary of the invention
[0004] The present invention provides a road condition judgment method and system, an electronic device, and a mobile terminal, which are used to solve the defects of the existing road condition judgment method that the accuracy is not high, the degree and cause of road congestion cannot be accurately determined, and the use requirements of users cannot be met. The voice text in the vehicle can be obtained, and the voice text is deeply analyzed to determine the communication content of the people in the vehicle about the road condition, thereby determining the road condition of the road section, and the accuracy of the road condition judgment is higher.
[0005] The present invention provides a road condition determination method, comprising:
[0006] Obtain the voice text in the vehicle and segment the text to obtain the target keywords;
[0007] Determine the road condition of the vehicle's environment based on the correspondence between the target keyword and the pre-built keyword and the road condition;
[0008] The correspondence between keywords and road conditions is constructed in the following way:
[0009] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0010] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0011] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0012] According to the road condition determination method provided by the present invention, the road conditions corresponding to the keywords in the training set are determined by a positioning tool, and the positioning tool includes a GPS.
[0013] The road condition determination method provided by the present invention further includes:
[0014] Acquire video images in the vehicle, recognize the video images, and determine the facial expressions of people in the vehicle;
[0015] Based on the expressions and the pre-built correspondence between the expressions and the road conditions, the road conditions of the vehicle's environment are determined.
[0016] According to the road condition judgment method provided by the present invention, the target keywords include road traffic keywords, and the road conditions include road congestion and road construction conditions;
[0017] Target keywords include weather keywords, and road conditions include weather;
[0018] The target keywords include pedestrian keywords, and the road conditions include the number of pedestrians.
[0019] According to the road condition judgment method provided by the present invention, scoring keywords based on a pre-constructed sentiment scoring table includes:
[0020] The RFE recursive feature elimination method is used to sort and reduce the dimensions of keywords to obtain a keyword set;
[0021] A decision tree is generated based on the keyword set, and the keywords are scored based on the decision tree.
[0022] According to the road condition determination method provided by the present invention, based on the correspondence between the target keyword and the pre-constructed keyword and the road condition, the road condition of the vehicle environment is determined, including:
[0023] Determine the score value corresponding to each target keyword, and combine each score value to determine the road condition of the vehicle's environment.
[0024] The road condition determination method provided by the present invention further includes:
[0025] The fpgrowth algorithm is used to mine frequent itemsets of target keywords within a certain period of time;
[0026] Based on the score values corresponding to the frequent itemsets, the route planning solution is determined.
[0027] The present invention also provides a road condition judgment system, comprising:
[0028] The data acquisition module is used to acquire the voice text in the vehicle and segment the text to obtain the target keywords;
[0029] A road condition determination module, used to determine the road condition of the vehicle's environment based on the target keyword and the correspondence between the pre-built keyword and the road condition;
[0030] The correspondence between keywords and road conditions is constructed in the following way:
[0031] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0032] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0033] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned road condition determination methods is implemented.
[0035] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the road condition judgment methods described above is implemented.
[0036] The present invention also provides a computer program product, including a computer program, which implements any of the above-mentioned road condition judgment methods when executed by a processor.
[0037] The present invention also provides a mobile terminal, including the above-mentioned road condition judgment system, which is connected to the vehicle for communication and is used to display the current road condition of the vehicle and / or the current road condition of other vehicles in real time.
[0038] In the road condition judgment method provided by the present invention, the voice text in the vehicle can be obtained, and after in-depth analysis of the voice text, the target keywords related to the road conditions contained in the voice text can be determined. Furthermore, the meanings of all the target keywords can be analyzed. Specifically, the target keywords can be converted into road condition information of the road section through the pre-constructed correspondence between keywords and road conditions. In this way, the direct evaluation of the road conditions by the vehicles in the road section can be directly obtained, which is equivalent to immersively experiencing the road conditions of the target road section, which can improve the accuracy and real-time performance of road condition judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1is a flow chart of a road condition determination method provided by an embodiment of the present invention;
[0041] Figure 2 is a schematic diagram of the structure of a road condition judgment system provided by an embodiment of the present invention;
[0042] Figure 3 It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] Figure 1 It is a flow chart of a road condition determination method provided by an embodiment of the present invention.
[0045] like Figure 1 As shown, this embodiment provides a road condition determination method, including:
[0046] Step 101, obtaining the voice text in the vehicle, and performing word segmentation on the text to obtain target keywords;
[0047] Step 102, determining the road condition of the vehicle's environment based on the target keyword and the pre-constructed correspondence between the keyword and the road condition;
[0048] The correspondence between keywords and road conditions is constructed in the following way:
[0049] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0050] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0051] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0052] In practical applications, the pre-constructed emotion scoring table can be a six-category emotion dictionary. Specifically, the six emotions can be {positive, negative, neutral, happy, disgusted, angry}, and the corresponding scores are {1, -1, 0, 2, -2, -3}. In implementation, the emotion scoring table can collect all the words used in daily communication in advance through exhaustive method, and associate these words with the emotion scoring table from the perspective of emotion. For example, the word "I'm so happy" can correspond to the emotion of "happy", and the corresponding emotion score can be 2. The word "traffic jam" can correspond to the emotion of "anger", and the corresponding emotion score can be -3. In this embodiment, the text can be first segmented to determine the target keywords related to the road conditions, and only the emotions corresponding to the target keywords can be scored. When determining the final emotion score of the entire vehicle, the total score can be calculated by comprehensively analyzing the scores of all the target keywords obtained in the vehicle over a period of time, and the emotion score can be comprehensively judged.
[0053] In the scheme of this embodiment, the emotional score of the car owner can be predicted by sentiment analysis plus decision tree regression; the emotional map can be created by visualizing the emotional score to prompt the car owner of the road condition and avoid it; the emotional dictionary is used to calculate the score as a label for machine learning, which effectively solves the problem of supervised learning without labels; the emotional dictionary is used to calculate the emotional score of the speech, and the binary classification problem is converted into a regression prediction of a continuous value, which can effectively improve the accuracy of sentiment analysis.
[0054] In the road condition judgment method provided in this embodiment, the voice text in the vehicle can be obtained, and after in-depth analysis of the voice text, the target keywords related to the road conditions contained in the voice text can be determined. Furthermore, the meanings of all target keywords can be analyzed. Specifically, the target keywords can be converted into road condition information of the road section through the pre-constructed correspondence between keywords and road conditions. In this way, the direct evaluation of the road conditions by the vehicles in the road section can be directly obtained, which is equivalent to immersively experiencing the road conditions of the target road section, which can improve the accuracy and real-time nature of road condition judgment.
[0055] In an exemplary embodiment, the road conditions corresponding to the keywords in the training set are determined by a positioning tool, and the positioning tool includes a GPS.
[0056] In actual applications, the positioning tools used can also be Beidou navigation, etc.
[0057] During implementation, the data in the training set is a combination of road condition information and keywords. The data in the training set may be the road condition obtained in advance through a positioning tool, as well as voice texts obtained simultaneously under various road conditions, and they may correspond to each other. For example, in a congested road section, the voice text collected in the vehicle may contain a large number of keywords such as complaints and complaints about the road congestion. In a smooth road section, the guessed voice text in the vehicle may contain a large number of keywords such as descriptions of smooth roads.
[0058] In an exemplary embodiment, the road condition determination method further includes:
[0059] Acquire video images in the vehicle, recognize the video images, and determine the facial expressions of people in the vehicle;
[0060] Based on the expressions and the pre-built correspondence between the expressions and the road conditions, the road conditions of the vehicle's environment are determined.
[0061] In actual applications, while obtaining the voice text in the vehicle, video images of the people in the vehicle can be collected and the expressions of the people can be identified. The emotions of the people in the vehicle can also be determined based on the expressions of the people in the vehicle, and the emotions determined by the text can be supplemented and improved. That is, in this embodiment, the voice text and expressions of the people in the vehicle can be comprehensively determined to determine the emotions of the people, and the road conditions can be more accurately judged.
[0062] In an exemplary embodiment, the target keywords include road traffic keywords, and the road conditions include road congestion and road construction conditions;
[0063] Target keywords include weather keywords, and road conditions include weather;
[0064] The target keywords include pedestrian keywords, and the road conditions include the number of pedestrians.
[0065] During implementation, the road conditions in the solution of the present application may include road congestion, road weather conditions, and pedestrian conditions on the road, etc. Correspondingly, the types of target keywords may include road traffic keywords corresponding to road congestion, weather keywords corresponding to road weather conditions, pedestrian keywords corresponding to pedestrian conditions on the road, etc.
[0066] During implementation, road congestion conditions may include very congested, slightly congested, and very smooth, and may also include traffic accidents or road construction in progress; road weather conditions may also have a very important impact on vehicle travel, so in this embodiment, weather keywords may also be collected, and the current weather in the road section may be judged based on the weather keywords, such as identifying cloudy, rainy, or sunny days. Car owners may flexibly adjust travel plans and travel preparations according to weather conditions; pedestrian keywords may include a large number of pedestrians or a small number of pedestrians, and may also involve a large number of pedestrians crossing the road or a small number of pedestrians crossing the road. Car owners may also flexibly adjust driving strategies accordingly. For example, if it is predetermined that there are a large number of pedestrians crossing the road on a certain section, the car owner may drive at a low speed and with extra caution when passing through this section.
[0067] In an exemplary embodiment, scoring keywords based on a pre-built sentiment scoring table includes:
[0068] The RFE recursive feature elimination method is used to sort and reduce the dimensions of keywords to obtain a keyword set;
[0069] A decision tree is generated based on the keyword set, and the keywords are scored based on the decision tree.
[0070] In practical applications, the steps of applying decision tree regression include:
[0071] 1. Input data;
[0072] 2. Use RFE recursive feature elimination method to sort and reduce the features and select relevant feature combinations {f1,f2,…,fn};
[0073] 3. Select the optimal segmentation variable j and segmentation point s for the features in ② and find the optimal solution
[0074]
[0075] 4. Divide the data into R 1 (j,s)={x|x( j )≦s} and R 2 (j,s)={x|x( j )>s}
[0076] Calculate output value
[0077] 5. Continue to call steps ③ and ④ for the two sub-areas until the stop condition is met;
[0078] 6. Divide the input space into M sub-regions R 1 , R 2 ,…,R m Generate a decision tree
[0079]
[0080] Where I is the indicator function,
[0081] In an exemplary embodiment, based on the correspondence between the target keyword and the pre-built keyword and the road condition, determining the road condition of the vehicle's environment includes:
[0082] Determine the score value corresponding to each target keyword, and combine each score value to determine the road condition of the vehicle's environment.
[0083] In practical applications, a normalization method can also be used to normalize the score value and multiply it by 100 to get a percentage result. In this way, the score value can be scaled to a range of 0-100 for easy calculation, as shown in the following formula:
[0084]
[0085] Where t is the score obtained after conversion, min is the minimum value of all scores, and max is the maximum value of all scores.
[0086] In an exemplary embodiment, it further includes:
[0087] The fpgrowth algorithm is used to mine frequent itemsets of target keywords within a certain period of time;
[0088] Based on the score values corresponding to the frequent itemsets, the route planning solution is determined.
[0089] The fpgrowth (Frequent Pattern Growth) algorithm is an effective method for discovering frequent itemsets in data mining. It is mainly used in transaction data analysis, association rule mining, and other related applications in the field of data mining. A frequent itemset refers to a collection of items (or items) that appear frequently in multiple transactions. For example, in shopping basket analysis, if "milk" and "bread" are often purchased together, then {"milk", "bread"} is a frequent itemset. Association rule mining is a method of finding interesting relationships or patterns in a large amount of transaction data. This "interesting relationship" usually refers to the association or conditional dependency between items. For example, in sales data, if a "TV" is purchased, a "remote control" is usually purchased as well, forming the following association rule: "TV->remote control".
[0090] Compared with other algorithms (such as Apriori and Eclat), the fpgrowth algorithm provides higher efficiency and speed. It avoids generating a large number of candidate item sets by scanning the database twice and establishing a compact data structure called "FP tree (Frequent Pattern Tree)". The Apriori algorithm usually needs to scan the entire database multiple times to find frequent item sets, which is very time-consuming on large data sets. For example, in a database containing millions of transaction records, Apriori may require dozens or even hundreds of scans. The Eclat algorithm uses a depth-first search strategy to find all frequent item sets, which is also very time-consuming on large data sets.
[0091] In summary, the solution of the present application can automatically determine the route planning solution through the fpgrowth algorithm, which can be more convenient for users.
[0092] The road condition judgment system provided by the present invention is described below. The road condition judgment system described below and the road condition judgment method described above can be referred to each other.
[0093] Figure 2 It is a structural schematic diagram of a road condition judgment system provided by an embodiment of the present invention.
[0094] like Figure 2 As shown, the road condition judgment system provided in this embodiment includes:
[0095] The data acquisition module,201,is used to acquire the voice text in the vehicle and segment the text to obtain the target keywords;
[0096] A road condition determination module 202, for determining the road condition of the vehicle's environment based on the target keyword and the pre-constructed correspondence between the keyword and the road condition;
[0097] The correspondence between keywords and road conditions is constructed in the following way:
[0098] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0099] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0100] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0101] In an exemplary embodiment, an expression recognition module is also included, and the expression recognition module is specifically used for:
[0102] Acquire video images in the vehicle, recognize the video images, and determine the facial expressions of people in the vehicle;
[0103] Based on the expressions and the pre-built correspondence between the expressions and the road conditions, the road conditions of the vehicle's environment are determined.
[0104] In an exemplary embodiment, the road condition determination module is further configured to:
[0105] Determine the score value corresponding to each target keyword, and combine each score value to determine the road condition of the vehicle's environment.
[0106] In an exemplary embodiment, a route planning module is also included, and the route planning module is specifically used to:
[0107] The fpgrowth algorithm is used to mine frequent itemsets of target keywords within a certain period of time;
[0108] Based on the score values corresponding to the frequent itemsets, the route planning solution is determined.
[0109] The specific implementation method of the road condition judgment system provided in this embodiment can be implemented with reference to the above embodiment and will not be repeated here.
[0110] The present invention also provides a mobile terminal, including the above-mentioned road condition judgment system, the mobile terminal is communicatively connected with the vehicle, and is used to display the current road condition of the vehicle and / or the current road condition of other vehicles in real time.
[0111] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the road condition judgment method, which includes:
[0112] Obtain the voice text in the vehicle and segment the text to obtain the target keywords;
[0113] Determine the road condition of the vehicle's environment based on the correspondence between the target keyword and the pre-built keyword and the road condition;
[0114] The correspondence between keywords and road conditions is constructed in the following way:
[0115] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0116] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0117] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0118] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0119] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the road condition determination method provided by the above methods, the method includes:
[0120] Obtain the voice text in the vehicle and segment the text to obtain the target keywords;
[0121] Determine the road condition of the vehicle's environment based on the correspondence between the target keyword and the pre-built keyword and the road condition;
[0122] The correspondence between keywords and road conditions is constructed in the following way:
[0123] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0124] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0125] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0126] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the road condition determination method provided by the above methods is implemented, and the method includes:
[0127] Obtain the voice text in the vehicle and segment the text to obtain the target keywords;
[0128] Determine the road condition of the vehicle's environment based on the correspondence between the target keyword and the pre-built keyword and the road condition;
[0129] The correspondence between keywords and road conditions is constructed in the following way:
[0130] A training set is constructed using keywords collected under known road conditions. The training set includes keywords and corresponding road conditions.
[0131] Score the keywords based on a pre-built sentiment score table, which is the correspondence between keywords, sentiment values and scores;
[0132] The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A road condition judgment method, characterized in that: include: Acquire the voice text in the vehicle, and perform word segmentation on the text to obtain target keywords; Determining the road condition of the environment where the vehicle is located based on the correspondence between the target keyword and the pre-constructed keyword and the road condition; The correspondence between the keywords and the road conditions is constructed in the following way: Constructing a training set using keywords collected under known road conditions, wherein the training set includes the keywords and corresponding road conditions; Scoring the keywords based on a pre-constructed sentiment scoring table, wherein the sentiment scoring table is a correspondence between keywords, sentiment values, and scores; The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
2. The road condition determination method according to claim 1, characterized in that: Also includes: Acquire a video image in a vehicle, recognize the video image, and determine the facial expression of a person in the vehicle; Based on the expression and the pre-constructed correspondence between the expression and the road condition, the road condition of the environment in which the vehicle is located is determined.
3. The road condition determination method according to claim 1, characterized in that: Also includes: Using fpgrowth algorithm to mine frequent itemsets of the target keyword within a certain period of time; A route planning solution is determined based on the score values corresponding to the frequent itemsets.
4. The method for determining road conditions according to any one of claims 1 to 3, characterized in that: The target keywords include road traffic keywords, and the road conditions include road congestion and road construction conditions; The target keyword includes a weather keyword, and the road condition includes weather; The target keyword includes a pedestrian keyword, and the road condition includes the number of pedestrians.
5. The road condition determination method according to any one of claims 1 to 3, characterized in that: Scoring the keywords based on a pre-built sentiment scoring table includes: The keywords are sorted and dimension reduced using the RFE recursive feature elimination method to obtain a keyword set; A decision tree is generated based on the keyword set, and the keywords are scored based on the decision tree.
6. The method for determining road conditions according to any one of claims 1 to 3, characterized in that: The determining of the road condition of the vehicle environment based on the correspondence between the target keyword and the pre-constructed keyword and the road condition includes: Determine the score value corresponding to each of the target keywords, and determine the road condition of the environment where the vehicle is located by combining each of the score values.
7. The method for determining road conditions according to any one of claims 1 to 3, characterized in that: The road conditions corresponding to the keywords in the training set are determined by a positioning tool, and the positioning tool includes a GPS.
8. A road condition judgment system, characterized in that: include: A data acquisition module is used to acquire the voice text in the vehicle and segment the text to obtain target keywords; A road condition determination module, used to determine the road condition of the environment where the vehicle is located based on the target keyword and the correspondence between the pre-constructed keyword and the road condition; The correspondence between the keywords and the road conditions is constructed in the following way: Constructing a training set using keywords collected under known road conditions, wherein the training set includes the keywords and corresponding road conditions; Scoring the keywords based on a pre-constructed sentiment scoring table, wherein the sentiment scoring table is a correspondence between keywords, sentiment values, and scores; The sentiment value corresponding to the keyword is determined based on the score corresponding to the keyword, and the sentiment value corresponds to the road condition corresponding to the keyword.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the road condition judgment method as described in any one of claims 1 to 7 is implemented.
10. A mobile terminal comprising the road condition judgment system according to claim 8, characterized in that: The device is communicatively connected with the vehicle to display the current road condition of the vehicle and / or the current road condition of other vehicles in real time.
Citation Information
Patent Citations
Systems, computer media, and methods for using electromagnetic frequency (EMF) identification (ID) devices for monitoring, collection, analysis, use and tracking of personal, medical, transaction, and location data for one or more individuals
CA2875578A1
Detection method and detection system of game public opinion
CN104572877A
Traffic jam situation prediction method, device, equipment and storage medium
CN113779429A
Intelligent generation method and system for scenic spot optimization scheme based on tourist real evaluation
CN117217801A
Emotion trend prediction method
CN117252207A
