CN107124195B - A kind of car-mounted terminal communication performance detection method and device - Google Patents

A kind of car-mounted terminal communication performance detection method and device Download PDF

Info

Publication number
CN107124195B
CN107124195B CN201710283832.2A CN201710283832A CN107124195B CN 107124195 B CN107124195 B CN 107124195B CN 201710283832 A CN201710283832 A CN 201710283832A CN 107124195 B CN107124195 B CN 107124195B
Authority
CN
China
Prior art keywords
car
mounted terminal
instruction
log
receiving
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
CN201710283832.2A
Other languages
Chinese (zh)
Other versions
CN107124195A (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201710283832.2A priority Critical patent/CN107124195B/en
Publication of CN107124195A publication Critical patent/CN107124195A/en
Application granted granted Critical
Publication of CN107124195B publication Critical patent/CN107124195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3822Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving specially adapted for use in vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The present invention relates to a kind of car-mounted terminal communication performance detection method and device, belong to car-mounted terminal performance detection field, the present invention is in order to solve in existing communication program, lack a kind of defect for carrying out car-mounted terminal progress performance detection using JT/T808-2013, and proposes a kind of car-mounted terminal communication performance detection method and device.The method comprise the steps that receiving the register instruction that car-mounted terminal issues and issuing response instruction;The authentication that car-mounted terminal issues is received to instruct and issue response instruction;Detection authenticates successful number;Read the configuration parameter of car-mounted terminal;Time difference of the current time apart from preset time is detected, if the time difference is more than 24 hours, pin is issued and borrows instruction, for making car-mounted terminal by re-registering authentication after a certain period of time.The all instructions of generation is stored in log;Log is analyzed, judges whether the record time instructed in log is continuous, to judge the correctness of car-mounted terminal communication data.The communication performance that the present invention is suitable for car-mounted terminal detects.

Description

A kind of car-mounted terminal communication performance detection method and device
Technical field
The present invention relates to a kind of car-mounted terminal communication performance detection method and device, belong to car-mounted terminal performance detection neck Domain.
Background technique
In the prior art, " road transport vehicle satellite positioning system terminal communications protocol and data format " (abbreviation JT/ T808-2013 the communications protocol between road transport vehicle satellite positioning system car-mounted terminal and supervision/monitor supervision platform) is defined With data format, including protocol basis, communication connection, Message Processing, protocol classification and explanation and data format.It is suitable for roads Communication between the defeated vehicle satellite positioning system car-mounted terminal of road transport and platform.
But in current car-mounted terminal communication program, lack it is a kind of using JT/T 808-2013 carry out car-mounted terminal into The program of row performance detection, it is therefore desirable to a kind of corresponding car-mounted terminal communication performance detection method, to solve the prior art This defect.
Summary of the invention
The purpose of the present invention is to solve in existing communication program, lack a kind of to carry out using JT/T 808-2013 Car-mounted terminal carries out the defect of performance detection, and proposes a kind of car-mounted terminal communication performance detection method and device.
According to the first aspect of the invention, a kind of car-mounted terminal communication performance detection method is provided, comprising:
Step 1: receiving the register instruction that car-mounted terminal issues, parsing the register instruction and issuing response instruction.
Step 2: receiving the authentication instruction that car-mounted terminal issues, parses the authentication and instruct and issue response instruction.
Step 3: detection authenticates successful number, if meeting first condition, the first configuration is issued to car-mounted terminal and is referred to It enables;If meeting second condition, the second configuration-direct is issued to car-mounted terminal.
Step 4: reading the configuration parameter of car-mounted terminal, the event for receiving car-mounted terminal reports information.
Step 5: time difference of the detection current time apart from preset time issues pin loan if the time difference is more than 24 hours Instruction, for making car-mounted terminal re-register authentication after the first preset time when receiving the pin and borrowing instruction.
Step 6: all instructions that step 1 is generated into step 5 is stored in log.
Step 7: analyzing the log, judge whether the record time instructed in log is continuous, to judge that car-mounted terminal is logical Interrogate the correctness of data.
According to the second aspect of the invention, a kind of car-mounted terminal communication performance detection device is provided, comprising:
Register instruction processing module is also used to parse the registration and refers to for receiving the register instruction of car-mounted terminal sending It enables and issues response instruction.
Command process module is authenticated, for receiving the authentication instruction of car-mounted terminal sending, is also used to parse the authentication and refers to It enables and issues response instruction.
Response instruction detection module authenticates successful number for detecting, if meeting first condition, sends out to car-mounted terminal First configuration-direct out;If meeting second condition, the second configuration-direct is issued to car-mounted terminal.
Configuration parameter read module is received and is notified in the event of car-mounted terminal for reading the configuration parameter of car-mounted terminal Breath.
Pin borrows instruction and issues module, for detecting time difference of the current time apart from preset time, if the time difference is more than 24 Hour, then it issues pin and borrows instruction, for making car-mounted terminal weight after the first preset time when receiving the pin and borrowing instruction New registration authentication.
Log saving module is used for register instruction processing module, authentication command process module, response command detection mould Block, configuration parameter read module, pin are borrowed all instructions generated in instruction sending module and are stored in log.
Correctness Analysis module judges whether the record time instructed in log is continuous, for analyzing the log to sentence The correctness of disconnected car-mounted terminal communication data.
The invention has the benefit that the register and authentication number of terminal can be judged automatically and send different terminal configurations Parameter, and the every 24 hours automatic once pins that send borrow instruction, so that terminal is re-registered authentication, so that verification mode more automates Reduce and issue instruction process manually, is more advantageous to the use of tester.It may determine that by the communication data that program records The correctness of car-mounted terminal communication data, and repeatedly circular flow above-mentioned steps can be accurately judged to the stabilization of car-mounted terminal Property.
Detailed description of the invention
Fig. 1 is the flow chart of car-mounted terminal communication performance detection method of the invention.
Specific embodiment
Specific embodiment 1: the car-mounted terminal communication performance detection method of present embodiment is as shown in Figure 1, comprising:
Step 1: receiving the register instruction that car-mounted terminal issues, parsing register instruction and issuing response instruction.
Since the present invention is based on JT/T808-2013 protocol realization, instruction mentioned in the present invention and configuration parameter Deng being all using the instruction and configuration parameter in JT/T808-2013 agreement.
Step 2: receiving the authentication instruction that car-mounted terminal issues, parsing authentication instructs and issues response instruction.
Step 3: detection authenticates successful number, if meeting first condition, the first configuration is issued to car-mounted terminal and is referred to It enables;If meeting second condition, the second configuration-direct is issued to car-mounted terminal.Judge whether authentication succeeds, uses JT/ The interface provided in T808-2013 agreement, is determining means.Configuration-direct is for making car-mounted terminal generate specific configuration Parameter, the configuration parameter such as refresh time of GPS module location information, speed and engine speed segmentation parameter etc., in JT/ Also specific type describes in T808-2013 agreement.
Step 4: reading the configuration parameter of car-mounted terminal, the event for receiving car-mounted terminal reports information.Here event is Program event in general sense, the i.e. triggering when meeting some procedure conditions.
Step 5: time difference of the detection current time apart from preset time issues pin loan if the time difference is more than 24 hours Instruction, for making car-mounted terminal re-register authentication after the first preset time when receiving pin and borrowing instruction.
Step 6: all instructions that step 1 is generated into step 5 is stored in log.
Step 7: analysis log, judges whether the record time instructed in log is continuous, to judge that car-mounted terminal communicates number According to correctness.For example, car-mounted terminal communication performance detection program is continuous service, but the record time instructed in log If there is the prolonged neutral gear phase, it is considered that mistake has occurred in car-mounted terminal communication data.Conversely, if the record time Continuously, then it is assumed that there is no mistake.
Specific embodiment 2: the present embodiment is different from the first embodiment in that: method of the invention further include:
Step 8: repeating step 1 to six, until reaching scheduled testing time;Log is analyzed, judges to instruct in log Record whether continue without interruption, to judge the stability of car-mounted terminal.If for example, car-mounted terminal communication performance detects program It is out of service, then it is assumed that there is stability mistake in car-mounted terminal, conversely, if by the end of analysis log time point, it is vehicle-mounted Terminal called performance detection program is also operating normally, it is considered that the stability no problem of program.
Other steps and parameter are same as the specific embodiment one.
Specific embodiment 3: the present embodiment is different from the first and the second embodiment in that: first condition are as follows: response Number is odd number;Second condition are as follows: response times are even number.
Other steps and parameter are the same as one or two specific embodiments.
Specific embodiment 4: unlike one of present embodiment and specific embodiment one to three: first it is default when Between be 5 minutes.
Other steps and parameter are identical as one of specific embodiment one to three.
Specific embodiment 5: unlike one of present embodiment and specific embodiment one to four: step 3 is also wrapped It includes:
It detects whether that the configuration response for receiving car-mounted terminal sending instructs, if not receiving, re-emits the first configuration Instruction or the second configuration-direct, and the number re-emitted is at most 2 times.
Other steps and parameter are identical as one of specific embodiment one to four.
Specific embodiment 6: present embodiments provide for a kind of car-mounted terminal communication performance detection devices, comprising:
Register instruction processing module is also used to parse register instruction simultaneously for receiving the register instruction of car-mounted terminal sending Issue response instruction.
Command process module is authenticated, for receiving the authentication instruction of car-mounted terminal sending, is also used to parse authentication instruction simultaneously Issue response instruction.
Response instruction detection module, for detecting the number for issuing response instruction, if meeting first condition, to vehicle-mounted end End issues the first configuration-direct;If meeting second condition, the second configuration-direct is issued to car-mounted terminal.
Configuration parameter read module is received and is notified in the event of car-mounted terminal for reading the configuration parameter of car-mounted terminal Breath.
Pin borrows instruction and issues module, for detecting time difference of the current time apart from preset time, if the time difference is more than 24 Hour, then it issues pin and borrows instruction, for infusing car-mounted terminal again after the first preset time when receiving pin and borrowing instruction Volume authentication.
Log saving module is used for register instruction processing module, authentication command process module, response command detection mould Block, configuration parameter read module, pin are borrowed all instructions generated in instruction sending module and are stored in log.
Correctness Analysis module, for analyzing log, to judge the correctness of car-mounted terminal communication data.
Specific embodiment 7: present embodiment, unlike specific embodiment six, the device of the invention further includes.
Stability analysis module, it is vehicle-mounted to judge for analyzing log when the instruction number in log is more than preset value The stability of terminal.
Other steps and parameter are identical as specific embodiment six.
The present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, this field Technical staff makes various corresponding changes and modifications in accordance with the present invention, but these corresponding changes and modifications all should belong to The protection scope of the appended claims of the present invention.

Claims (6)

1. a kind of car-mounted terminal communication performance detection method, the method is based on JT/T808-2013 protocol realization, spy Sign is, comprising:
Step 1: receiving the register instruction that car-mounted terminal issues, parsing the register instruction and issuing response instruction;
Step 2: receiving the authentication instruction that car-mounted terminal issues, parses the authentication and instruct and issue response instruction;
Step 3: detection authenticates successful number, if odd number, then the first configuration-direct is issued to car-mounted terminal;If even number, Then the second configuration-direct is issued to car-mounted terminal;
Step 4: reading the configuration parameter of car-mounted terminal, the event for receiving car-mounted terminal reports information;
Step 5: time difference of the detection current time apart from preset time issues pin loan and refers to if the time difference is more than 24 hours It enables, for making car-mounted terminal re-register authentication after the first preset time when receiving the pin and borrowing instruction;
Step 6: all instructions that step 1 is generated into step 5 is stored in log;
Step 7: analyzing the log, judge whether the record time instructed in log is continuous, to judge that car-mounted terminal communicates number According to correctness, upon recording between consecutive hours, car-mounted terminal communication data be correctly, upon recording between it is discontinuous when, it is vehicle-mounted Terminal called data are wrong.
2. car-mounted terminal communication performance detection method according to claim 1, which is characterized in that further include:
Step 8: repeating step 1 to six, until reaching scheduled testing time;The log is analyzed, judges to instruct in log Record whether continue without interruption, to judge the stability of car-mounted terminal, when the record that log middle finger enables is to continue without When disconnected, car-mounted terminal be it is stable, the record instructed in log is not when continuing without interruption, and car-mounted terminal is unstable.
3. car-mounted terminal communication performance detection method according to claim 2, which is characterized in that first preset time It is 5 minutes.
4. car-mounted terminal communication performance detection method according to claim 1 or 3, which is characterized in that the step 3 is also Include:
It detects whether that the configuration response for receiving car-mounted terminal sending instructs, if not receiving, re-emits the first configuration-direct Or second configuration-direct, and the number re-emitted is at most 2 times.
5. a kind of car-mounted terminal communication performance detection device is based on JT/T808-2013 protocol realization, which is characterized in that packet It includes:
Register instruction processing module is also used to parse the register instruction simultaneously for receiving the register instruction of car-mounted terminal sending Issue response instruction;
Command process module is authenticated, for receiving the authentication instruction of car-mounted terminal sending, is also used to parse the authentication instruction simultaneously Issue response instruction;
Response instruction detection module authenticates successful number for detecting, and if odd number, then issues the first configuration to car-mounted terminal Instruction;If even number, then the second configuration-direct is issued to car-mounted terminal;
Configuration parameter read module, for reading the configuration parameter of car-mounted terminal, the event for receiving car-mounted terminal reports information;
Pin borrows instruction and issues module, for detecting time difference of the current time apart from preset time, if the time difference is more than 24 hours, It then issues pin and borrows instruction, for re-registering car-mounted terminal after the first preset time when receiving the pin and borrowing instruction Authentication;
Log saving module, for by register instruction processing module, authentication command process module, response instruction detection module, match Set parameter read module, pin is borrowed all instructions generated in instruction sending module and is stored in log;
Correctness Analysis module judges whether the record time instructed in log is continuous, for analyzing the log to judge vehicle The correctness of mounted terminal communication data, upon recording between consecutive hours, car-mounted terminal communication data be correctly, upon recording between not Consecutive hours, car-mounted terminal communication data are wrong.
6. car-mounted terminal communication performance detection device according to claim 5, which is characterized in that further include:
Stability analysis module judges day for analyzing the log when the instruction number in the log is more than preset value Whether the record instructed in will continues without interruption, to judge the stability of car-mounted terminal, when the record that log middle finger enables is to hold It is continuous and when without interrupting, car-mounted terminal be it is stable, the record instructed in log is not when continuing without interruption, and car-mounted terminal is not Stable.
CN201710283832.2A 2017-04-26 2017-04-26 A kind of car-mounted terminal communication performance detection method and device Active CN107124195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710283832.2A CN107124195B (en) 2017-04-26 2017-04-26 A kind of car-mounted terminal communication performance detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710283832.2A CN107124195B (en) 2017-04-26 2017-04-26 A kind of car-mounted terminal communication performance detection method and device

Publications (2)

Publication Number Publication Date
CN107124195A CN107124195A (en) 2017-09-01
CN107124195B true CN107124195B (en) 2019-05-24

Family

ID=59726446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710283832.2A Active CN107124195B (en) 2017-04-26 2017-04-26 A kind of car-mounted terminal communication performance detection method and device

Country Status (1)

Country Link
CN (1) CN107124195B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108680933A (en) * 2018-05-14 2018-10-19 上海市计量测试技术研究院 The method for detecting Big Dipper emergency position-indicating radiobeacons communication performance
CN109632335B (en) * 2018-12-17 2020-11-03 安徽江淮汽车集团股份有限公司 Vehicle-mounted terminal for intelligent automobile road test and information transmission method thereof
CN114726556B (en) * 2022-06-09 2022-08-26 北京航天驭星科技有限公司 WAF management method, device, system, electronic equipment and readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489230A (en) * 2013-09-17 2014-01-01 启明信息技术股份有限公司 New energy automobile CAN bus data wireless transmission vehicle data recorder device
CN104155667A (en) * 2014-08-20 2014-11-19 国信军创(岳阳)六九零六科技有限公司 Vehicle-borne GPS terminal
CN106452815A (en) * 2015-08-11 2017-02-22 中移物联网有限公司 Informatization management method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847259A (en) * 2016-03-28 2016-08-10 努比亚技术有限公司 Fingerprint authentication device and fingerprint authentication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489230A (en) * 2013-09-17 2014-01-01 启明信息技术股份有限公司 New energy automobile CAN bus data wireless transmission vehicle data recorder device
CN104155667A (en) * 2014-08-20 2014-11-19 国信军创(岳阳)六九零六科技有限公司 Vehicle-borne GPS terminal
CN106452815A (en) * 2015-08-11 2017-02-22 中移物联网有限公司 Informatization management method, device and system

Also Published As

Publication number Publication date
CN107124195A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN107124195B (en) A kind of car-mounted terminal communication performance detection method and device
CN106228799B (en) The method and apparatus for monitoring illegal tampering vehicle location information
CN101938373A (en) Analysis and treatment method of RBC (Recording Buffer Controller) log record and RBC record analyzer
CN108241580B (en) Client program testing method and terminal
JP2009528729A (en) Method and apparatus for testing compliance of an access point's secure access protocol
CN113572726B (en) Multimode network control-data plane consistency verification method and device
CN103824342A (en) Method for detecting binding between vehicle-mounted terminal and vehicle, vehicle-mounted terminal and user identification unit
US20190111934A1 (en) Fingerprinting Drivers Based On Vehicle Turns
CN108566407A (en) Method, its device and the electronic equipment of communication connection are established with system for monitoring pressure in tyre
CN109616106A (en) Vehicle-mounted control screen voice recognition process testing method, electronic equipment and system
CN106371993A (en) Testing method and testing device based on data packet
KR101982504B1 (en) Vehicle to everything communication conforming device
CN114296105A (en) Method, device, equipment and storage medium for determining positioning fault reason
CN112601230B (en) Position data protection method based on time window and position encryption
CN106354636A (en) Method and device for code testing
KR101898427B1 (en) Vehicle to everything communication conforming program
CN105791042B (en) Communication quality testing method in ETC system
US11935341B2 (en) Data storage device and non-transitory tangible computer readable storage medium
CN113114659A (en) Diagnostic equipment detection method and device, terminal equipment and storage medium
CN106933858B (en) Page source statistical method and view controller
CN112182132A (en) Subway user identification method, system, equipment and storage medium
CN109308404A (en) It impresses people's auth method, terminal and seal system
CN116841874A (en) Test method and device for unified diagnosis service function, storage medium and electronic equipment
CN113085966B (en) Transponder information identification method and system
CN112783942B (en) Block chain-based data acquisition quality verification method, system, device and medium

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