CN113553698B - Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium - Google Patents

Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN113553698B
CN113553698B CN202110722143.3A CN202110722143A CN113553698B CN 113553698 B CN113553698 B CN 113553698B CN 202110722143 A CN202110722143 A CN 202110722143A CN 113553698 B CN113553698 B CN 113553698B
Authority
CN
China
Prior art keywords
axle
counting
section
axle counting
shaft
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.)
Active
Application number
CN202110722143.3A
Other languages
Chinese (zh)
Other versions
CN113553698A (en
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.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202110722143.3A priority Critical patent/CN113553698B/en
Publication of CN113553698A publication Critical patent/CN113553698A/en
Application granted granted Critical
Publication of CN113553698B publication Critical patent/CN113553698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a device for evaluating the performance of axle counting equipment, electronic equipment and a storage medium, wherein the method for evaluating the performance of the axle counting equipment comprises the following steps: receiving a plurality of data packets sent by a metering shaft; the meter shaft comprises a first meter shaft and a second meter shaft, wherein the first meter shaft is a reference meter shaft, and the second meter shaft is a meter shaft to be evaluated; based on the data packets, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period; and obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting. The performance evaluation method of the axle counting equipment can realize visual evaluation of the performance of the axle counting equipment and obtain visual evaluation results of the performance of the axle counting equipment.

Description

Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for evaluating performance of a shaft counting device, an electronic device, and a storage medium.
Background
In a modern CBTC (Communication Based Train Control System, communication-based train automatic control system) signal system, when a CBTC train loses communication or is operated in a mixed mode with a non-CBTC train, secondary detection equipment such as a metering axle needs to be set as a backup system in order to ensure operation safety. When using the axle counting device, the performance of the axle counting device needs to be evaluated. At present, a method capable of visually evaluating the performance of the shaft equipment is not found, most of the method is based on hardware-level evaluation, and the performance evaluation result of the shaft equipment cannot be visually obtained.
Disclosure of Invention
The invention provides a performance evaluation method and device of axle counting equipment, electronic equipment and a storage medium, which are used for realizing visual evaluation of the performance of the axle counting equipment and obtaining visual evaluation results of the performance of the axle counting equipment.
The invention provides a performance evaluation method of axle counting equipment, which comprises the following steps:
Receiving a plurality of data packets sent by a metering shaft; the meter shaft comprises a first meter shaft and a second meter shaft, wherein the first meter shaft is a reference meter shaft, and the second meter shaft is a meter shaft to be evaluated;
Based on the data packets, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period;
And obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
According to the method for evaluating the performance of the axle counting equipment provided by the invention, the total occupation times and total axle number of the corresponding axle counting in the target time period are obtained based on the data packets, and the method comprises the following steps:
based on the plurality of data packets, obtaining a shaft counting section state data set and a shaft counting section shaft array; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section state data comprises a section occupied state or a section idle state;
obtaining total occupation times of corresponding axle counting based on multiple groups of adjacent two axle counting section state data in the axle counting section state data group;
And obtaining the total axle number of the corresponding axle based on the multiple groups of adjacent two axle counting section state data in the axle counting section state data group and the multiple groups of adjacent two axle counting section axle numbers in the axle counting section axle group.
According to the method for evaluating the performance of the axle counting equipment provided by the invention, the total occupation times of the corresponding axle counting are obtained based on the state data of a plurality of groups of adjacent axle counting sections in the state data group of the axle counting sections, and the method comprises the following steps:
In the adjacent two axle counting section state data, determining that the adjacent two axle counting section state data meets a counting start condition when the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state or the initial axle counting section state data is in a section occupied state and the initial axle counting section number is 1;
And obtaining the total occupation times of the corresponding axle counting based on the group number of the adjacent two axle counting section state data meeting the counting start condition in the axle counting section state data group.
According to the performance evaluation method of the axle counting equipment provided by the invention, the receiving of the plurality of data packets sent by the axle counting comprises the following steps:
Receiving a plurality of data packets transmitted by the axle based on the target frequency, or receiving a plurality of data packets transmitted by the axle under the condition that the axle counting state is changed;
In the adjacent two axle counting section status data, when the former axle counting section status data is in a section idle state and the latter axle counting section status data is in a section occupied state, or when the initial axle counting section status data is in a section occupied state and the initial axle counting section axle number is 1, determining that the adjacent two axle counting section status data meets a count starting condition includes:
Under the condition of receiving a plurality of data packets sent by the axle counting based on the target frequency, determining that the adjacent two axle counting section state data meet a counting starting condition based on the condition that the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state in the adjacent two axle counting section state data;
and under the condition of receiving a plurality of data packets sent by the axle counting state change, determining that the adjacent two axle counting section state data meet a counting starting condition, wherein the initial axle counting section state data is a section occupied state and the initial axle counting section number is 1.
According to the method for evaluating the performance of the axle counting equipment provided by the invention, the obtaining of the total axle number of the corresponding axle based on the state data of a plurality of groups of adjacent axle counting sections in the state data group of the axle counting sections and the axle number of a plurality of groups of adjacent axle counting sections in the axle group of the axle counting sections comprises the following steps:
under the condition that the state data of the two adjacent axle counting sections meet the counting starting condition, selecting the axle count maximum value of the axle counts of the two adjacent axle counting sections as an axle count statistic value;
and obtaining the total axle number of the corresponding axle counting based on a plurality of axle number statistic values corresponding to the axle counting section axle array.
According to the performance evaluation method of the axle counting equipment provided by the invention, when the state data of the two adjacent axle counting sections meet the counting starting condition, the axle count maximum value of the axle counts of the two adjacent axle counting sections is selected as the axle count statistic value, and the method comprises the following steps:
Traversing the axle counting section state data set, and starting to count the axle count maximum value of the axle counts of the two adjacent axle counting sections under the condition that the state data of the two adjacent axle counting sections meet the counting starting condition, and taking the axle count maximum value as the axle count statistic value;
The obtaining the total axle number of the corresponding axle counting based on the axle count statistic values corresponding to the axle counting section axle array comprises the following steps:
And accumulating the shaft count statistic value obtained in the process of traversing the shaft counting section state data set, wherein in the two adjacent shaft counting section state data, the former shaft counting section state data is a section occupied state, and the latter shaft counting section state data is a section idle state, and taking the accumulated result of the shaft count statistic value as the total shaft count of the corresponding shaft counting.
The invention also provides a performance evaluation device of the axle counting equipment, which comprises:
the data receiving module is used for receiving a plurality of data packets sent by the axle counting; the meter shaft comprises a first meter shaft and a second meter shaft, wherein the first meter shaft is a reference meter shaft, and the second meter shaft is a meter shaft to be evaluated;
The data processing module is used for obtaining the total occupied times and the total axle number of the corresponding axle counting in the target time period based on the data packets;
and the performance evaluation module is used for obtaining the performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
According to the performance evaluation device of the axle counting equipment provided by the invention, the data processing module comprises:
The data analysis unit is used for obtaining a shaft counting section state data set and a shaft counting section shaft array based on the plurality of data packets; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section state data comprises a section occupied state or a section idle state;
The first calculation unit is used for obtaining the total occupation times of the corresponding axle counting based on the state data of the plurality of groups of adjacent two axle counting sections in the axle counting section state data group;
And the second calculation unit is used for obtaining the total axle number of the corresponding axle counting based on the multiple groups of adjacent two axle counting section state data in the axle counting section state data group and the multiple groups of adjacent two axle counting section axle numbers in the axle counting section axle group.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of any one of the axle counting device performance evaluation methods when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the axle counting apparatus performance evaluation method as described in any one of the above.
According to the method, the device, the electronic equipment and the storage medium for evaluating the performance of the shaft counting equipment, the total occupied times and the total shaft number of the corresponding shaft counting in the target time period are obtained based on the data packets corresponding to the first shaft counting and the second shaft counting, and then the performance evaluation result of the second shaft counting is obtained based on the total occupied times and the total shaft number of the first shaft counting and the total occupied times and the total shaft number of the second shaft counting. The axle counting performance can be intuitively evaluated through engineering application parameters such as total occupation times of sections, total axle numbers of passing wheels and the like in a period of time to obtain an intuitive axle counting equipment performance evaluation result, so that the reliability and accuracy of the axle counting equipment can be intuitively reflected, and assistance and reference can be provided for improved debugging and subsequent equipment authentication in a hardware level.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for evaluating performance of a shaft-counting device according to the present invention;
FIG. 2 is a schematic diagram of the positions of a first axle and a second axle according to the present invention;
FIG. 3 is a second flow chart of the performance evaluation method of the axle counting device according to the present invention;
FIG. 4 is a schematic block diagram of a performance evaluation apparatus for a shaft-counting device provided by the present invention;
Fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method, apparatus, electronic device and storage medium for evaluating performance of a shaft-counting device according to the present invention are described below with reference to fig. 1 to 5.
The invention provides a performance evaluation method of axle counting equipment, as shown in figure 1, comprising the following steps:
step 110, receiving a plurality of data packets sent by a metering shaft; the axle counting device comprises a first axle counting device and a second axle counting device.
It will be appreciated that the axle is simply referred to as an axle counting device, the first axle being a reference axle and the second axle being an axle to be evaluated.
As shown in fig. 2, the first axle may be an axle counting device which has been used in engineering, and the second axle may be an axle counting device to be verified, the first axle counting device and the second axle counting device being arranged on different side positions of the same track section of the same vehicle test line, ensuring that the magnetic heads of the first axle counting device and the second axle counting device are on the same horizontal line.
The first axle counting and the second axle counting are respectively provided with a respective maintenance interface machine, the acquired information is externally transmitted in an Ethernet mode, the acquired information is accessed into respective axle counting data acquisition modules, the acquired axle counting data are input into respective axle counting data analysis modules, and finally effective parameters which can be directly compared are obtained, wherein the composition and the flow of the functional modules are shown in figure 3.
And 120, obtaining the total occupied times and the total axis number of the corresponding axis counting in the target time period based on the plurality of data packets.
It should be noted that, the first axle counting and the second axle counting send axle counting data packets by means of TCP (Transmission Control Protocol ) or UDP (User Datagram Protocol, user datagram protocol), the data packets include axle counting section occupied/idle state at the sending time, the real-time axle number of the section, the values and symbols of each item are as follows:
1) Segment occupied/idle state (O i):
0x55: the section is idle; 0xAA: the zone is occupied.
2) Segment real time axis number (C i): indicated by a number, e.g. 5, i.e. indicating a segment real time axis number of 5.
The axle counting data acquisition module is responsible for receiving TCP or UDP data packets transmitted by the first axle counting and the second axle counting, and records the current time T i of the first axle counting and the second axle counting respectively when one packet of data is received, wherein the current time T i can be accurate to the millisecond level, the axle counting data of the data packets are analyzed according to the agreed communication protocol to obtain effective data, the effective data are recorded as D 1, and the effective data are recorded as D i when one packet of data is received, and the effective data are sequentially stored in an array according to the receiving time sequence.
The effective data corresponding to the first axle count is sequentially stored in the array D A according to the data packet receiving time sequence, the effective data corresponding to the second axle count is sequentially stored in the array D B according to the data packet receiving time sequence, after completion of the data recording, array D A={Di (i=1, 2,3··n) and array D B={Di (i=1, 2,3·n) are assumed.
Array D A is shown in the following table:
TA1 OA1 CA1
TA2 OA2 CA2
······ ······ ······
TAn OAn CAn
array D B is shown in the following table:
TB1 OB1 CB1
TB2 OB2 CB2
······ ······ ······
TBn OBn CBn
The axle counting data analysis module is responsible for analyzing and calculating the data output by the axle counting data acquisition module, and finally obtaining comparable effective parameters including total occupied times and total axle numbers in a period of time.
The method for obtaining the total occupation times and the total axis number of the first axis in the target time period by the first axis based on the plurality of data packets corresponding to the first axis is the same as the method for obtaining the total occupation times and the total axis number of the second axis in the target time period by the second axis based on the plurality of data packets corresponding to the second axis. And 130, obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
In some embodiments, obtaining the total occupancy times and the total number of corresponding count axes in the target time period based on the plurality of data packets includes:
based on the plurality of data packets, obtaining a shaft counting section state data set and a shaft counting section shaft array; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section state data comprises a section occupied state or a section idle state;
Obtaining total occupation times of corresponding axle counting based on multiple groups of adjacent two axle counting section state data in the axle counting section state data group;
Based on the state data of multiple groups of adjacent two axle counting sections in the axle counting section state data set and the axle number of multiple groups of adjacent two axle counting sections in the axle counting section axle set, the total axle number of the corresponding axle counting is obtained.
In some embodiments, obtaining the total occupancy times of the corresponding axle based on the plurality of sets of adjacent two axle counting section status data in the axle counting section status data set includes:
In the state data of the two adjacent axle counting sections, the former axle counting section state data is in a section idle state, and the latter axle counting section state data is in a section occupied state, or under the condition that the initial axle counting section state data is in a section occupied state and the initial axle counting section number is 1, the state data of the two adjacent axle counting sections is determined to meet the counting starting condition;
based on the number of groups of the state data of the adjacent two axle counting sections meeting the counting start condition in the state data group of the axle counting sections, the total occupied times of the corresponding axle counting is obtained.
In some embodiments, receiving a plurality of packets sent by a meter includes:
Receiving a plurality of data packets transmitted by the axle based on the target frequency, or receiving a plurality of data packets transmitted by the axle under the condition that the axle counting state is changed;
In the adjacent two axle counting section status data, when the former axle counting section status data is in a section idle state and the latter axle counting section status data is in a section occupied state, or when the initial axle counting section status data is in a section occupied state and the initial axle counting section axle number is 1, determining that the adjacent two axle counting section status data meets a count starting condition, including:
Under the condition of receiving a plurality of data packets sent by the axle counting based on the target frequency, determining that the adjacent two axle counting section state data meet the counting starting condition based on the condition that the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state in the adjacent two axle counting section state data;
when receiving a plurality of data packets sent by the axle counting state change, the initial axle counting section state data is the section occupied state and the initial axle counting section axle number is 1, and the adjacent two axle counting section state data are determined to meet the counting starting condition.
It will be appreciated that, since the manner in which the first and second axes transmit data may not be identical, there are generally two transmission manners: one is to transmit the axle counting data packet continuously (hereinafter, abbreviated as mode 1), that is, to transmit the axle counting data packet according to the target frequency, and the other is to transmit the axle counting data only when the axle counting state is changed (hereinafter, abbreviated as mode 2), so that the axle counting data analyzing module also differs when processing the data of the first axle counting and the second axle counting, and the calculation methods of the total occupation times (sum_occup, sum_ occupyB) and the total axle numbers (sum_axlea, sum_ axleB) are explained in the following two ways (taking the first axle counting as an example, the second axle counting method is the same as the first axle counting).
In some embodiments, obtaining the total number of axes of the corresponding axle count based on the plurality of sets of adjacent two axle count section status data in the axle count section status data set and the plurality of sets of adjacent two axle count section axes in the axle count section axis set includes:
under the condition that the state data of the two adjacent shaft counting sections meet the counting starting condition, selecting the maximum shaft number value of the shaft numbers of the two adjacent shaft counting sections as the shaft number statistical value;
And obtaining the total axle number of the corresponding axle counting based on a plurality of axle number statistic values corresponding to the axle counting section axle array.
In some embodiments, selecting the maximum value of the shaft number of the shaft numbers of the adjacent two shaft counting sections as the shaft number statistic value in the case that the state data of the adjacent two shaft counting sections meets the counting start condition comprises:
Traversing the axle counting section state data set, and under the condition that the state data of the two adjacent axle counting sections meet the counting starting condition, starting to count the axle count maximum value of the axle counts of the two adjacent axle counting sections, and taking the axle count maximum value as an axle count statistic value;
Based on a plurality of axle count statistics corresponding to the axle count section axle array, obtaining a total axle count corresponding to the axle count comprises the following steps:
And accumulating the shaft number statistical values obtained in the process of traversing the shaft counting section state data set, wherein in the adjacent two shaft counting section state data, the former shaft counting section state data is a section occupied state, and the latter shaft counting section state data is a section idle state, and taking the accumulated result of the shaft number statistical values as the total shaft number of the corresponding shaft counting.
It will be appreciated that the specific steps for calculating the total number of occupied axes and the total number of axes using the modes 1 and 2 are as follows:
Mode 1:
(1) Total occupied times:
Traversing array D A, sum_ occupyA is incremented by 1 when O Ai-1 =0x55 and O Ai =0xaa.
(2) Total number of axes:
1) Traversing array D A, starting statistics when O Ai-1 =0x55 and O Ai =0xaa;
2) After the statistics starts, comparing C Ai with C Ai-1, and taking the maximum value as the maximum value axleMaxA of the axis number of the statistics;
3) The statistics are ended when O Ai-1 =0xaa and O Ai =0x55, and axleMaxA is accumulated to obtain the total axis number sum_ axleA =sum_ axleA + axleMaxA in the time period T A1 to T An.
Mode 2:
(1) Total occupied times:
Traversing array D A, sum_ occupyA plus 1 when O Ai-1 =0x55 and O Ai =0xaa, or when O A1 =0xaa and C A1 =1;
(2) Total number of axes:
1) Traversing array D A, starting statistics when O Ai-1 =0x55 and O Ai =0xaa, or when O A1 =0xaa and CA 1 =1;
2) After the statistics starts, comparing C Ai with C Ai-1, and taking the maximum value as the maximum value axleMaxA of the axis number of the statistics;
3) The statistics are ended when O Ai-1 =0xaa and O Ai =0x55, and axleMaxA is accumulated to obtain the total axis number sum_ axleA =sum_ axleA + axleMaxA in the time period T A1 to T An.
The difference between the two calculation methods is that the first piece of data is judged, if the first piece of data is in the mode 1, normal calculation is performed, if the first piece of data is in the mode 2, whether the first piece of data can be used as a calculation trigger condition is judged, wherein the judgment condition is that O A1 =0 xAA and C A1 =1.
Taking the earlier time (here assumed to be T A1) in T A1 and T B1 as the start time, the later time (here assumed to be T Bn) in T An and T Bn as the end time, and according to the total occupancy times and the total axis number output by the axis counting data analysis module, the final evaluation conclusion can be obtained:
In the time period from T A1 to T Bn, the total station use times of the first counting shaft which is already applied in engineering is sum occupyA, the total shaft number is sum axleA, the total occupied times of the second counting shaft to be verified is sum occupyB, the total shaft number is sum axleB, if sum occupyA is equal to sum occupyB, sum axleA is equal to sum axleB, and the engineering application parameters of the second counting shaft and the first counting shaft are consistent in the time period, so that the second counting shaft to be verified preliminarily has engineering application conditions.
In summary, according to the performance evaluation method of the axle counting device provided by the invention, based on the plurality of data packets corresponding to the first axle counting and the second axle counting, the total occupied times and the total axle number of the corresponding axle counting in the target time period are obtained, and then based on the total occupied times and the total axle number of the first axle counting, the total occupied times and the total axle number of the second axle counting, the performance evaluation result of the second axle counting is obtained.
The axle counting performance can be intuitively evaluated through engineering application parameters such as total occupation times of sections, total axle number of passing wheels and the like in a period of time, so that the reliability and the accuracy of axle counting equipment can be intuitively reflected, and assistance and reference can be provided for improved debugging and subsequent equipment authentication in a hardware level.
The received large quantity of axle data packets can be used as a reference for the improvement and optimization of subsequent equipment, and the problem tracing is facilitated. The performance evaluation device of the axle counting equipment provided by the invention is described below, and the performance evaluation device of the axle counting equipment described below and the performance evaluation method of the axle counting equipment described above can be correspondingly referred to each other.
As shown in fig. 4, the axle counting apparatus performance evaluating apparatus 400 includes: a data receiving module 410, a data processing module 420 and a performance evaluation module 430.
The data receiving module 410 is configured to receive a plurality of data packets sent by the axle counting device; the axle counting device comprises a first axle counting device and a second axle counting device, wherein the axle counting device comprises a first axle counting device and a second axle counting device, the first axle counting device is a reference axle counting device, and the second axle counting device is an axle counting device to be evaluated.
The data processing module 420 is configured to obtain the total number of times of occupancy and the total number of axes corresponding to the counting in the target time period based on the plurality of data packets.
The performance evaluation module 430 is configured to obtain a performance evaluation result of the second axle based on the total occupancy time and the total axle number of the first axle and the total occupancy time and the total axle number of the second axle.
In some embodiments, data processing module 420 includes: the device comprises a data analysis unit, a first calculation unit and a second calculation unit.
The data analysis unit is used for obtaining a shaft counting section state data set and a shaft counting section shaft array based on a plurality of data packets; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section status data includes a section occupied status or a section idle status.
The first calculation unit is used for obtaining the total occupation times of the corresponding axle counting based on the state data of the plurality of groups of adjacent two axle counting sections in the axle counting section state data group.
The second calculation unit is used for obtaining the total axle number of the corresponding axle based on the multiple groups of adjacent two axle counting section state data in the axle counting section state data group and the multiple groups of adjacent two axle counting section axle numbers in the axle counting section axle group.
In some embodiments, the first computing unit comprises: a condition calculation unit and a number calculation unit.
The condition calculating unit is used for determining that the two adjacent axle counting section state data meet the counting starting condition under the condition that the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state or the initial axle counting section state data is in a section occupied state and the initial axle counting section number is 1 in the adjacent two axle counting section state data.
The number calculation unit is used for obtaining the total occupied number of the corresponding axle counting based on the number of the groups of the adjacent two axle counting section state data meeting the counting start condition in the axle counting section state data groups.
In some embodiments, the data receiving module 410 is further configured to receive a plurality of data packets sent by the axle based on the target frequency, or to receive a plurality of data packets sent by the axle in the event of an axle state change.
The condition calculation unit includes: a first condition confirmation unit and a second condition confirmation unit.
The first condition confirmation unit is used for determining that the two adjacent axle counting section state data meet the counting starting condition based on the condition that the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state in the adjacent two axle counting section state data under the condition that the plurality of data packets sent by the axle counting based on the target frequency are received.
The second condition confirmation unit is used for determining that the adjacent two axle counting section state data meet the counting start condition when the initial axle counting section state data is the section occupied state and the initial axle counting section axle number is 1 under the condition of receiving a plurality of data packets sent by the axle counting when the axle counting state is changed.
In some embodiments, the second computing unit comprises: an axis number selecting unit and an axis number calculating unit.
The axis number selecting unit is used for selecting the maximum value of the axis numbers of the adjacent two axis counting sections as an axis number statistical value under the condition that the state data of the adjacent two axis counting sections meets the counting starting condition.
The axle number calculating unit is used for obtaining the total axle number of the corresponding axle based on a plurality of axle number statistic values corresponding to the axle number array of the axle counting section.
In some embodiments, the axis number selecting unit is further configured to traverse the axis number segment status data set, start counting an axis number maximum value of the axis numbers of the adjacent two axis number segments if the adjacent two axis number segment status data satisfy the count start condition, and use the axis number maximum value as the axis number statistic value.
The axle count calculating unit is further used for accumulating the axle count statistic values obtained in the process of traversing the axle counting section state data set, and taking the accumulated result of the axle count statistic values as the total axle count of the corresponding axle counting when the former axle counting section state data is the section occupied state and the latter axle counting section state data is the section idle state in the adjacent two axle counting section state data.
The electronic device and the storage medium provided by the invention are described below, and the electronic device and the storage medium described below and the method for evaluating the performance of the axle counting device described above can be referred to correspondingly.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a method of computing device performance assessment, the method comprising:
Step 110, receiving a plurality of data packets sent by a metering shaft; the axle counting device comprises an axle counting device, a motor and a motor, wherein the axle counting device comprises a first axle counting device and a second axle counting device;
Step 120, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period based on a plurality of data packets;
and 130, obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method of evaluating performance of a shaft-counting device provided by the above methods, the method comprising:
Step 110, receiving a plurality of data packets sent by a metering shaft; the axle counting device comprises an axle counting device, a motor and a motor, wherein the axle counting device comprises a first axle counting device and a second axle counting device;
Step 120, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period based on a plurality of data packets;
and 130, obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-provided axle counting apparatus performance evaluation methods, the method comprising:
Step 110, receiving a plurality of data packets sent by a metering shaft; the axle counting device comprises an axle counting device, a motor and a motor, wherein the axle counting device comprises a first axle counting device and a second axle counting device;
Step 120, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period based on a plurality of data packets;
and 130, obtaining a performance evaluation result of the second axle counting based on the total occupation times and the total axle number of the first axle counting and the total occupation times and the total axle number of the second axle counting.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of evaluating performance of a metering device, comprising:
Receiving a plurality of data packets sent by a metering shaft; the meter shaft comprises a first meter shaft and a second meter shaft, wherein the first meter shaft is a reference meter shaft, and the second meter shaft is a meter shaft to be evaluated;
Based on the data packets, obtaining the total occupied times and the total axle number of corresponding axle counting in a target time period;
obtaining a performance evaluation result of the second axle based on the total occupation times and the total axle number of the first axle and the total occupation times and the total axle number of the second axle;
the first axle and the second axle are arranged on different side positions of the same track section of the same vehicle test line, and the magnetic heads of the first axle and the second axle are on the same horizontal line.
2. The method for evaluating performance of a meter axle device according to claim 1, wherein the obtaining the total number of occupied meter axles and the total number of occupied meter axles in the target time period based on the plurality of data packets includes:
based on the plurality of data packets, obtaining a shaft counting section state data set and a shaft counting section shaft array; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section state data comprises a section occupied state or a section idle state;
obtaining total occupation times of corresponding axle counting based on multiple groups of adjacent two axle counting section state data in the axle counting section state data group;
And obtaining the total axle number of the corresponding axle based on the multiple groups of adjacent two axle counting section state data in the axle counting section state data group and the multiple groups of adjacent two axle counting section axle numbers in the axle counting section axle group.
3. The method for evaluating performance of axle counting equipment according to claim 2, wherein the obtaining the total occupation times of the corresponding axle counting based on the state data of the plurality of groups of adjacent two axle counting sections in the state data group of the axle counting sections comprises:
In the adjacent two axle counting section state data, determining that the adjacent two axle counting section state data meets a counting start condition when the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state or the initial axle counting section state data is in a section occupied state and the initial axle counting section number is 1;
And obtaining the total occupation times of the corresponding axle counting based on the group number of the adjacent two axle counting section state data meeting the counting start condition in the axle counting section state data group.
4. The method for evaluating performance of a meter axle device according to claim 3, wherein said receiving a plurality of data packets transmitted by the meter axle comprises:
Receiving a plurality of data packets transmitted by the axle based on the target frequency, or receiving a plurality of data packets transmitted by the axle under the condition that the axle counting state is changed;
In the adjacent two axle counting section status data, when the former axle counting section status data is in a section idle state and the latter axle counting section status data is in a section occupied state, or when the initial axle counting section status data is in a section occupied state and the initial axle counting section axle number is 1, determining that the adjacent two axle counting section status data meets a count starting condition includes:
Under the condition of receiving a plurality of data packets sent by the axle counting based on the target frequency, determining that the adjacent two axle counting section state data meet a counting starting condition based on the condition that the former axle counting section state data is in a section idle state and the latter axle counting section state data is in a section occupied state in the adjacent two axle counting section state data;
and under the condition of receiving a plurality of data packets sent by the axle counting state change, determining that the adjacent two axle counting section state data meet a counting starting condition, wherein the initial axle counting section state data is a section occupied state and the initial axle counting section number is 1.
5. The method for evaluating performance of a shaft counting device according to claim 3, wherein the obtaining the total shaft number of the corresponding shaft based on the plurality of sets of adjacent two shaft counting section state data in the shaft counting section state data set and the plurality of sets of adjacent two shaft counting section shaft numbers in the shaft counting section shaft array includes:
under the condition that the state data of the two adjacent axle counting sections meet the counting starting condition, selecting the axle count maximum value of the axle counts of the two adjacent axle counting sections as an axle count statistic value;
and obtaining the total axle number of the corresponding axle counting based on a plurality of axle number statistic values corresponding to the axle counting section axle array.
6. The method according to claim 5, wherein selecting, as the axis count statistic, the maximum value of the axis counts of the adjacent two-axis counting sections in the case where the state data of the adjacent two-axis counting sections satisfies the count start condition, comprises:
Traversing the axle counting section state data set, and starting to count the axle count maximum value of the axle counts of the two adjacent axle counting sections under the condition that the state data of the two adjacent axle counting sections meet the counting starting condition, and taking the axle count maximum value as the axle count statistic value;
The obtaining the total axle number of the corresponding axle counting based on the axle count statistic values corresponding to the axle counting section axle array comprises the following steps:
And accumulating the shaft count statistic value obtained in the process of traversing the shaft counting section state data set, wherein in the two adjacent shaft counting section state data, the former shaft counting section state data is a section occupied state, and the latter shaft counting section state data is a section idle state, and taking the accumulated result of the shaft count statistic value as the total shaft count of the corresponding shaft counting.
7. A performance evaluation device for a shaft-counting apparatus, comprising:
the data receiving module is used for receiving a plurality of data packets sent by the axle counting; the meter shaft comprises a first meter shaft and a second meter shaft, wherein the first meter shaft is a reference meter shaft, and the second meter shaft is a meter shaft to be evaluated;
The data processing module is used for obtaining the total occupied times and the total axle number of the corresponding axle counting in the target time period based on the data packets;
the performance evaluation module is used for obtaining a performance evaluation result of the second axle based on the total occupation times and the total axle number of the first axle and the total occupation times and the total axle number of the second axle;
the first axle and the second axle are arranged on different side positions of the same track section of the same vehicle test line, and the magnetic heads of the first axle and the second axle are on the same horizontal line.
8. The axle counting apparatus performance evaluation device according to claim 7, wherein the data processing module includes:
The data analysis unit is used for obtaining a shaft counting section state data set and a shaft counting section shaft array based on the plurality of data packets; the axle counting section state data set comprises a plurality of axle counting section state data, and the axle counting section axle number set comprises a plurality of axle counting section axle numbers; the axle counting section state data comprises a section occupied state or a section idle state;
The first calculation unit is used for obtaining the total occupation times of the corresponding axle counting based on the state data of the plurality of groups of adjacent two axle counting sections in the axle counting section state data group;
And the second calculation unit is used for obtaining the total axle number of the corresponding axle counting based on the multiple groups of adjacent two axle counting section state data in the axle counting section state data group and the multiple groups of adjacent two axle counting section axle numbers in the axle counting section axle group.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for evaluating the performance of a shaft-counting device according to any one of claims 1 to 6 when the program is executed by the processor.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of the axle counting device performance evaluation method according to any one of claims 1 to 6.
CN202110722143.3A 2021-06-28 Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium Active CN113553698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110722143.3A CN113553698B (en) 2021-06-28 Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110722143.3A CN113553698B (en) 2021-06-28 Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113553698A CN113553698A (en) 2021-10-26
CN113553698B true CN113553698B (en) 2024-06-25

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106828538A (en) * 2016-12-15 2017-06-13 浙江大学 Using the highly reliable multi-functional wheel counting apparatus system and method for laser-correlation instrument

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106828538A (en) * 2016-12-15 2017-06-13 浙江大学 Using the highly reliable multi-functional wheel counting apparatus system and method for laser-correlation instrument

