CN103744738A - Scheduling method and system of diagnostic program and diagnostic apparatus - Google Patents

Scheduling method and system of diagnostic program and diagnostic apparatus Download PDF

Info

Publication number
CN103744738A
CN103744738A CN201410004329.5A CN201410004329A CN103744738A CN 103744738 A CN103744738 A CN 103744738A CN 201410004329 A CN201410004329 A CN 201410004329A CN 103744738 A CN103744738 A CN 103744738A
Authority
CN
China
Prior art keywords
diagnostic routine
diagnostic
catalogue
user
program
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.)
Pending
Application number
CN201410004329.5A
Other languages
Chinese (zh)
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.)
Autel Intelligent Technology Corp Ltd
Original Assignee
Autel Intelligent Technology Corp 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 Autel Intelligent Technology Corp Ltd filed Critical Autel Intelligent Technology Corp Ltd
Priority to CN201410004329.5A priority Critical patent/CN103744738A/en
Publication of CN103744738A publication Critical patent/CN103744738A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a scheduling method and system of a diagnostic program and a diagnostic apparatus. The scheduling method of the diagnostic program includes the steps of scanning the information of diagnostic process after loading FAT file system, and displaying the information of diagnostic process on a screen for users to choose; ensuring a target diagnostic program according to the choice of users; loading the target diagnostic program to an internal storage and scheduling the target diagnostic program. According to the method, the loading of the operating systems such as WINCE is not needed when the diagnostic apparatus starts, and therefore the system is quick to start; in scheduling the diagnostic program, the scheduling speed is fast and the instantaneity is high due to the single task execution.

Description

The dispatching method of diagnostic routine and system and diagnostic equipment
Technical field
The present invention relates to technical field of automotive electronics, especially relate to a kind of dispatching method and system of diagnostic routine, and there is the diagnostic equipment of the dispatching system of this diagnostic routine.
Background technology
Along with the development of automotive engineering, vehicle becomes increasingly abundant, and the electronic structure of automobile is also day by day complicated, makes the diagnosis of vehicle failure and gets rid of difficulty all the more, therefore for the diagnostic equipment of diagnosing vehicle failure, arises at the historic moment.Existing diagnostic equipment mainly contains two kinds, and a kind of Shi Yuan factory instrument is not only expensive, and function singleness, can only, for specific vehicle or diagnosing malfunction, cannot satisfy the demands.Another kind is universal diagnostic equipment, with operating systems such as WINCE, can dispatch multiple diagnostic routine, can meet the demand of motor vehicle repair manufacturer diagnosis various fault.
But the diagnostic equipment of above-mentioned tape operation system, need to load huge operating system during due to startup, and therefore toggle speed is slow, and when diagnosis, real-time is also lower simultaneously.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of dispatching method and system and diagnostic equipment of diagnostic routine, is intended to improve system toggle speed and real-time.
To achieve these objectives, the present invention proposes a kind of dispatching method of diagnostic routine, comprises step:
Load after FAT file system, diagnosis of scans program information, and described diagnostic routine information display is selected for user in screen;
Selection according to user to diagnostic routine information, determines targeted diagnostics program;
Described targeted diagnostics program is loaded on to internal memory, and dispatches described targeted diagnostics program.
Preferably, described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine.
Preferably, described diagnosis of scans program information, and described diagnostic routine information display is selected to comprise step in screen for user:
Under diagnostic routine under S10, scanning current directory and current directory, there is the catalogue of diagnostic routine;
S20, by the icon shows of the described diagnostic routine scanning and catalogue in screen, for user, select.
Preferably, the described selection to diagnostic routine information according to user, determine that targeted diagnostics program comprises step:
S30, judge user select be diagnostic routine or catalogue;
If what S40 user selected is diagnostic routine, determine that this diagnostic routine is targeted diagnostics program;
If what S50 user selected is catalogue, return to step S10.
The present invention proposes a kind of dispatching system of diagnostic routine simultaneously, comprises scanning element, loading unit and scheduling unit, wherein:
Scanning element, for diagnosis of scans program information, and selects in screen described diagnostic routine information display for user, and the selection to diagnostic routine information according to user, determines targeted diagnostics program;
Loading unit, for loading FAT file system, and is loaded on internal memory by described targeted diagnostics program;
Scheduling unit, for dispatching described targeted diagnostics program.
Preferably, described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine.
Preferably, described scanning element is used for: under the diagnostic routine of scanning under current directory and current directory, there is the catalogue of diagnostic routine, and by the icon shows of the described diagnostic routine scanning and catalogue in screen, for user, select.
Preferably, described scanning element is used for:
What judge user's selection is diagnostic routine or catalogue;
If what user selected is diagnostic routine, determine that this diagnostic routine is targeted diagnostics program;
If user selects is catalogue, scan the catalogue under diagnostic routine under this catalogue and this catalogue with diagnostic routine.
The present invention also proposes that a kind of it comprises the dispatching system of a diagnostic routine for diagnosing the diagnostic equipment of vehicle failure, and the dispatching system of described diagnostic routine comprises scanning element, loading unit and scheduling unit, wherein:
Scanning element, for diagnosis of scans program information, and selects in screen described diagnostic routine information display for user, and the selection to diagnostic routine information according to user, determines targeted diagnostics program;
Loading unit, for loading FAT file system, and is loaded on internal memory by described targeted diagnostics program;
Scheduling unit, for dispatching described targeted diagnostics program.
The dispatching method of a kind of diagnostic routine provided by the present invention, during startup, without loading the operating systems such as WINCE, therefore system toggle speed is fast; When scheduling diagnostic routine, because being that single task is carried out, so schedule speed is fast, real-time is more excellent.Because the diagnostic routine information of scanning comprises some diagnostic routines, therefore can be according to the various diagnostic routines of user's selection scheduling; Diagnostic routine information has also comprised the catalogue with diagnostic routine simultaneously, each diagnostic routine has been carried out to exhaustive division, therefore can also select to realize according to user the scheduling of multistage diagnostic routine, therefore can be widely used in the various faults of the various vehicles of diagnosis, versatility is stronger.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of dispatching method one embodiment of diagnostic routine of the present invention;
Fig. 2 is the particular flow sheet of dispatching diagnostic routine in the present invention;
Fig. 3 is the structured flowchart of dispatching system one embodiment of diagnostic routine of the present invention.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The dispatching system of the diagnostic routine in the present invention is the embedded system based on ARM chip, to replace the operating systems such as Linux, ucos, wince to realize the load operating of software, advantage is that real-time is high, system starts soon, has removed the trouble that loads huge operating system from.
Referring to Fig. 1, dispatching method one embodiment of diagnostic routine of the present invention is proposed, the dispatching method of described diagnostic routine comprises the following steps:
Step S101: after hardware initialization, load FAT file system
Owing to being bare machine system, without loading the operating systems such as WINCE, therefore system toggle speed is fast.
Step S102: the catalogue under the diagnostic routine under scanning current directory and current directory with diagnostic routine
System scans rapidly external storage as the diagnostic routine information in SD storage card after starting fast.Diagnostic routine information in the present embodiment not only comprises various diagnostic routines, also each diagnostic routine has been carried out to detailed classification, therefore also comprise the multistage catalogue with diagnostic routine, to realize the multi-stage scheduling to diagnostic routine, to be widely used in the diagnosis of various faults of various vehicles.That is described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine, has wherein stored the diagnostic routine that can be applied to various vehicles, each area, various faults.Described current directory is the catalogue that user specifies or sets, and when just starting, current directory may be root directory or the predefined catalogue of user of external storage; Afterwards, be the catalogue that user selects.
Step S103: by the icon shows of catalogue under the diagnostic routine under the current directory scanning and current directory with diagnostic routine in screen
The icon shows of described diagnostic routine and catalogue, in screen, and is preserved to their execution route.User, according to actual conditions, selects to be showed in diagnostic routine icon or the directory icon on screen.
Step S104: what judge user's selection is diagnostic routine or catalogue
If what user by touching or click mode has been selected diagnostic routine icon, judged that user selects is diagnostic routine, enter step S105; If what user by touching or click mode has been selected directory icon, judged that user selects is catalogue, return to step S102, scan the catalogue under diagnostic routine under this catalogue (being current directory) and this catalogue with diagnostic routine.Thereby realize selection and the scheduling of multiple diagnostic routine and multistage diagnostic routine.
Step S105: determine that the diagnostic routine that user selects is targeted diagnostics program, and this targeted diagnostics program is loaded on to internal memory
When user has selected, after a certain diagnostic routine, just this diagnostic routine to be defined as to targeted diagnostics program, rapidly this targeted diagnostics program is loaded on to internal memory from external storage.
Step S106: regulation goal diagnostic routine
The targeted diagnostics program that is loaded on internal memory is dispatched, to utilize this targeted diagnostics program to diagnose vehicle failure, and export diagnostic result.
Step S107: exit targeted diagnostics program
Complete after diagnosis, exit targeted diagnostics program, return to the interface before loaded targets diagnostic routine in step S103, for user, continue to select diagnostic routine information or exit diagnostic system.
The full schedule process of a diagnostic routine specifically as shown in Figure 2, comprises the following steps:
Step S201: preserve current C PU register to its former stack
Step S202: scheduler program stack address is deposited to the program space of targeted diagnostics program
Step S203: initialization CPU stack register is the stack space of targeted diagnostics program
Step S204: preserve and exit the program space that specify to targeted diagnostics program address
Step S205: the master routine MAIN () that starts targeted diagnostics program
Step S206: the address of exiting of exiting MAIN and skip to appointment
Step S207: the stack address of obtaining former stack from the program address of specifying
Step S208: eject the CPU register value that is stored in former stack
Step S209: revise PC pointer rebound scheduler program
The assembly code of scheduling diagnostic routine is as follows:
Figure BDA0000453147090000051
Figure BDA0000453147090000061
Accordingly, the dispatching method of diagnostic routine of the present invention, during startup, without loading the operating systems such as WINCE, therefore system toggle speed is fast; When scheduling diagnostic routine, because being that single task is carried out, so schedule speed is fast, real-time is more excellent.Because the diagnostic routine information of scanning comprises some diagnostic routines, therefore can be according to the various diagnostic routines of user's selection scheduling; Diagnostic routine information has also comprised the catalogue with diagnostic routine simultaneously, each diagnostic routine has been carried out to exhaustive division, therefore can also select to realize according to user the scheduling of multistage diagnostic routine, therefore can be widely used in the various faults of the various vehicles of diagnosis, versatility is stronger.
Referring to Fig. 3, dispatching system one embodiment of diagnostic routine of the present invention is proposed, the dispatching system of described diagnostic routine is the embedded system based on ARM chip, to replace the operating systems such as Linux, ucos, wince to realize the load operating of software, advantage is that real-time is high, system starts soon, has removed the trouble that loads huge operating system from.
The dispatching system of described diagnostic routine comprises scanning element 100, loading unit 200 and scheduling unit 300.
Scanning element 100: for diagnosis of scans program information, and described diagnostic routine information display is selected for user in screen, and the selection to diagnostic routine information according to user, determine targeted diagnostics program.
In the present embodiment, described diagnostic routine information not only comprises various diagnostic routines, also each diagnostic routine has been carried out to detailed classification, therefore also comprises the multistage catalogue with diagnostic routine, to realize multi-stage scheduling to diagnostic routine, to be widely used in the diagnosis of various faults of various vehicles.That is described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine, has wherein stored the diagnostic routine that can be applied to various vehicles, each area, various faults.Described current directory is the catalogue that user specifies or sets, and when just starting, current directory may be root directory or the predefined catalogue of user of external storage; Afterwards, be the catalogue that user selects.
Concrete, scanning element 100 is for scanning the catalogue under diagnostic routine under current directory and current directory with diagnostic routine, and by the icon shows of catalogue under the diagnostic routine under the current directory scanning and current directory with diagnostic routine in screen, and preserve their execution route, for user, select.What then judge that user selects is diagnostic routine or catalogue, and what select as user is diagnostic routine, determines that this diagnostic routine is targeted diagnostics program; What select as user is catalogue, continues to have under the lower diagnostic routine of this catalogue of scanning (being current directory) and this catalogue the catalogue of diagnostic routine.Thereby realize selection and the scheduling of multiple diagnostic routine and multistage diagnostic routine.
Loading unit 200: for carry out hardware initialization when system starts, and load FAT file system, and targeted diagnostics program definite scanning element is loaded on to internal memory.Owing to being bare machine system, without loading the operating systems such as WINCE, therefore system toggle speed is fast.
Scheduling unit 300: for the targeted diagnostics program that is loaded on internal memory is dispatched, to utilize this targeted diagnostics program to diagnose vehicle failure, and export diagnostic result.Complete after diagnosis, exit targeted diagnostics program.The flow process that described scheduling unit 300 is dispatched diagnostic routine as shown in Figure 2, does not repeat them here.
Accordingly, the dispatching system of diagnostic routine of the present invention, during startup, without loading the operating systems such as WINCE, therefore system toggle speed is fast; When scheduling diagnostic routine, because being that single task is carried out, so schedule speed is fast, real-time is more excellent.Because the diagnostic routine information of scanning comprises some diagnostic routines, therefore can be according to the various diagnostic routines of user's selection scheduling; Diagnostic routine information has also comprised the catalogue with diagnostic routine simultaneously, each diagnostic routine has been carried out to exhaustive division, therefore can also select to realize according to user the scheduling of multistage diagnostic routine, therefore can be widely used in the various faults of the various vehicles of diagnosis, versatility is stronger.
The present invention proposes a kind of for diagnosing the diagnostic equipment of vehicle failure simultaneously, it comprises the dispatching system of a diagnostic routine, the dispatching system of described diagnostic routine comprises scanning element, loading unit and scheduling unit, wherein: scanning element, for diagnosis of scans program information, and described diagnostic routine information display is selected for user in screen, and the selection to diagnostic routine information according to user, determine targeted diagnostics program; Loading unit, for loading FAT file system,, and described targeted diagnostics program is loaded on to internal memory; Scheduling unit, for dispatching described targeted diagnostics program.The dispatching system of the diagnostic routine described in the present embodiment is the dispatching system of the related diagnostic routine of above-described embodiment in the present invention, does not repeat them here.
Diagnostic equipment of the present invention, owing to being bare machine system, during startup, without loading the operating systems such as WINCE, therefore system toggle speed is fast; When scheduling diagnostic routine, because being that single task is carried out, so schedule speed is fast, real-time is more excellent.Because the diagnostic routine information of scanning comprises some diagnostic routines, therefore can be according to the various diagnostic routines of user's selection scheduling; Diagnostic routine information has also comprised the catalogue with diagnostic routine simultaneously, each diagnostic routine has been carried out to exhaustive division, therefore can also select to realize according to user the scheduling of multistage diagnostic routine, therefore can be widely used in the various faults of the various vehicles of diagnosis, versatility is stronger.
Should be understood that; these are only the preferred embodiments of the present invention; can not therefore limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (9)

1. a dispatching method for diagnostic routine, is characterized in that, comprises step:
Load after FAT file system, diagnosis of scans program information, and described diagnostic routine information display is selected for user in screen;
Selection according to user to diagnostic routine information, determines targeted diagnostics program;
Described targeted diagnostics program is loaded on to internal memory, and dispatches described targeted diagnostics program.
2. the dispatching method of diagnostic routine according to claim 1, is characterized in that, described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine.
3. the dispatching method of diagnostic routine according to claim 2, is characterized in that, described diagnosis of scans program information, and described diagnostic routine information display is selected to comprise step in screen for user:
Under diagnostic routine under S10, scanning current directory and current directory, there is the catalogue of diagnostic routine;
S20, by the icon shows of the described diagnostic routine scanning and catalogue in screen, for user, select.
4. the dispatching method of diagnostic routine according to claim 3, is characterized in that, the described selection to diagnostic routine information according to user determines that targeted diagnostics program comprises step:
S30, judge user select be diagnostic routine or catalogue;
If what S40 user selected is diagnostic routine, determine that this diagnostic routine is targeted diagnostics program;
If what S50 user selected is catalogue, return to step S10.
5. a dispatching system for diagnostic routine, is characterized in that, comprises scanning element, loading unit and scheduling unit, wherein:
Scanning element, for diagnosis of scans program information, and selects in screen described diagnostic routine information display for user, and the selection to diagnostic routine information according to user, determines targeted diagnostics program;
Loading unit, for loading FAT file system, and is loaded on internal memory by described targeted diagnostics program;
Scheduling unit, for dispatching described targeted diagnostics program.
6. the dispatching system of diagnostic routine according to claim 5, is characterized in that, described diagnostic routine information comprises the catalogue under diagnostic routine under current directory and current directory with diagnostic routine.
7. the dispatching system of diagnostic routine according to claim 6, it is characterized in that, described scanning element is used for: the catalogue under the diagnostic routine under scanning current directory and current directory with diagnostic routine, and by the icon shows of the described diagnostic routine scanning and catalogue in screen, for user, select.
8. according to the dispatching system of the diagnostic routine described in claim 6 or 7, it is characterized in that, described scanning element is used for:
What judge user's selection is diagnostic routine or catalogue;
If what user selected is diagnostic routine, determine that this diagnostic routine is targeted diagnostics program;
If user selects is catalogue, scan the catalogue under diagnostic routine under this catalogue and this catalogue with diagnostic routine.
9. a diagnostic equipment, is characterized in that, comprises the dispatching system of the diagnostic routine as described in claim 5-8 any one.
CN201410004329.5A 2014-01-03 2014-01-03 Scheduling method and system of diagnostic program and diagnostic apparatus Pending CN103744738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410004329.5A CN103744738A (en) 2014-01-03 2014-01-03 Scheduling method and system of diagnostic program and diagnostic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410004329.5A CN103744738A (en) 2014-01-03 2014-01-03 Scheduling method and system of diagnostic program and diagnostic apparatus

Publications (1)

Publication Number Publication Date
CN103744738A true CN103744738A (en) 2014-04-23

Family

ID=50501758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410004329.5A Pending CN103744738A (en) 2014-01-03 2014-01-03 Scheduling method and system of diagnostic program and diagnostic apparatus

Country Status (1)

Country Link
CN (1) CN103744738A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019052482A1 (en) * 2017-09-14 2019-03-21 深圳市道通科技股份有限公司 Data sharing method, data sharing device, and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670710A (en) * 2004-03-16 2005-09-21 鸿富锦精密工业(深圳)有限公司 Rapid diagnosis testing system and method for computer hardware
CN101226403A (en) * 2008-01-18 2008-07-23 深圳市元征科技股份有限公司 Vehicle diagnosis or curing device as well as method for storing and upgrading relational data base
CN101662379A (en) * 2008-08-29 2010-03-03 华为技术有限公司 Method, equipment and system for maintaining terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670710A (en) * 2004-03-16 2005-09-21 鸿富锦精密工业(深圳)有限公司 Rapid diagnosis testing system and method for computer hardware
CN101226403A (en) * 2008-01-18 2008-07-23 深圳市元征科技股份有限公司 Vehicle diagnosis or curing device as well as method for storing and upgrading relational data base
CN101662379A (en) * 2008-08-29 2010-03-03 华为技术有限公司 Method, equipment and system for maintaining terminal equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱军: "MTS-5100发动机分析仪-汽车分析仪产品介绍(十一)", 《汽车维修与保养》 *
李志训: "《基于eCos和ARM7的污水在线监测传输终端的设计与实现》", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019052482A1 (en) * 2017-09-14 2019-03-21 深圳市道通科技股份有限公司 Data sharing method, data sharing device, and mobile terminal

Similar Documents

Publication Publication Date Title
CN103064403B (en) A kind of ECU hardware-in-loop simulation automated testing method and system
CN107832190B (en) Diagnosis method for power consumption abnormity, mobile terminal and storage medium
CN103019942B (en) Method and system for automatically testing applications to be tested based on android system
CN102741818A (en) Failure diagnostic system, electronic control unit for vehicle, failure diagnostic method
CN111984163B (en) Application icon display method and device and electronic equipment
US20140129821A1 (en) Test system and method for computer
CN110197698B (en) Method and device for automatically testing influence of different power states of SSD (solid State drive)
CN103593281A (en) Test system and test method
CN104156305A (en) Application program testing method and device
CN108701044A (en) Interface switching method, system, equipment and computer readable storage medium
CN105182964A (en) Method for diagnosing vehicle by code-reading card, device and diagnosis device
JP2007504987A (en) Energy management method
CN112068885A (en) Screen self-adaptive driving method and device
JP4971679B2 (en) Processor system and performance measurement method for processor system
CN109002331A (en) Starting method, apparatus, computer equipment and the storage medium of touch screen
CN103744738A (en) Scheduling method and system of diagnostic program and diagnostic apparatus
CN106068494B (en) A kind of adaptation method and electronic equipment of DPI
KR20210046390A (en) AUTOSAR BSW testing automation system and testing method thereof
CN110850850A (en) Off-line detection method, device and equipment for cooling water pump and storage medium
CN108132787B (en) AGV touch interface design method and device and computer readable storage medium
CN103294617A (en) Method for expanding device drivers of electronic device and portable intelligent electronic device
US9977686B2 (en) Apparatus for allocating functions to each of electronic control units of a vehicle
CN109210688A (en) Multi fan clarifier control method and device, clarifier
KR20100070596A (en) Real time system and method for measuring worst case response time
CN110174867B (en) Power supply gear control system and method based on CANoe

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Xili Street Xueyuan Road No. 1001 Chi Park B1 building 7 layer, 8 layer, 10 layer

Applicant after: SHENZHEN AUTEL TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Xili town tea light road on the south side of Shenzhen integrated circuit design and application of Industrial Park 106, 107, 109, 114

Applicant before: Shenzhen Autel Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20140423

RJ01 Rejection of invention patent application after publication