[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114489009A - Configuration information writing method and device, electronic equipment and storage medium - Google Patents

Configuration information writing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114489009A
CN114489009A CN202210081881.9A CN202210081881A CN114489009A CN 114489009 A CN114489009 A CN 114489009A CN 202210081881 A CN202210081881 A CN 202210081881A CN 114489009 A CN114489009 A CN 114489009A
Authority
CN
China
Prior art keywords
configuration information
target vehicle
writing
target
diagnostic
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
CN202210081881.9A
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 Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202210081881.9A priority Critical patent/CN114489009A/en
Publication of CN114489009A publication Critical patent/CN114489009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of automotive electronics, and provides a method and a device for writing configuration information, electronic equipment and a storage medium, wherein the method comprises the following steps: scanning a configuration information two-dimensional code of a target vehicle; acquiring target configuration information based on the configuration information two-dimensional code; and writing the target configuration information into the target vehicle. Because the configuration information is not required to be manually input by a user in the writing process of the configuration information, the time and labor are saved, and the problems of time and labor waste and low efficiency caused by manual input of the configuration information can be solved.

Description

Configuration information writing method and device, electronic equipment and storage medium
Technical Field
The present application belongs to the field of automotive electronics technologies, and in particular, to a method and an apparatus for writing configuration information, an electronic device, and a storage medium.
Background
In the production process of vehicles, the conditions of high distribution, medium distribution and low distribution exist in the same type of vehicles, and the corresponding prices also have differences so as to position different sales groups. According to different vehicle configurations, vehicle configuration information needs to be written by using a diagnostic device during shipment or after-sales maintenance, so that the configuration information stored in an Electronic Control Unit (ECU) of a vehicle is consistent with the vehicle configuration information written by using the diagnostic device, and further, normal operation of other vehicle applications generated based on the configuration information is ensured.
However, the configuration information of the vehicles varies from vehicle to vehicle and varies in length. For short vehicle configuration information, when the vehicle configuration information is written, the vehicle configuration information is only required to be manually input on an APP interface of the diagnosis equipment, but for long vehicle configuration information, such as the vehicle configuration information is as long as more than 100 bytes, the manual input obviously takes time and labor, and the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a method and a device for writing configuration information, electronic equipment and a storage medium, and can solve the problem of low efficiency in writing configuration information.
In a first aspect, an embodiment of the present application provides a method for writing configuration information, which is applied to a diagnostic device, and includes:
scanning a configuration information two-dimensional code of a target vehicle;
acquiring target configuration information based on the configuration information two-dimensional code;
and writing the target configuration information into the target vehicle.
Optionally, after the writing the target configuration information into the target vehicle, the method further includes:
acquiring current configuration information of the target vehicle;
comparing the current configuration information with the target configuration information to obtain a comparison result;
and determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
Optionally, before the scanning the configuration information two-dimensional code of the target vehicle, the method further includes:
and converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
Optionally, before the scanning the configuration information two-dimensional code of the target vehicle, the method further includes:
acquiring a configuration information writing instruction;
and communicating with an Electronic Control Unit (ECU) of the target vehicle according to the configuration information writing instruction so that the ECU performs safety verification on the diagnostic equipment, and executing the step of scanning the configuration information two-dimensional code of the target vehicle after the safety verification is successful.
Optionally, before the instruction for obtaining write configuration information, the method further includes:
and establishing communication connection with the target vehicle.
Optionally, before the communication connection with the target vehicle is established, the method further includes:
determining diagnostic software matched with the model of the target vehicle;
correspondingly, the establishing of the communication connection with the target vehicle comprises:
and establishing communication connection with the target vehicle through the diagnostic software.
Optionally, before the communication connection with the target vehicle is established, the method further includes:
connecting the diagnostic equipment to an on-board diagnostic system (OBD) diagnostic seat of the target vehicle;
correspondingly, the establishing of the communication connection with the target vehicle through the diagnosis software comprises the following steps:
and the diagnostic software establishes communication connection with the ECU of the target vehicle through the OBD diagnostic seat.
In a second aspect, an embodiment of the present application provides a device for writing configuration information, which is applied to a diagnostic apparatus, and includes:
the scanning module is used for scanning the configuration information two-dimensional code of the target vehicle;
the first acquisition module is used for acquiring target configuration information based on the configuration information two-dimensional code;
and the information writing module is used for writing the target configuration information into the target vehicle.
Optionally, the apparatus for writing configuration information further includes:
the second acquisition module is used for acquiring the current configuration information of the target vehicle;
the information comparison module is used for comparing the current configuration information with the target configuration information to obtain a comparison result;
and the writing judgment module is used for determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
Optionally, the apparatus for writing configuration information further includes:
and the information conversion module is used for converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
Optionally, the apparatus for writing configuration information further includes:
the third acquisition module is used for acquiring the configuration information writing instruction;
and the verification module is used for communicating with an Electronic Control Unit (ECU) of the target vehicle according to the configuration information writing instruction so that the ECU performs safety verification on the diagnostic equipment, and after the safety verification is successful, the step of scanning the configuration information two-dimensional code of the target vehicle is executed.
Optionally, the apparatus for writing configuration information further includes:
and the first connection module is used for establishing communication connection with the target vehicle.
Optionally, the apparatus for writing configuration information further includes:
the software determination module is used for determining diagnostic software matched with the type of the target vehicle;
correspondingly, the first connection module comprises:
and the connecting unit is used for establishing communication connection with the target vehicle through the diagnosis software.
Optionally, the apparatus for writing configuration information further includes:
the second connecting module is used for connecting the diagnostic equipment with an on-board diagnostic system (OBD) diagnostic seat of the target vehicle;
correspondingly, the connection unit comprises:
and the connection subunit is used for establishing communication connection between the diagnostic software and the ECU of the target vehicle through the OBD diagnostic seat.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for writing configuration information according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for writing configuration information according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on an electronic device, causes the electronic device to perform the steps of the method for writing configuration information according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: after the configuration information two-dimensional code of the target vehicle is scanned, the target configuration information is obtained based on the configuration information two-dimensional code, and then the target configuration information is written into the target vehicle. Because the configuration information is not required to be manually input by a user in the writing process of the configuration information, the time and labor are saved, and the problems of time and labor waste and low efficiency caused by manual input of the configuration information can be solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a method for writing configuration information according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for writing configuration information according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Fig. 1 shows a flowchart of a writing method of configuration information provided in an embodiment of the present application, which can be applied to a diagnostic apparatus, and the method includes steps S110 to S130. The specific realization principle of each step is as follows:
and S110, scanning the configuration information two-dimensional code of the target vehicle.
In some embodiments, the diagnostic device is provided with a camera, and the camera of the diagnostic device can scan the two-dimensional code of the configuration information of the target vehicle, so as to obtain the two-dimensional code of the configuration information of the target vehicle.
And S120, acquiring target configuration information based on the configuration information two-dimensional code.
In some embodiments, the diagnostic device may obtain the target configuration information of the target vehicle based on the scanned configuration information two-dimensional code. Wherein the target configuration information is a string of characters.
The configuration information two-dimensional code is generated according to target configuration information, the length of the target configuration information can be determined according to requirements, and the length of character strings in the target configuration information is different for different vehicle types.
Specifically, the character string may be a string of 16-ary code with variable length, the short character string may be 2 bytes long, and the long character string may be more than 100 bytes long, for example: 0102034A 5B6C … ….
It should be noted that the character string may also be other binary codes, such as binary codes, octal codes, etc., and is not limited herein.
S130, writing the target configuration information into the target vehicle.
In some embodiments, the diagnostic device may send a diagnostic command to an Electronic Control Unit (ECU) of the target vehicle, and write target configuration information carried in the diagnostic command into the ECU of the target vehicle.
Specifically, the diagnostic device may assign the target configuration information to a diagnostic command and send the diagnostic command to the ECU of the target vehicle.
The diagnostic command may include the length of the diagnostic command, the ECU writing a character string to the designated can id, and the written character string.
For example, the diagnostic command sent by the diagnostic device to the ECU is: 072E 611A 2B 3C 4D 5E. Where 07 represents the length of the diagnostic command, 2E 61 represents writing of a character string to the ECU whose can id is 2E 61, and 1 A2B 3C 4D 5E represents a character string written in the ECU.
It should be understood that, in the steps S110 to S130, after the two-dimensional code of the configuration information of the target vehicle is scanned, the target configuration information is obtained based on the two-dimensional code of the configuration information, and then the target configuration information is written into the target vehicle. Because the configuration information is not required to be manually input by a user in the writing process of the configuration information, the time and labor are saved, and the problems of time and labor waste and low efficiency caused by manual input of the configuration information can be solved.
In some embodiments, on the basis of the above-mentioned embodiment of the method for writing configuration information shown in fig. 1, after the writing of the target configuration information into the target vehicle, the method may further include the following steps:
and 11, acquiring the current configuration information of the target vehicle.
And step 12, comparing the current configuration information with the target configuration information to obtain a comparison result.
And step 13, determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
In some embodiments, the diagnostic device may first obtain current configuration information of the target vehicle, where the current configuration information may be a string of character strings, compare the obtained current configuration information with the target configuration information obtained in step S120, and if the obtained current configuration information is consistent with the target configuration information obtained in step S120, indicate that the diagnostic device successfully writes the target configuration information into the target vehicle; otherwise, a write failure is indicated.
Specifically, the diagnostic device may read the current configuration information of the target vehicle through the diagnostic command.
The diagnosis command may include the length of the diagnosis command and the can id of the ECU storing the current configuration information.
For example, the diagnostic command may be: 022261. where 02 represents the length of the diagnostic command and 2261 represents the reading of the current configuration information from the ECU with can id 2261.
If the reading is successful, the ECU can reply a diagnosis command to the diagnosis equipment: 0762611A 2B 3C 4D 5E. Where 07 represents the length of the string, 6261 represents the read success, and 1 A2B 3C 4D 5E represents the read configuration information.
It should be understood that, in the above steps 11 to 13, the obtained current configuration information may be compared with the written target configuration information to determine whether the target configuration information is successfully written into the target vehicle, so as to prompt the user whether the writing is successful or not, thereby improving the user experience.
In some embodiments, on the basis of the above-mentioned embodiment of the writing method of the configuration information shown in fig. 1, before the step S110 of scanning the two-dimensional code of the configuration information of the target vehicle, the following steps may be further included:
and 21, converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
In some embodiments, the target configuration information of the target vehicle may be converted into the configuration information two-dimensional code in advance, so that the diagnostic device can scan the configuration information two-dimensional code and write the target configuration information into the target vehicle according to the configuration information two-dimensional code.
The length of the target configuration information can be determined according to requirements, and the length of the character strings in the target configuration information is different for different vehicle types. The string may be a string of 16-ary code of varying length, with short strings of 2 bytes and long strings of more than 100 bytes.
Specifically, the target configuration information of the target vehicle may be converted into the configuration information two-dimensional code by a two-dimensional code generation tool. The target configuration information of the target vehicle can also be converted into the configuration information two-dimensional code on line through a specified website, such as https:// www.chitus.com/create/.
In some embodiments, on the basis of the above-mentioned embodiment of the writing method of the configuration information shown in fig. 1, before the scanning of the two-dimensional code of the configuration information of the target vehicle in S110, the following steps may be further performed:
and step 31, acquiring a configuration information writing instruction.
And step 32, communicating with the ECU of the target vehicle according to the configuration information writing instruction so that the ECU can perform safety verification on the diagnostic equipment, and executing the step of scanning the configuration information two-dimensional code of the target vehicle after the safety verification is successful.
In some embodiments, a user may click a write configuration information function button on the diagnostic device to generate a write configuration information instruction, after the diagnostic device obtains the write configuration information instruction, the diagnostic device may communicate with an ECU of a target vehicle according to the write configuration instruction, so that the ECU performs security verification on the diagnostic device, and after the security verification is successful, a step of scanning a two-dimensional code of configuration information of the target vehicle may be performed, and a next write operation may be continued.
Wherein the diagnostic device may send a diagnostic command 022701/02 to the designated ECU of the target vehicle, and after the security verification is successful, the ECU may reply 026702 to the diagnostic device.
Where 02 is the length of the command, 2701 represents the can id of the designated ECU, and 6702 represents the security verification success.
It should be understood that, in the above steps 31 to 33, before the configuration information is written, the ECU of the target vehicle may perform security verification on the diagnostic device, and after the security verification is successful, the operation of writing the target configuration information into the target vehicle may be performed, so that the security level may be improved, and an illegal user may be prevented from writing the configuration information into the target vehicle.
Optionally, before the instruction of obtaining write configuration information in step 31, the method may further include the following steps:
and step 41, establishing communication connection with the target vehicle.
Before establishing a communication connection with the target vehicle in step 41, the following steps may be further included:
step 51, determining diagnosis software matched with the type of the target vehicle;
correspondingly, the establishing of the communication connection with the target vehicle can be realized by the following steps:
and establishing communication connection with the target vehicle through the diagnosis software.
Optionally, before the communication connection with the target vehicle is established, the following steps may be further included:
connecting the Diagnostic device to an On-Board Diagnostic (OBD) Diagnostic dock of the target vehicle;
correspondingly, the communication connection is established between the diagnosis software and the target vehicle, and the method can be realized by the following steps:
and the diagnostic software establishes communication connection with an Electronic Control Unit (ECU) of the target vehicle through the OBD diagnostic seat.
Specifically, can be earlier with diagnostic equipment connect the OBD diagnosis seat of target vehicle, the APP of rerunning selects the diagnostic software that matches with the motorcycle type of target vehicle through this APP, then diagnostic equipment's diagnostic software can be through the ECU establishment communication connection of above-mentioned OBD diagnosis seat with the target vehicle.
Specifically, the diagnostic device may send command 021003 to the designated ECU, which upon receipt, may reply 025003 to the diagnostic device.
In the automobile communication protocol, 02 represents the character length of the command, 1003 represents the can id of the designated ECU for establishing communication, and 5003 replied by the ECU represents the success of communication.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the above-mentioned writing method of configuration information shown in fig. 1, fig. 2 shows a configuration information writing apparatus M100 provided in an embodiment of the present application, applied to a diagnostic device, and including:
the scanning module M110 is used for scanning the configuration information two-dimensional code of the target vehicle;
a first obtaining module M120, configured to obtain target configuration information based on the configuration information two-dimensional code;
an information writing module M130, configured to write the target configuration information into the target vehicle.
Optionally, the apparatus for writing configuration information M100 further includes:
the second acquisition module is used for acquiring the current configuration information of the target vehicle;
the information comparison module is used for comparing the current configuration information with the target configuration information to obtain a comparison result;
and the writing judgment module is used for determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
Optionally, the apparatus for writing configuration information M100 further includes:
and the information conversion module is used for converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
Optionally, the apparatus for writing configuration information M100 further includes:
the third acquisition module is used for acquiring the configuration information writing instruction;
and the verification module is used for communicating with an Electronic Control Unit (ECU) of the target vehicle according to the configuration information writing instruction so that the ECU performs safety verification on the diagnostic equipment, and after the safety verification is successful, the step of scanning the configuration information two-dimensional code of the target vehicle is executed.
Optionally, the apparatus for writing configuration information M100 further includes:
and the first connection module is used for establishing communication connection with the target vehicle.
Optionally, the apparatus for writing configuration information M100 further includes:
the software determination module is used for determining diagnostic software matched with the type of the target vehicle;
correspondingly, the first connection module comprises:
and the connecting unit is used for establishing communication connection with the target vehicle through the diagnosis software.
Optionally, the apparatus for writing configuration information M100 further includes:
the second connecting module is used for connecting the diagnostic equipment with an on-board diagnostic system (OBD) diagnostic seat of the target vehicle;
correspondingly, the connection unit comprises:
and the connection subunit is used for establishing communication connection between the diagnostic software and the ECU of the target vehicle through the OBD diagnostic seat.
It is understood that various embodiments and combinations of the embodiments in the above embodiments and their advantages are also applicable to this embodiment, and are not described herein again.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 3, the electronic device D10 of this embodiment includes: at least one processor D100 (only one is shown in fig. 3), a memory D101, and a computer program D102 stored in the memory D101 and operable on the at least one processor D100, wherein the processor D100 implements the steps of any of the various method embodiments described above when executing the computer program D102. Alternatively, the processor D100, when executing the computer program D102, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules M110 to M130 shown in fig. 2.
In some embodiments, the processor D100, when executing the computer program D102, performs the following steps:
scanning a configuration information two-dimensional code of a target vehicle;
acquiring target configuration information based on the configuration information two-dimensional code;
and writing the target configuration information into the target vehicle.
Optionally, when the processor D100 executes the computer program D102, after the writing of the target configuration information into the target vehicle is implemented, the following steps may also be implemented:
acquiring current configuration information of the target vehicle;
comparing the current configuration information with the target configuration information to obtain a comparison result;
and determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
Optionally, when the processor D100 executes the computer program D102, before the scanning of the two-dimensional code of the configuration information of the target vehicle is implemented, the following steps may also be implemented:
and converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
Optionally, when the processor D100 executes the computer program D102, before the scanning of the two-dimensional code of the configuration information of the target vehicle is implemented, the following steps may also be implemented:
acquiring a configuration information writing instruction;
and communicating with an Electronic Control Unit (ECU) of the target vehicle according to the configuration information writing instruction so that the ECU performs safety verification on the diagnostic equipment, and executing the step of scanning the configuration information two-dimensional code of the target vehicle after the safety verification is successful.
Optionally, when the processor D100 executes the computer program D102, before implementing the instruction for obtaining write configuration information, the following steps may also be implemented:
and establishing communication connection with the target vehicle.
Optionally, when the processor D100 executes the computer program D102, before the establishing of the communication connection with the target vehicle is implemented, the following steps may also be implemented:
determining diagnostic software matched with the model of the target vehicle;
correspondingly, when the processor D100 executes the computer program D102, when the communication connection with the target vehicle is established, the following steps may be performed:
and establishing communication connection with the target vehicle through the diagnosis software.
Optionally, when the processor D100 executes the computer program D102, before the establishing of the communication connection with the target vehicle is implemented, the following steps may also be implemented:
connecting the diagnostic equipment to an on-board diagnostic system (OBD) diagnostic seat of the target vehicle;
correspondingly, when the processor D100 executes the computer program D102, and when the communication connection with the target vehicle is established through the diagnostic software, the following steps may be implemented:
and the diagnostic software establishes communication connection with an Electronic Control Unit (ECU) of the target vehicle through the OBD diagnostic seat.
The electronic device D10 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor D100, a memory D101. Those skilled in the art will appreciate that fig. 3 is merely an example of the electronic device D10 and does not constitute a limitation of the electronic device D10, and may include more or fewer components than those shown, or some components in combination, or different components, such as input output devices, network access devices, etc.
Processor D100 may be a Central Processing Unit (CPU), and Processor D100 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage D101 may be an internal storage unit of the electronic device D10 in some embodiments, such as a hard disk or a memory of the electronic device D10. In other embodiments, the memory D101 may also be an external storage device of the electronic device D10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device D10. Further, the memory D101 may also include both an internal storage unit and an external storage device of the electronic device D10. The memory D101 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory D101 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments may be implemented.
Embodiments of the present application provide a computer program product, which when executed on an electronic device, enables the electronic device to implement the steps in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for writing configuration information, which is applied to a diagnostic device, includes:
scanning a configuration information two-dimensional code of a target vehicle;
acquiring target configuration information based on the configuration information two-dimensional code;
and writing the target configuration information into the target vehicle.
2. The method of writing configuration information according to claim 1, further comprising, after said writing the target configuration information to the target vehicle:
acquiring current configuration information of the target vehicle;
comparing the current configuration information with the target configuration information to obtain a comparison result;
and determining whether the target configuration information is successfully written into the target vehicle according to the comparison result.
3. The method for writing configuration information according to claim 1, further comprising, before the scanning the configuration information two-dimensional code of the target vehicle:
and converting the target configuration information of the target vehicle into the configuration information two-dimensional code.
4. The method for writing configuration information according to claim 1, further comprising, before the scanning the configuration information two-dimensional code of the target vehicle:
acquiring a configuration information writing instruction;
and communicating with an Electronic Control Unit (ECU) of the target vehicle according to the configuration information writing instruction so that the ECU performs safety verification on the diagnostic equipment, and after the safety verification is successful, scanning the configuration information two-dimensional code of the target vehicle.
5. The method for writing configuration information according to claim 4, wherein before the instruction for obtaining write configuration information, the method further comprises:
and establishing communication connection with the target vehicle.
6. The method for writing configuration information according to claim 5, further comprising, before the establishing of the communication connection with the target vehicle:
determining diagnostic software matched with the model of the target vehicle;
correspondingly, the establishing of the communication connection with the target vehicle comprises:
and establishing communication connection with the target vehicle through the diagnosis software.
7. The method for writing configuration information according to claim 6, further comprising, before the establishing of the communication connection with the target vehicle:
connecting the diagnostic equipment to an on-board diagnostic system (OBD) diagnostic seat of the target vehicle;
correspondingly, the communication connection is established with the target vehicle through the diagnosis software, and the method comprises the following steps:
and the diagnostic software establishes communication connection with the ECU of the target vehicle through the OBD diagnostic seat.
8. An apparatus for writing configuration information, comprising:
the scanning module is used for scanning the configuration information two-dimensional code of the target vehicle;
the first acquisition module is used for acquiring target configuration information based on the configuration information two-dimensional code;
and the information writing module is used for writing the target configuration information into the target vehicle.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the writing method of the configuration information according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method of writing configuration information according to any one of claims 1 to 7.
CN202210081881.9A 2022-01-24 2022-01-24 Configuration information writing method and device, electronic equipment and storage medium Pending CN114489009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210081881.9A CN114489009A (en) 2022-01-24 2022-01-24 Configuration information writing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210081881.9A CN114489009A (en) 2022-01-24 2022-01-24 Configuration information writing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114489009A true CN114489009A (en) 2022-05-13

Family

ID=81475292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210081881.9A Pending CN114489009A (en) 2022-01-24 2022-01-24 Configuration information writing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114489009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115116169A (en) * 2022-08-29 2022-09-27 深圳市海清视讯科技有限公司 Device control method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150289301A1 (en) * 2013-11-14 2015-10-08 Shenzhen Skyworth Digital Technology Co., Ltd Terminal matching method, terminal and system
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method
CN109634990A (en) * 2018-11-27 2019-04-16 Oppo(重庆)智能科技有限公司 Information processing method and system, electronic equipment, computer readable storage medium
CN110588540A (en) * 2019-08-09 2019-12-20 深圳市元征科技股份有限公司 Writing method and device of vehicle configuration information
CN110727258A (en) * 2019-09-02 2020-01-24 深圳市元征科技股份有限公司 Vehicle controller configuration method and device, vehicle-mounted equipment and storage medium
CN112422390A (en) * 2020-11-24 2021-02-26 奇瑞汽车股份有限公司 System and method for acquiring vehicle information and automobile

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150289301A1 (en) * 2013-11-14 2015-10-08 Shenzhen Skyworth Digital Technology Co., Ltd Terminal matching method, terminal and system
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method
CN109634990A (en) * 2018-11-27 2019-04-16 Oppo(重庆)智能科技有限公司 Information processing method and system, electronic equipment, computer readable storage medium
CN110588540A (en) * 2019-08-09 2019-12-20 深圳市元征科技股份有限公司 Writing method and device of vehicle configuration information
CN110727258A (en) * 2019-09-02 2020-01-24 深圳市元征科技股份有限公司 Vehicle controller configuration method and device, vehicle-mounted equipment and storage medium
CN112422390A (en) * 2020-11-24 2021-02-26 奇瑞汽车股份有限公司 System and method for acquiring vehicle information and automobile

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115116169A (en) * 2022-08-29 2022-09-27 深圳市海清视讯科技有限公司 Device control method, device and storage medium

Similar Documents

Publication Publication Date Title
CN108803580B (en) Method for matching vehicle CAN protocol and related equipment
EP3573027A1 (en) Vehicle inspection method, user equipment, server, and vehicle inspection system
CN109814524B (en) Vehicle diagnosis method, device and system
CN113703868B (en) Vehicle diagnosis software configuration method, electronic device and readable storage medium
CN114077218B (en) Road data evaluation report generation method, device, equipment and storage medium
CN107438832B (en) Data refreshing method and device and computer readable storage medium
CN114489009A (en) Configuration information writing method and device, electronic equipment and storage medium
CN110189434B (en) Vehicle safety checking method and related equipment thereof
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN110830263A (en) Automatic login method and device for vehicle-mounted system
CN113985844A (en) ECU parameter configuration method and device, electronic equipment and storage medium
CN111417908A (en) ECU (electronic control Unit) recognizer, and recognition method, system, equipment and medium thereof
CN110466594B (en) Steering wheel position adjusting method and device and vehicle-mounted equipment
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN113978394A (en) Vehicle fault detection method and device, electronic equipment and storage medium
CN115376323B (en) Identification information input method and device for vehicle component and terminal equipment
CN113342430A (en) Fault code processing method and device, terminal equipment and readable storage medium
CN117608894B (en) Log storage method and device, computer equipment and storage medium
CN110599326A (en) Loan risk control method and device and terminal equipment
CN113986297A (en) Vehicle flashing method and device, electronic equipment and storage medium
CN113395327B (en) Data processing method, device, electronic equipment and medium
CN114189612B (en) Camera installation angle determining method and device and terminal equipment
CN114627573B (en) Remote diagnosis method, device, electronic equipment and storage medium
US20240211382A1 (en) Apparatus for and method of generating a test case for an advanced driver assistance system
CN111506477B (en) Log capture method and device of touch screen and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination