CN115408581A - Vehicle working condition data segmentation method and device, electronic equipment and storage medium - Google Patents

Vehicle working condition data segmentation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115408581A
CN115408581A CN202211130733.8A CN202211130733A CN115408581A CN 115408581 A CN115408581 A CN 115408581A CN 202211130733 A CN202211130733 A CN 202211130733A CN 115408581 A CN115408581 A CN 115408581A
Authority
CN
China
Prior art keywords
time
condition data
working condition
data
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211130733.8A
Other languages
Chinese (zh)
Inventor
闫书畅
霍海涛
李坤远
王燕
付磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202211130733.8A priority Critical patent/CN115408581A/en
Publication of CN115408581A publication Critical patent/CN115408581A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90348Query processing by searching ordered data, e.g. alpha-numerically ordered data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for segmenting vehicle working condition data, electronic equipment and a storage medium. Wherein, the method comprises the following steps: acquiring speed data of the vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the termination time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time. The technical problem that working condition data cannot be accurately segmented in the prior art is solved.

Description

Vehicle working condition data segmentation method and device, electronic equipment and storage medium
Technical Field
The application relates to the field of data processing, in particular to a method and a device for segmenting vehicle working condition data, electronic equipment and a storage medium.
Background
At present, when a test of a typical working condition (such as NEDC, a shortening method, a common working condition and a smooth working condition) of a vehicle is carried out, a tester often needs to carry out a plurality of groups of tests in a certain test without stop, so that the obtained test data comprises a plurality of groups of data of the same working condition, and each group of working condition needs to be analyzed during analysis, so that a convenient and feasible algorithm is needed to accurately segment the test data.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a method and a device for segmenting vehicle working condition data, electronic equipment and a storage medium, and at least solves the technical problem that the working condition data cannot be accurately segmented in the prior art.
According to an aspect of an embodiment of the present application, there is provided a method for segmenting vehicle condition data, including: acquiring speed data of a vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the termination time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time.
Optionally, obtaining a start time corresponding to the speed data includes: sequencing the working condition data according to the acquisition sequence of the speed data; when the working condition data are segmented for the first time, determining the time corresponding to the first speed data in the sequenced working condition data as the starting time; when the working condition data is not segmented for the first time, determining the starting time of segmenting the working condition data at present according to the ending time of segmenting the working condition data for the last time.
Optionally, determining a current starting time for segmenting the operating condition data includes: acquiring a first sequence number corresponding to the termination time when the working condition data is segmented last time; increasing the first serial number by 1 to obtain a second serial number, wherein the second serial number is the serial number of the corresponding first speed data when the working condition data is segmented currently; and determining the time indicated by the speed data corresponding to the second sequence number as the starting time for segmenting the working condition data at present.
Optionally, after determining the first set, the method further comprises: judging whether the first set is empty; under the condition that the first set is empty, determining that the working condition data are divided; in the case where the first set is not empty, the second set is determined.
Optionally, after determining the second set, the method further comprises: judging whether the second set is empty; under the condition that the second set is empty, determining that the working condition data are completely divided; and under the condition that the second set is not empty, determining a third set, wherein the third set is a time set which meets a preset condition in the second set, and the preset condition is that the time point in the second set is larger than the minimum time point in the first set.
Optionally, determining the end time of the operating condition data comprises: acquiring a minimum time point in the third set; and determining the ending time of the working condition data at least according to the starting time and the minimum time point in the third set.
According to another aspect of the embodiments of the present application, there is also provided a device for segmenting vehicle condition data, including: the acquisition module is used for acquiring speed data of the vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; the first determining module is used for determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; the second determining module is used for determining a second set according to the speed data, wherein the second set is a corresponding time set when the speed data is a specified value, and the specified value is smaller than a preset threshold value; the third determining module is used for determining the termination time of the working condition data according to the time in the first set and the second set; and the segmentation module is used for segmenting the working condition data according to the starting time and the ending time.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory for storing a program; a processor coupled to the memory for executing program instructions that implement the functions of: acquiring speed data of a vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the ending time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time.
According to another aspect of the embodiment of the present application, a nonvolatile storage medium is further provided, where the nonvolatile storage medium includes a stored computer program, and a device in which the nonvolatile storage medium is located executes the method for segmenting the vehicle operating condition data by running the computer program.
According to still another aspect of the embodiments of the present application, a vehicle is further provided, and a controller of the vehicle is configured to execute the method for segmenting the vehicle operating condition data.
In the embodiment of the application, the speed data of the vehicle is obtained from the working condition data, and the starting time corresponding to the speed data is obtained, wherein the working condition data is the working condition data which is not divided; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the termination time of the working condition data according to the time in the first set and the second set; according to the starting time and the ending time, the working condition data are segmented, and the purpose of segmenting different working condition data is achieved, so that the technical effect of improving the segmentation accuracy is achieved, and the technical problem that the working condition data cannot be accurately segmented in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal (or an electronic device) for implementing a segmentation method of vehicle condition data according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for segmenting vehicle condition data according to an embodiment of the present application;
FIG. 3a is a flowchart of acquiring a start time corresponding to operating condition data according to an embodiment of the present disclosure;
FIG. 3b is a flowchart of determining a starting time for currently segmenting the condition data according to an embodiment of the present application;
FIG. 3c is a flow chart of a different process performed according to the states of the first set according to an embodiment of the application;
FIG. 3d is a flow chart of a different process performed according to the states of the second set according to embodiments of the application;
FIG. 4 is a block diagram of a vehicle condition data partitioning apparatus according to an embodiment of the present application;
FIG. 5 is a flow chart of a segmentation process for vehicle operating condition data according to an embodiment of the present application;
FIG. 6a is a graph of operating condition data according to an embodiment of the present application;
FIG. 6b is a schematic illustration of different exemplary conditions after a segmentation according to an embodiment of the application.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the method for segmenting the vehicle working condition data provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or electronic device) for implementing a segmentation method of vehicle behavior data. As shown in fig. 1, the computer terminal 10 (or electronic device 10) may include one or more processors (shown in the figures as 102a, 102b, … …,102 n) (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module or incorporated, in whole or in part, into any of the other elements in the computer terminal 10 (or electronic device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be configured to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the method for segmenting the vehicle operating condition data in the embodiment of the present application, and the processor executes various functional applications and data processing by operating the software programs and modules stored in the memory 104, that is, implements the method for segmenting the vehicle operating condition data. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with the user interface of the computer terminal 10 (or electronic device).
It should be noted here that in some alternative embodiments, the computer device (or electronic device) shown in fig. 1 may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or electronic device) described above.
In the operating environment described above, the embodiments of the present application provide an embodiment of a method for segmenting vehicle operating condition data, it should be noted that the steps illustrated in the flowchart of the drawings may be implemented in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Fig. 2 is a flowchart of a method for segmenting vehicle operating condition data according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S202, speed data of the vehicle is obtained from the working condition data, and starting time corresponding to the working condition data is obtained, wherein the working condition data is the working condition data which is not divided.
In the embodiment of the application, the working condition data is test data containing at least one group of circulating typical working conditions, and the working condition data is divided by the method for dividing the vehicle working condition data provided by the embodiment of the application, so that each group of circulating working condition data or each group of working condition data is accurately obtained, the working condition data contains speed data of a vehicle, and corresponding acquisition time is used for acquiring the speed data.
In the step S202, the start time is the minimum time in the acquisition times corresponding to the speed data, and it should be noted that, in order to determine the minimum time in the acquisition times, the acquisition times in the embodiment of the present application all use a 24-hour system, for example, the acquisition time 1 corresponding to the data 1 is 1 month, 1 day, 8 hours, 00 minutes and 00 seconds in 2000 year, 1 month, 1 day, 14 hours, 01 minutes and 01 seconds in 2000 year, if only the two data are compared, the acquisition times are sequentially compared according to the order of the acquisition years, months, dates, hours, minutes and seconds, when the acquisition years are the same, the comparison months are the same, when the acquisition years and months are the same, the dates are compared, and so on, the time corresponding to the minimum time in the first different values is taken as the minimum time, that is the start time. By comparing the acquisition time 1 with the acquisition time 2, the acquisition time 1 can be obtained as the minimum time, that is, the acquisition time 1 is taken as the starting time.
In another alternative embodiment, the operating condition data is speed data acquired according to a time sequence, that is, the start time is an acquisition time corresponding to a first speed data in the operating condition data.
After the working condition data are segmented, the segmented working condition data are removed from the original working condition data, so that the non-segmented working condition data are used as the working condition data required by next segmentation, the data volume is reduced, and the calculation efficiency is improved. It should be noted that, when the condition data is updated, the serial number corresponding to each speed data in the original condition data is not changed, and only the data corresponding to the serial number is deleted.
Step S204, determining a first set according to the speed data and the start time, where the first set is a time set corresponding to the speed data greater than a preset threshold in the speed data after the start time.
In the embodiment of the present application, the preset threshold may be generally set to 90km/h, and a specific value thereof may be set according to an actual situation, which is not limited herein. When the preset threshold is 90km/h, the first set in step S204 may be represented as all time sets corresponding to the speed data greater than 90km/h after the start time, where the first set may be represented by indexa, and the start time may be represented by numa.
Step S206, determining a second set according to the speed data, where the second set is a time set corresponding to the speed data as a specified value, and the specified value is smaller than a preset threshold.
In step S206, the specified value is 0, the corresponding time sets in the second set are time sets corresponding to all vehicle speeds of 0 in the condition data, and the second set may be represented by indexb.
And step S208, determining the ending time of the working condition data according to the time in the first set and the second set.
And step S210, dividing the working condition data according to the starting time and the ending time.
In the embodiment of the application, after the starting time and the ending time are obtained, the speed data within the starting time and the ending time are taken out, and a relation curve of the speed and the time is drawn according to the speed data and the corresponding time.
In step S202 of the method for segmenting the vehicle operating condition data, the start time corresponding to the operating condition data is obtained, as shown in the flowchart of fig. 3a, which specifically includes the following steps:
step S302, sequencing the working condition data according to the acquisition sequence of the speed data;
step S304, when the working condition data are segmented for the first time, determining the time corresponding to the first speed data in the sequenced working condition data as the starting time;
step S306, when the working condition data is not segmented for the first time, determining the starting time of segmenting the working condition data at present according to the ending time of segmenting the working condition data for the last time.
In the above steps S302 to S306, if the operating condition data is sorted out of order, the operating condition data needs to be sorted according to the step S302 first, and if the operating condition data is sorted according to the collection order of the speed data, the step S302 does not need to be executed. Because the operating condition data may include a plurality of sets of test data of the cyclic typical operating conditions, when the operating condition data is divided for the first time, the time corresponding to the first speed data in the sorted operating condition data is determined as the starting time, and the time corresponding to the first speed data in the speed signal can be marked as numa. When the working condition data is not segmented for the first time, the specific steps are shown in fig. 3b.
In step S306 of the method for segmenting the vehicle operating condition data, determining the starting time of segmenting the operating condition data at present, as shown in the flowchart of fig. 3b, specifically includes the following steps:
step S312, a first sequence number corresponding to the termination time of the last division of the working condition data is obtained;
step S314, increasing the first serial number by 1 to obtain a second serial number, wherein the second serial number is the serial number of the corresponding first speed data when the working condition data is segmented currently;
step S316, determining the time indicated by the speed data corresponding to the second sequence number as the starting time for segmenting the working condition data currently.
In the above steps S312 to S316, when the condition data is not divided for the first time, the first sequence number corresponding to the end time of the last division of the condition data needs to be obtained first, for example, when the condition data is divided for the second time, the first sequence number corresponding to the end time of the first division of the condition data is obtained, where the end time is the acquisition time corresponding to the speed data acquired last when the condition data is divided for the first time, and since the speed data, the sequence number, and the acquisition time are in one-to-one correspondence, the time corresponding to the second sequence number obtained after the first sequence number is increased by 1 can be used as the start time of the current division of the condition data.
After the first set is determined in step S204 of the method for segmenting the vehicle condition data, as shown in the flowchart of fig. 3c, the method further includes the following steps:
step S322, judge whether the first set is empty;
step S324, under the condition that the first set is empty, determining that the working condition data are completely divided;
in step S326, when the first set is not empty, the second set is determined.
After determining the second set in step S206 of the method for segmenting the vehicle operating condition data, as shown in the flowchart of fig. 3d, the method further includes the following steps:
step S332, judging whether the second set is empty;
step 334, under the condition that the second set is empty, determining that the working condition data are completely divided;
in step S336, a third set is determined when the second set is not empty, where the third set is a time set that satisfies a preset condition in the second set, and the preset condition is that a minimum time point in the second set is greater than a minimum time point in the first set.
In the embodiment of the present application, the third set may be denoted by indexc, where, when both the first set indexa and the second set indexb are sorted in chronological order from small to large, the smallest time point in the first set is the first time point in indexa, that is, indexc is all time points at which the time in indexb is greater than the first time point in indexa, and because indexb is the set of all time points at which the velocity is 0, then indexc is all time points at which the velocity in indexb is greater than the first time point in indexa by 0.
In step S208 of the method for segmenting the vehicle operating condition data, determining the end time of the operating condition data specifically includes the following steps: acquiring a minimum time point in the third set; and determining the ending time of the working condition data at least according to the starting time and the minimum time point in the third set.
In this embodiment of the application, the minimum time point in the third set is obtained, and when the third set is sorted from small to large in time order, the minimum time point in the third set is the time point corresponding to the first item in indexc, and may be denoted as indexc (1)), the termination time of the condition data may be represented by the following formula:
numb=indexb(indexc(1))+numa+c
where c represents a set range value, typically 10.
Through the steps, when test data are processed, each cycle needs to be processed independently according to relevant standards, and the typical working conditions of the cycles can be accurately and quickly segmented only by inputting the values of the numa variable and the c variable through the segmentation method of the vehicle working condition data, so that subsequent calculation according to the relevant standards can be conveniently carried out in the next step.
Fig. 4 is a structural diagram of a partitioning apparatus for vehicle behavior data according to an embodiment of the present application, as shown in fig. 4, the apparatus includes:
an obtaining module 402, configured to obtain speed data of a vehicle from operating condition data, and obtain a start time corresponding to the operating condition data, where the operating condition data is operating condition data that is not segmented;
a first determining module 404, configured to determine a first set according to the speed data and the start time, where the first set is a time set corresponding to speed data that is greater than a preset threshold in the speed data after the start time;
a second determining module 406, configured to determine a second set according to the speed data, where the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold;
a third determining module 408, configured to determine a termination time of the condition data according to the times in the first set and the second set;
the dividing module 410 is configured to divide the operating condition data according to the start time and the end time.
In an obtaining module in the vehicle condition data segmenting device, obtaining a start time corresponding to the condition data specifically includes the following procedures: sequencing the working condition data according to the acquisition sequence of the speed data; when the working condition data are segmented for the first time, determining the time corresponding to the first speed data in the sequenced working condition data as the starting time; when the working condition data is not segmented for the first time, determining the starting time of segmenting the working condition data at present according to the ending time of segmenting the working condition data for the last time.
In the obtaining module of the vehicle condition data segmenting device, determining the current starting time for segmenting the condition data specifically includes the following procedures: acquiring a first sequence number corresponding to the termination time of the last division of the working condition data; increasing the first serial number by 1 to obtain a second serial number, wherein the second serial number is the serial number of the corresponding first speed data when the working condition data is segmented currently; and determining the time indicated by the speed data corresponding to the second sequence number as the starting time for segmenting the working condition data at present.
After the first set is determined in a first determining module in the vehicle working condition data segmenting device, the module needs to judge whether the first set is empty; under the condition that the first set is empty, determining that the working condition data are divided; in the case where the first set is not empty, the second set is determined.
In a second determining module in the vehicle working condition data partitioning device, after the second set is determined, the module needs to judge whether the second set is empty; under the condition that the second set is empty, determining that the working condition data are divided; and under the condition that the second set is not empty, determining a third set, wherein the third set is a time set which meets a preset condition in the second set, and the preset condition is that the time point in the second set is larger than the minimum time point in the first set.
In the third determining module of the device for segmenting the vehicle operating condition data, determining the end time of the operating condition data specifically comprises the following procedures: acquiring a minimum time point in the third set; and determining the ending time of the working condition data at least according to the starting time and the minimum time point in the third set.
It should be noted that the dividing device for vehicle operating condition data shown in fig. 4 is used for executing the dividing method for vehicle operating condition data shown in fig. 2, and therefore the explanation related to the dividing method for vehicle operating condition data is also applicable to the dividing device for vehicle operating condition data, and is not described herein again.
Fig. 5 is a flowchart of a segmentation process of vehicle condition data according to an embodiment of the present application, as shown in fig. 5, S501, obtaining speed data of a vehicle from the condition data; s502, numa is determined; s503, determining indexa; s504, judging whether indexa is empty, finishing the segmentation process under the condition that the indexa is empty, and executing S505 under the condition that the indexa is not empty; s505, determining indexb; s506, judging whether indexb is null, finishing the segmentation process under the condition that the indexb is null, and executing S507 under the condition that the indexb is not null; s507, determining indexc; s508, numb is determined, and the working condition data are segmented according to numa and numb; s509, numa is updated, and the process proceeds to S503.
It should be noted that, for implementation of the specific process included in the flowchart of the segmentation process of the vehicle operating condition data shown in fig. 5, reference may be made to the related explanation in fig. 2, and details are not repeated here.
Fig. 6a is a working condition data diagram according to an embodiment of the present application, where the working condition data includes multiple groups of typical working conditions, and the working condition data includes speed data of a vehicle corresponding to different times, and the working condition data in fig. 6a is divided by using the above-mentioned method for dividing the working condition data of the vehicle, so as to obtain schematic diagrams of different typical working conditions shown in fig. 6 b. As can be seen from FIG. 6a and FIG. 6b, the method for segmenting the vehicle working condition data sequentially divides the working condition data in FIG. 6a into two CLTC working conditions, three working conditions with the same speed of 100km/h, two CLTC working conditions and one working condition with the same speed of 100 km/h.
The embodiment of the application also provides a nonvolatile storage medium, which comprises a stored computer program, wherein the device where the nonvolatile storage medium is located executes the following segmentation method of the vehicle working condition data by running the computer program: acquiring speed data of a vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the termination time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time.
The embodiment of the application also provides a vehicle, and the controller of the vehicle is used for executing the following segmentation method of the vehicle working condition data: acquiring speed data of a vehicle from the working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than a preset threshold value; determining the termination time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for segmenting vehicle condition data is characterized by comprising the following steps:
acquiring speed data of a vehicle from working condition data, and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data;
determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time;
determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than the preset threshold value;
determining the termination time of the working condition data according to the time in the first set and the second set;
and dividing the working condition data according to the starting time and the ending time.
2. The method of claim 1, wherein obtaining a start time corresponding to the operating condition data comprises:
sequencing the working condition data according to the acquisition sequence of the speed data;
when the working condition data are segmented for the first time, determining the time corresponding to the first speed data in the sequenced working condition data as the starting time;
and when the working condition data is not segmented for the first time, determining the starting time of segmenting the working condition data at present according to the ending time of segmenting the working condition data for the last time.
3. The method of claim 2, wherein determining a current start time for segmenting the condition data comprises:
acquiring a first sequence number corresponding to the termination time when the working condition data is segmented last time;
increasing the first sequence number by 1 to obtain a second sequence number, wherein the second sequence number is the sequence number of the corresponding first speed data when the working condition data is segmented currently;
and determining the time indicated by the speed data corresponding to the second sequence number as the starting time for segmenting the working condition data at present.
4. The method of claim 1, wherein after determining the first set, the method further comprises:
determining whether the first set is empty;
determining that the working condition data segmentation is completed under the condition that the first set is empty;
in the event that the first set is not empty, determining the second set.
5. The method of claim 1, wherein after determining the second set, the method further comprises:
determining whether the second set is empty;
determining that the working condition data segmentation is completed under the condition that the second set is empty;
and under the condition that the second set is not empty, determining a third set, wherein the third set is a time set meeting a preset condition in the second set, and the preset condition is that the time point in the second set is larger than the minimum time point in the first set.
6. The method of claim 5, wherein determining an end time of the condition data comprises:
acquiring a minimum time point in the third set;
and determining the ending time of the working condition data at least according to the starting time and the minimum time point in the third set.
7. A partitioning device for vehicle behavior data, comprising:
the acquisition module is used for acquiring speed data of a vehicle from working condition data and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data;
a first determining module, configured to determine a first set according to the speed data and the start time, where the first set is a time set corresponding to speed data that is greater than a preset threshold in the speed data after the start time;
a second determining module, configured to determine a second set according to the speed data, where the second set is a corresponding time set when the speed data is a specified value, and the specified value is smaller than the preset threshold;
the third determining module is used for determining the termination time of the working condition data according to the time in the first set and the second set;
and the division module is used for dividing the working condition data according to the starting time and the ending time.
8. An electronic device, comprising:
a memory for storing a program;
a processor coupled to the memory for executing program instructions that implement the functions of: acquiring speed data of a vehicle from working condition data, and acquiring starting time corresponding to the working condition data, wherein the working condition data are non-segmented working condition data; determining a first set according to the speed data and the starting time, wherein the first set is a time set corresponding to the speed data which is greater than a preset threshold value in the speed data after the starting time; determining a second set according to the speed data, wherein the second set is a time set corresponding to the speed data with a specified value, and the specified value is smaller than the preset threshold value; determining the ending time of the working condition data according to the time in the first set and the second set; and dividing the working condition data according to the starting time and the ending time.
9. A non-volatile storage medium, comprising a stored computer program, wherein a device on which the non-volatile storage medium is located executes the method for segmenting vehicle operating condition data according to any one of claims 1 to 6 by running the computer program.
10. A vehicle, characterized in that a controller of the vehicle is configured to execute the method of segmenting vehicle operating condition data according to any one of claims 1 to 6.
CN202211130733.8A 2022-09-15 2022-09-15 Vehicle working condition data segmentation method and device, electronic equipment and storage medium Pending CN115408581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211130733.8A CN115408581A (en) 2022-09-15 2022-09-15 Vehicle working condition data segmentation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211130733.8A CN115408581A (en) 2022-09-15 2022-09-15 Vehicle working condition data segmentation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115408581A true CN115408581A (en) 2022-11-29

