CN101022634B - Testing method based on remote control vehicular device - Google Patents

Testing method based on remote control vehicular device Download PDF

Info

Publication number
CN101022634B
CN101022634B CN2007100138242A CN200710013824A CN101022634B CN 101022634 B CN101022634 B CN 101022634B CN 2007100138242 A CN2007100138242 A CN 2007100138242A CN 200710013824 A CN200710013824 A CN 200710013824A CN 101022634 B CN101022634 B CN 101022634B
Authority
CN
China
Prior art keywords
test
computer
car
mounted device
product
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.)
Expired - Fee Related
Application number
CN2007100138242A
Other languages
Chinese (zh)
Other versions
CN101022634A (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.)
YANTAI MAITE ELECTRONIC CO Ltd
Original Assignee
YANTAI MAITE ELECTRONIC 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 YANTAI MAITE ELECTRONIC CO Ltd filed Critical YANTAI MAITE ELECTRONIC CO Ltd
Priority to CN2007100138242A priority Critical patent/CN101022634B/en
Publication of CN101022634A publication Critical patent/CN101022634A/en
Application granted granted Critical
Publication of CN101022634B publication Critical patent/CN101022634B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A test method based on remote control vehicle device includes setting up physical connection between computer and vehicle device, sending control command to vehicle device directly by computer analog control center through serial interface, setting up product new test piece and selecting test item, generating a short message command by computer as per PDU format to execute test automatically, printing out test report and making ex-factory initial setting on qualified product.

Description

A kind of method of testing based on remote control vehicular device
Technical field
The present invention relates to the method for testing in a kind of gsm communication field, particularly a kind of method of testing based on remote control vehicular device.
Background technology
For guaranteeing the normal operation of car-mounted device product, often need before dispatching from the factory, carry out strict test.Existing method is: adopt mobile phone or computer to connect the gsm communication module and send note, the transfer by operator sends to car-mounted device, carries out the Long-distance Control of vehicle.The GSM communication module is responsible for car-mounted device and control centre's communication, and control centre is by sending the Long-distance Control that way of short messages realizes car is planted device to the gsm communication module.
Say that further control centre will say the word to car-mounted device, must send note by the gsm communication module, note is that the short message server of process mobile operator sends to the gsm communication module on the car-mounted device.Car-mounted device sends to the data of control centre, also must send to control centre through the short message server of mobile operator.
Take with upper type, not only need the short message communication expense, meet network blockage and also waste time.Not only caused the increase of testing cost, and testing efficiency is low.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method of testing based on remote control vehicular device, to solve the shortcoming that testing efficiency is low, testing cost is high that exists under the existence conditions.
Technical scheme of the present invention is as follows:
A kind of method of testing based on remote control vehicular device is characterized in that: it is via following steps:
1), set up the physical connection of computer and car-mounted device: computer is connected with car-mounted device by the test connecting plate, and computer simulation control centre passes through serial ports directly to the car-mounted device sending controling instruction;
2), newly-built product test use-case: input product ID, hardware chip information, test man's information; So that generate the product test report, realize management to product test;
3), select the project that will test: the content that the input test project is required, the different control command of different test events representatives, computer generates a note order according to the form of PDU;
4), carry out test automatically: computer sends the note order automatically to car-mounted device, and shows the test result of every test synchronously, perhaps selects loop test, so that car-mounted device is carried out the test of intensity pressure aspect;
5), finish printing test report after the test of product, the initial setting up before the correct product of test result is dispatched from the factory.
Prepare before the test: be provided with and comprise the GPS module serial number, gsm module sequence number, single-chip microcomputer model, speech chip model, product host sequence number, note test man, the initial information of call test person's content; The SIM card number of input transmit leg, recipient's SIM card number;
Control centre's number order is set, sends the contact instruction, send SMS Tip, the conditional halt instruction, cutoff command allows vehicle operating immediately, allows tamper to report to the police, and forbids the tamper warning, alarm call is set, obtains Current GPS information, obtain historical GPS information, revise control centre's password;
Computer at first to sending the command calculations check digit, is encoded to the short message content that sends then, and simulation generates the PDU coding of a string reception note; Directly send to car-mounted device by serial ports, car-mounted device is decoded through single-chip microcomputer after receiving note, according to wherein instruction execution; Single-chip microcomputer is encoded execution result then, returns to computer by serial ports; Computer carries out its content of decoding and displaying to note, judges the implementation status of ordering according to content, and test result is presented in the test log; Displaying contents comprises: the content of test No., test event title, transmission, the content of answer, the result of test.
Good effect of the present invention is:
The note instruction that computer sends to car-mounted device is not by the gsm communication module, but by serial ports directly and car-mounted device carry out communication.Since the not transfer by operator, thus the time that order transmits accelerated, and saved communication cost.By of the management of auxiliary supporting software implementation to test process, improved the automatic test degree of product, reduced testing cost, improved testing efficiency.
Description of drawings
Fig. 1 is a systematic schematic diagram.
Fig. 2 is the connecting plate schematic diagram.
Fig. 3 is the flow chart of the inventive method.
Embodiment
With reference to structure principle chart shown in Figure 1, computer 1 is connected with test connecting plate 2 by Serial Port Line, and test connecting plate 2 is connected with the communication module 9 of car-mounted device 3 by slot.Car-mounted device 3 comprises single-chip microcomputer 8, speech chip 7, GPS module 6, gsm module 4 and relevant peripheral components 5.The present invention adopts computer 1 simulation control center to send instruction, directly carries out serial communication with car-mounted device 3 by test connecting plate 2, has replaced control centre and has sent the communication mode that note arrives car-mounted device by gsm module through the mobile wireless network transfer.
With reference to connecting plate schematic diagram shown in Figure 2, test connecting plate 2 designs for the test car-mounted device specially, possess with the gsm communication module on identical GSM-SIM 60 double communication plug of pin * 1.27mm and UART serial communication interfaces, have a MAX3232 chip to be responsible for serial data conversion.The plug of test connecting plate 2 is inserted in the communication slot of car-mounted device 3, is connected with computer 1 by Serial Port Line again.The test connecting plate just connects together computer 1 with car-mounted device 3 like this, just can communicate test between computer 1 and the car-mounted device 3.
Auxiliary supporting testing software, computer 1 both can simulation control center send to car-mounted device 3 instructions, also can respond the answer that car-mounted device 3 sends to control centre.So just simulate the whole operation principle of gsm communication module, realized the communication test between computer 1 and the car-mounted device 3.
With reference to flow chart shown in Figure 3, before the test car-mounted device, testing software at first will test preceding preparation, and initial information is set.Initial information comprises: GPS module serial number, gsm module sequence number, single-chip microcomputer model, speech chip model, product host sequence number, note test man, information such as call test person.The SIM card number of input transmit leg, recipient's SIM card number, these two numbers are essential with generating the GSM note.
The test event that selection will be carried out, and be each test event input related content.As: control centre's number order is set, the call center numbers order is set, send the contact instruction, send SMS Tip, the conditional halt instruction, cutoff command allows vehicle operating immediately, the permission tamper is reported to the police, forbid the tamper warning, alarm call is set, obtain Current GPS information, obtain historical GPS information, revise control centre's password etc.
Begin then to test, selected test is carried out in order.Computer at first to sending the command calculations check digit, is encoded to the short message content that sends then, owing to send without the gsm communication module, simulation generates the PDU coding of a string reception note.Directly send to car-mounted device by serial ports, car-mounted device is decoded through single-chip microcomputer after receiving note, according to wherein instruction execution.Single-chip microcomputer is encoded execution result then, returns to computer by serial ports.The coding of this moment is the PDU coding of a string transmission note, and computer carries out its content of decoding and displaying to note, judges the implementation status of ordering according to content, and test result can be presented in the test log.Displaying contents comprises: the content of test No., test event title, transmission, the content of answer, the result of test.
Communication test carries out according to the mode that predetermined communication protocol is taked to reply, and timeout treatment has all been carried out in every test.Overtimely mean that this test may be incorrect, need test again.Overtime back test can be proceeded, up to finishing all test events.If the selection loop test, system finishes one and takes turns and can restart to carry out test after the test, stops test up to the tester.So that the tester carries out the test of intensity pressure aspect to car-mounted device.All tests show correct result, just can carry out Default Value.Default Value mainly is with the primary data before dispatching from the factory, and is saved in the FLASH chip of car-mounted device.Initial information comprises: serial ports baud rate, control centre's number, information such as call center numbers.
Behind all EOTs,, can select to test again and be confirmed if wrong in the test result.Result according to test generates test report.Have in the test report: the GPS module serial number, the gsm module sequence number, the single-chip microcomputer model, the speech chip model, product host sequence number, note test man, the mode that the phenomenon of the failure of the title of information such as call test person, every test and corresponding test result, appearance and reason, fault solve, the information such as date of test.After having printed test report, just can begin the product test of next car-mounted device.

Claims (2)

1. method of testing based on remote control vehicular device is characterized in that: it is via following steps:
1), set up the physical connection of computer and car-mounted device: computer (1) is connected with car-mounted device (3) by test connecting plate (2), and computer (1) simulation control center is passed through serial ports directly to car-mounted device (3) sending controling instruction;
2), newly-built product test use-case: input product ID, hardware chip information, test man's information; So that generate the product test report, realize management to product test;
3), select the project that will test: the content that the input test project is required, the different control command of different test events representatives, computer generates a note order according to the form of PDU;
4), carry out test automatically: computer (1) sends the note order automatically to car-mounted device (3), and shows the test result of every test synchronously, perhaps selects loop test, so that car-mounted device is carried out the test of intensity pressure aspect;
5), finish printing test report after the test of product, the initial setting up before the correct product of test result is dispatched from the factory.
2. the method for testing based on remote control vehicular device as claimed in claim 1 is characterized in that:
Prepare before the test: be provided with and comprise the GPS module serial number, gsm module sequence number, single-chip microcomputer model, speech chip model, product host sequence number, note test man, the initial information of call test person's content; The SIM card number of input transmit leg, recipient's SIM card number;
Control centre's number order is set, sends the contact instruction, send SMS Tip, the conditional halt instruction, cutoff command allows vehicle operating immediately, allows tamper to report to the police, and forbids the tamper warning, alarm call is set, obtains Current GPS information, obtain historical GPS information, revise control centre's password;
Computer at first to sending the command calculations check digit, is encoded to the short message content that sends then, and simulation generates the PDU coding of a string reception note; Directly send to car-mounted device by serial ports, car-mounted device is decoded through single-chip microcomputer after receiving note, according to wherein instruction execution; Single-chip microcomputer is encoded execution result then, returns to computer by serial ports; Computer carries out its content of decoding and displaying to note, judges the implementation status of ordering according to content, and test result is presented in the test log; Displaying contents comprises: the content of test No., test event title, transmission, the content of answer, the result of test.
CN2007100138242A 2007-03-16 2007-03-16 Testing method based on remote control vehicular device Expired - Fee Related CN101022634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100138242A CN101022634B (en) 2007-03-16 2007-03-16 Testing method based on remote control vehicular device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100138242A CN101022634B (en) 2007-03-16 2007-03-16 Testing method based on remote control vehicular device

Publications (2)

Publication Number Publication Date
CN101022634A CN101022634A (en) 2007-08-22
CN101022634B true CN101022634B (en) 2010-07-21

Family

ID=38710258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100138242A Expired - Fee Related CN101022634B (en) 2007-03-16 2007-03-16 Testing method based on remote control vehicular device

Country Status (1)

Country Link
CN (1) CN101022634B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808343B (en) * 2009-02-13 2013-11-06 上海摩波彼克半导体有限公司 Automated test circuit structure and method of SIM (Subscriber Identity Module)/USIM(Universal Subscriber Identity Module) controller in ARM digital baseband chip
CN102095448B (en) * 2010-12-08 2012-07-18 天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
CN102360212B (en) * 2011-08-18 2013-10-16 哈尔滨工业大学 Automobile body control function automatic test apparatus and method thereof
CN104423375B (en) * 2013-09-03 2017-07-04 航天信息股份有限公司 The method and apparatus that board units are tested
CN103618841B (en) * 2013-11-26 2016-05-25 中国电子科技集团公司第四十一研究所 A kind of microwave components integration test Methods of Remote Monitoring based on SMS
CN103823145B (en) * 2014-03-18 2016-08-31 福建联迪商用设备有限公司 Hardware automated test platform
CN104079360B (en) * 2014-06-26 2016-10-05 上海子尔电子科技有限公司 A kind of automatization test system being applicable to vehicle carried video amusement equipment
CN105589453A (en) * 2015-12-15 2016-05-18 重庆联导金宏电子有限公司 Test method and system for testing vehicle-mounted controller by means of vehicle simulation device
CN105404285A (en) * 2015-12-15 2016-03-16 重庆联导金宏电子有限公司 Test method and system for testing vehicle-mounted controller by simulating remote control system
CN110322721A (en) * 2019-07-04 2019-10-11 安徽富煌科技股份有限公司 A kind of vehicle data transmission O&M method based on vehicle-mounted automatic station reporting device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5525844A (en) * 1994-12-28 1996-06-11 Chrysler Corporation Automatically retractable radio antennas for automotive vehicles
CN1326875A (en) * 2000-10-26 2001-12-19 庄大川 Multifunctional car carrier computer
CN1347824A (en) * 2001-09-24 2002-05-08 黑龙江省庆安三松实业有限公司 Plate comprehensive vehicle performance detecting system
CN1796962A (en) * 2004-12-29 2006-07-05 宗立本 Detection system for four-wheel positioning of automobiles in large size

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5525844A (en) * 1994-12-28 1996-06-11 Chrysler Corporation Automatically retractable radio antennas for automotive vehicles
CN1326875A (en) * 2000-10-26 2001-12-19 庄大川 Multifunctional car carrier computer
CN1347824A (en) * 2001-09-24 2002-05-08 黑龙江省庆安三松实业有限公司 Plate comprehensive vehicle performance detecting system
CN1796962A (en) * 2004-12-29 2006-07-05 宗立本 Detection system for four-wheel positioning of automobiles in large size

Also Published As

Publication number Publication date
CN101022634A (en) 2007-08-22

Similar Documents

Publication Publication Date Title
CN101022634B (en) Testing method based on remote control vehicular device
CN102121335B (en) Bluetooth electronic lock system based on random number unlocking
CN101354838A (en) Shipborne terminal for fleet management and fleet management method
CN110569988B (en) Payment machine fault processing system and processing method
CN107105414A (en) A kind of income system and method for Big Dipper RDSS short messages and SMS
CN107396074A (en) Wireless subscriber interface for vehicle projects
CN102143458A (en) Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network
CN203114344U (en) Positioning management system of miner under well
CN102622666A (en) Taxi driver attendance system and taxi driver attendance method
CN102186152A (en) Method and device for preventing mobile terminal from malicious fee deduction
CN101765113A (en) Anti-theft system and method for data card
CN101222556A (en) Method and system for implementing long-distance wireless remote control based on mobile terminal
CN102592444A (en) Taxi service system and method based on two-dimensional codes
CN101141731A (en) method and apparatus for implementing terminal network locking
CN101699915A (en) Mainboard, method for realizing network locking/ card locking function and mobile terminal
CN104504492A (en) Railway scheduling command system information sharing method and apparatus based on mobile platform
CN101282367B (en) Data interactive method for wireless network card and computer
CN101483564B (en) Service apparatus for fleet management
CN111447390A (en) Digital intercom system and method based on cloud card
KR100702193B1 (en) A taxi fare determining system and method therefor
CN209543417U (en) A kind of payment equipment fault processing system
CN100505709C (en) Communication method and apparatus for integrating multi network
CN212381305U (en) Digital intercom system based on cloud card
KR20060122630A (en) Method for testing sms service in the mobile terminal
CN202512666U (en) Hand-held wireless pos terminal with printing function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100721

Termination date: 20120316