Similar Documents

Publication Publication Date Title
CN110300171B (en) Information acquisition method, system, computer readable storage medium and electronic device
EP3667952B1 (en) Method, device, and storage medium for locating failure cause
CN103081403A (en) Method and apparatus for analysis of the operation of a communication system using events
CN110300008A (en) A kind of method and device of the state of the determining network equipment
CN111611146A (en) Micro-service fault prediction method and device
CN113553698B (en) Method and device for evaluating performance of axle counting equipment, electronic equipment and storage medium
CN113806343B (en) Evaluation method and system for Internet of vehicles data quality
CN110987083A (en) Method and equipment for monitoring vehicle emission data based on Internet of vehicles
CN113590468A (en) Automatic testing method and device for ATS interface of automatic train monitoring system
CN110913418B (en) Method and system for track traffic communication fault early warning and positioning
CN113553698A (en) Axle counting equipment performance evaluation method and device, electronic equipment and storage medium
CN115701890A (en) Method for adjusting alarm rule and related equipment
CN112699490B (en) Vehicle maintenance result verification method and device
CN110962883B (en) Data communication method and device for railway vehicle and related equipment
CN113472825B (en) NB-IoT terminal transaction processing method and device based on block chain
CN111770006A (en) Communication quality evaluation method and device of multifunctional vehicle bus network
CN111190415A (en) Industrial control system availability testing method and system
CN110519102A (en) A kind of server failure recognition methods, device and storage medium
CN116684327B (en) Mountain area communication network fault monitoring and evaluating method based on cloud computing
US11829122B2 (en) Industrial network behavior analysis method, apparatus and system, and computer-readable medium
CN114040435B (en) Evaluation method, device, storage medium and equipment for network coverage quality
CN113836827B (en) Interval direction initialization test method and system
CN116204516A (en) Fault processing method and device, electronic equipment and readable storage medium
CN117227801A (en) Method, device, equipment and medium for testing emergency braking rate under different gears
CN117520089A (en) Self-adaption-based data monitoring method, device, equipment and storage medium

Legal Events

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