Family

ID=84166146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211130733.8A Pending CN115408581A (en) 2022-09-15 2022-09-15 Vehicle working condition data segmentation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115408581A (en)

Similar Documents

Publication Publication Date Title
CN106897284B (en) Recommendation method and device for electronic books
CN110427494B (en) Knowledge graph display method and device, storage medium and electronic device
CN110333864B (en) Tree-shaped data rendering method, device, equipment and medium
CN113033722A (en) Sensor data fusion method and device, storage medium and computing equipment
CN112422369B (en) Method and device for determining offline time, storage medium and electronic device
CN107277118B (en) Method and device for generating common access path of node
CN115408581A (en) Vehicle working condition data segmentation method and device, electronic equipment and storage medium
CN108197086B (en) Passive element parameter analysis method and device
CN112444820A (en) Robot pose determining method and device, readable storage medium and robot
CN115438083A (en) Target data segmentation method and device and storage medium
EP2884438A1 (en) Method and device for grouping contacts in social network
CN111127094B (en) Account matching method and device, electronic equipment and storage medium
CN113312254A (en) Kernel code testing method and device, storage medium and processor
CN111061878A (en) Page clustering method, device, medium and equipment
CN110232393B (en) Data processing method and device, storage medium and electronic device
CN112697191A (en) Sensor working state display method and device and storage medium
CN109597813B (en) Vehicle data processing method and device
CN112560555A (en) Method, device and storage medium for expanding key points
CN113934419A (en) Transparency adjusting method and device, storage medium and electronic device
CN112749150B (en) Error labeling data identification method, device and medium
CN110716747B (en) Program operation efficiency optimization method based on function parameter statistics and terminal equipment
CN114090919A (en) Display policy determination method and apparatus, storage medium, and electronic apparatus
CN113312436B (en) Spatial index processing method and device
CN111291291B (en) Page loading time processing method, device and system
CN104462287A (en) Method, device and system for data processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination