CN115412473A - Method and terminal for detecting data consistency of intelligent networking broadcast signals in real time for vehicles - Google Patents
Method and terminal for detecting data consistency of intelligent networking broadcast signals in real time for vehicles Download PDFInfo
- Publication number
- CN115412473A CN115412473A CN202211047902.1A CN202211047902A CN115412473A CN 115412473 A CN115412473 A CN 115412473A CN 202211047902 A CN202211047902 A CN 202211047902A CN 115412473 A CN115412473 A CN 115412473A
- Authority
- CN
- China
- Prior art keywords
- test
- data
- terminal
- protocol
- consistency
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000006855 networking Effects 0.000 title claims abstract description 13
- 238000012360 testing method Methods 0.000 claims abstract description 291
- 238000012795 verification Methods 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 5
- 238000013522 software testing Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 238000010295 mobile communication Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/18—Protocol analysers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a method and a terminal for detecting data consistency of intelligent networking broadcast signals in real time for vehicles, and relates to the technical field of application of intelligent management and control systems. The method comprises the steps of obtaining protocol standards and data structure definitions, and determining corresponding test cases; generating corresponding test case data according to the data structure definition and the data field validity; configuring a protocol type of a test and a test case of a single test through a test terminal; respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test; and sending the verification result to the HMI display module through a network. The application provides real-time, on-vehicle portable test terminal that the test project is configurable, realizes the real-time of data conformance testing, improves efficiency of software testing and convenience.
Description
Technical Field
The application relates to the technical field of intelligent management and control system application, in particular to a method and a terminal for detecting the data consistency of intelligent networking broadcast signals in real time.
Background
Currently, as the automobile industry rapidly develops towards four directions of electromotion, intellectualization, networking and sharing, a C-V2X technical route supports a global perception capability which is stronger than that of single-vehicle intelligence, and a vehicle-mounted terminal with intelligent networking interaction capability also gradually becomes a standard component of a vehicle. In the research and development process of the intelligent internet vehicle-mounted terminal, data consistency is the basis for subsequent development, and cross-module, cross-terminal and cross-vehicle interconnection and intercommunication, collaborative scene development and the like can be realized only if the requirement of consistency is met.
A common protocol conformance test is performed in a laboratory based on a large-scale network test instrument and a signal generation terminal, but if the conformance test in the development process is also performed by the same method, the efficiency problem is obvious. In addition, to the intelligent networking curb of part outdoor sight in construction and acceptance process, carry out the conformance test and also lack the convenience.
Therefore, it is desirable to provide a method and a terminal for detecting the data consistency of intelligent networking broadcast signals in real time for vehicles, wherein all existing test cases are loaded through the test terminal, and a user selects a protocol standard and the test cases for testing to complete the test configuration work; after the test program is started, the terminal can carry out consistency test on each frame of data and output a test result based on the test case; the real-time performance of the data consistency test is realized, and the test efficiency and the convenience are improved.
Disclosure of Invention
According to a first aspect of some embodiments of the present application, there is provided a method for detecting data consistency of an intelligent internet broadcast signal in real time for a vehicle, which is applied in a terminal (e.g., an internet vehicle, etc.), and the method may include S1: acquiring protocol standards and data structure definitions, and determining corresponding test cases; s2: generating corresponding test case data according to the data structure definition and the data field validity; s3: configuring a protocol type of a test and a test case of a single test through a test terminal; s4: respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test; s5: and sending the checking result to the HMI display module through a network.
In some embodiments, after the test case of each single test is completed, a user instruction is obtained through the HMI display module; and outputting the execution condition information of all current test cases through the HMI display module.
In some embodiments, the protocol standard specifically includes: CSAE53-2017, YD/T3709-2020, CSAE 157-2020.
In some embodiments, the test case data specifically includes a JSON format supported by the test instrument, and is used to determine protocol consistency and receive and send a test result.
In some embodiments, the testing of the encoding direction and the decoding direction uses input/output data of a protocol stack entity as a known item for checking correctness of an encoding/decoding operation of a protocol.
In some embodiments, the DUT code test specifically includes a protocol type of configuration test and a test case, test case data is provided by a test instrument, and is used for the DUT code to construct a corresponding serialized message body, which is coded into an original data code stream of asn.1, and is broadcasted through a PC5 channel; the test terminal acquires the original data code stream through a PC5 channel, decodes the original code stream and converts the original code stream into a corresponding serialized message body; and the protocol stack entity performs coding consistency check according to different test cases and sends a check result to the HMI display module.
In some embodiments, the DUT decoding test specifically includes configuring a protocol type and a test case of the test, constructing an asn.1 raw data code stream based on test case data by a test instrument, and broadcasting the asn.1 raw data code stream by a protocol stack entity; the DUT decodes the ASN.1 original data code stream, converts the ASN.1 original data code stream into a corresponding serialized message body and sends the message body to a test terminal; and the test terminal compares the returned result of the verification DUT with the original value data corresponding to the test case to carry out decoding consistency verification.
According to a second aspect of some embodiments of the present application, there is provided a protocol conformance test terminal, the terminal comprising a test system for a transmission test of a terminal under test and a reception test of the terminal under test; the test data generating and checking module is used for testing the consistency of data transmitted by the tested system on the PC5 channel; the test data transceiving module is configured to test the transceiving function of data based on a C-V2X PC5 channel; a memory configured to store data and instructions; a processor in communication with the memory, wherein the processor, when executing instructions in the memory, is configured to: s1: acquiring protocol standards and data structure definitions, and determining corresponding test cases; s2: generating corresponding test case data according to the data structure definition and the validity of the data field; s3: configuring a protocol type of a test and a test case of a single test through a test terminal; s4: respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test; s5: and sending the verification result to the HMI display module through a network.
In some embodiments, the sending test of the terminal to be tested specifically includes that the terminal to be tested sends data to the outside in a PC5 channel; the protocol stack entity of the test system sends the original code stream data of the message layer to the test data generation and verification module through the LAN network; and the test data generation and verification module receives the original code stream data of the V2X message layer, analyzes the data based on the configured protocol type, and performs data consistency test according to the test case.
In some embodiments, the receiving test of the terminal under test specifically includes generating a test data set by a test data generation and verification module, and sending the test data set to a protocol stack entity; the protocol stack entity sends the test data set to a tested terminal through a PC5 channel; and the tested terminal analyzes the test data set according to the data format, compares the analysis result with the test data set and checks the data consistency.
Therefore, according to the method and the terminal for detecting the data consistency of the intelligent networking broadcast signals in real time for the vehicle, all existing test cases are loaded through the test terminal, and a user selects a protocol standard and the test cases for testing to complete test configuration work; after the test program is started, the terminal can carry out consistency test on each frame of data and output a test result based on the test case; the real-time performance of the data consistency test is realized, and the test efficiency and the convenience are improved.
Drawings
For a better understanding and appreciation of some embodiments of the present application, reference will now be made to the description of embodiments taken in conjunction with the accompanying drawings, in which like reference numerals designate corresponding parts in the figures.
FIG. 1 is an exemplary schematic diagram of a protocol conformance testing system provided in accordance with some embodiments of the present application.
Fig. 2 is an exemplary flowchart of a method for detecting smart internet broadcast signal data consistency in real time for a vehicle, provided in accordance with some embodiments of the present application.
FIG. 3 is an exemplary diagram of a terminal under test sending data test provided in accordance with some embodiments of the present application.
FIG. 4 is an exemplary diagram of a terminal under test receiving data test provided in accordance with some embodiments of the present application.
Detailed Description
The following description, with reference to the accompanying drawings, is provided for a comprehensive understanding of various embodiments of the present application as defined by the claims and their equivalents. These embodiments include various specific details for ease of understanding, but these are to be considered exemplary only. Accordingly, those skilled in the art will appreciate that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present application. In addition, descriptions of well-known functions and constructions are omitted for conciseness and clarity in describing the present application.
The terms and phrases used in the following specification and claims are not limited to the literal meaning but are merely used to enable a clear and consistent understanding of the application. Accordingly, it will be appreciated by those skilled in the art that the description of the various embodiments of the present application is provided for illustration only and not for the purpose of limiting the application as defined by the appended claims and their equivalents.
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in some embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be understood that the terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The expressions "first", "second", "the first" and "the second" are used for modifying the corresponding elements without regard to order or importance, and are used only for distinguishing one element from another element without limiting the corresponding elements.
A terminal according to some embodiments of the present application may be an intelligent terminal, a platform, an equipment and/or an electronic device, etc.; the intelligent terminal can comprise a positioning device and the like. The platform can comprise a cloud platform and the like, and the platform can comprise a system platform consisting of one or more electronic devices; the equipment may include Intelligent networked vehicles (ICV); the electronic device may include one or a combination of a personal computer (PC, e.g., tablet, desktop, notebook, netbook, PDA), a client device, a virtual reality device (VR), an augmented reality device (AR), a mixed reality device (MR), an XR device, a renderer, a smartphone, a mobile phone, an e-book reader, a Portable Multimedia Player (PMP), an audio/video player (MP 3/MP 4), a camera, a wearable device, and so forth. According to some embodiments of the present application, the wearable device may include an accessory type (e.g., watch, ring, bracelet, glasses, or Head Mounted Device (HMD)), an integrated type (e.g., electronic garment), a decorative type (e.g., skin pad, tattoo, or built-in electronic device), and the like, or a combination of several. In some embodiments of the present application, the electronic device may be flexible, not limited to the above devices, or may be a combination of one or more of the above devices. In this application, the term "user" may indicate a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
The embodiment of the application provides a method and a terminal for detecting the data consistency of intelligent networking broadcast signals in real time for vehicles. In order to facilitate understanding of the embodiments of the present application, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
FIG. 1 is an exemplary schematic diagram of a protocol conformance testing system provided in accordance with some embodiments of the present application. As shown in fig. 1, the protocol conformance testing system 100 can include a network 110, a message side 120, a client 130, a server 140, and the like. Specifically, the information end 120 and the user end 130 establish communication through a network, for example, the information end 120 and the user end 130 can communicate in the same local area network (e.g., the network environment of the same router, etc.). Further, the information terminal 120 may be connected to the network 110 in a wired manner (e.g., a network cable, etc.) or a wireless manner (e.g., a cloud server, etc.), and the user terminal 130 may establish a communication connection with the network 110 in a wired manner or a wireless manner (e.g., WIFI, etc.). In some embodiments, the user terminal 130 may send data such as protocol standards and test cases selected by the user to the information terminal 120 and the server 140. Further, the information terminal 120 and the server 140 may feed back information such as a protocol conformance test verification result to the user terminal 130. As an example, the server 140 and/or the information terminal 120 may collect road traffic data in real time based on a roadside sensing device, and the like. The roadside apparatus (RSU) may sense road environment information, obstacle information, etc. through sensors, which may include, but are not limited to, a camera, a lidar, a millimeter wave radar, etc.
According to some embodiments of the present application, the information end 120 and the user end 130 may be the same or different terminal devices, and the like. The terminal device may include, but is not limited to, a smart terminal, a cloud platform, a mobile terminal, a computer, and the like. In the protocol conformance test scenario, the information terminal 120 may include road side equipment and the like, and the user terminal 130 may include a networked vehicle and the like. In some embodiments, the information terminal 120 and the user terminal 130 may be integrated into one device, for example, a networked vehicle integrated with sensors, etc. In some embodiments, server 140 is one type of computer that has the advantages of running faster, being more heavily loaded, etc. than a normal computer, and being correspondingly more expensive. In a network environment, a server may provide computing or application services to other clients (e.g., terminals such as PCs, smart phones, ATMs, and large devices such as transportation systems). The server has high-speed CPU computing capability, long-time reliable operation, strong I/O external data throughput capability and better expansibility. The services that the server may provide include, but are not limited to, the ability to undertake responding to service requests, undertake services, secure services, and the like. The server, as an electronic device, has an extremely complex internal structure, including an internal structure similar to that of a general computer, and the like, and the internal structure of the server may include a Central Processing Unit (CPU), a hard disk, a memory, a system bus, and the like, as an example.
In some embodiments of the present application, the protocol conformance testing system 100 may omit one or more elements, or may further include one or more other elements. By way of example, the protocol conformance testing system 100 can include a plurality of clients 130, such as a plurality of networked vehicles, and the like. As another example, the protocol conformance testing system 100 can include one or more information terminals 120. As another example, the protocol conformance testing system 100 can include a plurality of servers 140, and the like. In some embodiments, the protocol conformance test system 100 can include, but is not limited to, a protocol conformance test system. The Network 110 may be any type of communication Network, which may include a computer Network (e.g., a Local Area Network (LAN) or Wide Area Network (WAN)), the internet and/or a telephone Network, etc., or a combination of several. In some embodiments, the network 110 may be other types of wireless communication networks. The wireless communication may include microwave communication and/or satellite communication, etc. The Wireless communication may include cellular communication, such as Global System for Mobile Communications (GSM), code Division Multiple Access (CDMA), third Generation Mobile communication (3G, the 3rd Generation communication), fourth Generation Mobile communication (4G), fifth Generation Mobile communication (5G), sixth Generation Mobile communication (6G), long Term Evolution (LTE-a), LTE-Advanced, wideband Code Division Multiple Access (WCDMA, wideband Code Division Multiple Access), universal Mobile Telecommunications System (UMTS), wireless Broadband (Broadband ), and the like, or a combination of several or more. In some embodiments, the user terminal 130 may be other equipment and/or electronic devices with equivalent functional modules, and the equipment and/or electronic devices may include one or a combination of several of a virtual reality device (VR), a rendering machine, a personal computer (PC, such as a tablet computer, a desktop computer, a notebook, a netbook, a palmtop PDA), a smart phone, a mobile phone, an e-book reader, a Portable Multimedia Player (PMP), an audio/video player (MP 3/MP 4), a camera, and a wearable device.
In some embodiments, the WIFI may be other types of wireless communication technologies. According to some embodiments of the present application, the Wireless Communication may include Wireless local Area Network (WiFi), bluetooth Low Energy (BLE), zigBee (ZigBee), near Field Communication (NFC), magnetic security transmission, radio frequency and Body Area Network (BAN), and the like, or a combination of several. According to some embodiments of the present application, the wired communication may include a Global Navigation Satellite System (Global Navigation Satellite System), a Global Positioning System (GPS), a beidou Navigation Satellite System, galileo (european Global Satellite Navigation System), or the like. The wired communication may include a Universal Serial Bus (USB), a High-Definition Multimedia Interface (HDMI), a recommended Standard 232 (RS-232, recommended Standard 232), and/or a Plain Old Telephone Service (POTS), or the like, or a combination thereof.
It should be noted that the above description of the protocol conformance testing system 100 is merely for convenience of description, and is not intended to limit the scope of the present application to the illustrated embodiments. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the principles of the system, and the application of the system and method described above may be practiced by any combination of the components or sub-system with other components without departing from such principles. For example, the server 140 and/or the information terminal 120 may collect road traffic data in real time through a road side sensing device or the like. Also for example, the information end 120/user end 130 may be integrated in a networked vehicle, or the like. Such variations are within the scope of the present application.
Fig. 2 is an exemplary flowchart of a method for detecting smart internet broadcast signal data consistency in real time for a vehicle, provided in accordance with some embodiments of the present application. As illustrated in FIG. 2, the process 200 may be implemented by the protocol conformance testing system 100. In some embodiments, the method 200 for detecting the data consistency of the smart internet protocol broadcast signal in real time for the vehicle may be automatically started or started by an instruction. The instructions may include system instructions, device instructions, user instructions, action instructions, and the like, or a combination of the several.
At 201, S1: and acquiring protocol standards and data structure definitions, and determining corresponding test cases. The operation 201 may be implemented by the client 130 and the server 140 of the protocol conformance testing system 100. In some embodiments, the user terminal 130 may send the protocol standard and the data structure definition, etc. selected by the user. In some embodiments, the server 140/client 130 may determine the corresponding test case, etc.
By way of example, the protocol standards may include, but are not limited to, C-V2X related network layer protocols such as CSAE53-2017, YD/T3709-2020, CSAE 157-2020, and the like.
At 202, S2: and generating corresponding test case data according to the data structure definition and the data field validity. Operation 202 may be implemented by the information terminal 120, the server 140 of the protocol conformance testing system 100. In some embodiments, the information terminal 120 and the server 140 may generate corresponding test case data according to the data structure definition and the validity of the data field. By way of example, the test case data may include JSON format supported by the test instrument for determining protocol conformance transceiving test results.
At 203, S3: and configuring the protocol type of the test and the test case of the single test through the test terminal. Operation 203 may be implemented by server 140 of protocol conformance test system 100. In some embodiments, the server 140 may configure the protocol type of the test and the test case of a single test through the test terminal.
At 204, S4: and respectively carrying out tests of the encoding direction and the decoding direction, wherein the tests comprise a DUT encoding test and a DUT decoding test. Operation 204 may be implemented by server 140 of protocol conformance test system 100. In some embodiments, the server 140 may perform testing in the encoding direction and the decoding direction, respectively, including DUT encoding testing and DUT decoding testing. As an example, the testing of the encoding direction and the decoding direction uses input/output data of a protocol stack entity as a known item for checking correctness of an encoding/decoding operation of a protocol.
According to some embodiments of the present application, the DUT coding test may include a protocol type and a test case of a configuration test, and test case data is provided by a test instrument, used for DUT coding to construct a corresponding serialized message body, coded into an original data code stream of asn.1, and broadcasted through a PC5 channel; the test terminal acquires the original data code stream through a PC5 channel, decodes the original code stream and converts the original code stream into a corresponding serialized message body; the protocol stack entity can carry out coding consistency check according to different test cases and send a check result to the HMI display module.
According to some embodiments of the application, the DUT decoding test may include configuring a protocol type and a test case of the test, constructing, by a test instrument, an asn.1 raw data code stream based on the test case data, and broadcasting the asn.1 raw data code stream by a protocol stack entity; the DUT decodes the ASN.1 original data code stream, converts the ASN.1 original data code stream into a corresponding serialized message body and sends the message body to a test terminal; and the test terminal compares the return result of the verification DUT with the original value data corresponding to the test case to perform decoding consistency verification.
At 205, S5: and sending the verification result to the HMI display module through a network. Operation 205 may be implemented by the information terminal 120, the server 140 of the protocol conformance testing system 100. In some embodiments, the kiosk 120/server 140 may send the verification result to the HMI display module over a network.
According to some embodiments of the present application, the process 200 may further include obtaining the user command through the HMI display module after completing the test case of each single test; and outputting the execution condition information of all current test cases through the HMI display module.
According to some embodiments of the present application, the protocol conformance test verification result may be displayed in a User Interface (UI) of the user terminal 130, and the display scenario of the protocol conformance test verification result may include, but is not limited to, a scenario display in any form or combination of VR, AR, MR, and XR. By way of example, the online vehicle user may obtain protocol conformance test verification results based on any one or a combination of VR, AR, MR, XR, and the like.
It should be noted that the above description of the process 200 is for convenience only and is not intended to limit the scope of the present application. It will be understood by those skilled in the art that various modifications and changes in form and detail may be made in the functions implementing the above-described processes and operations based on the principles of the present system, in any combination of operations or in combination with other operations constituting sub-processes without departing from the principles. For example, the process 200 may further include operations of obtaining a user command through the HMI display module after completing the test case of each single test. For another example, the process 200 may further include operations such as outputting the execution status information of all current test cases through the HMI display module. Such variations are within the scope of the present application.
According to some embodiments of the present application, there is provided a protocol conformance test terminal, the terminal including a test system for a transmission test of a terminal under test and a reception test of the terminal under test; the test data generating and checking module is used for testing the consistency of data transmitted by the tested system on the PC5 channel; the test data transceiving module is configured to test data transceiving functions of a C-V2X-based PC5 channel; a memory configured to store data and instructions; a processor in communication with the memory, wherein the processor, when executing instructions in the memory, is configured to: s1: acquiring protocol standards and data structure definitions, and determining corresponding test cases; s2: generating corresponding test case data according to the data structure definition and the data field validity; s3: configuring a protocol type of a test and a test case of a single test through a test terminal; s4: respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test; s5: and sending the verification result to the HMI display module through a network.
FIG. 3 is an exemplary diagram of a terminal under test sending data test provided in accordance with some embodiments of the present application. According to some embodiments of the present application, the sending test of the terminal under test may include the terminal under test sending data to the outside in a PC5 channel; the protocol stack entity of the test system sends the original code stream data of the message layer to the test data generation and verification module through the LAN network; and the test data generation and verification module receives the original code stream data of the V2X message layer, analyzes the data based on the configured protocol type, and performs data consistency test according to the test case.
FIG. 4 is an exemplary diagram of a terminal under test receive data test provided in accordance with some embodiments of the present application. According to some embodiments of the present application, the receiving test of the terminal under test may include generating a test data set by a test data generation and verification module, and sending the test data set to a protocol stack entity; the protocol stack entity sends the test data set to a tested terminal through a PC5 channel; and the tested terminal analyzes the test data set according to the data format, compares the analysis result with the test data set and checks the data consistency.
In some embodiments, the wireless communication between the modules of the test system of the present application may include V2X end-to-end short-range wireless direct communication based on a PC5 interface, and may be different from a wireless communication manner in the prior art, such as 4G-based long-range wireless communication (including a 4G module, a 4G SIM card, and a 4G antenna).
In summary, according to the method and the terminal for detecting the data consistency of the intelligent networking broadcast signals in real time for the vehicle, the test terminal loads all existing test cases, and the user selects the protocol standard and the test cases of the test to complete the test configuration work; after the test program is started, the terminal can carry out consistency test on each frame of data and output a test result based on the test case; the real-time performance of data consistency testing is realized, and the testing efficiency and convenience are improved.
It is to be noted that the above-described embodiments are merely examples, and the present application is not limited to such examples, but various changes may be made.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, 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, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that the series of processes described above includes not only processes performed in time series in the order described herein but also processes performed in parallel or individually, rather than in time series.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer program instructions, and the program can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (10)
1. A method for detecting data consistency of intelligent networking broadcast signals in real time for vehicles is characterized by comprising the following steps:
s1: acquiring protocol standards and data structure definitions, and determining corresponding test cases;
s2: generating corresponding test case data according to the data structure definition and the data field validity;
s3: configuring a protocol type of a test and a test case of a single test through a test terminal;
s4: respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test;
s5: and sending the verification result to the HMI display module through a network.
2. The method for detecting the data consistency of the intelligent internet broadcasting signal in the real time for the vehicle according to claim 1, specifically comprising:
after the test case of each single test is completed, acquiring a user instruction through an HMI display module;
and outputting the execution condition information of all current test cases through the HMI display module.
3. The method for detecting the data consistency of the intelligent internet broadcasting signal in real time for the vehicle according to claim 1, wherein the protocol standard specifically comprises: CSAE53-2017, YD/T3709-2020 and CSAE 157-2020.
4. The method for detecting the data consistency of the intelligent networking broadcast signals in real time for the vehicle according to claim 1, wherein the test case data specifically comprises a JSON format supported by a test instrument and used for judging protocol consistency transceiving test results.
5. The method for detecting the data consistency of the intelligent internet protocol broadcasting signal for the vehicle in real time according to claim 1, wherein the testing of the encoding direction and the decoding direction is performed by using input/output data of a protocol stack entity as a known item for checking the correctness of an encoding/decoding operation of a protocol.
6. The method for detecting the data consistency of the intelligent internet protocol broadcast signals for the vehicle in real time according to claim 5, wherein the DUT code test specifically comprises:
configuring a protocol type and a test case of a test, providing test case data through a test instrument, constructing a corresponding serialized message body for a DUT code, coding the message body into an original data code stream of ASN.1, and broadcasting through a PC5 channel;
the test terminal acquires the original data code stream through a PC5 channel, decodes the original code stream and converts the original code stream into a corresponding serialized message body;
and the protocol stack entity performs coding consistency check according to different test cases and sends a check result to the HMI display module.
7. The method for detecting the data consistency of the intelligent internet protocol broadcast signals for the vehicle in real time according to claim 5, wherein the DUT decoding test specifically comprises:
configuring a protocol type and a test case of a test, constructing an ASN.1 original data code stream based on test case data through a test instrument, and broadcasting the ASN.1 original data code stream through a protocol stack entity;
the DUT decodes the ASN.1 original data code stream, converts the ASN.1 original data code stream into a corresponding serialized message body and sends the message body to a test terminal;
and the test terminal compares the returned result of the verification DUT with the original value data corresponding to the test case to carry out decoding consistency verification.
8. A protocol conformance testing terminal is characterized by specifically comprising:
the test system is used for sending test of the tested terminal and receiving test of the tested terminal;
the test data generating and checking module is used for testing the consistency of data transmitted by the tested system on the PC5 channel;
the test data transceiving module is configured to test data transceiving functions of a C-V2X-based PC5 channel;
a memory configured to store data and instructions;
a processor in communication with the memory, wherein the processor, when executing instructions in the memory, is configured to:
s1: acquiring protocol standards and data structure definitions, and determining corresponding test cases;
s2: generating corresponding test case data according to the data structure definition and the validity of the data field;
s3: configuring a protocol type of a test and a test case of a single test through a test terminal;
s4: respectively testing the coding direction and the decoding direction, wherein the testing comprises a DUT coding test and a DUT decoding test;
s5: and sending the checking result to the HMI display module through a network.
9. The protocol conformance testing terminal according to claim 8, wherein the sending test of the terminal under test specifically comprises:
the tested terminal sends data to the outside in a PC5 channel;
the protocol stack entity of the test system sends the original code stream data of the message layer to the test data generation and verification module through the LAN network;
and the test data generation and verification module receives the original code stream data of the V2X message layer, analyzes the data based on the configured protocol type, and performs data consistency test according to the test case.
10. The protocol conformance testing terminal according to claim 8, wherein the receiving test of the terminal under test specifically comprises:
generating a test data set through a test data generating and verifying module, and sending the test data set to a protocol stack entity;
the protocol stack entity sends the test data set to a tested terminal through a PC5 channel;
and the tested terminal analyzes the test data set according to the data format, compares the analysis result with the test data set and checks the data consistency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211047902.1A CN115412473B (en) | 2022-08-30 | 2022-08-30 | Method and terminal for detecting data consistency of intelligent internet-connected broadcast signals of vehicles in real time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211047902.1A CN115412473B (en) | 2022-08-30 | 2022-08-30 | Method and terminal for detecting data consistency of intelligent internet-connected broadcast signals of vehicles in real time |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115412473A true CN115412473A (en) | 2022-11-29 |
CN115412473B CN115412473B (en) | 2024-03-29 |
Family
ID=84164662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211047902.1A Active CN115412473B (en) | 2022-08-30 | 2022-08-30 | Method and terminal for detecting data consistency of intelligent internet-connected broadcast signals of vehicles in real time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115412473B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117729138A (en) * | 2024-02-08 | 2024-03-19 | 广州高新兴网联科技有限公司 | Internet of vehicles protocol consistency test method and system |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1819533A (en) * | 2006-03-20 | 2006-08-16 | 北京星河亮点通信软件有限责任公司 | Construction of protocol testing platform for supporting TD SCDMA terminal protocol |
CN102104894A (en) * | 2009-12-16 | 2011-06-22 | 中国移动通信集团公司 | Mobile service protocol testing device and method |
CN103346927A (en) * | 2013-07-02 | 2013-10-09 | 工业和信息化部电信传输研究所 | System and method for testing terminal consistency |
KR20140106857A (en) * | 2013-02-27 | 2014-09-04 | (주)아크로엠 | Protocol conformity verification method, apparatus performing the same and systme performing the same |
CN105099808A (en) * | 2014-09-28 | 2015-11-25 | 航天恒星科技有限公司 | Protocol consistency test method and device |
CN109039824A (en) * | 2018-08-27 | 2018-12-18 | 汽解放汽车有限公司 | A kind of car-mounted terminal wireless telecommunication protocol automation test macro and method |
CN110324161A (en) * | 2018-03-29 | 2019-10-11 | 大唐联仪科技有限公司 | A kind of test method and equipment of transport protocol |
KR102116732B1 (en) * | 2019-05-17 | 2020-05-29 | 주식회사 로와시스 | ATSC 3.0 standard conformity assessment test equipment |
CN111628910A (en) * | 2020-05-27 | 2020-09-04 | 华畅科技(大连)股份有限公司 | TTCN software testing system of cellular communication terminal protocol stack |
CN112187585A (en) * | 2020-09-30 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Network protocol testing method and device |
CN113079056A (en) * | 2020-01-03 | 2021-07-06 | 大唐联仪科技有限公司 | Terminal protocol consistency test method and device |
CN113132178A (en) * | 2020-01-15 | 2021-07-16 | 普天信息技术有限公司 | Protocol consistency test method and device |
US20210243713A1 (en) * | 2018-09-28 | 2021-08-05 | Intel IP Corporation | Methods and devices for communications in device-to-device networks |
CN114128194A (en) * | 2019-07-15 | 2022-03-01 | 高通股份有限公司 | Measuring and verifying layer 2 persistent downlink maximum data rate decoding performance |
CN114444607A (en) * | 2022-02-08 | 2022-05-06 | 云控智行(上海)汽车科技有限公司 | LSTM-based equipment evaluation method and system |
-
2022
- 2022-08-30 CN CN202211047902.1A patent/CN115412473B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1819533A (en) * | 2006-03-20 | 2006-08-16 | 北京星河亮点通信软件有限责任公司 | Construction of protocol testing platform for supporting TD SCDMA terminal protocol |
CN102104894A (en) * | 2009-12-16 | 2011-06-22 | 中国移动通信集团公司 | Mobile service protocol testing device and method |
KR20140106857A (en) * | 2013-02-27 | 2014-09-04 | (주)아크로엠 | Protocol conformity verification method, apparatus performing the same and systme performing the same |
CN103346927A (en) * | 2013-07-02 | 2013-10-09 | 工业和信息化部电信传输研究所 | System and method for testing terminal consistency |
CN105099808A (en) * | 2014-09-28 | 2015-11-25 | 航天恒星科技有限公司 | Protocol consistency test method and device |
CN110324161A (en) * | 2018-03-29 | 2019-10-11 | 大唐联仪科技有限公司 | A kind of test method and equipment of transport protocol |
CN109039824A (en) * | 2018-08-27 | 2018-12-18 | 汽解放汽车有限公司 | A kind of car-mounted terminal wireless telecommunication protocol automation test macro and method |
US20210243713A1 (en) * | 2018-09-28 | 2021-08-05 | Intel IP Corporation | Methods and devices for communications in device-to-device networks |
KR102116732B1 (en) * | 2019-05-17 | 2020-05-29 | 주식회사 로와시스 | ATSC 3.0 standard conformity assessment test equipment |
CN114128194A (en) * | 2019-07-15 | 2022-03-01 | 高通股份有限公司 | Measuring and verifying layer 2 persistent downlink maximum data rate decoding performance |
CN113079056A (en) * | 2020-01-03 | 2021-07-06 | 大唐联仪科技有限公司 | Terminal protocol consistency test method and device |
CN113132178A (en) * | 2020-01-15 | 2021-07-16 | 普天信息技术有限公司 | Protocol consistency test method and device |
CN111628910A (en) * | 2020-05-27 | 2020-09-04 | 华畅科技(大连)股份有限公司 | TTCN software testing system of cellular communication terminal protocol stack |
CN112187585A (en) * | 2020-09-30 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Network protocol testing method and device |
CN114444607A (en) * | 2022-02-08 | 2022-05-06 | 云控智行(上海)汽车科技有限公司 | LSTM-based equipment evaluation method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117729138A (en) * | 2024-02-08 | 2024-03-19 | 广州高新兴网联科技有限公司 | Internet of vehicles protocol consistency test method and system |
CN117729138B (en) * | 2024-02-08 | 2024-05-28 | 广州高新兴网联科技有限公司 | Internet of vehicles protocol consistency test method and system |
Also Published As
Publication number | Publication date |
---|---|
CN115412473B (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114667753A (en) | Communication method and device, electronic device and storage medium | |
CN114667761A (en) | Communication method and device, electronic device and storage medium | |
CN112990400B (en) | NFC tag-based scene service method, device and system | |
CN115412473B (en) | Method and terminal for detecting data consistency of intelligent internet-connected broadcast signals of vehicles in real time | |
CN112689005B (en) | Message sending method and device, storage medium and electronic device | |
CN114902717A (en) | WLAN perception measurement method and device, electronic equipment and storage medium | |
CN115148026A (en) | Data-driven traffic safety risk assessment and variable speed limit control algorithm and system | |
CN111600787B (en) | Information processing method, information processing apparatus, electronic device, and medium | |
CN108009246A (en) | A kind of history message lookup method and device | |
JP2023500095A (en) | Communication method and device | |
Su et al. | An in-vehicle infotainment platform for integrating heterogeneous networks interconnection | |
CN115423303A (en) | V2X dynamic electronic lane planning method and device based on dynamic traffic flow | |
CN113115254B (en) | Unmanned aerial vehicle positioning method and server | |
CN114444607A (en) | LSTM-based equipment evaluation method and system | |
CN112866897B (en) | Positioning measurement method, terminal and network node | |
CN114071580B (en) | Data transmission method and device and electronic equipment | |
KR20200062781A (en) | Location based sharing-experience system and method thereof | |
CN112344956B (en) | Map display method and device | |
CN114596707B (en) | Traffic control method, traffic control device, traffic control equipment, traffic control system and traffic control medium | |
CN113938646A (en) | Information real-time display method and system | |
CN108243180A (en) | Bank's declaration form data interconnection method and declaration form data server | |
CN118283668A (en) | Data collection method, device, terminal and network side equipment | |
CN116724591A (en) | WLAN perception measurement method and device, electronic equipment and storage medium | |
CN116830715A (en) | Communication method, device, equipment and storage medium | |
CN107197460B (en) | Network sharing method and system |
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 |