CN116048056B - Data acquisition device, method and medium for benchmarking test - Google Patents

Data acquisition device, method and medium for benchmarking test Download PDF

Info

Publication number
CN116048056B
CN116048056B CN202310280171.3A CN202310280171A CN116048056B CN 116048056 B CN116048056 B CN 116048056B CN 202310280171 A CN202310280171 A CN 202310280171A CN 116048056 B CN116048056 B CN 116048056B
Authority
CN
China
Prior art keywords
signal
information
module
signals
data
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
CN202310280171.3A
Other languages
Chinese (zh)
Other versions
CN116048056A (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.)
Sinotruk Data Co ltd
China Automotive Technology and Research Center Co Ltd
Original Assignee
Sinotruk Data Co ltd
China Automotive Technology and Research Center Co Ltd
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 Sinotruk Data Co ltd, China Automotive Technology and Research Center Co Ltd filed Critical Sinotruk Data Co ltd
Priority to CN202310280171.3A priority Critical patent/CN116048056B/en
Publication of CN116048056A publication Critical patent/CN116048056A/en
Application granted granted Critical
Publication of CN116048056B publication Critical patent/CN116048056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the field of vehicles, and discloses a data acquisition device, a method and a medium for benchmarking test. The device comprises: the system comprises a protocol storage module, an information sending module, an information receiving module, an information screening and obtaining module and an information reorganizing module; the protocol storage module is used for storing the associated content of a plurality of signals determined according to the standard matching test requirement, and the control information sending module is used for rolling and sending request signals of different IDs and the content of fields in the same request signal to the automobile diagnosis interface in a list circulation mode; the control information receiving module receives a signal of which the ID is the ID of the received signal from the automobile diagnosis interface based on the request signals of different IDs and the signals fed back by the content of the fields in the same request signal. The invention realizes the acquisition of the benchmarking test data and provides a data basis for the analysis and benchmarking test of the vehicle related technology.

Description

Data acquisition device, method and medium for benchmarking test
Technical Field
The present invention relates to the field of vehicles, and in particular, to a data acquisition device, method and medium for benchmarking.
Background
With the rapid development of the new energy automobile industry, developing technical analysis of advanced automobile types at home and abroad becomes an important work of whole automobile and part enterprises.
A diagnostic system of the on-board network can obtain data of a plurality of vehicles (such as engine speed, temperature and the like) for benchmarking test.
In view of this, the present invention has been made.
Disclosure of Invention
In order to solve the technical problems, the invention provides a data acquisition device, a method and a medium for a target test, which realize the acquisition of target test data and provide a data basis for analysis and target test of vehicle related technologies.
The embodiment of the invention provides a data acquisition device for a benchmarking test, which comprises:
the system comprises a protocol storage module, an information sending module, an information receiving module, an information screening and obtaining module and an information reorganizing module;
the protocol storage module is respectively in communication connection with the information sending module, the information receiving module, the information screening and acquiring module and the information reorganizing module, and is used for storing the associated content of a plurality of signals determined according to the standard test requirement, wherein each piece of associated content of the signals at least comprises an ID of a request signal, the content of a field in the request signal, a sending time interval between fields in the same request signal, an ID of a receiving signal, the positions of identification fields and the values of the identification fields in the receiving signal, the positions of target fields in the receiving signal, the IDs of forwarding signals, the positions of data corresponding to the target fields in the forwarding signals of the corresponding IDs, the sending time intervals among different signals and the processing mode after information receiving;
the protocol storage module is also used for controlling the information transmission module to roll and transmit request signals of different IDs and the contents of fields in the same request signal to the automobile diagnosis interface in a list circulation mode according to the transmission time interval between fields in the same request signal and the transmission time interval between different signals stored in the protocol storage module; the information sending module is in communication connection with the automobile diagnosis interface, and a communication protocol used by a plurality of signals stored in the protocol storage module is matched with the automobile diagnosis interface and a communication protocol used by an on-board network of an automobile;
the protocol storage module is also used for controlling the information collection module to receive signals with the ID as the ID of the received signals from the signals fed back by the automobile diagnosis interface based on the request signals with different IDs and the contents of fields in the same request signal according to the stored IDs of the received signals; the information receiving module is also in communication connection with the information screening and acquiring module and is used for sending the received signals to the information screening and acquiring module;
the protocol storage module is further used for controlling the information screening and acquiring module to screen out data corresponding to a target field according to the position of the identification field in the received signal, the value of the identification field and the position of the target field in the received signal, and sending the data corresponding to the target field to the information reorganizing module and/or the data receiving equipment according to the processing mode after the information is received;
the information reorganization module is used for reorganizing the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal corresponding to the ID, and forwarding the reorganized signal to the information sending module and/or the data receiving device according to the processing mode after information collection, and the information sending module is used for forwarding the reorganized signal to a vehicle-mounted network of an automobile through the automobile diagnosis interface so that other external devices can acquire the reorganized signal from the vehicle-mounted network.
The embodiment of the invention provides a data acquisition method for a benchmarking test, which comprises the following steps:
the method comprises the steps that the associated content of a plurality of signals determined according to standard matching test requirements is stored through a protocol storage module, wherein the associated content of each signal at least comprises an ID of a request signal, the content of fields in the request signal, a transmission time interval between fields in the same request signal, an ID of a received signal, the position of an identification field in the received signal and the value of the identification field, the position of a target field in the received signal, the ID of a forwarding signal, the position of data corresponding to the target field in the forwarding signal of the corresponding ID, the transmission time interval between different signals and a processing mode after information collection;
the protocol storage module controls the information transmission module to roll and transmit request signals with different IDs and the contents of fields in the same request signal to the automobile diagnosis interface in a list circulation mode according to the transmission time interval between fields in the same request signal and the transmission time interval between different signals stored by the protocol storage module; the information sending module is in communication connection with the automobile diagnosis interface, and a communication protocol used by a plurality of signals stored in the protocol storage module is matched with the automobile diagnosis interface and a communication protocol used by an on-board network of an automobile;
the method comprises the steps that a protocol storage module receives signals with ID as the ID of a received signal from signals fed back by the automobile diagnosis interface based on request signals with different IDs and the content of fields in the same request signal according to the ID control information receiving module of the received signal stored by the protocol storage module;
the information receiving module sends the received signals to an information screening and acquiring module;
the information screening and acquiring module is controlled by the protocol storage module to screen out data corresponding to a target field according to the position of the identification field in the received signal, the value of the identification field and the position of the target field in the received signal, and the data corresponding to the target field is sent to the information reorganizing module and/or the data receiving equipment according to the processing mode after the information is received;
the information reorganization module reorganizes the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal of the corresponding ID, and forwards the reorganized signal to the information sending module and/or the data receiving equipment according to the processing mode after the information is received;
and forwarding the recombined signal to a vehicle-mounted network of an automobile through the automobile diagnosis interface by the information sending module so that other external equipment can acquire the recombined signal from the vehicle-mounted network.
The embodiment of the invention provides electronic equipment, which comprises:
a processor and a memory;
the processor is configured to execute the steps of the data acquisition method for benchmarking according to any of the embodiments by calling a program or instructions stored in the memory.
An embodiment of the present invention provides a computer-readable storage medium storing a program or instructions that cause a computer to execute the steps of the data acquisition method for benchmarking test described in any of the embodiments.
The embodiment of the invention has the following technical effects:
the method can automatically acquire the automobile diagnosis data for the target test, and can realize the purpose of efficiently acquiring the target data according to the test requirement by screening and reorganizing the received automobile diagnosis information and transmitting the information to a device receiving end or directly transmitting the information to the upper part of an automobile network again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present 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 diagram of a data acquisition device for benchmarking test according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for data acquisition for benchmarking according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make 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. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the invention, are within the scope of the invention.
The data acquisition device for the benchmarking test provided by the embodiment of the invention is mainly used for acquiring related data, such as speed data of a vehicle, engine speed data and the like, from the vehicle, wherein the data are used for performing the benchmarking test, such as testing the hundred kilometer acceleration performance of the vehicle, testing the fuel consumption performance, the economic performance and the like of the vehicle.
Fig. 1 is a schematic structural diagram of a data acquisition device for benchmarking test according to an embodiment of the present invention. Referring to fig. 1, the data acquisition device specifically includes: the system comprises a protocol storage module 110, an information sending module 120, an information receiving module 130, an information screening and obtaining module 140 and an information reorganizing module 150.
The protocol storage module 110 is respectively in communication connection with the information sending module 120, the information receiving module 130, the information screening obtaining module 140, and the information reorganizing module 150, and is configured to store the associated content of a plurality of signals determined according to the standard test requirement, where each piece of associated content of the signals at least includes an ID of a request signal, a content of a field in the request signal, a sending time interval between fields in the same request signal, an ID of a received signal, a position and a value of an identification field in the received signal, a position of a target field in the received signal, an ID of a forwarding signal, a position of data corresponding to the target field in the forwarding signal corresponding to the ID, a sending time interval between different signals, and a processing manner after information is received.
The processing manner after the information is collected includes directly sending the information to the data receiving device 160 and/or sending the information to the information reorganizing module 150 for reorganizing. Further, the reorganized information is sent to the data receiving device 160 and/or to the information sending module 120, so that the reorganized information is sent to the vehicle-mounted network of the vehicle through the information sending module 120, and other external devices can conveniently obtain the reorganized information directly from the vehicle-mounted network of the vehicle.
The protocol storage module 110 is further configured to control the information sending module 120 to roll and send the request signals with different IDs and the contents of the fields in the same request signal to the automobile diagnostic interface 170 in a list circulation manner according to the sending time intervals between the fields in the same request signal and the sending time intervals between different signals stored in the protocol storage module, so as to orderly obtain the required data, avoid the complexity of subsequent data processing operations caused by confusion between different data, and facilitate the improvement of the data obtaining efficiency.
The information transmitting module 120 is communicatively connected to the automobile diagnostic interface 170, and a communication protocol used by the plurality of signals stored in the protocol storage module 110 is adapted to a communication protocol used by the automobile diagnostic interface 170 and an on-board network of the automobile.
The protocol storage module 110 is further configured to control the information collecting module 130 to receive, from the automobile diagnosis interface 170, a signal whose ID is the ID of the received signal based on the request signal of different IDs and the signal fed back by the content of the field in the same request signal according to the stored ID of the received signal; the information collecting module 130 is further in communication with the information filtering and obtaining module 140, and is configured to send a signal received by the information collecting module to the information filtering and obtaining module 140.
After sending the request signal to the automobile diagnosis interface 170, the automobile diagnosis interface 170 feeds back signals of multiple IDs, and in order to obtain the targeted signal, the information collecting module 130 pre-agrees with the ID of the signal to be received, so that the information collecting module 130 only receives the signal with the ID of the received signal, thereby achieving the purpose of first screening and filtering the signal, reducing the difficulty of subsequent processing operation on the signal, and improving the data obtaining efficiency and accuracy.
The protocol storage module 110 is further configured to control the information filtering and obtaining module 140 to filter data corresponding to a target field according to the position of the identification field in the received signal and the value of the identification field, and the position of the target field in the received signal, and send the data corresponding to the target field to the information reorganizing module 150 and/or the data receiving device 160 according to the processing mode after the information is received.
The location of the identification field and the value of the identification field in the received signal are used to determine the valid signal in the signal received by the information receiving module 130, that is, the data required for the benchmarking test. For example, the location of the identification field in the received signal is the first two bytes, the value of the identification field is 01, and if the value corresponding to the first two bytes of a signal received by the information receiving module 130 is 01, the signal is considered as a valid signal. In summary, the information filtering and obtaining module 140 filters data corresponding to a target field according to the position of the identification field in the received signal and the value of the identification field, and the position of the target field in the received signal, including: the information filtering and obtaining module 140 compares the data of the field corresponding to the position of the identification field in one signal of the received signals with the value of the identification field, and if the data of the field and the value of the identification field are equal, the one signal is determined to be a target signal; and screening out the data at the position of the target field in the target signal to be used as the data corresponding to the target field.
And if the position of the target field in the received signal is at the 5 th byte and the 6 th byte, determining the data at the 5 th byte and the 6 th byte of the signal as the data corresponding to the target field.
The information reorganizing module 150 is configured to reorganize data corresponding to a target field according to an ID of the forwarding signal and a position of the data corresponding to the target field in the forwarding signal corresponding to the ID, and forward the reorganized signal to the information sending module 120 and/or the data receiving device 160 according to a processing manner after the information is received, where the information sending module 120 is configured to forward the reorganized signal to a vehicle network of a vehicle through the vehicle diagnostic interface 170 for other external devices to obtain the reorganized signal from the vehicle network.
In order to facilitate efficient data acquisition by external devices, including data receiving devices, an arrangement between specific fields of the forward signal may be pre-agreed, for example, a signal that is forwarded as 8 bytes, the first two bytes may be agreed for storing vehicle speed data, and the second two bytes may be agreed for storing engine speed data. And if the position of the data corresponding to the target field in the forwarding signal of the corresponding ID is the first two bytes, storing the data corresponding to the target field at the first two bytes of the forwarding signal of the corresponding ID when the data is recombined. In summary, the information reorganizing module 150 is configured to reorganize data corresponding to a target field according to an ID of the forwarding signal and a position of the data corresponding to the target field in the forwarding signal of the corresponding ID, including: and storing the data corresponding to the target field in a corresponding position in the forwarding signal of the corresponding ID.
Further, the information sending module 120 forwards the recombined signal to the vehicle network of the vehicle through the vehicle diagnosis interface 170 according to a set frequency, so that other external devices can obtain the recombined signal from the vehicle network. The set frequency is determined by the information reorganizing module 150, the information reorganizing module 150 sends a reorganized signal to the information sending module 120, and the information sending module 120 performs an operation of forwarding the reorganized signal to the vehicle network of the vehicle through the vehicle diagnosis interface 170.
Further, when data at a location in a forwarding signal of an ID is updated, the forwarding signal of the ID is retransmitted. In particular, in the whole device, each module does not store data, all the data keep high timeliness, hysteresis is reduced as much as possible, and if the connection is disconnected and the like in the middle, real-time data is directly recorded after reconnection.
The embodiment has the following technical effects: the method can automatically acquire the automobile diagnosis data for the target test, and can realize the purpose of efficiently acquiring the target data according to the test requirement by screening and reorganizing the received automobile diagnosis information and transmitting the information to a device receiving end or directly transmitting the information to the upper part of an automobile network again.
Fig. 2 is a schematic flow chart of a data acquisition method for benchmarking test according to an embodiment of the present invention, the method includes the following steps:
s210, storing the associated content of the plurality of signals determined according to the standard test requirements through a protocol storage module.
The associated content of each signal at least comprises the ID of the request signal, the content of the field in the request signal, the transmission time interval between the fields in the same request signal, the ID of the received signal, the position of the identification field in the received signal and the value of the identification field, the position of the target field in the received signal, the ID of the forwarding signal, the position of the data corresponding to the target field in the forwarding signal of the corresponding ID, the transmission time interval between different signals and the processing mode after information collection.
S220, the protocol storage module controls the information transmission module to roll and transmit request signals with different IDs and the contents of fields in the same request signal to the automobile diagnosis interface in a list circulation mode according to the transmission time interval between fields in the same request signal and the transmission time interval between different signals stored by the protocol storage module.
The information sending module is in communication connection with the automobile diagnosis interface, and a communication protocol used by a plurality of signals stored in the protocol storage module is matched with the communication protocol used by the automobile diagnosis interface and an on-board network of an automobile.
S230, a protocol storage module is used for receiving signals with the ID of the received signals from the automobile diagnosis interface based on the request signals with different IDs and the signals fed back by the contents of fields in the same request signal according to the stored ID control information receiving module of the received signals.
S240, the information receiving module sends the received signals to the information screening and obtaining module.
S250, controlling the information screening and obtaining module through the protocol storage module to screen out data corresponding to the target field according to the position of the identification field in the received signal and the value of the identification field and the position of the target field in the received signal, and sending the data corresponding to the target field to the information reorganization module and/or the data receiving equipment according to the processing mode after information collection.
S260, recombining the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal of the corresponding ID through the information recombination module, and forwarding the recombined signal to the information sending module and/or the data receiving equipment according to the processing mode after the information is received.
S270, forwarding the recombined signal to a vehicle-mounted network of the vehicle through the vehicle diagnosis interface by the information sending module so that other external equipment can acquire the recombined signal from the vehicle-mounted network.
The information screening and acquiring module screens out data corresponding to a target field according to the position of the identification field in the received signal, the value of the identification field and the position of the target field in the received signal, and the information screening and acquiring module comprises the following steps:
the information screening and acquiring module compares the data of a field corresponding to the position of the identification field in one signal in the received signals with the value of the identification field, and if the data of the field and the value of the identification field are equal, the one signal is determined to be a target signal;
and screening out the data at the position of the target field in the target signal to be used as the data corresponding to the target field.
And recombining the data corresponding to the target field by the information recombination module according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal of the corresponding ID, wherein the method comprises the following steps:
and storing the data corresponding to the target field in a corresponding position in the forwarding signal of the corresponding ID.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 3, electronic device 400 includes one or more processors 401 and memory 402.
The processor 401 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities and may control other components in the electronic device 400 to perform desired functions.
Memory 402 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 401 to implement the data acquisition method for benchmarking and/or other desired functions of any of the embodiments of the present invention described above. Various content such as initial arguments, thresholds, etc. may also be stored in the computer readable storage medium.
In one example, the electronic device 400 may further include: an input device 403 and an output device 404, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown). The input device 403 may include, for example, a keyboard, a mouse, and the like. The output device 404 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 404 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device 400 that are relevant to the present invention are shown in fig. 3 for simplicity, components such as buses, input/output interfaces, etc. are omitted. In addition, electronic device 400 may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the invention may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps of the data acquisition method for benchmarking provided by any of the embodiments of the invention.
The computer program product may write program code for performing operations of embodiments of the present invention in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present invention may also be a computer-readable storage medium, having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the steps of the data acquisition method for benchmarking experiments provided by any of the embodiments of the present invention.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present application. As used in this specification, the terms "a," "an," "the," and/or "the" are not intended to be limiting, but rather are to be construed as covering the singular and the plural, unless the context clearly dictates otherwise. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements.
It should also be noted that the positional or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the positional or positional relationship shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; 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 or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.

Claims (10)

1. A data acquisition device for benchmarking experiments, comprising:
the system comprises a protocol storage module, an information sending module, an information receiving module, an information screening and obtaining module and an information reorganizing module;
the protocol storage module is respectively in communication connection with the information sending module, the information receiving module, the information screening and acquiring module and the information reorganizing module, and is used for storing the associated content of a plurality of signals determined according to the standard test requirement, wherein each piece of associated content of the signals at least comprises an ID of a request signal, the content of a field in the request signal, a sending time interval between fields in the same request signal, an ID of a receiving signal, the positions of identification fields and the values of the identification fields in the receiving signal, the positions of target fields in the receiving signal, the IDs of forwarding signals, the positions of data corresponding to the target fields in the forwarding signals of the corresponding IDs, the sending time intervals among different signals and the processing mode after information receiving;
the protocol storage module is also used for controlling the information transmission module to roll and transmit request signals of different IDs and the contents of fields in the same request signal to the automobile diagnosis interface in a list circulation mode according to the transmission time interval between fields in the same request signal and the transmission time interval between different signals stored in the protocol storage module; the information sending module is in communication connection with the automobile diagnosis interface, and a communication protocol used by a plurality of signals stored in the protocol storage module is matched with the automobile diagnosis interface and a communication protocol used by an on-board network of an automobile;
the protocol storage module is also used for controlling the information collection module to receive signals with the ID as the ID of the received signals from the signals fed back by the automobile diagnosis interface based on the request signals with different IDs and the contents of fields in the same request signal according to the stored IDs of the received signals; the information receiving module is also in communication connection with the information screening and acquiring module and is used for sending the received signals to the information screening and acquiring module;
the protocol storage module is further used for controlling the information screening and acquiring module to screen out data corresponding to a target field according to the position of the identification field in the received signal, the value of the identification field and the position of the target field in the received signal, and sending the data corresponding to the target field to the information reorganizing module and/or the data receiving equipment according to the processing mode after the information is received;
the information reorganization module is used for reorganizing the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal corresponding to the ID, and forwarding the reorganized signal to the information sending module and/or the data receiving device according to the processing mode after information collection, and the information sending module is used for forwarding the reorganized signal to a vehicle-mounted network of an automobile through the automobile diagnosis interface so that other external devices can acquire the reorganized signal from the vehicle-mounted network.
2. The data acquisition device according to claim 1, wherein the information filtering and acquiring module filters data corresponding to a target field according to a position of the identification field in the received signal and a value of the identification field, and a position of the target field in the received signal, and includes:
the information screening and acquiring module compares the data of a field corresponding to the position of the identification field in one signal in the received signals with the value of the identification field, and if the data of the field and the value of the identification field are equal, the one signal is determined to be a target signal;
and screening out the data at the position of the target field in the target signal to be used as the data corresponding to the target field.
3. The data acquisition device according to claim 1, wherein the information reorganizing module is configured to reorganize the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal corresponding to the ID, and includes:
and storing the data corresponding to the target field in a corresponding position in the forwarding signal of the corresponding ID.
4. The data acquisition device according to claim 1, wherein the information sending module forwards the recombined signal to an on-board network of an automobile through the automobile diagnosis interface according to a set frequency for other external devices to acquire the recombined signal from the on-board network.
5. The data acquisition device of claim 1 wherein an ID-forwarded signal is retransmitted when data at a location in the ID-forwarded signal is updated.
6. A method for data acquisition for benchmarking, comprising:
the method comprises the steps that the associated content of a plurality of signals determined according to standard matching test requirements is stored through a protocol storage module, wherein the associated content of each signal at least comprises an ID of a request signal, the content of fields in the request signal, a transmission time interval between fields in the same request signal, an ID of a received signal, the position of an identification field in the received signal and the value of the identification field, the position of a target field in the received signal, the ID of a forwarding signal, the position of data corresponding to the target field in the forwarding signal of the corresponding ID, the transmission time interval between different signals and a processing mode after information collection;
the protocol storage module controls the information transmission module to roll and transmit request signals with different IDs and the contents of fields in the same request signal to the automobile diagnosis interface in a list circulation mode according to the transmission time interval between fields in the same request signal and the transmission time interval between different signals stored by the protocol storage module; the information sending module is in communication connection with the automobile diagnosis interface, and a communication protocol used by a plurality of signals stored in the protocol storage module is matched with the automobile diagnosis interface and a communication protocol used by an on-board network of an automobile;
the method comprises the steps that a protocol storage module receives signals with ID as the ID of a received signal from signals fed back by the automobile diagnosis interface based on request signals with different IDs and the content of fields in the same request signal according to the ID control information receiving module of the received signal stored by the protocol storage module;
the information receiving module sends the received signals to an information screening and acquiring module;
the information screening and acquiring module is controlled by the protocol storage module to screen out data corresponding to a target field according to the position of the identification field in the received signal, the value of the identification field and the position of the target field in the received signal, and the data corresponding to the target field is sent to the information reorganizing module and/or the data receiving equipment according to the processing mode after the information is received;
the information reorganization module reorganizes the data corresponding to the target field according to the ID of the forwarding signal and the position of the data corresponding to the target field in the forwarding signal of the corresponding ID, and forwards the reorganized signal to the information sending module and/or the data receiving equipment according to the processing mode after the information is received;
and forwarding the recombined signal to a vehicle-mounted network of an automobile through the automobile diagnosis interface by the information sending module so that other external equipment can acquire the recombined signal from the vehicle-mounted network.
7. The method of claim 6, wherein the information filtering and obtaining module filters the data corresponding to the target field according to the location of the identification field in the received signal and the value of the identification field, and the location of the target field in the received signal, and includes:
the information screening and acquiring module compares the data of a field corresponding to the position of the identification field in one signal in the received signals with the value of the identification field, and if the data of the field and the value of the identification field are equal, the one signal is determined to be a target signal;
and screening out the data at the position of the target field in the target signal to be used as the data corresponding to the target field.
8. The method of claim 6, wherein reorganizing, by the information reorganizing module, the data corresponding to the target field according to the ID of the forwarding signal and the location of the data corresponding to the target field in the forwarding signal of the corresponding ID, includes:
and storing the data corresponding to the target field in a corresponding position in the forwarding signal of the corresponding ID.
9. An electronic device, the electronic device comprising:
a processor and a memory;
the processor is configured to execute the steps of the data acquisition method for benchmarking according to any one of claims 6 to 8 by calling a program or instructions stored in the memory.
10. A computer-readable storage medium storing a program or instructions that cause a computer to execute the steps of the data acquisition method for benchmarking according to any of claims 6 to 8.
CN202310280171.3A 2023-03-22 2023-03-22 Data acquisition device, method and medium for benchmarking test Active CN116048056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310280171.3A CN116048056B (en) 2023-03-22 2023-03-22 Data acquisition device, method and medium for benchmarking test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310280171.3A CN116048056B (en) 2023-03-22 2023-03-22 Data acquisition device, method and medium for benchmarking test

