CN116382674A - Component configuration method and device of automobile diagnostic device, medium and electronic device - Google Patents
Component configuration method and device of automobile diagnostic device, medium and electronic device Download PDFInfo
- Publication number
- CN116382674A CN116382674A CN202310239582.8A CN202310239582A CN116382674A CN 116382674 A CN116382674 A CN 116382674A CN 202310239582 A CN202310239582 A CN 202310239582A CN 116382674 A CN116382674 A CN 116382674A
- Authority
- CN
- China
- Prior art keywords
- automobile
- functions
- functional components
- component
- diagnosis equipment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003745 diagnosis Methods 0.000 claims abstract description 120
- 230000006870 function Effects 0.000 claims abstract description 98
- 230000002159 abnormal effect Effects 0.000 claims abstract description 19
- 230000003993 interaction Effects 0.000 claims abstract description 9
- 230000002093 peripheral effect Effects 0.000 claims abstract description 9
- 238000012360 testing method Methods 0.000 claims description 23
- 238000004806 packaging method and process Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 12
- 238000002405 diagnostic procedure Methods 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 claims description 5
- 102100034112 Alkyldihydroxyacetonephosphate synthase, peroxisomal Human genes 0.000 claims description 4
- 101000799143 Homo sapiens Alkyldihydroxyacetonephosphate synthase, peroxisomal Proteins 0.000 claims description 4
- 238000000848 angular dependent Auger electron spectroscopy Methods 0.000 claims description 4
- 238000012669 compression test Methods 0.000 claims description 3
- 230000008439 repair process Effects 0.000 claims description 3
- 238000004088 simulation Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 8
- 230000005856 abnormality Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000013468 resource allocation Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
The invention relates to the technical field of automobile detection, in particular to a component configuration method, equipment, medium and electronic equipment of automobile diagnosis equipment, wherein the method comprises the following steps: setting a plurality of functions of the automobile diagnosis equipment, and generating codes required by the functions according to the set functions to form a plurality of functional components respectively; according to the functions required by the automobile diagnosis equipment, corresponding functional components are packaged and configured on the automobile diagnosis equipment through corresponding channels; wherein, each functional module on the automobile diagnosis equipment is mutually independent, and if intermodulation is required, interaction is realized through the peripheral interface. The invention provides a component configuration method, which respectively edits codes with different functions to form a plurality of functional components, wherein each functional component is not affected when being tested, abnormal or maintained, so that the code management is simple and efficient; and corresponding functions can be flexibly configured according to actual requirements, so that different requirements of different types of automobile diagnostic equipment in the market are met.
Description
The present application is a divisional application of an invention patent application of which the application date is 2022, 07, 19, application number is 2022108456411, and the invention is entitled "method, device, medium and electronic device for developing a module of an automobile diagnostic device".
Technical Field
The invention relates to the technical field of automobile detection, in particular to a component configuration method, equipment, medium and electronic equipment of automobile diagnosis equipment.
Background
The automobile diagnosis equipment is a special instrument specially aiming at automobile detection, can detect the performance of the automobile in real time and detect the failure of the automobile, and is a necessary tool for detecting the automobile. Nowadays, as automobile technology becomes more and more complex, functions of automobile diagnostic devices become more and more huge, management codes become more difficult, and it is difficult to satisfy market changes and product diversity.
The existing automobile diagnosis equipment generally adopts an integrated design, and in the automobile diagnosis process, multiple functions are required to be called, but the dependency among the functions is strong, and one application can be executed by calling each other, so that the diagnosis process is completed. If an error occurs in a certain function, the operation of the whole application is affected, which is very inconvenient in management.
Disclosure of Invention
In order to solve the defects of the automobile diagnosis equipment in the prior art, the invention provides a component configuration method of the automobile diagnosis equipment, which comprises the following steps:
step S100, determining a plurality of functions of the automobile diagnosis equipment, and generating codes required by the functions according to the determined functions so as to respectively form a plurality of functional components;
step S200, corresponding functional components are packed and configured on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; wherein, each functional component on the automobile diagnosis equipment is mutually independent, if the functional components need to mutually call data information, the related functional components are connected through the peripheral interfaces so as to realize data interaction;
step S300, after the configuration is completed, if the functions on the automobile diagnosis equipment are required to be added, the required functional components are packaged and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed.
In one embodiment, in step S200, the functional components are packaged, including the steps of:
packaging a resource file to generate a java file, wherein the resource file comprises code data required by functions; obtaining a corresponding cl ass file based on the search path of the java file under a preset directory; generating a dex file from the cl ass file, and packaging the dex file to obtain an APK file; and finally, signing the APK file, packaging the signed APK file, and configuring the APK file on automobile diagnosis equipment.
In one embodiment, in step S100, the set number of functions includes one or more of a full vehicle diagnostic function, a setup function, a programming function, a cylinder cut test function, a compression test function, a tire pressure test function, a multimeter test function, an ADAS test function, an oscilloscope test function, a battery pack test function, a maintenance aid function, and an online learning function.
In one embodiment, in step 300, further comprising:
counting the calling times of each functional component in the diagnosis process through the automobile diagnosis equipment;
automatically judging whether the occupied ratio of the residual space in the automobile diagnosis equipment is less than a preset value;
if the occupied ratio of the built-in residual space is less than the preset value, automatically deleting the functional components with calling times lower than the preset times so as to reserve at least one built-in space for the configuration of the new functional components.
In one embodiment, in step S300, if the automobile diagnostic device detects that the called functional component is abnormal during the diagnostic process, and thus cannot operate normally, an alarm signal is sent and a new functional component is configured in step S200, and if the new functional component can operate normally, the new functional component is reserved and the abnormal functional component is unloaded; or sending out an alarm signal and connecting with a second automobile diagnosis device with the functional component, sending the diagnosis signal to the second automobile diagnosis device, indirectly diagnosing by the second automobile diagnosis device and transmitting the diagnosed data back to the automobile diagnosis device.
In one embodiment, if the automobile diagnostic device detects that the called functional component is abnormal in the diagnostic process, the method comprises the following specific steps: the automobile diagnosis device is in communication connection with the server, and sends a request for reconfiguring the functional components to the server, the server confirms the identity, and a new functional component is sent to perform automatic configuration of step S200 or manual configuration.
In one embodiment, in step S300, if the automotive diagnostic device detects that the functional component diagnosis generates abnormal data, a preset simulation preset value is automatically input to the functional component to obtain an output result; if the output result is consistent with the expected diagnosis result, confirming the output result as abnormal data; if the output result is inconsistent with the expected diagnosis result, an alarm signal is sent to remind repair or upgrade.
The present invention also provides an automobile diagnostic apparatus comprising:
the component generating module is used for setting a plurality of functions of the automobile diagnosis equipment, and generating codes required by the functions according to the set functions so as to respectively form a plurality of functional components;
the component configuration module packages and configures corresponding functional components on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; wherein, each functional component on the automobile diagnosis equipment is mutually independent, and if intermodulation is needed, interaction is realized through a peripheral interface;
the module is added, if the functions of the automobile diagnosis equipment are required to be added, the required functional modules are packed and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed.
The present invention also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the component configuration method of an automobile diagnostic apparatus as described above.
The invention also provides an electronic device comprising at least one processor, and a memory communicatively coupled to the processor, wherein the memory stores instructions executable by the at least one processor to cause the processor to perform the method of configuring components of an automotive diagnostic device as described above.
Based on the above, compared with the prior art, the component configuration method of the automobile diagnostic equipment provided by the invention respectively edits codes of different functions to form a plurality of functional components, and each functional component is not affected when testing, abnormality or maintenance occurs, so that the code management is simple and efficient; and corresponding functions can be flexibly configured according to actual requirements, so that different requirements of different types of automobile diagnostic equipment in the market are met.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
For a clearer description of embodiments of the invention or of the solutions of the prior art, the drawings that are needed in the description of the embodiments or of the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention, and that other drawings can be obtained from them without inventive effort for a person skilled in the art; the positional relationships described in the drawings in the following description are based on the orientation of the elements shown in the drawings unless otherwise specified.
FIG. 1 is a diagram of call relationships among modules in the prior art;
FIG. 2 is a flow chart of a method for configuring components of an automotive diagnostic apparatus provided by the present invention;
FIG. 3 is a schematic diagram of the structure of the diagnostic device for an automobile provided by the invention;
fig. 4 is a schematic structural diagram of a computer device according to the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention; the technical features designed in the different embodiments of the invention described below can be combined with each other as long as they do not conflict with each other; all other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that all terms used in the present invention (including technical terms and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs and are not to be construed as limiting the present invention; it will be further understood that terms used herein should be interpreted as having a meaning that is consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
At present, in the diagnosis process of the automobile diagnosis equipment, various functions are required to be called to execute tasks, but the dependency among the functions is strong, and one application is often required to be executed by mutual calling to complete the diagnosis process. For example, as shown in fig. 1, in the prior art, the automobile diagnostic device is divided into a tire pressure detecting module, a whole automobile diagnostic module, a battery pack detecting module, a multimeter module and the like according to functions, but in the actual application process, the code composition among the modules is integrated, and when a certain function is applied, the codes of other modules are often required to be called mutually by means of Java language, so that the purpose of diagnosis is achieved. The method has the problem that if an error occurs in a certain function, the operation of the whole application is affected, and the code management is very inconvenient.
In view of the above problems, referring to fig. 2, the present invention provides a method for configuring components of an automotive diagnostic apparatus, comprising the following steps:
step S100, determining a plurality of functions of the automobile diagnosis equipment, and generating codes required by the functions according to the determined functions so as to respectively form a plurality of functional components;
step S200, corresponding functional components are packed and configured on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; if the functional components need to call data information mutually, the related functional components are connected through a peripheral interface to realize data interaction.
In the implementation, if the diagnostic device needs to implement a certain function, and only the a component can implement the function, the function can be implemented by calling the component, and other B components or C components do not need to be called. Therefore, the mutual independence of the functional components is ensured, and even if one component has a problem, the other components can work normally, so that the management is convenient.
In addition, if interaction between the components is required to be triggered, the interaction between the data can be realized through the peripheral interface according to actual requirements. Specifically, if a certain diagnostic device has a tire pressure functional component and a login functional component, if the tire pressure functional component needs to acquire information about whether a user logs in, the login functional component needs to externally expose an interface for acquiring login information, and the tire pressure functional component is connected with the interface to acquire the login information. If a certain functional component wants to acquire the voltage value of the automobile under diagnosis, the voltage value of the automobile can be acquired through an interface of the peripheral equipment.
Step S300, if the functions on the automobile diagnosis equipment are required to be added after the configuration is finished, the required functional components are packaged and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed. The device can adapt to the requirements of different periods, different vehicles and different users on functions, and effectively improves the practicability and the universality of the automobile diagnosis equipment.
Preferably, the automobile diagnosis device is further provided with a control module, and the control module can control all functional components so as to facilitate management. For example, the functions of updating, repairing, overhauling, replacing, adding, activating and the like of each functional component are realized.
Preferably, in step S200, the functional components are packaged, including the steps of:
packaging a resource file to generate a java file, wherein the resource file comprises code data required by functions; obtaining a corresponding cl ass file based on the search path of the java file under a preset directory; generating a dex file from the cl ass file, and packaging the dex file to obtain an APK file; and finally, signing the APK file, packaging the signed APK file, and configuring the APK file on automobile diagnosis equipment.
Preferably, in step S100, the set several functions include one or more of a full vehicle diagnosis function, a setting function, a programming function, a cylinder cut-off test function, a compression test function, a tire pressure test function, a multimeter test function, an ADAS test function, an oscilloscope test function, a battery pack test function, a maintenance aid function, and an online learning function.
Of course, according to the requirements of the actual vehicle functions, other functional modules can be set, and corresponding codes can be edited according to the functions of the functional modules to form a complete functional assembly.
The diagnosis equipment A only needs to package the ADAS component, the tire pressure functional component and the universal meter functional component, and the diagnosis equipment B only needs to package the tire pressure functional component and the universal meter functional component, and the unused functional components do not need to participate in packaging, so that equipment with different functions is formed by packaging the functional components required by different diagnosis equipment, the memory space can be reduced, the smooth operation of the equipment can be ensured, different requirements of the market can be met, and new products can be rapidly developed in a short time.
As a preferable scheme, the invention can sort the functional components according to the sequence of functional tests in the actual automobile diagnosis process aiming at the problem of insufficient resource allocation of the actual automobile diagnosis equipment. When testing is carried out, the functional components which are tested in advance are activated first, the rest functional components are in a dormant state, after the functional components are diagnosed, the second functional component is activated and the first functional component is dormant, and so on. And finally, uniformly outputting the diagnosis data of all the functional components. By the arrangement, resource allocation can be greatly saved, and diagnosis and operation efficiency among components can be effectively improved.
Preferably, in step S300, the method further includes counting the number of calls of each functional component in the diagnosis process by the automobile diagnosis device;
automatically judging whether the occupied ratio of the residual space in the automobile diagnosis equipment is less than a preset value;
if the occupied ratio of the built-in residual space is less than the preset value, automatically deleting the functional components with calling times lower than the preset times so as to reserve at least one built-in space for the configuration of the new functional components.
Specifically, the preset value is set according to the occupied space of the actual functional component and the space of the related automobile diagnostic device, and the preset number of times can be set according to the built-in space of the actual automobile diagnostic device, without limitation. The deletion setting mode meeting certain conditions can effectively solve the problem, and realize diversified management on functions of the automobile diagnosis equipment.
In this embodiment, in order to solve the problem that the automobile diagnostic device finds that the functional component is abnormal in the diagnostic process and needs the diagnostic data of the functional component, the software of the automobile diagnostic device is set, when the automobile diagnostic device detects that the called functional component is abnormal in the diagnostic process and cannot normally run, the automobile diagnostic device sends out an alarm signal and configures a new functional component by adopting the step S200, and if the new functional component can normally run, the new functional component is reserved and the abnormal functional component is unloaded; specifically, when an abnormality in a functional component is detected, the device may be communicatively connected to a server, a request to reconfigure the functional component is issued to the server, the identity is confirmed by the server, and a new functional component is sent to perform automatic configuration, or the functional component is manually configured.
Or after the equipment finds that the called functional component is abnormal, sending an alarm signal and connecting the alarm signal with another second automobile diagnosis equipment with the functional component, sending the diagnosis signal to the second automobile diagnosis equipment, indirectly diagnosing the functional component by the second automobile diagnosis equipment, and transmitting the diagnosed data back to the automobile diagnosis equipment. After sending out the alarm signal, the user can connect another second automobile diagnosis device with the functional component manually on site, or can send a request to connect a remote second automobile diagnosis device to the server, and the relevant functional component of the second automobile diagnosis device is utilized to carry out corresponding remote indirect diagnosis, and then diagnostic data is transmitted back to the original automobile diagnosis device through the server.
Preferably, the alarm signal can adopt the mode of displaying characters or patterns on a display screen, broadcasting voice and lighting an indicator lamp to alarm.
Aiming at the problem that the automobile diagnosis equipment detects that abnormal data is generated by diagnosis of a certain component in the diagnosis process, but can not judge whether the abnormal data is generated by automobile faults or faults of the functional component, the method solves the problem in the embodiment of the invention by automatically inputting a preset simulation preset value to the functional component to obtain an output result if the automobile diagnosis equipment detects that the abnormal data is generated by diagnosis of the functional component; if the output result is consistent with the expected diagnosis result, confirming the output result as abnormal data; if the output result is inconsistent with the expected diagnosis result, an alarm signal is sent to remind repair or upgrade.
Referring to fig. 3, the present invention further provides an automobile diagnosis apparatus, including:
the component generating module is used for determining a plurality of functions of the automobile diagnosis equipment and generating codes required by the functions according to the determined functions so as to respectively form a plurality of functional components;
the component configuration module packages and configures corresponding functional components on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; wherein, each functional component on the automobile diagnosis equipment is mutually independent, if the functional components need to mutually call data information, the related functional components are connected through the peripheral interfaces so as to realize data interaction;
the module is added, if the functions of the automobile diagnosis equipment are required to be added, the required functional modules are packed and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed.
The present invention also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the component configuration method of an automobile diagnostic apparatus as described above.
In practice, the computer readable storage medium is a magnetic disk, an optical disk, a Read-On/y Memory (ROM), a random access Memory (Random Access Memory, RAM), a flash Memory (F/ash Memory), a hard disk (Hard Di sk Dr i ve, abbreviated to HDD), a solid State disk (So/i d-State Dr/i ve, SSD), or the like; the computer readable storage medium may also include a combination of the above types of memory.
The present invention also provides an electronic device, as shown in fig. 4, comprising at least one processor, and a memory communicatively coupled to the processor, wherein the memory stores instructions executable by the at least one processor to cause the processor to perform the method of configuring components of an automotive diagnostic device as described above.
In particular, the number of processors may be one or more, and the processors may be central processing units (Centra l Process i ng Un it, CPU). The processor may also be other general purpose processors, digital signal processors (D I gita l Si gna l Processor, DSP), application specific integrated circuits (App l I cat I on Spec I F I C I ntegrated C I rcu it, AS ic), field programmable gate arrays (F I e l d-Programmab l e Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory and the processor may be communicatively connected via a bus or other means, and the memory stores instructions executable by the at least one processor to cause the processor to perform the component configuration method of the automotive diagnostic device as described in the above embodiments.
In summary, compared with the prior art, the component configuration method, the device, the medium and the electronic device of the automobile diagnosis device provided by the invention have the following advantages:
1. the functional components based on the componentization do not need to worry about influencing other functional components when modifying or optimizing a certain functional component, the code classification of each functional component is clear, the whole body can not be pulled, and the code management is simple and efficient;
2. each functional component is independent, for testing, products can be tested rapidly, only the modified functional component is required to be tested, and the testing efficiency is improved greatly without the need of full-component testing;
3. when an abnormality occurs in a certain functional component, the product with the functional component can be rapidly tested and brought on line only by modifying the current functional component, so that the maintenance efficiency is improved.
In addition, it should be understood by those skilled in the art that although many problems exist in the prior art, each embodiment or technical solution of the present invention may be modified in only one or several respects, without having to solve all technical problems listed in the prior art or the background art at the same time. Those skilled in the art will understand that nothing in one claim should be taken as a limitation on that claim.
Although terms such as functional components, packaging, automotive diagnostic equipment, etc. are used more herein, the possibility of using other terms is not precluded. These terms are used merely for convenience in describing and explaining the nature of the invention; they are to be interpreted as any additional limitation that is not inconsistent with the spirit of the present invention; the terms first, second, and the like in the description and in the claims of embodiments of the invention and in the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (10)
1. A component configuration method of an automobile diagnostic apparatus, comprising the steps of:
step S100, determining a plurality of functions required by the automobile diagnosis equipment, and generating codes required by the functions according to the determined functions so as to respectively form a plurality of functional components;
step S200, corresponding functional components are packed and configured on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; wherein, each functional component on the automobile diagnosis equipment is mutually independent, if the functional components need to mutually call data information, the related functional components are connected through the peripheral interfaces so as to realize data interaction;
step S300, after the configuration is completed, if the functions on the automobile diagnosis equipment are required to be added, the required functional components are packaged and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed.
2. The component configuration method of an automobile diagnostic apparatus according to claim 1, characterized in that: in step S200, the functional components are packaged, including the steps of:
packaging a resource file to generate a java file, wherein the resource file comprises code data required by functions; obtaining a corresponding class file based on the search path of the java file under a preset directory; generating a dex file from the class file, and packaging the dex file to obtain an APK file; and finally, signing the APK file, packaging the signed APK file, and configuring the APK file on automobile diagnosis equipment.
3. The component configuration method of an automobile diagnostic apparatus according to claim 1, characterized in that: in step S100, the determined several functions include one or more of a full vehicle diagnosis function, a setup function, a programming function, a cylinder cut-off test function, a compression test function, a tire pressure test function, a multimeter test function, an ADAS test function, an oscilloscope test function, a battery pack test function, a maintenance aid function, an online learning function.
4. The component configuration method of an automobile diagnostic apparatus according to claim 1, characterized in that: in step S300, further comprising:
counting the calling times of each functional component in the diagnosis process through the automobile diagnosis equipment;
automatically judging whether the occupied ratio of the residual space in the automobile diagnosis equipment is less than a preset value;
if the occupied ratio of the built-in residual space is less than the preset value, automatically deleting the functional components with calling times lower than the preset times so as to reserve at least one built-in space for the configuration of the new functional components.
5. The component configuration method of an automobile diagnostic apparatus according to claim 1, characterized in that: in step S300, if the automobile diagnostic device detects that the called functional component is abnormal in the diagnostic process, and thus cannot operate normally, an alarm signal is sent out, and a new functional component is configured in step S200, and if the new functional component can operate normally, the new functional component is reserved and the abnormal functional component is unloaded;
or sending out an alarm signal and connecting with a second automobile diagnosis device with the functional component, sending the diagnosis signal to the second automobile diagnosis device, indirectly diagnosing by the second automobile diagnosis device and transmitting the diagnosed data back to the automobile diagnosis device.
6. The component configuration method of an automobile diagnostic apparatus according to claim 5, characterized in that: if the automobile diagnosis equipment detects that the called functional component is abnormal in the diagnosis process and cannot normally operate, the method further comprises the steps of: the automobile diagnosis device is in communication connection with the server, and sends a request for reconfiguring the functional components to the server, the server confirms the identity, and a new functional component is sent to perform automatic configuration of step S200 or manual configuration.
7. The component configuration method of an automobile diagnostic apparatus according to claim 1, characterized in that: in step S300, if the automobile diagnostic device detects that abnormal data is generated by diagnosing a functional component, a preset simulation preset value is automatically input to the functional component to obtain an output result; if the output result is consistent with the expected diagnosis result, confirming the output result as abnormal data; if the output result is inconsistent with the expected diagnosis result, an alarm signal is sent to remind repair or upgrade.
8. An automotive diagnostic apparatus, characterized by comprising:
the component generating module is used for determining a plurality of functions of the automobile diagnosis equipment and generating codes required by the functions according to the determined functions so as to respectively form a plurality of functional components;
the component configuration module packages and configures corresponding functional components on the automobile diagnosis equipment through corresponding channels according to functions required by the automobile diagnosis equipment; wherein, each functional component on the automobile diagnosis equipment is mutually independent, if the functional components need to mutually call data information, the related functional components are connected through the peripheral interfaces so as to realize data interaction;
the module is added, if the functions of the automobile diagnosis equipment are required to be added, the required functional modules are packed and configured on the automobile diagnosis equipment; or, the functional components are built in the automobile diagnosis equipment in advance but are not activated, and the hidden functional components are activated through the background interface when needed.
9. A computer-readable storage medium, characterized by: the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the component configuration method of the automobile diagnostic apparatus according to any one of claims 1 to 7.
10. An electronic device, characterized in that: comprising at least one processor, and a memory communicatively connected to the processor, wherein the memory stores instructions executable by the at least one processor to cause the processor to perform the component configuration method of the automotive diagnostic device of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310239582.8A CN116382674A (en) | 2022-07-19 | 2022-07-19 | Component configuration method and device of automobile diagnostic device, medium and electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210845641.1A CN114995792B (en) | 2022-07-19 | 2022-07-19 | Modularized development method, device, medium and electronic device of automobile diagnosis device |
CN202310239582.8A CN116382674A (en) | 2022-07-19 | 2022-07-19 | Component configuration method and device of automobile diagnostic device, medium and electronic device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210845641.1A Division CN114995792B (en) | 2022-07-19 | 2022-07-19 | Modularized development method, device, medium and electronic device of automobile diagnosis device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116382674A true CN116382674A (en) | 2023-07-04 |
Family
ID=83021288
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310239582.8A Pending CN116382674A (en) | 2022-07-19 | 2022-07-19 | Component configuration method and device of automobile diagnostic device, medium and electronic device |
CN202210845641.1A Active CN114995792B (en) | 2022-07-19 | 2022-07-19 | Modularized development method, device, medium and electronic device of automobile diagnosis device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210845641.1A Active CN114995792B (en) | 2022-07-19 | 2022-07-19 | Modularized development method, device, medium and electronic device of automobile diagnosis device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN116382674A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117632620B (en) * | 2024-01-26 | 2024-03-29 | 中国人民解放军军事科学院系统工程研究院 | Management method and device for software radio equipment test |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107329788A (en) * | 2017-06-29 | 2017-11-07 | 广州优视网络科技有限公司 | application program loading method, device and user terminal |
CN108762730A (en) * | 2018-05-18 | 2018-11-06 | 上海旺谷计算机科技有限公司 | Software module standardizes development approach and software system development method |
CN109375903A (en) * | 2018-09-25 | 2019-02-22 | 湖南理工学院 | SCA waveform components construction method, device, computer equipment and storage medium |
CN109656528A (en) * | 2018-10-29 | 2019-04-19 | 中国航空无线电电子研究所 | Measured modularization software development methodology |
CN110399119A (en) * | 2019-06-18 | 2019-11-01 | 五八有限公司 | A kind of modularization construction method, device, electronic equipment and storage medium |
CN111596969B (en) * | 2020-05-09 | 2022-11-25 | 中国电子科技集团公司第二十八研究所 | Software architecture method based on microkernel plus plug-in mode |
CN112015404A (en) * | 2020-08-27 | 2020-12-01 | 深圳开立生物医疗科技股份有限公司 | Ultrasonic image diagnosis system, construction method thereof, ultrasonic device and storage medium |
CN113656001A (en) * | 2021-08-24 | 2021-11-16 | 上海喜马拉雅科技有限公司 | Platform component development method and device, computer equipment and storage medium |
-
2022
- 2022-07-19 CN CN202310239582.8A patent/CN116382674A/en active Pending
- 2022-07-19 CN CN202210845641.1A patent/CN114995792B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114995792A (en) | 2022-09-02 |
CN114995792B (en) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
CN109039824B (en) | Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal | |
CN111651366B (en) | SDK test method, device, equipment and storage medium | |
CN104483959A (en) | Fault simulation and test system | |
CN111124919A (en) | User interface testing method, device, equipment and storage medium | |
WO2017000424A1 (en) | Protocol detection method and apparatus | |
CN108845557B (en) | User control of automated test features using a software application programming interface | |
US7047464B2 (en) | Method and system for use of a field programmable function within an application specific integrated circuit (ASIC) to access internal signals for external observation and control | |
CN111428431A (en) | Method and system for supporting automatic test and recording of EDA (electronic design automation) software | |
CN111965530A (en) | JTAG-based FPGA chip automatic test method | |
JPH0618635A (en) | Method of forming functional test for printed circuit board based on pattern matching of model | |
CN110659198A (en) | Application program test case execution method and device and software test system | |
US20020163351A1 (en) | Method for producing test patterns for testing an integrated circuit | |
CN111324540B (en) | Interface testing method and device | |
CN114915643B (en) | Configuration method, device, equipment and medium of railway signal centralized monitoring system | |
CN116382674A (en) | Component configuration method and device of automobile diagnostic device, medium and electronic device | |
CN115454751A (en) | FPGA chip testing method and device and computer readable storage medium | |
CN114996127A (en) | Intelligent test method and system for solid state disk firmware module | |
CN111159023A (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN111767218B (en) | Automatic test method, equipment and storage medium for continuous integration | |
US20050154949A1 (en) | System for flexible embedded Boundary Scan testing | |
CN114328250A (en) | Automatic self-checking method, medium and device for software system | |
CN117149406A (en) | Resource scheduling method, device, system, computer equipment and storage medium | |
CN116629173A (en) | Verification method and device of network chip, computer equipment and storage medium | |
GB2450859A (en) | Intelligent product validation platform (IPVP) |
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 |