Vehicle mode segmentation method, apparatus, and electronic device

CN118298524BActive Publication Date: 2026-10-27ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410189828.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-20
Publication Date
2026-10-27
Estimated Expiration
2044-02-20

AI Technical Summary

Technical Problem

[0003]目前对行驶过程数据的识别,是基于经纬度、速度、加速度等运动学特征进行分段,存在无法筛选出临时驻车占比较大的短行程的缺点

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118298524B_ABST
    Figure CN118298524B_ABST
Patent Text Reader

Abstract

The application provides a vehicle mode segmentation method, device and electronic equipment. The method comprises the following steps: acquiring vehicle state detailed data of a vehicle of an Internet of Vehicles platform; taking each vehicle as a unit, generating a sequence containing multiple vehicle states according to the data time sequence by using the vehicle state detailed data; each frame of the sequence contains the data time and signals of the multiple vehicle states; the multiple vehicle states include a driving state, a parking charging state and a high-voltage state; the signals of the multiple vehicle states contained in each frame of the sequence are processed respectively with valid values of each vehicle state by using a bit operation mode to obtain specific mode codes of each frame; the specific mode codes are used to represent vehicle mode types; taking each vehicle as a unit, segmenting continuous multiple frames with the same vehicle mode type in the sequence to obtain segmented data of the vehicle mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a vehicle mode segmentation method, apparatus, and electronic device. Background Technology

[0002] With the increasing prevalence of more feature-rich new energy vehicles and the improvement of vehicle-to-everything (V2X) data platforms, automakers typically analyze driving data to better monitor vehicle status and analyze user preferences.

[0003] Currently, the identification of driving process data is based on segmentation of kinematic characteristics such as latitude, longitude, speed, and acceleration, which has the drawback of failing to filter out short trips with a large proportion of temporary parking. Summary of the Invention

[0004] This application provides an improved vehicle mode segmentation method, apparatus, and electronic device.

[0005] This application provides a vehicle mode segmentation method, the vehicle mode segmentation method comprising:

[0006] Obtain detailed vehicle status data from the vehicle networking platform;

[0007] For each vehicle, a sequence containing multiple vehicle states is generated using the vehicle status details data in chronological order. Each frame of the sequence contains the data time and signals for the multiple vehicle states, including driving state, parking and charging state, and high voltage connection state.

[0008] Using bitwise operations, the signals of various vehicle states contained in each frame of the sequence are processed with the valid values ​​of each vehicle state to obtain the specific mode code of each frame; the specific mode code is used to represent the vehicle mode type.

[0009] For each vehicle, consecutive frames with the same vehicle pattern type in the sequence are segmented to obtain segmented vehicle pattern data.

[0010] Furthermore, before segmenting multiple consecutive frames with the same vehicle pattern type in the sequence on a per-vehicle basis to obtain segmented vehicle pattern data, the method further includes:

[0011] Using the specific mode encoding of each frame, the label corresponding to the specific mode encoding of each frame is determined based on the correspondence between different frame mode encodings and frame mode type labels;

[0012] Add a tag corresponding to the specific mode encoding to each frame;

[0013] Accordingly, segmenting multiple consecutive frames with the same vehicle mode type in the sequence to obtain segmented vehicle mode data includes:

[0014] The sequence of consecutive frames with the same type label pattern is segmented to obtain the segmented data of the vehicle pattern.

[0015] Furthermore, the priority order of the various vehicle states is different;

[0016] The method of using bitwise operations to process the signals of various vehicle states contained in each frame of the sequence with the valid values ​​of each vehicle state to obtain the specific pattern encoding of each frame includes:

[0017] According to the priority order, for each frame of the sequence, the signals of the various vehicle states contained in the frame are respectively ANDed with the valid value of the vehicle state corresponding to the first priority bit to obtain the first bit of the state code of each frame.

[0018] Determine whether the first status code corresponds to the vehicle status value of the first priority bit;

[0019] If it is determined that the first status code is the vehicle status value corresponding to the first priority bit, then the first status code is the vehicle status value corresponding to the first priority bit, and the remaining N-1 status codes of each frame are any value in binary, to generate the specific mode code of each frame; where N is the number of status codes.

[0020] Furthermore, after determining whether the first status code corresponds to the vehicle status value of the first priority bit, the method further includes:

[0021] If it is determined that the first status code is not the vehicle status value corresponding to the first priority bit, then according to the priority order, for each frame of the sequence, the signals of the various vehicle statuses contained in the frame are ANDed with the valid vehicle status value corresponding to the second priority bit to obtain the second status code of each frame.

[0022] Determine whether the second status code corresponds to the vehicle status value of the second priority bit;

[0023] If it is determined that the second status code is the vehicle status value corresponding to the second priority bit, then the first status code is not the vehicle status value corresponding to the first priority bit, the second status code is the vehicle status value corresponding to the second priority bit, and the remaining N-2 status codes of each frame are any of the binary values ​​to generate the specific mode code of each frame.

[0024] If the second status code is determined to be the vehicle status value corresponding to the non-priority second bit, the process continues until the Nth status code is determined to be the vehicle status value corresponding to the priority Nth bit, thus generating a specific mode code for each frame.

[0025] Furthermore, the step of determining whether the Nth status code corresponds to the vehicle status value of the Nth priority bit, and generating a specific pattern code for each frame, includes:

[0026] If the Nth bit status code is determined to be the vehicle status value corresponding to the Nth bit of the priority, then all bits before the Nth bit are encoded as the corresponding non-vehicle status values, and the Nth bit status code is the vehicle status value corresponding to the Nth bit of the priority, and a specific mode code for each frame is generated.

[0027] If the Nth bit status code is determined to be a vehicle status value that is not the Nth bit of the priority, then all bit status codes are the corresponding non-vehicle status values, and a specific mode code for each frame is generated.

[0028] Furthermore, the sequence of multiple vehicle states includes a sequence of M vehicle states; each frame contains signals of multiple vehicle states, including signals of the driving state, the parking and charging state, and the high-voltage state; M is the number of vehicle states; M is equal to N.

[0029] When it is determined that the first status code is the driving status value corresponding to the first priority bit, the specific mode code of each frame is used to represent the driving mode;

[0030] When it is determined that the first status code is not the driving status value corresponding to the first priority bit and the second status code is the parking charging status value corresponding to the second priority bit, the specific mode code is used to represent the parking charging mode.

[0031] When it is determined that the first status code is not the driving status value corresponding to the first priority bit, the second status code is not the parking charging status value corresponding to the second priority bit, and the third status code is the high voltage status value corresponding to the third priority bit, the specific mode code of each frame is used to represent the parking power consumption mode.

[0032] If it is determined that the first status code is not the driving status value corresponding to the first priority bit, the second status code is not the parking charging status value corresponding to the second priority bit, and the third status code is not the high voltage status value corresponding to the third priority bit, the specific mode code of each frame is used to represent the engine shutdown mode.

[0033] Furthermore, the vehicle is represented by a unique vehicle identifier, which includes a vehicle identification code; the step of generating a sequence containing multiple vehicle states simultaneously, using the vehicle status details data in chronological order, on a per-vehicle basis, includes:

[0034] First detailed data of multiple vehicles are obtained from the first vehicle network platform; the first detailed data includes data on the status of the first vehicle.

[0035] Second detailed data of the multiple vehicles is obtained from the second vehicle network platform; the second detailed data includes data on the status of the second vehicles;

[0036] Perform data cleaning on the first detailed data and the second detailed data to obtain the corresponding data after first data cleaning and the data after second data cleaning.

[0037] According to the vehicle identification code and the data time sequence, the data after the first data cleaning and the data after the second data cleaning are both grouped and sorted to obtain the data after the first preprocessing and the data after the second preprocessing; the data after the first preprocessing and the data after the second preprocessing both include the vehicle data of the same vehicle sorted by the data time sequence.

[0038] The first preprocessed data and the second preprocessed data are fused to obtain detailed vehicle status data that simultaneously includes the first vehicle status and the second vehicle status, which serves as the sequence that simultaneously includes multiple vehicle statuses.

[0039] Furthermore, the method also includes: acquiring vehicle states to be added; determining the priority of the vehicle states to be added relative to the existing vehicle states; determining the valid values ​​and pattern codes of all vehicle states according to the new priority based on the number of vehicle states to be added; the number of vehicle states to be added is the same as the number of binary bits added to the valid values ​​of the vehicle states.

[0040] And / or,

[0041] The above method further includes: obtaining the vehicle mode to be added; determining the mode code of the vehicle mode to be added; the mode code of the vehicle mode to be added is used to represent the vehicle mode to be added.

[0042] This application provides a vehicle mode segmentation device, comprising:

[0043] The data acquisition module is used to acquire detailed vehicle status data of vehicles on the vehicle networking platform;

[0044] The sequence generation module is used to generate a sequence containing multiple vehicle states simultaneously, based on the vehicle state details data and in chronological order, for each vehicle; each frame of the sequence contains the data time and signals of the multiple vehicle states.

[0045] The bitwise operation module is used to process the signals of various vehicle states contained in each frame of the sequence with the valid values ​​of each vehicle state using bitwise operations to obtain the specific mode code of each frame; the specific mode code is used to represent the vehicle mode type.

[0046] The segmented data acquisition module is used to segment multiple consecutive frames with the same vehicle mode type in the sequence, taking each vehicle as a unit, to obtain segmented data of the vehicle mode.

[0047] This application provides an electronic device including one or more processors for implementing the method described in any of the preceding claims.

[0048] This application provides a computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the method described in any of the preceding claims.

[0049] In some embodiments, the vehicle mode segmentation method of this application obtains detailed vehicle status data of vehicles on a vehicle networking platform; on a per-vehicle basis, according to the data time sequence, uses the detailed vehicle status data to generate a sequence that simultaneously contains multiple vehicle states; each frame of the sequence contains data time and signals of multiple vehicle states; the multiple vehicle states include driving state, parking and charging state, and high voltage state; using bitwise operations, the signals of the multiple vehicle states contained in each frame of the sequence are processed with the valid values ​​of each vehicle state to obtain a specific mode code for each frame; the specific mode code is used to represent the vehicle mode type; and, on a per-vehicle basis, multiple consecutive frames with the same vehicle mode type in the sequence are segmented to obtain segmented vehicle mode data.

[0050] In this embodiment, the various vehicle states, including driving state, parking and charging state, and high-voltage state, are considered on a per-frame basis. Furthermore, for each vehicle, consecutive frames with the same vehicle mode type are segmented to obtain segmented vehicle mode data. This segmented data is used to distinguish the vehicle modes of each consecutive frame. The driving state, parking and charging state, and high-voltage state respectively reflect motion data and parking data other than motion data, including short trips with a high proportion of temporary parking. This provides more refined segmented vehicle mode data, offering fundamental support for subsequent vehicle monitoring and user profiling applications. Attached Figure Description

[0051] Figure 1 The diagram shown is a flowchart illustrating the vehicle mode segmentation method according to an embodiment of this application.

[0052] Figure 2 As shown Figure 1 The diagram shown illustrates the process of segmenting vehicle modes into sequences of multiple vehicle states.

[0053] Figure 3 The diagram shown is another flowchart illustrating the vehicle mode segmentation method according to an embodiment of this application.

[0054] Figure 4 As shown Figure 1 The diagram shows the relationship between vehicle state and four vehicle modes in the vehicle mode segmentation method.

[0055] Figure 5 As shown Figure 1 The diagram shows the specific application process of the vehicle mode segmentation method.

[0056] Figure 6 As shown Figure 1 The diagram shows the specific application process of the vehicle mode segmentation method.

[0057] Figure 7 The diagram shown is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0058] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.

[0059] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.

[0060] To address the aforementioned technical problem of failing to filter out short trips with a high proportion of temporary parking, this application provides a vehicle mode segmentation method, wherein...

[0061] The system acquires detailed vehicle status data from the vehicle networking platform. For each vehicle, it generates a sequence containing multiple vehicle states in chronological order based on the data time. Each frame of the sequence contains the data time and signals for multiple vehicle states, including driving, parking / charging, and high-voltage connection. Using bitwise operations, the signals for each vehicle state in each frame are processed with the valid values ​​of each vehicle state to obtain a specific mode code for each frame. This specific mode code represents the vehicle mode type. Finally, for each vehicle, consecutive frames with the same vehicle mode type in the sequence are segmented to obtain segmented vehicle mode data.

[0062] In this embodiment, the various vehicle states, including driving state, parking and charging state, and high-voltage state, are considered on a per-frame basis. Furthermore, for each vehicle, consecutive frames with the same vehicle mode type are segmented to obtain segmented vehicle mode data. This segmented data is used to distinguish the vehicle modes of each consecutive frame. The driving state, parking and charging state, and high-voltage state respectively reflect motion data and parking data other than motion data, including short trips with a high proportion of temporary parking. This provides more refined segmented vehicle mode data, offering fundamental support for subsequent vehicle monitoring and user profiling applications.

[0063] Figure 1 The diagram shown is a flowchart of the vehicle mode segmentation method according to an embodiment of this application.

[0064] like Figure 1 As shown, the vehicle mode segmentation method may include, but is not limited to, the following steps 110 to 140:

[0065] Step 110: Obtain detailed vehicle status data from the vehicle networking platform.

[0066] The aforementioned vehicle status details may include vehicle status data and related data reflecting the vehicle status. The vehicle status data includes multiple vehicle states, including driving status, parking and charging status, and high-voltage connection status. The related data reflecting the vehicle status includes detailed status data of the battery, motor, and electronic control system (the three core electrical components). This is merely an illustrative example; any direct and related data reflecting the vehicle status described above falls within the protection scope of this application's embodiments and will not be listed individually here. Please refer to the following for detailed explanation.

[0067] Step 120: For each vehicle, generate a sequence containing multiple vehicle states using the vehicle state details data in chronological order; each frame of the sequence contains data time and signals for multiple vehicle states.

[0068] The aforementioned vehicle status signals include signals for driving status, charging status, and high-voltage status. The driving status signal indicates whether the vehicle is running, including both started and off states; the parking / charging status signal indicates whether the vehicle is charging, including both parked / charging and not charging states; the high-voltage status signal indicates whether the vehicle's battery is operational, including both high-voltage and non-high-voltage states.

[0069] The valid vehicle status values ​​mentioned above reflect the current vehicle status value. In this paper, the valid vehicle status values ​​can be encoded using binary.

[0070] Example 1: The pattern codes for the three vehicle states mentioned above each occupy one bit of the binary code. For example, the pattern code for the driving state is binary 100, which means the valid value for the driving state is 2. 2 The parking status mode code is, for example, binary 010, which means the valid value for the parking and charging status is 2. 1 The mode code for the high-voltage state is, for example, binary 001, which means the valid value for the parking and charging state is 2. 0 .

[0071] Of course, the above-mentioned vehicle states may include, but are not limited to, driving state, parking and charging state, and high voltage state. The vehicle states can be expanded in the future according to user needs.

[0072] In some examples, the aforementioned multiple vehicle states also include vehicle states to be added, as extended vehicle states. Specifically, the above method further includes the following three steps: 1. Obtaining the vehicle states to be added. 2. Determining the priority of the vehicle states to be added relative to the existing multiple vehicle states. 3. Based on the number of vehicle states to be added, determining the valid values ​​and pattern codes of all vehicle states according to the new priority; the number of vehicle states to be added is the same as the number of binary bits added to the valid values ​​of the vehicle states. The above segmentation method of this application embodiment re-encodes the valid values ​​and pattern codes of the vehicle states to be added, improving the scalability of vehicle states and reducing method reconstruction when requirements change.

[0073] Example 2 is similar to Example 1. Compared to Example 1, in Example 2, when the vehicle state to be added is one type and has the highest priority, the pattern codes for the three vehicle states and the vehicle state to be added each occupy one bit of the binary code. For example, the pattern code for the vehicle state to be added is 1000, meaning the effective value of the vehicle state to be added is 2. 3 .

[0074] Example 3 is similar to Example 1. However, compared to Example 1, in Example 3, when the vehicle state to be added has two states, and the priorities of these states are highest and second highest respectively, the pattern codes for the three vehicle states and the vehicle state to be added each occupy one bit of the binary code. For example, the pattern code for the vehicle state to be added is 10000, meaning the effective value of the vehicle state to be added is 2. 4 The pattern code for the vehicle status to be added is, for example, 1000, which means the valid value of the vehicle status to be added is 2. 3 .

[0075] Step 130: Using bitwise operations, the signals of various vehicle states contained in each frame of the sequence are processed with the valid values ​​of each vehicle state to obtain the specific pattern code for each frame; the specific pattern code is used to represent the vehicle mode type. The AND operation used in this step is a bitwise operation, which improves time and space efficiency while reserving multiple corresponding scenarios for the encoding. This facilitates the differentiation of new scene segments when new vehicle modes or vehicle states are added later, increasing the scalability of mode classification.

[0076] The aforementioned vehicle mode types may include, but are not limited to, four types: driving mode, parking charging mode, parking electricity mode, and engine off mode, referring to the classification standards of the New Energy Open Laboratory. [1] Definitions. Among them, driving mode indicates that the vehicle is in motion or temporarily braking; parking charging mode indicates that the vehicle is parking and charging; parking power consumption mode is a mode in which the vehicle is in a high-voltage state but cannot be driven or charged, and users usually use the in-vehicle multimedia or air conditioning in this state; engine off mode indicates that the vehicle is not in a high-voltage state, including two main scenarios: the vehicle continues to send data after driving / charging / parking power consumption ends, and the vehicle stops sending data.

[0077] In this embodiment, the vehicle mode includes four types: driving mode, parking charging mode, parking power consumption mode, and engine off mode, achieving full lifecycle coverage of vehicle modes and providing basic support for upper-layer applications such as vehicle monitoring and user profile creation.

[0078] Of course, the above-mentioned vehicle mode types may include, but are not limited to, the four vehicle modes mentioned above, and vehicle modes may be expanded in the future according to user needs.

[0079] In some examples, the method further includes: obtaining the vehicle pattern to be added; determining the pattern code of the vehicle pattern to be added; and using the pattern code of the vehicle pattern to represent the vehicle pattern to be added. This improves the scalability of vehicle patterns.

[0080] In some examples, the method further includes: obtaining the vehicle mode to be added; determining the mode code of the vehicle mode to be added; re-establishing the correspondence between the mode code containing the vehicle mode to be added and the mode label; and using the mode code of the vehicle mode to be added, determining the mode label of the vehicle mode to be added according to the established correspondence between the mode code containing the vehicle mode to be added and the mode label. The mode label of the vehicle mode to be added represents the vehicle mode to be added.

[0081] In the frame-by-frame calculation mode encoding stage, this embodiment divides the eight scenarios corresponding to frame mode encoding into four vehicle modes. If a vehicle adds a new mode, the scenario corresponding to the frame mode encoding can be defined as a new energy mode. For example, if a vehicle adds a driving charging mode, in which the vehicle can charge while driving, both the driving state and the parking charging state need to be valid simultaneously. The frame mode encoding and the valid value of the driving state are 2. 2 The result of the AND operation is 4, which is also 4 when ANDed with the valid value of the parking charging status, 2. 1 The result of the AND operation is 2, which means the frame mode encoding is 6. 7 indicates that the frame belongs to the driving charging mode. The vehicle mode has strong scalability and reduces the need for method refactoring when requirements change.

[0082] In this embodiment, not only are other modes besides driving mode distinguished and filtered, achieving full coverage of vehicle modes within a specified time range; but the vehicle status data also contains more status information, which can reflect the real-time status of the vehicle, resulting in more accurate segmentation results.

[0083] Step 140: Divide the sequence of consecutive frames with the same vehicle pattern type into segments, taking each vehicle as a unit, to obtain segmented data of the vehicle pattern. The start time of the segmented data is the time of the first frame of the current sequence with the same vehicle pattern type, and the end time of the segmented data is the time of the first frame of the next adjacent sequence with a different vehicle pattern type. The vehicle pattern type is the same within each segmented data.

[0084] In this embodiment, the various vehicle states, including driving state, parking and charging state, and high-voltage state, are considered on a per-frame basis. Furthermore, for each vehicle, consecutive frames with the same vehicle mode type in the sequence are segmented to obtain vehicle mode segmentation data. This segmentation data is used to distinguish the vehicle modes of each consecutive frame.

[0085] Figure 2 As shown Figure 1 The diagram shows a process flow diagram of the vehicle mode segmentation method that includes a sequence of multiple vehicle states.

[0086] Combination Figure 1 As shown, Figure 2 As shown, the aforementioned vehicle is identified by a unique vehicle identifier, which includes a vehicle identification code. Step 120 may include, but is not limited to, the following steps (1) to (4):

[0087] (1) Obtain first detailed data of multiple vehicles from the first vehicle network platform; obtain second detailed data of multiple vehicles from the second vehicle network platform; the first detailed data includes data on the status of the first vehicle; the second detailed data includes data on the status of the second vehicle.

[0088] The vehicle status signals used for pattern segmentation in this embodiment include first detailed data S1 and second detailed data S2. This embodiment involves two data sources, first detailed data S1 and second detailed data S2, with upload frequencies of 10 seconds and 1 minute, respectively. This allows for more comprehensive data to be obtained, resulting in more refined vehicle pattern segmentation output.

[0089] Continue as Figure 2 As shown, the first detailed data S1 may include, but is not limited to, data on driving status and data on parking and charging status, and the second detailed data S2 may include, but is not limited to, data on high voltage status. Subsequent steps include cleaning and preprocessing of the first detailed data S1 and the second detailed data S2, fusing the first detailed data S1 and the second detailed data S2, calculating the specific mode code for each frame, and segmenting the vehicle mode based on the specific mode code for each frame.

[0090] (2) Perform data cleaning on the first detailed data and on the second detailed data. Thus, perform data cleaning on both the first and second detailed data to obtain the corresponding data after first data cleaning and data after second data cleaning.

[0091] Data cleaning may include, but is not limited to, deduplication and anomaly removal, using the first detailed data after deduplication and anomaly removal as the first data after data cleaning, and using the second detailed data after deduplication and anomaly removal as the second data after data cleaning.

[0092] The data cleaning and preprocessing of the first detailed data S1 and the second detailed data S2 are as follows: First, read the two types of data within a fixed period. Then, deduplicate the two types of data, removing duplicate frames with the same timestamp. Second, remove abnormal frames, including frames with abnormal status and frames with missing main fields. Afterward, group the different vehicle data according to the vehicle identification number (VIN), and sort the data in each group by time. See below for detailed explanations.

[0093] (3) Preprocess the data after the first data cleaning and the data after the second data cleaning. Thus, according to the vehicle identification code and the data time sequence, the data after the first data cleaning and the data after the second data cleaning are grouped and sorted to obtain the data after the first preprocessing and the data after the second preprocessing; the data after the first preprocessing and the data after the second preprocessing both include the vehicle data of the same vehicle sorted by data time sequence.

[0094] (4) Data fusion of the first preprocessed data and the second preprocessed data: The first preprocessed data and the second preprocessed data are fused to obtain detailed vehicle status data that simultaneously includes the first vehicle status and the second vehicle status, which serves as a sequence that simultaneously includes multiple vehicle statuses.

[0095] The above (4) step may further include aligning the first time scale with a second time scale that is smaller than the first time scale, fusing the first preprocessed data and the second preprocessed data to obtain vehicle state detail data that simultaneously includes the first vehicle state and the second vehicle state, as a sequence that simultaneously includes multiple vehicle states.

[0096] The values ​​at the first time scale are greater than those at the second time scale, meaning the first time scale is longer than the second time scale. For example, 1 minute of the second detailed data S2 is referred to as the first time scale. 10 seconds of the first detailed data S1 is referred to as the second time scale.

[0097] The time scale in the above data fusion can include the upload frequency. The data S1 and S2 after the first preprocessing in (1) are fused to obtain detailed vehicle status data that simultaneously includes driving status, parking and charging status, and high-voltage status. During data fusion, the first preprocessed data S1 is not processed in any way, and the second preprocessed data S2 is matched with the first preprocessed data S1 according to the principle of closest time, resulting in fused data with an upload frequency of 10s for pattern segmentation. Thus, using information with a smaller time granularity, the obtained data is more detailed and accurate.

[0098] Figure 3 The diagram shown is another flowchart of the vehicle mode segmentation method according to an embodiment of this application. Figure 4 As shown Figure 1 The diagram shows the relationship between vehicle state and four vehicle modes in the vehicle mode segmentation method.

[0099] Combination Figure 1 ,like Figure 3 and Figure 4 As shown, prior to step 140, the vehicle mode segmentation method further includes steps 131 to 132:

[0100] Step 131: Using the specific mode encoding for each frame, determine the label corresponding to the specific mode encoding for each frame based on the correspondence between different frame mode encodings and frame mode type labels.

[0101] The correspondence between the above-mentioned different frame mode encodings and frame mode type labels may be, but is not limited to, a correspondence table between different frame mode encodings and frame mode type labels, or a correspondence function relationship between different frame mode encodings and frame mode type labels.

[0102] Continue to combine Figure 2 As shown, Figure 3 As shown, a) the specific mode encoding for each frame is calculated frame by frame as follows: Define the value of each state signal: according to Figure 4 The relationship between the vehicle states and the four vehicle modes is shown. It is determined that when both the driving state and the parking / charging state are valid, the vehicle mode corresponds to the driving mode and the parking / charging mode, respectively. The mode segmentation involves a total of three state signals; therefore, the driving state value is defined as 2. 2 Define the parking charging status value as 2. 1 The high-pressure state value is 2. 0 .

[0103] b. The specific steps for determining the frame mode encoding are as follows: Based on the definitions of the three state signal values ​​in (a), when the state in the frame is valid (i.e., the driving state is "start", the parking charging state is "parking charging", and the high-voltage state is "high-voltage", the corresponding value in (a) is taken; otherwise, 0 is taken. The mode encoding of the current frame is obtained by adding the values ​​corresponding to the three states in the current frame.

[0104] c. Frame mode tag generation is as follows: Based on the determined mode encoding, the mode encoding values ​​include: 0, 1, 2, 3, 4, 5, 6, 7. Using bitwise operations, the mode encoding is sequentially combined with the valid driving state value 2. 2 Valid values ​​for parking and charging status: 2 1 Effective value of high voltage state 2 0 Perform an AND operation. The valid values ​​for the pattern code and driving status are 2. 2 The calculation result of 4 indicates that the current frame is in driving mode. Therefore, frame mode codes of 4, 5, 6, and 7 represent driving mode; the valid value for both mode code and parking / charging status is 2. 1 The calculation result of 2 indicates that the current frame is in parking charging mode. Therefore, the frame mode code is 2, and 3 indicates parking charging mode; the mode code and the effective value of the high voltage status are 2. 0A calculation result of 1 indicates that the current frame is in parking power mode; therefore, a frame mode code of 1 indicates parking power mode. If the calculation result of the frame mode code and the above three values ​​are all 0, it indicates that the current frame is in engine shutdown mode. Only a frame mode code of 0 indicates engine shutdown mode. The correspondence between different frame mode codes and frame mode type labels is shown in Table 1 below.

[0105] Table 1

[0106]

[0107]

[0108] Step 132: Add a tag corresponding to the specific pattern encoding for each frame. The tag visually reflects the content of the specific pattern encoding. Tags may include, but are not limited to, text and / or symbols.

[0109] Accordingly, step 140 further includes step 141, which segments multiple consecutive frames with the same type label in the sequence to obtain segmented data of the vehicle mode.

[0110] In this embodiment, by adding a label corresponding to a specific pattern code to each frame, the final output is presented in a user-friendly format, improving the readability of the vehicle mode segmentation. Furthermore, based on the binary classification characteristic of the fields for whether the vehicle is in a driving state, charging state, or high-voltage state, a segmentation category label based on bitmap indexing is used during the segmentation process to generate a specific pattern code for each frame of data. Bitwise operations are then used to add a segmentation type label to each frame. Additionally, bitwise operations are used to calculate the segmentation label for each frame. This method reduces the time and space consumption during segmentation while increasing the scalability of the segmentation algorithm, facilitating the filtering of subdivided scenarios and the expansion to new functional scenarios.

[0111] In this article, binary representation is used. The vehicle status value corresponding to the i-th bit of a non-priority vehicle can be, but is not limited to, 1, and correspondingly, the vehicle status value corresponding to the i-th bit of a priority vehicle can be, but is not limited to, 0. The i-th bit refers to any bit, and the value of i is any value greater than or equal to 1 and less than or equal to N.

[0112] Of course, using binary representation, the vehicle status value corresponding to the i-th bit of a non-priority vehicle can be, but is not limited to, 0, and correspondingly, the vehicle status value corresponding to the i-th bit of a priority vehicle can be, but is not limited to, 1. No restrictions are imposed here; this encoding can be used in this article for the sake of clarity.

[0113] Combination Figure 1 As shown, the priority order of various vehicle states is different; step 130 above further includes the following steps ① to ⑦:

[0114] ① According to the priority order, for each frame of the sequence, the signals of various vehicle states contained in the frame are respectively ANDed with the valid value of the vehicle state corresponding to the first priority bit to obtain the first bit of the state code of each frame.

[0115] The number of state codes in this article is the same as the number of vehicle states.

[0116] ② Determine whether the first status code corresponds to the vehicle status value of the first priority bit.

[0117] ③ If it is determined that the first status code is the vehicle status value corresponding to the first priority bit, then the first status code is the vehicle status value corresponding to the first priority bit, and the remaining N-1 status codes of each frame are any value in binary, to generate the specific mode code for each frame.

[0118] The remaining N-1 bits here refer to the bits remaining in the N bits excluding the first bit.

[0119] Step ③ above further includes sequentially encoding the first state bit as the vehicle state value corresponding to the first priority bit mentioned above, and encoding the remaining N-1 state bits of each frame as any value in the binary system, as the specific mode code for each frame.

[0120] ④ If it is determined that the first status code is not the vehicle status value corresponding to the first priority bit mentioned above, then according to the priority order, for each frame of the sequence, the signals of the various vehicle statuses in that frame are ANDed with the valid vehicle status value corresponding to the second priority bit to obtain the second status code of each frame.

[0121] ⑤ Determine whether the second status code corresponds to the vehicle status value.

[0122] ⑥ If it is determined that the second status code is the vehicle status value corresponding to the second priority bit, then the first status code is not the vehicle status value corresponding to the first priority bit, the second status code is the vehicle status value corresponding to the second priority bit, and the remaining N-2 status codes of each frame are any of the binary values ​​to generate the specific mode code for each frame.

[0123] The remaining N-2 bits here refer to the bits remaining in the N bits excluding the first and second bits.

[0124] Step ⑥ above further includes sequentially encoding the first status bit as the vehicle status value corresponding to a non-priority first bit, the second status bit as the vehicle status value corresponding to the priority second bit, and the remaining N-2 status bits of each frame as any value among the binary values, as the specific mode code for each frame.

[0125] ⑦ If the second status code is determined to be the vehicle status value corresponding to the non-priority second bit, then the same logic continues until the Nth status code is determined to be the vehicle status value corresponding to the priority Nth bit, and the specific mode code for each frame is generated.

[0126] Step ⑦ above may further include determining that the Nth status code is the vehicle status value corresponding to the Nth priority bit, then encoding all the status codes before the Nth bit as non-vehicle status values, and generating a specific pattern code for each frame if the Nth status code is the vehicle status value corresponding to the Nth priority bit; or determining that the Nth status code is not the vehicle status value corresponding to the Nth priority bit, then encoding all the status codes as non-vehicle status values, and generating a specific pattern code for each frame.

[0127] In some examples, when N can be 3, after determining whether the second status code corresponds to the vehicle status value of the second priority bit, the method also includes:

[0128] If it is determined that the second status code is not the vehicle status value corresponding to the second priority bit mentioned above, then according to the priority order, for each frame of the sequence, the signals of the various vehicle statuses contained in the frame are ANDed with the valid vehicle status value corresponding to the third priority bit to obtain the third status code of each frame.

[0129] Determine whether the third status code corresponds to the vehicle status value of the third priority bit;

[0130] If it is determined that the third status code is the value of the vehicle status corresponding to the third priority bit, then the specific mode code for each frame is generated by using the first status code which is not the value of the vehicle status corresponding to the first priority bit, the second status code which is not the value of the vehicle status corresponding to the second priority bit, and the third priority bit.

[0131] If it is determined that the third status code is not the value corresponding to the third priority bit mentioned above, then the specific mode code for each frame is generated by using the vehicle status value corresponding to the first status code not the first priority bit mentioned above, the second status code not the vehicle status value corresponding to the second priority bit mentioned above, and the third status code not the vehicle status value corresponding to the third priority bit mentioned above.

[0132] Continue as Figure 4 As shown, the sequence of multiple vehicle states contains a sequence of M vehicle states; the M vehicle states include driving state, parking and charging state, and high voltage state, and the priority of driving state, parking and charging state, and high voltage state decreases in that order; correspondingly, each frame contains signals of multiple vehicle states including signals of driving state, parking and charging state, and high voltage state; M is the number of vehicle states; M equals N.

[0133] The driving status mentioned above has the highest priority; the vehicle status value corresponding to the first priority digit can be a driving status value. Correspondingly, the valid vehicle status value corresponding to the first priority digit can be a valid driving status value.

[0134] If the first status code is determined to be a driving status value, then the first status code is determined to be a driving status value, and the remaining N-1 status codes of each frame are converted to any value in binary, generating a specific mode code for each frame; the specific mode code is used to represent the driving mode.

[0135] Thus, if the first status code is determined to be the driving status value corresponding to the first priority bit, regardless of the specific values ​​of the other N-1 bits, the specific mode code of each frame here is used to represent the driving mode by default, that is, the binary value is 100.

[0136] See also Figure 4 As shown, the priority of the high-voltage state is the lowest; the priority of the parking charging state is lower than the priority of the driving state, but higher than the priority of the high-voltage state.

[0137] The vehicle status value corresponding to the second priority digit mentioned above can be the parking and charging status value mentioned above. Accordingly, the valid vehicle status value corresponding to the second priority digit can be the valid parking and charging status value.

[0138] After determining whether the first status code is a valid value for a driving state, the method further includes, if it is determined that the first status code is a non-driving state value and the second status code is a parking and charging state value, then the method generates a specific mode code for each frame by setting the first status code to any value among the following: if the first status code is not a driving state value, the second status code is a parking and charging state value, and the remaining N-2 status codes of each frame to any binary value; the specific mode code is used to represent the parking and charging mode.

[0139] Thus, if it is determined that the first status code is not the driving status value corresponding to the first priority bit mentioned above and the second status code is the parking charging status value corresponding to the second priority bit, regardless of the specific value of the N-2 status codes, the specific mode code here is used to represent the parking charging mode.

[0140] See also Figure 4 As shown, when N is 3, the vehicle status value corresponding to the third priority digit is the high-voltage status value, and correspondingly, the valid vehicle status value corresponding to the third priority digit can be the valid high-voltage status value. The method also includes:

[0141] If the first status code is determined to be a non-driving state value, the second status code is determined to be a non-parking charging state value, and the third status code is determined to be a high-voltage state value, then the specific mode code for each frame is generated using the first status code being a non-driving state value, the second status code being a non-parking charging state value, and the high-voltage state value; the specific mode code for each frame is used to represent the parking power consumption mode.

[0142] See also Figure 4 As shown, if the first status code is determined to be a value other than the driving state value, the second status code is determined to be a value other than the parking and charging state value, and the third status code is determined to be a value other than the high voltage state value, then the specific mode code for each frame is generated using the first status code being a value other than the driving state value, the second status code being a value other than the parking and charging state value, and the third status code being a value other than the high voltage state value; the specific mode code is used to represent the engine shutdown mode.

[0143] The segmentation method described in this application improves both time and space performance as follows: In the frame-by-frame computation mode encoding stage, the AND operation is a bitwise operation, which is the fastest computation method in a computer, thus improving the time performance of the processing. Furthermore, numeric objects occupy less storage space than string objects; therefore, converting string objects to numeric objects through frame mode encoding improves the space performance of the processing.

[0144] The following are examples of practical applications of the vehicle mode segmentation method provided in this application:

[0145] Based on the time sequence of the data, the sequence obtained in this article is, for example, 011011011xxx001. An example of this sequence is shown in Table 2 below. This sequence contains Q frames, where Q is greater than or equal to 3, and j is any frame in the sequence, where j is greater than or equal to 3 and less than or equal to Q-1.

[0146] Table 2

[0147] Frame 1 <![CDATA[T1]]> 0 1 1 Frame 2 <![CDATA[T2]]> 0 1 1 frame j <![CDATA[T3]]> 0 1 1 … <![CDATA[T x ]]> x x x Q frame <![CDATA[T5]]> 0 0 1

[0148] The above T x For any time greater than T3 and less than T5.

[0149] In this example, we will take the Q-th frame of the above sequence, which is 001, as an example for illustration.

[0150] Step 1: 001 & 100 (i.e., valid driving status value) = 0. The resulting "0" is used to represent values ​​that are not in the above driving status.

[0151] Step 2: 001 & 010 (i.e., valid values ​​for parking and charging status) = 0. The resulting "0" is used to represent values ​​that are not in the above parking and charging status.

[0152] Step 3: 001 & 001 (i.e., the effective value of the high-voltage state) = 1. The final "1" is used to represent the value of a state other than the above high-voltage state.

[0153] The "0" obtained in step 1, the "0" obtained in step 2, and the "1" obtained in step 3, i.e., 001, have a decimal value of 1. Through the frame mode encoding of 1 in Table 1 above, they correspond to the type label of the frame mode for parking electricity use.

[0154] In this example, we will take the first frame of the above sequence, which is 011, as an example for illustration.

[0155] Step 1: 011 & 100 (i.e., valid driving status value) = 0. The resulting "0" is used to represent values ​​that are not in the above driving status.

[0156] Step 2: 011 & 010 (i.e., the valid value of the parking charging status) = 10. The resulting "1" is used to represent the value of the parking charging status mentioned above. No further calculations are performed.

[0157] The "0" obtained in step 1 and the "1" obtained in step 2 are 010 and 011, respectively. Their decimal values ​​are 2 and 3. According to the frame mode encoding in Table 1 above, the frame mode encoding of 2 and 3 corresponds to the type label of the parking charging label.

[0158] Similarly, frames 2 and 3 above are both type labels with the same parking charging frame mode. Therefore, frames 1, 2 and 3 are segmented to obtain segmented data of the vehicle mode.

[0159] In the first embodiment of this application, after segmenting multiple consecutive frames with the same vehicle pattern type in the sequence on a per-vehicle basis to obtain vehicle pattern segmentation data, the method further includes: storing the vehicle pattern segmentation data for each vehicle; and using the segmentation data for vehicle monitoring. This facilitates subsequent vehicle monitoring.

[0160] In the second embodiment of this application, after segmenting multiple consecutive frames with the same vehicle mode type in the sequence on a per-vehicle basis to obtain vehicle mode segmentation data, the method further includes: storing the vehicle mode segmentation data for each vehicle; and using the segmentation data to build a user profile. In this way, user preferences can be determined based on the user profile, facilitating subsequent vehicle upgrades and improving the targeting of user services.

[0161] Of course, the two embodiments of the above application can be executed in combination or independently, which will not be described in detail here.

[0162] Figure 5 As shown Figure 1 The diagram shows the specific application process of the vehicle mode segmentation method.

[0163] like Figure 5 As shown, the vehicle status details data in this application embodiment includes the status details data of the three electric devices (battery, motor, and electronic control system) used to reflect the vehicle status.

[0164] Based on the detailed data of the three electrical systems mentioned above, the resulting sequence can be used to distinguish whether the vehicle is in driving mode based on whether the motor is working. When the motor is not working, the parking charging mode and non-parking charging mode can be distinguished based on the direction of the battery current, i.e., whether the battery power is positive. A positive battery current indicates that the battery is discharging externally, and the vehicle is in non-parking charging mode; a negative battery current indicates that the battery is replenishing energy, and the vehicle is in parking charging mode.

[0165] Figure 6 As shown Figure 1 The diagram shows the specific application process of the vehicle mode segmentation method.

[0166] Based on the same application concept as the methods described above, such as Figure 6 As shown, the vehicle mode segmentation device may include, but is not limited to, the following modules:

[0167] The data acquisition module 31 is used to acquire detailed vehicle status data of vehicles on the vehicle networking platform;

[0168] The sequence generation module 32 is used to generate a sequence containing multiple vehicle states simultaneously, based on the vehicle state details data and in chronological order, for each vehicle; each frame of the sequence contains the data time and signals of the multiple vehicle states.

[0169] Bitwise operation module 33 is used to process the signals of various vehicle states contained in each frame of the sequence with the valid values ​​of each vehicle state using bitwise operations to obtain the specific mode code of each frame; the specific mode code is used to represent the vehicle mode type.

[0170] The segmented data acquisition module 34 is used to segment multiple consecutive frames with the same vehicle mode type in the sequence, taking each vehicle as a unit, to obtain segmented data of the vehicle mode; wherein, the start time of the segmented data is the time of the first frame of the current sequence with the same vehicle mode type, and the end time of the segmented data is the time of the first frame of the next adjacent sequence with the same vehicle mode type.

[0171] In some embodiments, the above-described apparatus further includes:

[0172] The tag determination module is used to determine the tag corresponding to the specific mode code of each frame before segmenting multiple consecutive frames with the same vehicle mode type in the sequence on a vehicle-by-vehicle basis to obtain segmented data of the vehicle mode.

[0173] The tag adding module is used to add tags corresponding to the specific mode encoding for each frame;

[0174] Correspondingly, the segmented data acquisition module 34 is specifically used to segment multiple consecutive frames with the same pattern type label in the sequence to obtain the segmented data of the vehicle pattern.

[0175] In some embodiments, the above-mentioned apparatus further includes: a vehicle status acquisition module for acquiring vehicle status to be added; a priority determination module for determining the priority of the vehicle status to be added relative to the existing vehicle statuses; and a valid value and pattern encoding determination module for determining the valid value and pattern encoding of all vehicle statuses according to the number of vehicle statuses to be added, based on the new priority; wherein the number of vehicle statuses to be added is the same as the number of binary bits added to the valid value of the vehicle status.

[0176] In some embodiments, the above apparatus further includes: a vehicle mode acquisition module for acquiring a vehicle mode to be added; and a mode encoding determination module for determining a mode encoding of the vehicle mode to be added; wherein the mode encoding of the vehicle mode to be added is used to represent the vehicle mode to be added.

[0177] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, which can achieve the same technical effect, and will not be repeated here.

[0178] This application provides an electronic device, which may include, but is not limited to, the vehicle mode segmentation device described above. The electronic device may be a PC (Personal Computer) device. The PC device may include, but is not limited to, a desktop computer, tablet computer, or laptop computer.

[0179] Figure 7 The diagram shown is a block diagram of the electronic device 50 provided in an embodiment of this application.

[0180] like Figure 7As shown, the electronic device 50 includes one or more processors 51 for implementing the vehicle mode segmentation method as described above.

[0181] In some embodiments, electronic device 50 may include storage medium 59. For example, computer-readable storage medium may store a program that can be invoked by processor 51, and may include non-volatile storage medium. In some embodiments, electronic device 50 may include memory 58 and interface 57. In some embodiments, electronic device 50 may also include other hardware depending on the specific application.

[0182] The computer-readable storage medium of this application embodiment stores a program thereon, which, when executed by processor 51, is used to implement the vehicle mode segmentation method described above.

[0183] This application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented using any method or technology. Information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0184] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.

[0185] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitation, an element qualified by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A vehicle pattern segmentation method, characterized in that, include: Obtain detailed vehicle status data from the vehicle networking platform; For each vehicle, a sequence containing multiple vehicle states is generated using the vehicle status details data in chronological order. Each frame of the sequence contains the data time and signals for the multiple vehicle states, including driving state, parking and charging state, and high voltage connection state. Using bitwise operations, the signals of various vehicle states contained in each frame of the sequence are processed with the valid values ​​of each vehicle state to obtain a specific mode code for each frame. The specific mode code is used to represent the vehicle mode type. The various vehicle states have different priority orders. This includes: according to the priority order, for each frame of the sequence, performing a bitwise AND operation on the signals of the various vehicle states contained in that frame with the valid value of the vehicle state corresponding to the first priority bit to obtain the first-bit state code for each frame; determining whether the first-bit state code corresponds to the vehicle state value corresponding to the first priority bit; if the first-bit state code is determined to be the vehicle state value corresponding to the first priority bit, then the first-bit state code is the vehicle state value corresponding to the first priority bit, and the remaining N-1 bits of the state code for each frame are converted to any binary value to generate the specific mode code for each frame; N is the number of state codes. For each vehicle, consecutive frames with the same vehicle pattern type in the sequence are segmented to obtain segmented vehicle pattern data.

2. The vehicle mode segmentation method as described in claim 1, characterized in that, Before segmenting multiple consecutive frames with the same vehicle pattern type in the sequence, on a per-vehicle basis, to obtain segmented vehicle pattern data, the method further includes: Using the specific mode encoding of each frame, the label corresponding to the specific mode encoding of each frame is determined based on the correspondence between different frame mode encodings and frame mode type labels; Add a tag corresponding to the specific mode encoding to each frame; Accordingly, segmenting multiple consecutive frames with the same vehicle mode type in the sequence to obtain segmented vehicle mode data includes: The sequence of consecutive frames with the same type label pattern is segmented to obtain the segmented data of the vehicle pattern.

3. The vehicle mode segmentation method as described in claim 1, characterized in that, After determining whether the first status code corresponds to the vehicle status value of the first priority bit, the method further includes: If it is determined that the first status code is not the vehicle status value corresponding to the first priority bit, then according to the priority order, for each frame of the sequence, the signals of the various vehicle statuses contained in the frame are ANDed with the valid vehicle status value corresponding to the second priority bit to obtain the second status code of each frame. Determine whether the second status code corresponds to the vehicle status value of the second priority bit; If it is determined that the second status code is the vehicle status value corresponding to the second priority bit, then the first status code is not the vehicle status value corresponding to the first priority bit, the second status code is the vehicle status value corresponding to the second priority bit, and the remaining N-2 status codes of each frame are any of the binary values ​​to generate the specific mode code of each frame. If the second status code is determined to be the vehicle status value corresponding to the non-priority second bit, the process continues until the Nth status code is determined to be the vehicle status value corresponding to the priority Nth bit, thus generating a specific mode code for each frame.

4. The vehicle mode segmentation method as described in claim 3, characterized in that, The step of determining whether the Nth status code corresponds to the vehicle status value of the Nth priority bit, and generating a specific pattern code for each frame, includes: If it is determined that the Nth bit status code is the vehicle status value corresponding to the Nth bit of the priority, then all the bit status codes before the Nth bit are the corresponding non-vehicle status values, and the Nth bit status code is the vehicle status value corresponding to the Nth bit of the priority, and a specific mode code for each frame is generated. If it is determined that the Nth bit status code is not the vehicle status value corresponding to the Nth bit of the priority, then all bit status codes are the corresponding non-vehicle status values, and a specific mode code for each frame is generated.

5. The vehicle mode segmentation method as described in claim 4, characterized in that, The sequence of multiple vehicle states includes a sequence of M vehicle states; each frame contains signals for multiple vehicle states, including signals for the driving state, the parking and charging state, and the high-voltage connection state; M is the number of vehicle states; M is equal to N. When it is determined that the first status code is the driving status value corresponding to the first priority bit, the specific mode code of each frame is used to represent the driving mode; When it is determined that the first status code is not the driving status value corresponding to the first priority bit and the second status code is the parking charging status value corresponding to the second priority bit, the specific mode code is used to represent the parking charging mode. When it is determined that the first status code is not the driving status value corresponding to the first priority bit, the second status code is not the parking charging status value corresponding to the second priority bit, and the third status code is the high voltage status value corresponding to the third priority bit, the specific mode code of each frame is used to represent the parking power consumption mode. If it is determined that the first status code is not the driving status value corresponding to the first priority bit, the second status code is not the parking charging status value corresponding to the second priority bit, and the third status code is not the high voltage status value corresponding to the third priority bit, the specific mode code of each frame is used to represent the engine shutdown mode.

6. The vehicle mode segmentation method as described in claim 1 or 2, characterized in that, The vehicles are identified by a unique vehicle identifier, which includes a vehicle identification code; the process of generating a sequence containing multiple vehicle states simultaneously, using the vehicle status details data in chronological order for each vehicle, includes: First detailed data of multiple vehicles are obtained from the first vehicle network platform; the first detailed data includes data on the status of the first vehicle. Second detailed data of the multiple vehicles is obtained from the second vehicle network platform; the second detailed data includes data on the status of the second vehicles; Perform data cleaning on the first detailed data and the second detailed data to obtain the corresponding data after first data cleaning and the data after second data cleaning. According to the vehicle identification code and the data time sequence, the data after the first data cleaning and the data after the second data cleaning are both grouped and sorted to obtain the data after the first preprocessing and the data after the second preprocessing; the data after the first preprocessing and the data after the second preprocessing both include the vehicle data of the same vehicle sorted by the data time sequence. The first preprocessed data and the second preprocessed data are fused to obtain detailed vehicle status data that simultaneously includes the first vehicle status and the second vehicle status, which serves as the sequence that simultaneously includes multiple vehicle statuses.

7. The vehicle mode segmentation method as described in claim 1 or 2, characterized in that, The method further includes: acquiring vehicle states to be added; determining the priority of the vehicle states to be added relative to the existing vehicle states; determining the valid values ​​and pattern codes of all vehicle states according to the new priority based on the number of vehicle states to be added; the number of vehicle states to be added is the same as the number of binary bits added to the valid values ​​of the vehicle states.

8. The vehicle mode segmentation method as described in claim 1 or 2, characterized in that, The method further includes: acquiring a vehicle mode to be added; determining a mode code for the vehicle mode to be added; the mode code for the vehicle mode to be added is used to represent the vehicle mode to be added.

9. A vehicle mode segmentation device, characterized in that, include: The data acquisition module is used to acquire detailed vehicle status data of vehicles on the vehicle networking platform; The sequence generation module is used to generate a sequence containing multiple vehicle states simultaneously, based on the vehicle state details data and in chronological order, for each vehicle; each frame of the sequence contains the data time and signals of the multiple vehicle states. The bitwise operation module is used to process the signals of various vehicle states contained in each frame of the sequence with the valid values ​​of each vehicle state using bitwise operations to obtain a specific mode code for each frame. The specific mode code is used to represent the vehicle mode type. The various vehicle states have different priority orders. This includes: according to the priority order, for each frame of the sequence, performing a bitwise AND operation on the signals of the various vehicle states contained in that frame with the valid value of the vehicle state corresponding to the first priority bit, to obtain the first-bit state code for each frame; determining whether the first-bit state code is the vehicle state value corresponding to the first priority bit; if the first-bit state code is determined to be the vehicle state value corresponding to the first priority bit, then converting the first-bit state code (which is the vehicle state value corresponding to the first priority bit) and the remaining N-1 bits of the state code for each frame into any binary value to generate the specific mode code for each frame; N is the number of state codes. The segmented data acquisition module is used to segment multiple consecutive frames with the same vehicle mode type in the sequence, taking each vehicle as a unit, to obtain segmented data of the vehicle mode.

10. An electronic device, characterized in that, It includes one or more processors for implementing the vehicle mode segmentation method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Method for extracting behavior fragment information by using vehicle monitoring data

    CN114020728A