Publications (2)

Publication Number Publication Date
CN116048056A CN116048056A (en) 2023-05-02
CN116048056B true CN116048056B (en) 2023-06-23

Family

ID=86114909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310280171.3A Active CN116048056B (en) 2023-03-22 2023-03-22 Data acquisition device, method and medium for benchmarking test

Country Status (1)

Country Link
CN (1) CN116048056B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012185558A (en) * 2011-03-03 2012-09-27 Toyota Motor Corp Vehicle data acquisition system and vehicle data acquisition method
WO2017131763A1 (en) * 2016-01-29 2017-08-03 Hydro Electronic Devices, Inc. Motor-vehicle-hosted can-bus data and network communications system
CN109669442A (en) * 2018-12-25 2019-04-23 深圳市元征科技股份有限公司 A kind of method for converting protocol and conversion equipment
CN111083030A (en) * 2019-12-25 2020-04-28 南京领行科技股份有限公司 Data acquisition method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8068495B2 (en) * 2005-09-27 2011-11-29 Intel Corporation Mechanisms for data rate improvement in a wireless network
KR101491260B1 (en) * 2013-06-07 2015-02-06 현대자동차주식회사 ECU Multiple Diagnostic System and Method on Vehicle Network
US11586182B2 (en) * 2020-11-04 2023-02-21 The Boeing Company System and device to automatically identify data tags within a data stream
CN113448320B (en) * 2021-08-30 2021-11-30 深圳市星卡科技有限公司 Automobile dual-remote diagnosis method, system and device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012185558A (en) * 2011-03-03 2012-09-27 Toyota Motor Corp Vehicle data acquisition system and vehicle data acquisition method
WO2017131763A1 (en) * 2016-01-29 2017-08-03 Hydro Electronic Devices, Inc. Motor-vehicle-hosted can-bus data and network communications system
CN109669442A (en) * 2018-12-25 2019-04-23 深圳市元征科技股份有限公司 A kind of method for converting protocol and conversion equipment
CN111083030A (en) * 2019-12-25 2020-04-28 南京领行科技股份有限公司 Data acquisition method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN116048056A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN202735835U (en) Remote vehicle diagnosis system and remote diagnosis system
WO2019192343A1 (en) Vehicle diagnosis method, related device and system
US11514731B2 (en) Method and system for remote vehicle diagnostics
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN112099967A (en) Data transmission method, terminal, device, equipment and medium
CN111106989B (en) Vehicle CAN bus protocol determining method and device
CN114407812B (en) Diagnostic database determination method, device, electronic equipment and storage medium
CN116048056B (en) Data acquisition device, method and medium for benchmarking test
CN109523791B (en) Early warning analysis method and device for retained vehicle
CN113433923A (en) Vehicle remote diagnosis method, system, readable storage medium and device
CN111880510A (en) New energy automobile data acquisition and transmission method and equipment
CN112731837B (en) Method, device, equipment, medium, product and vehicle for determining vehicle state
CN214851308U (en) Vehicle-mounted equipment test system
CN114937319A (en) Vehicle data processing method and device, electronic equipment and medium
CN114756585A (en) Vehicle data acquisition method and device, electronic equipment and storage medium
CN113342430A (en) Fault code processing method and device, terminal equipment and readable storage medium
CN112099471B (en) Vehicle power type judgment method and device, terminal device and storage medium
KR102397544B1 (en) Remote Automotive Information Gathering and Analysis System
CN113849485A (en) Big data application system for mode switching
CN116321113A (en) Bluetooth controller data updating and uploading method and storage medium
CN115118543B (en) Preprocessing method for CAN signal analysis, electronic device and storage medium
CN114724373B (en) Traffic field information acquisition method and device, electronic equipment and storage medium
CN109240272B (en) Vehicle-mounted monitoring device, data processing system, user terminal device and vehicle monitoring method
CN111984304B (en) Method and detector for identifying an electronic control module of a motor vehicle

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
GR01 Patent grant
GR01 Patent grant