Movatterモバイル変換


[0]ホーム

URL:


CN107154962A - vehicle software operation method and device - Google Patents

vehicle software operation method and device
Download PDF

Info

Publication number
CN107154962A
CN107154962ACN201710206473.0ACN201710206473ACN107154962ACN 107154962 ACN107154962 ACN 107154962ACN 201710206473 ACN201710206473 ACN 201710206473ACN 107154962 ACN107154962 ACN 107154962A
Authority
CN
China
Prior art keywords
software
vehicle
obd joints
obd
operational order
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
CN201710206473.0A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Shenzhen Launch Technology Co LtdfiledCriticalShenzhen Launch Technology Co Ltd
Priority to CN201710206473.0ApriorityCriticalpatent/CN107154962A/en
Publication of CN107154962ApublicationCriticalpatent/CN107154962A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of vehicle software operation method, OBD joints are set on the vehicle, the OBD joints are provided with least two vehicle diagnostics softwares, and this method includes:The OBD joints receive operational order;The value for redirecting position that the running status that the OBD joints write corresponding software according to the operational order received is identified;The value that the OBD joints redirect position according to runs corresponding software.The invention also discloses a kind of vehicle software running gear.The present invention realizes an OBD joint while supporting multiple vehicle diagnostics softwares, simultaneously also solve in vehicle OBD joints the problem of realizing software exchange, the switching for realizing two sets of different softwares by a set of hardware is used, and eliminates the trouble for needing to develop many set hardware.

Description

Vehicle software operation method and device
Technical field
The present invention relates to vehicle diagnostics technical field, more particularly to a kind of vehicle software operation method and device.
Background technology
OBD (On-Board Diagnostic, onboard diagnostic system), the working condition for monitoring vehicle at any time etc., oneDenier discovery is possible to cause the situation of vehicle trouble, and warning can be sent at once.For example when system breaks down, trouble light or inspectionLook into engine emergency warning lamp bright, while fault message can be stored in memory by OBD system, and then diagnostic instrments by standard and examineSlave interrupt interface allows fault message to be read in the form of DTC, and according to the prompting of DTC, maintenance personal can be true exactlyDetermine property and the position of failure.Therefore OBD diagnostic products provide a great convenience for the monitoring and diagnosis of vehicle.
But existing OBD diagnostic products, a kind of software can only be supported mostly, can only select Smartbox or J2534,There is no a OBD diagnostic products that Smartbox can be supported to support J2534 again, switching between the two can not be carried out, such asFruit needs to use different softwares then to need to support using different hardware, and this is to bringing many fiber crops in practical applicationIt is tired, while also result in the waste of development of resources.
The content of the invention
It is a primary object of the present invention to provide a kind of vehicle software operation method and device, it is intended to solve current vehicleThe problem of OBD joints can not realize support various software and can not realize software exchange.
To achieve the above object, OBD is set to connect on a kind of vehicle software operation method that the present invention is provided, the vehicleHead, the OBD joints are provided with least two vehicle diagnostics softwares, and the vehicle software operation method comprises the following steps:
The OBD joints receive operational order;
What the running status that the OBD joints write corresponding software according to the operational order received was identified redirects positionValue;
The value that the OBD joints redirect position according to runs corresponding software.
Preferably, the vehicle diagnostics software that the OBD joints are installed includes the first software and the second software, and the OBD connectsHead writes including the step of redirecting the value of position for corresponding running status mark according to the operational order received:
The OBD joints receive the operational order for running first software or second software;
Whether the OBD joints currently have the software of operation according to the operational order detection received, when the OBD jointsWhen detecting the software currently without operation, then the operation of first software or second software is write according to operational orderThe value for redirecting position of status indicator.
Preferably, the vehicle diagnostics software that the OBD joints are installed includes the first software and the second software, and the OBD connectsHead includes according to the running status mark of the operational order write-in corresponding software received the step of redirecting the value of position:
The OBD joints receive the operational order of switching software;
The software that the OBD joints are currently run according to received operational order detection, if the software currently runFor the value for redirecting position of first software, then the running status mark of the OBD joints write-in second software;
If the software currently run is second software, the OBD joints write the operation shape of first softwareThe value for redirecting position of state mark.
Preferably, methods described also includes:
The value of the upgrading position of the software of operation required for the OBD joints are read;
Whether the software that the OBD joints are run according to required for judging the value of the upgrading position read needs upgrading;
When the software of required operation needs upgrading, then the OBD joints are upgraded the software of required operation.
Preferably, the step of OBD joints receive operational order is specially the operation that the OBD joints receive clientInstruction, the OBD joints also include before receiving the operational order of client:
Whether the OBD joints inquiry is connected with the client;
If the client is connected with the OBD joints, OBD joints inquiry whether the account with the clientNumber binding;
If the OBD joints are bound with the account of the client, the OBD joints receive the client and sentOperational order.
In addition, to achieve the above object, the present invention is also provided and set on a kind of vehicle software running gear, the vehicleOBD joints, the OBD joints are provided with least two vehicle diagnostics softwares, and the vehicle software switching device includes:
First receiving module, for receiving operational order;
Assignment module, what the running status for writing corresponding software for the operational order that basis is received was identified redirects positionValue;
Module is run, the value for redirecting position according to runs corresponding software.
Preferably, the vehicle diagnostics software that the OBD joints are installed includes the first software and the second software, the assignment mouldBlock includes:
Receiving unit, the operational order of first software or second software is run for receiving;
First assignment unit, for currently whether there is the software of operation according to the operational order detection received, works as detectionDuring to software currently without operation, then the running status of first software or second software is write according to operational orderThe value for redirecting position of mark.
Preferably, the vehicle diagnostics software that the OBD joints are installed includes the first software and the second software, the assignment mouldBlock includes:
Second receiving unit, the operational order for receiving switching software;
Second assignment unit, for the software currently run according to received operational order detection, when current operationSoftware be first software, then write second software running status mark the value for redirecting position;When current operationSoftware be second software, then write first software running status mark the value for redirecting position.
Preferably, the vehicle software running gear also includes:
Read module, the value of the upgrading position of the software of operation required for for reading;;
Judge module, whether the software of operation needs upgrading required for for being judged according to the value of the upgrading position read;
Upgraded module, for when the software of required operation needs upgrading, then the software by required operation to be risenLevel.
Preferably, the receiving module is specifically for receiving the operational order that client is sent, the vehicle software operationDevice also includes:
Whether the first enquiry module, be connected for inquiring about with the client;
Second enquiry module, for when the client is connected with the OBD joints, then inquire about whether with the visitorThe account binding at family end;
Second receiving module, for when the OBD joints are bound with the account of the client, then receiving the visitorThe operational order that family end is sent.
The present invention on the vehicle by setting OBD joints, and it is soft that the OBD joints are provided with least two vehicle diagnosticsPart, methods described includes:The OBD joints receive operational order;The OBD joints write phase according to the operational order receivedThe value for redirecting position for answering the running status of software to identify;The value that the OBD joints redirect position according to runs corresponding software.One OBD joint is realized while supporting multiple vehicle diagnostics softwares using the vehicle software operation method of the present invention, also simultaneouslyThe problem of solving the carry out software exchange in vehicle OBD joints, the switching of two sets of different softwares is realized by a set of hardwareUse, eliminate the trouble for needing to develop many set hardware.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of vehicle software operation method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of vehicle software operation method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of vehicle software operation method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of vehicle software operation method fourth embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the embodiment of vehicle software operation method the 5th of the present invention;
Fig. 6 is the high-level schematic functional block diagram of vehicle software running gear first embodiment of the present invention;
Fig. 7 is the refinement high-level schematic functional block diagram of assignment module in vehicle software running gear second embodiment of the present invention;
Fig. 8 illustrates for the refinement functional module of the assignment module in vehicle software running gear 3rd embodiment of the present inventionFigure;
Fig. 9 is the high-level schematic functional block diagram in vehicle software running gear fourth embodiment of the present invention;
Figure 10 is the high-level schematic functional block diagram in the embodiment of vehicle software running gear the 5th of the present invention;
Figure 11 is that the FLASH blocks in OBD joints divide figure;
Figure 12 is running status mark figure in OBD joints.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention is provided and OBD joints is set on a kind of vehicle software operation method, the vehicle, and the OBD joints are installedThere are at least two vehicle diagnostics softwares, reference picture 1, in the first embodiment, the vehicle software operation method include:
Step S10, the OBD joints receive operational order;
The operational order that the OBD joints are received may come from the operational order that OBD joints are issued itself, such as work as OBDWhen display screen or button are provided with joint, user can issue corresponding operation, OBD by operating display or buttonJoint receives corresponding operational order;Or in other embodiments, OBD joints receive the client being connected with OBD jointsHold the corresponding operational order sent.
In the present embodiment, so that OBD joints receive the operational order that client is sent as an example.OBD joints are carried out with clientCommunication connection, specifically OBD joints are connected by telecommunications network with client, and the telecommunications network can be mobile fortuneSeek business's network, WiFi cordless communication networks etc..By the connection with client to receive the operational order that client is issued, simultaneouslyResult after operation is shown after performing operation on the client.Certainly, in other embodiments, client and OBD jointsConnection can also be attached by the way of wired connection.Client in the present embodiment can be mobile phone, PC ends and put downPlate computer etc., by downloading corresponding operation software in client, is communicated for user by client with OBD joints.
Illustrated in the present embodiment so that client is mobile phone as an example.Specifically, user triggers the button of mobile phone terminal, mobile phoneThe button operation of end response user, the wherein button operation of user, which are used to trigger, shows shortcut menu, and mobile phone terminal receives userBy the touch information of the input of touch-screen, wherein touch information, which is used to trigger, shows shortcut menu.Further call quickMenu, it is to be appreciated that before shortcut menu is called, shortcut menu is in hidden state, the behaviour that user's selection menu is shownMake, the operation on specific menu could be arranged to switch software, check the software currently run, software progress is upgraded etc..The software currently run, and the software not yet run are may also display on menu, and the software not yet run is come into menuUpper rearward position, while selected state can be in by setting highlighted state to identify the icon on menu.Work as userIssue after corresponding operational order, OBD joints receive to communicate therewith and connect and carried out the mobile phone terminal of account binding and be transmitted acrossThe operational order come.
It should be noted that a mobile phone terminal can be connected with multiple OBD joints, to facilitate user while detecting not simultaneouslySwitch corresponding software with the running status of vehicle, and according to the situation of vehicle.When mobile phone terminal connects multiple OBD joints,The option operations of corresponding selection OBD joints are set on mobile phone A PP, to facilitate user to select connection to need monitoring on mobile phone terminalVehicle.
Step S20, the jump that the running status that the OBD joints write corresponding software according to the operational order received is identifiedThe value of indexing;
In the present embodiment, OBD joints are received after the operational order that user issues, the corresponding operation of response.The wherein behaviourMake the operational order that instruction can be switching software, or selection runs the instruction of some software.It is when what user issuedWhen switching the operational order of software, now necessarily there is the software being currently running, and the value for redirecting position of running status mark isThe corresponding value of software currently run, when needing switching software, the value for redirecting position that current running status is identified is made intoValue corresponding with the value for redirecting position for the software that needs switch.But when user issue be select some software instruction when,Now may the software without operation, then write direct the value for redirecting position of the software corresponding running status mark of selection.
Specifically, referring to Figure 11, specific implementation is realized in SMAE70Q20 in the present embodiment, program codeAll it is placed in 1M FLASH, and FLASH is divided into BOOT, Smartbox, J2534 and the part of other information four as needed,The relative position of this four parts in FLASH as shown in figure 11, reads 1Byte running statuses in FLASH and identified, wherein runningStatus indicator includes redirecting bit identification and mark of whether upgrading, by reading the corresponding behaviour of value response that running status is identifiedMake.
Step S30, the value that the OBD joints redirect position according to runs corresponding software.
In the present embodiment, the corresponding value for redirecting position of pre-designed each software, such as when the value for redirecting position is 0, thenRepresent needs operation is the first software, when the value for redirecting position is 1, then it represents that what needs were run is the second software, when OBD connectsHead is written with when redirecting the value of position of corresponding running status mark according to corresponding operational order, further according to the jump of write-inThe value of indexing runs corresponding software.
Further, in other embodiments, whether OBD joints can also be automatically selected needs to switch software, such as works as OBDJoint, which monitors the state that vehicle currently runs, to be needed to enable the 3rd software or the 4th software to support, then OBD joints can be withWhat the running status of the software run the need for the pattern of automatic opening switching software, equally write-in are corresponding was identified redirects positionValue, and then corresponding software is run according to the value for redirecting position.
OBD joints are by receiving operational order described in the present embodiment;According to the corresponding fortune of operational order write-in receivedThe value for redirecting position of row status indicator;Corresponding software is run according to the value for redirecting position.Using the vehicle software of the present inventionSwitching method is realized to the software exchange in vehicle OBD joints, and the switching for realizing two sets of different softwares by a set of hardware makesWith eliminate needs to develop the troubles for covering hardware more.
Further, referring to Fig. 2, based on vehicle software operation method first embodiment of the present invention, in vehicle of the present inventionIn software running method second embodiment, above-mentioned steps S20 includes:
Step S21, the OBD joints receive the operational order for running first software or second software;
Whether step S22, the OBD joints currently have the software of operation according to the operational order detection received, work as instituteWhen stating OBD tool joint monitors to software currently without operation, then first software or described second are write according to operational orderThe value for redirecting position of the running status mark of software.
Specifically, the present embodiment is mainly used in when the OBD joints do not run corresponding software, and the OBD connectsThe internal software for being available for running is presented to user and selected by head.Shown on the menu of mobile phone terminal and be currently available for selection fortuneCapable software, user needs the software run according to the current software selection that operation may be selected shown on menu.The present embodimentIllustrated so that the diagnostic software in the OBD joints includes the first software and the second software as an example, it is to be appreciated that describedSoftware of the 3rd software/the 4th etc. can also be included in OBD joints, specifically phase can be installed in OBD joints according to actual needsThe software answered.The selection that OBD joints receive user runs the first software or during the second software, according to the selection of user write-in theThe value for redirecting position of the running status mark of one software or the second software.In other embodiments, it is understood that be when usingWhen family does not select the software for needing to run, OBD joints will run the vehicle software of acquiescence.Or in other embodiments, OBDIt can voluntarily be selected to need what is run according to the current situation of vehicle after vehicle opens either OBD joints energization inside jointSoftware, OBD joints are received after the instruction for the runs software that internal system is sent, and run corresponding software.Do not do specific hereinLimitation.
The present embodiment is by detecting during the software currently without operation, and the OBD joints are available for the soft of operation by internalPart is presented to user and selected, and the OBD joints write redirecting for the running status of corresponding software according to the selection of user againThe value of position, it is achieved thereby that when OBD joints do not have runs software, user can be supplied to be selected the software for being available for operationSelect, and the corresponding software selected according to user goes to run the software.
Further, referring to Fig. 3, based on vehicle software operation method second embodiment of the present invention, in vehicle of the present inventionIn software running method 3rd embodiment, above-mentioned steps S20 includes:
Step S211, the OBD joints receive the operational order of switching software;
Step S222, the software that the OBD joints are currently run according to received operational order detection, if current fortuneCapable software is first software, then what the running status of the OBD joints write-in second software was identified redirects positionValue;
If the software currently run is second software, the OBD joints write the operation shape of first softwareThe value for redirecting position of state mark.
Specifically, in the present embodiment, user selects the software that switching is currently run by mobile phone terminal, such as by the first of operationSoftware exchange is the second software, when OBD tool joint monitors to the software currently run are the first software, and OBD joints are receivedClient issue by instruction that the first software exchange is the second software when, then OBD joints write the position that redirects of second softwareValue, further, OBD joints, which are read, redirects the value of position for the corresponding value of the second software, then cuts the first software currently runIt is changed to the second software.Wherein, first software is Smartbox, and second software is J2534.The J2534 is internationalThe software of standard, the agreement that J2534 is supported include CAN (ISO11898, ISO15765, J1939), PWM/VPW (J1850),K/L Line (ISO9141, ISO14230, KWP2000), SCI (SAEJ2610) etc.;The Smartbox is the automobile of our companyDiagnostic software, supports the diagnosis of all types vehicle on the market, the agreement of support have CAN, PWM/VPW, K/L Line, SCI,The agreements such as RS485, CCD.
The present embodiment is by judging when the software currently run is the first software, then the OBD joints judge to be receivedTo operational order whether be switch Current software operational order;When the operational order refers to for the operation of switching Current softwareWhen making, then the OBD joints write the value for redirecting position of the running status mark of the second software.Realize what is issued according to userThe operational order of switching software switches the software currently run accordingly.
Further, referring to Fig. 4, based on vehicle software operation method 3rd embodiment of the present invention, in vehicle of the present inventionIn software running method fourth embodiment, the vehicle software operation method also includes:
Step S11, the value of the upgrading position of the software of operation required for the OBD joints are read;
Step S12, the OBD joints according to read upgrading position value judge required for operation software whether needsUpgrading;
Step S13, when the software of required operation needs upgrading, then the OBD joints are by the software of required operationUpgraded.
Specifically, judge to need whether the software run needs upgrading to carry out using following two modes, the firstIt is first runs software, the message of renewal in need or upgrading software is detected in software running process, then points out user to beIt is no to need to upgrade or update;Second is first to judge whether software needs renewal before runs software, and described before can, can also to be that before OBD joints receive operational order, the software that can be upgraded itself is detected inside OBD jointsIt is after OBD joints receive corresponding operational order;If the software of operation needs upgrading required for before runs softwareThen first upgrade, rerun software after upgrading;Corresponding software is directly run if the software of required operation need not upgrade.
In the present embodiment, OBD joints can prejudge needs operation before confirming to need to run which softwareWhether software needs upgrading, or software is upgraded after operation corresponding software.Operation required for specifically judgingWhether software needs whether the method for upgrading is mainly to need upgrading by the value for the upgrading position for judging the software that the needs are runCorresponding value.For example, when needing from the first software exchange to the second software, OBD joints first inquire about the operation of the second softwareThe value of upgrading position in status indicator is how many, and the value that user can pre-set the upgrading position for needing to upgrade is how many, this implementationThe value that the upgrading position for needing to upgrade is set in example is 1, it is not necessary to which the value of the upgrading position of upgrading is 0.When OBD joints inquire needsWhen the upgrading position of second software of operation is 1, then corresponding operation is responded, the software for needing to run is upgraded, after upgradingThe value of the upgrading position of second software is set to 0, so as to rerun next time the second software when without repeatedly upgrading.
Referring to Figure 11 and Figure 12, in the present embodiment, 1Byte running status marks are read in FLASH other information blockKnow, reserve 5 in 1Byte altogether, wherein the 3rd represents and which application program jumped to, whether second is represented upgradesFirst software, first represents the second software of whether upgrading.When it is 0 to read primary value, then the second software is switched to,So when running the second software, primary value is first read, if primary value is 1, then it represents that need not upgrade secondSoftware, if primary value is 0, then it represents that need the second software of upgrading;The second software will be run after second software upgrading.
In the present embodiment, by first judging whether software needs upgrading, so that it is guaranteed that the software used every time is newestThe software of version, improves the performance of software, and then optimizes the software environment being monitored to vehicle.
Further, referring to Fig. 5, based on vehicle software operation method fourth embodiment of the present invention, in vehicle of the present inventionIn the embodiment of software running method the 5th, also include before above-mentioned steps S10:
Whether step S00, the OBD joints inquiry is connected with the client;
Step S01, when the client is connected with the OBD joints, then OBD joints inquiry whether with it is describedThe account binding of client;
Step S02, when the OBD joints are bound with the account of the client, then the OBD joints receive describedThe operational order that client is sent.
In the present embodiment, user logs in APP accounts by client, after Account Logon success, and whether inquiry OBD jointsBe connected with client, when OBD joints and client are in the state being connected, then continue checking for User logs in account whether withOBD joints are bound, to ensure that the OBD joints of user's connection are OBD joints to one's name on vehicle, if not with OBD jointsThen prompting user first binds with OBD joints for binding;If bound with OBD joints, check whether network connection is normal.WhenOBD joints are bound with account, then OBD joints can normally receive client transmission.
Client and OBD joints are in the state being connected when can ensure that diagnosis using the method for the present embodiment, and due toUser logs in APP accounts are the states in binding with OBD joints, it is ensured that the OBD joints of user's connection select for oneselfIt is selecting with oneself vehicle match OBD joints, it is to avoid when client connects multiple OBD joints, pairing mistake and cause to missOther people vehicle is diagnosed.
The present invention also provides setting OBD joints on a kind of vehicle software running gear, the vehicle, the OBD joints peaceEquipped with least one vehicle diagnostics software, reference picture 6, in the first embodiment, the vehicle software running gear include:
Receiving module 10, for receiving operational order;
The operational order that the OBD joints are received may come from the operational order that OBD joints are issued itself, such as work as OBDWhen display screen or button are provided with joint, the corresponding operation that user can be issued by operating display or button,OBD joints receive corresponding operation;Or in other embodiments, OBD joints receive the client being connected with OBD jointsThe corresponding operational order sent.
In the present embodiment, so that OBD joints receive the operational order that client is sent as an example.OBD joints are carried out with clientCommunication connection, specifically OBD joints are connected by telecommunications network with client, and the telecommunications network can be mobile fortuneSeek business's network, WiFi cordless communication networks etc..By the connection with client to receive the operational order that client is issued, simultaneouslyThe result after operation is shown on the client.Certainly, in other embodiments, client and the connection of OBD joints can also be adoptedIt is attached with the mode of wired connection.Client in the present embodiment can be mobile phone, PC ends and tablet personal computer etc., pass throughCorresponding operation software is downloaded in client, is communicated for user by client with OBD joints.
Illustrated in the present embodiment so that client is mobile phone as an example.Specifically, user triggers the button of mobile phone terminal, mobile phoneThe button operation of end response user, the wherein button operation of user, which are used to trigger, shows shortcut menu, and mobile phone terminal receives userBy the touch information of the input of touch-screen, wherein touch information, which is used to trigger, shows shortcut menu.Further call quickMenu, it is to be appreciated that before shortcut menu is called, shortcut menu is in hidden state, the behaviour that user's selection menu is shownMake, specific operation could be arranged to switch software, check the software currently run, software progress is upgraded etc..On menuThe software currently run, and the software not yet run are may also display, and the software not yet run is come on menu rearwardPosition, while selected state can be in by setting highlighted state to identify the icon on menu.When user issues phaseAfter the operational order answered, OBD joints, which receive to communicate therewith, connects and has carried out the behaviour that the mobile phone terminal of account binding is sended overInstruct.
It should be noted that a mobile phone terminal can be connected with multiple OBD joints, to facilitate user while detecting not simultaneouslySwitch corresponding software with the running status of vehicle, and according to the situation of vehicle.When mobile phone terminal connects multiple OBD joints,The option operations of corresponding selection OBD joints are set on mobile phone A PP, to facilitate user to select connection to need monitoring on mobile phone terminalVehicle.
Assignment module 20, the position that redirects for writing corresponding running status mark according to the operational order that receivesValue;
In the present embodiment, OBD joints are received after the operational order that user issues, the corresponding operation of response.The wherein behaviourMake the operational order that instruction can be switching software, or select the instruction of some software.When user issue be switchingDuring the operational order of software, now necessarily there is the software being currently running, now the value for redirecting position of running status mark is currentThe corresponding value of the software of operation, when needing switching software, the position that redirects that current running status is identified makes into cut with needsThe corresponding value of the value for redirecting position of the software changed.But when user issue be select some software instruction when, now maySoftware without operation, then write direct the value for redirecting position of the corresponding running status mark of software of selection.
Specifically, referring to Figure 11, specific implementation is realized in SMAE70Q20 in the present embodiment, program codeAll it is placed in 1M FLASH, and FLASH is divided into BOOT, Smartbox, J2534 and the part of other information four as needed,The relative position of this four parts in FLASH as shown in figure 11, reads 1Byte running statuses in FLASH and identified, wherein runningStatus indicator includes redirecting bit identification and mark of whether upgrading, by reading the corresponding behaviour of value response that running status is identifiedMake.
Module 30 is run, the value for redirecting position according to runs corresponding software.
In the present embodiment, the corresponding value for redirecting position of pre-designed each software, such as when the value for redirecting position is 0, thenRepresent needs operation is the first software, when the value for redirecting position is 1, then it represents that what needs were run is the second software, when OBD connectsHead is written with when redirecting the value of position of corresponding running status mark according to corresponding operational order, further according to the jump of write-inThe value of indexing runs corresponding software.
Further, in other embodiments, whether OBD joints can also be automatically selected needs to switch software, such as works as OBDJoint, which monitors the state that vehicle currently runs, to be needed to enable the 3rd software or the 4th software to support, then OBD joints can be withWhat the running status of the software run the need for the pattern of automatic opening switching software, equally write-in are corresponding was identified redirects positionValue, and then corresponding software is run according to the value for redirecting position.
OBD joints described in the present embodiment are by receiving the operational order that client is sent;According to the operational order receivedWrite the value for redirecting position of corresponding running status mark;Corresponding software is run according to the value for redirecting position.Using this hairBright vehicle software switching method is realized to the software exchange in vehicle OBD joints, and two sets of differences are realized by a set of hardwareThe switching of software is used, and eliminates the trouble for needing to develop many set hardware.
Further, referring to Fig. 7, based on vehicle software running gear first embodiment of the present invention, in vehicle of the present inventionIn running software device second embodiment, above-mentioned assignment module 20 includes:
First receiving unit 21, the operational order of first software or second software is run for receiving;
First assignment unit 22, for currently whether there is the software of operation according to the operational order detection received, works as inspectionWhen measuring the software currently without operation, then the operation shape of first software or second software is write according to operational orderThe value for redirecting position of state mark.
Specifically, the present embodiment is mainly used in when the OBD joints do not run corresponding software, and the OBD connectsThe internal software for being available for running is presented to user and selected by head.Shown on the menu of mobile phone terminal and be currently available for selection fortuneCapable software, user needs the software run according to the current software selection that operation may be selected shown on menu.The present embodimentIllustrated so that the diagnostic software in the OBD joints includes the first software and the second software as an example, it is to be appreciated that describedSoftware of the 3rd software/the 4th etc. can also be included in OBD joints, specifically phase can be installed in OBD joints according to actual needsThe software answered.The selection that OBD joints receive user runs the first software or during the second software, according to the selection of user write-in theThe value for redirecting position of the running status mark of one software or the second software.In other embodiments, it is understood that be when usingWhen family does not select the software for needing to run, OBD joints will run the vehicle software of acquiescence.Or in other embodiments, OBDIt can voluntarily be selected to need what is run according to the current situation of vehicle after vehicle opens either OBD joints energization inside jointSoftware, OBD joints are received after the instruction for the runs software that internal system is sent, and run corresponding software.Do not do specific hereinLimitation.
The present embodiment is by detecting during the software currently without operation, and the OBD joints are available for the soft of operation by internalPart is presented to user and selected, and the OBD joints write redirecting for the running status of corresponding software according to the selection of user againThe value of position, it is achieved thereby that when OBD joints do not have runs software, user can be supplied to be selected the software for being available for operationSelect, and the corresponding software selected according to user goes to run the software.
Further, referring to Fig. 8, based on vehicle software running gear second embodiment of the present invention, in vehicle of the present inventionIn running software device 3rd embodiment, above-mentioned assignment module 20 includes:
Second receiving unit 211, the operational order for receiving switching software;
Second assignment unit 222, for the software currently run according to received operational order detection, when current fortuneWhen capable software is first software, then the value for redirecting position of the running status mark of second software is write;
When the software currently run is second software, then the jump of the running status mark of first software is writeThe value of indexing.
Specifically, in the present embodiment, user selects the software that switching is currently run by mobile phone terminal, such as by the first of operationSoftware exchange is the second software, when OBD tool joint monitors to the software currently run are the first software, and OBD joints are receivedThe value for redirecting position by the instruction that the first software exchange is the second software, then the second software of OBD joints write-in that client is issued,Further, OBD joints, which are read, redirects the value of position for the corresponding value of the second software, then is by the first software exchange currently runSecond software.Wherein, first software is Smartbox, and second software is J2534.The J2534 is international standardSoftware, the agreement that J2534 is supported include CAN (ISO11898, ISO15765, J1939), PWM/VPW (J1850), K/LLine (ISO9141, ISO14230, KWP2000), SCI (SAEJ2610) etc.;The Smartbox is the vehicle diagnosis of our companySoftware, supports the diagnosis of all types vehicle on the market, the agreement of support have CAN, PWM/VPW, K/L Line, SCI, RS485,The agreements such as CCD.
The present embodiment is by judging when the software currently run is the first software, then the OBD joints judge to be receivedTo operational order whether be switch Current software operational order;When the operational order refers to for the operation of switching Current softwareWhen making, then the OBD joints write the value for redirecting position of the running status mark of the second software.Realize what is issued according to userThe operational order of switching software switches the software currently run accordingly.
Further, referring to Fig. 9, based on vehicle software running gear 3rd embodiment of the present invention, in vehicle of the present inventionIn running software device fourth embodiment, the vehicle software running gear also includes:
Read module 11, the value of the upgrading position of the software of operation required for for reading;
Read module 12, whether the software of operation needs to rise required for for being judged according to the value of the upgrading position readLevel;
Read module 13, for when the software of required operation needs upgrading, then carrying out the software of required operationUpgrading.
Specifically, judge to need whether the software run needs upgrading to carry out using following two modes, the firstIt is first runs software, the message of renewal in need or upgrading software is detected in software running process, then points out user to beIt is no to need to upgrade or update;Second is first to judge whether software needs renewal before runs software, and described before can, can also to be that before OBD joints receive operational order, the software that can be upgraded itself is detected inside OBD jointsIt is after OBD joints receive corresponding operational order;If the software of operation needs upgrading required for before runs softwareThen first upgrade, rerun software after upgrading;Corresponding software is directly run if the software of required operation need not upgrade.
In the present embodiment, OBD joints can prejudge needs operation before confirming to need to run which softwareWhether software needs upgrading, or software is upgraded after operation corresponding software.Operation required for specifically judgingWhether software needs whether the method for upgrading is mainly to need upgrading by the value for the upgrading position for judging the software that the needs are runCorresponding value.For example, when needing from the first software exchange to the second software, OBD joints first inquire about the operation of the second softwareThe value of upgrading position in status indicator is how many, and the value that user can pre-set the upgrading position for needing to upgrade is how many, this implementationThe value that the upgrading position for needing to upgrade is set in example is 0, it is not necessary to which the value of the upgrading position of upgrading is 1.When OBD joints inquire needsWhen the upgrading position of second software of operation is 0, then the operation of response response is upgraded to the second software for needing to run, and is risenLevel after the value of the upgrading position of the second software is set to 0, so as to rerun next time the second software when without repeatedly upgrading.
Referring to Figure 11 and Figure 12, in the present embodiment, 1Byte running status marks are read in FLASH other information blockKnow, reserve 5 in 1Byte altogether, wherein the 3rd represents and which application program jumped to, whether second is represented upgradesFirst software, first represents the second software of whether upgrading.When it is 0 to read primary value, then the second software is switched to,So when running the second software, primary value is first read, if primary value is 1, then it represents that need not upgrade secondSoftware, if primary value is 0, then it represents that need the second software of upgrading;The second software will be run after second software upgrading.
In the present embodiment, by first judging whether the software needs upgrading before operation needs the software run, so thatIt is the software of latest edition to ensure the software used every time, improves the performance of software, and then optimizes to enter vehicleThe software environment of row monitoring.
Further, referring to Fig. 10, based on vehicle software running gear fourth embodiment of the present invention, in vehicle of the present inventionIn the embodiment of running software device the 5th, above-mentioned vehicle software running gear also includes:
Whether the first enquiry module 00, be connected for inquiring about with the client;
Second enquiry module 01, for when the client is connected with the OBD joints, then inquire about whether with it is describedThe account binding of client;
Second receiving module 02, for when the OBD joints are bound with the account of the client, then receiving describedThe operational order that client is sent.
In the present embodiment, user logs in APP accounts by client, after Account Logon success, and whether inquiry OBD jointsBe connected with client, when OBD joints and client are in the state being connected, then continue checking for User logs in account whether withOBD joints are bound, to ensure that the OBD joints of user's connection are OBD joints to one's name on vehicle, if not with OBD jointsThen prompting user first binds with OBD joints for binding;If bound with OBD joints, check whether network connection is normal.WhenOBD joints are bound with account, then OBD joints can normally receive client transmission.
Client and OBD joints are in the state being connected when can ensure that diagnosis using the method for the present embodiment, and due toUser logs in APP accounts are the states in binding with OBD joints, it is ensured that the OBD joints of user's connection select for oneselfIt is selecting with oneself vehicle match OBD joints, it is to avoid when client connects multiple OBD joints, pairing mistake and cause to missOther people vehicle is diagnosed.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hairEquivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.

Claims (10)

CN201710206473.0A2017-03-302017-03-30vehicle software operation method and devicePendingCN107154962A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710206473.0ACN107154962A (en)2017-03-302017-03-30vehicle software operation method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710206473.0ACN107154962A (en)2017-03-302017-03-30vehicle software operation method and device

Publications (1)

Publication NumberPublication Date
CN107154962Atrue CN107154962A (en)2017-09-12

Family

ID=59793076

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710206473.0APendingCN107154962A (en)2017-03-302017-03-30vehicle software operation method and device

Country Status (1)

CountryLink
CN (1)CN107154962A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110022241A (en)*2018-01-102019-07-16厦门雅迅网络股份有限公司The matching process and computer readable storage medium of onboard diagnostic system agreement
CN111157013A (en)*2020-01-062020-05-15北京小米移动软件有限公司 Navigation method, navigation device and storage medium
WO2021142822A1 (en)*2020-01-192021-07-22深圳市元征科技股份有限公司Vehicle diagnosis method, vehicle diagnosis device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080147245A1 (en)*2006-12-192008-06-19Skyway Systems, Inc.System and method for provisioning a vehicle interface module
CN104133467A (en)*2014-07-302014-11-05浪潮集团有限公司OBDS long-distance fault diagnosis and recovery system based on cloud computation
CN105283907A (en)*2013-06-192016-01-27罗伯特·博世有限公司 Modules and systems for vehicle diagnostics
CN106033587A (en)*2015-03-122016-10-19山东车润通讯科技有限公司Automobile after-sales market integration service system based on mobile internet and internet of things
CN106454697A (en)*2016-08-192017-02-22深圳市元征科技股份有限公司Bluetooth switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080147245A1 (en)*2006-12-192008-06-19Skyway Systems, Inc.System and method for provisioning a vehicle interface module
CN105283907A (en)*2013-06-192016-01-27罗伯特·博世有限公司 Modules and systems for vehicle diagnostics
CN104133467A (en)*2014-07-302014-11-05浪潮集团有限公司OBDS long-distance fault diagnosis and recovery system based on cloud computation
CN106033587A (en)*2015-03-122016-10-19山东车润通讯科技有限公司Automobile after-sales market integration service system based on mobile internet and internet of things
CN106454697A (en)*2016-08-192017-02-22深圳市元征科技股份有限公司Bluetooth switching method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110022241A (en)*2018-01-102019-07-16厦门雅迅网络股份有限公司The matching process and computer readable storage medium of onboard diagnostic system agreement
CN111157013A (en)*2020-01-062020-05-15北京小米移动软件有限公司 Navigation method, navigation device and storage medium
WO2021142822A1 (en)*2020-01-192021-07-22深圳市元征科技股份有限公司Vehicle diagnosis method, vehicle diagnosis device and storage medium

Similar Documents

PublicationPublication DateTitle
US12206818B2 (en)Automatically collected device problem information to route and guide users' requests
US8463946B2 (en)Method for automatic radio operational mode selection
EP3767406A1 (en)Controller area network and connectivity health troubleshooting system
RU2531564C2 (en)Driver's help
US10042635B2 (en)Method for wireless remote updating vehicle software
US9836300B2 (en)Method for updating vehicle ECUs using differential update packages
US6553292B2 (en)Device and method for performing remote diagnostics on vehicles
US20160364232A1 (en)Method for ota updating vehicle electronic control unit
US9585033B2 (en)System and method for enhanced diagnostics on mobile communication devices
CN109274807B (en)Test method, device and system
CN102346679A (en)Software supplying system used by vehicle information entertainment computer
CN105204457B (en)Realize method, vehicle, mobile terminal and the rescue service device of vehicle remote positioning rescue
KR20010103907A (en)Automotive self diagnostic System for using communication network
CN107154962A (en)vehicle software operation method and device
CN106126414A (en)Application software testing method and system
CN114257470A (en)Vehicle Bluetooth function test system and test method
KR101412289B1 (en)ECU management system and method
CN109062581A (en)Processing method, device and the equipment of the driver of terminal equipment side
US7603667B2 (en)Multi-download structure and method of mobile communication terminal
US8589023B2 (en)Method for checking the suitability of a mobile telephone
Mojahed et al.Odace: An appium-based testing automation platform for android mobile devices certification
KR100574538B1 (en)System and method for checking car's state using mobile
CN117951059A (en)Interface management method, device, vehicle communication interface and storage medium
CN120010881A (en) A flashing method for electronic control unit
KR100398656B1 (en)Method for diagnosing and controlling using internet in local control system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20170912


[8]ページ先頭

©2009-2025 Movatter.jp