Automobile Diagnostic Equipment Printing Preheating Processing Method, Device, Equipment and Medium

By establishing a communication connection with the printer and intelligently controlling power outage/power-on, the energy consumption and user experience problems in the printing process of automotive diagnostic equipment are solved, and efficient printer services and user experience improvements are achieved.

CN115774526BActive Publication Date: 2025-08-05THINKCAR SOFTWARE TECH DEV CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211356392.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-08-05
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

Existing automotive diagnostic equipment consumes a lot of energy, long wake-up waiting time and poor user experience during printing.

Method used

By establishing a communication connection with the new printer, reading the device identifier and matching, directly dispatching the printer module driver or installing backup drivers, controlling the printer to automatically power off and power on, and reserve printer connection or warm-up time according to the diagnostic program time, reducing power consumption and improving user experience.

Benefits of technology

It realizes accurate printer services, reduces the power consumption of automotive diagnostic equipment, and connects the printer to preheat in advance when needed, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774526B_ABST
    Figure CN115774526B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of printing connection technology, and in particular to a method, device, equipment and medium for preheating printing of automobile diagnostic equipment. The present invention provides a method for preheating printing of automobile diagnostic equipment, which establishes a communication connection with a newly added printer, reads the device identification of the newly added printer and matches it with the local printer identification. If the match is successful, the corresponding internal printer module is directly dispatched to drive the newly added printer; otherwise, the corresponding backup printer driver is installed for the newly added printer module and loaded into the printer module. The newly added printer is controlled by the printer module to process the printing data. After the printer module loads the printer, it automatically powers on or off the printer according to the set rules. It can effectively reduce the power consumption of automobile diagnostic equipment. At the same time, when the diagnostic equipment is about to print, the printer is connected in advance to preheat the printer, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the application date of July 20, 2022, application number 2022108536064, and invention name “A printing processing method, device, equipment and medium for automobile diagnostic equipment”. Technical Field

[0002] The present invention relates to the field of printing connection technology, and in particular to a printing preheating treatment method, device, equipment and medium for automobile diagnostic equipment. Background Art

[0003] Automotive diagnostic equipment is a non-disassembly testing and inspection device that can quickly and accurately determine the technical condition of a vehicle, assembly, or mechanism, and draw reliable conclusions. Key examples include wheel balancers, lighting testers, reaction brake test benches, chassis dynamometers, side slip test benches, front wheel alignments, engine test benches, exhaust gas analyzers, exhaust smoke meters, and noise meters. After completing a vehicle inspection, the diagnostic equipment generates a diagnostic report, which may need to be printed in some cases.

[0004] Conventional printers are always powered on after being connected to automotive diagnostic equipment. Alternatively, after prolonged disconnection, the printer enters a dormant state, awaiting manual reawakening. This constant power-up consumes significant energy and is environmentally unfriendly. Furthermore, the system requires a wait time before waking up, and even requires a warm-up period after waking, making it less intelligent and providing a poor user experience.

[0005] In summary, the printing of automotive diagnostic equipment is not smart enough, the user experience is poor, and needs to be improved. Summary of the Invention

[0006] To address the above-mentioned deficiencies in the prior art, the present invention provides a method for preheating a printout of an automotive diagnostic device, comprising the following steps:

[0007] S10: Establishing a communication connection with the newly added printer;

[0008] S20: Read the device identification of the newly added printer and match it with the local printer identification;

[0009] S30: If the match is successful, directly dispatching the corresponding internal printer module to drive the newly added printer; otherwise, installing the corresponding backup printer driver for the newly added printer and loading it into the printer module;

[0010] S40: Controlling the newly added printer through the printer module to process print data;

[0011] After the printer is loaded, the printer module periodically collects statistics and records the average running time of each diagnostic program in the vehicle diagnostic device;

[0012] When executing a diagnostic program, the printer is automatically powered off within the diagnostic program running time recorded previously; before the diagnostic program running time expires, the printer is triggered to power on again;

[0013] Between the time when the printer is triggered to start and power on and the time when the diagnostic program runs, time is reserved for printer connection or preheating based on statistical or empirical calculations.

[0014] In one embodiment, for a printer that is not successfully matched, the printer is automatically powered on and connected directly when the screen turns on, or the power-on and connection operation is performed when it is detected that the diagnostic program is in the early detection stage.

[0015] In one embodiment, after the printer module is loaded into the printer, the printer module further comprises:

[0016] The screen status of the automobile diagnostic device is periodically detected. If the screen is in the off state after a preset time, the printer is controlled to automatically power off; if the screen is detected to be on, the printer is triggered to start powering on.

[0017] In one embodiment, in step S10 , the vehicle diagnostic device establishes a connection with the printer via a USB port.

[0018] In one embodiment, in step S30, the backup printer driver comes from a local printer driver library, and the local printer driver library updates printer drivers of different models through a network.

[0019] In one embodiment, in step S30, when the corresponding printer driver is installed for the newly added printer module, the communication connection between the vehicle diagnostic device and the printer is closed, and the vehicle diagnostic device generates a diagnostic report based on the diagnostic results and caches the diagnostic report in the local memory; when the installation of the corresponding backup printer driver for the newly added printer module is completed, the communication connection between the vehicle diagnostic device and the printer is restarted, and the printer is directly driven to read the diagnostic report from the local memory for printing.

[0020] In one embodiment, when the device identifier of the printer in step S30 is not the local printer identifier, after loading the printer by the printer module, the method further includes:

[0021] The printer is controlled to print test content to determine whether the printer is loaded successfully. If printing the test content fails, the test report is uploaded to the server and the power of the printer is turned off.

[0022] The present invention also provides a printing preheating treatment device for automobile diagnostic equipment, comprising:

[0023] A connection unit, used to establish a communication connection with a newly added printer;

[0024] A reading unit, configured to read the device identification of the newly added printer and match it with the local printer identification;

[0025] a judgment unit, configured to directly dispatch the corresponding internal printer module to drive the newly added printer if the match is successful; otherwise, install the corresponding printer driver for the newly added printer module and load it into the printer module;

[0026] An operating unit is configured to control the newly added printer through the printer module to operate on the print data; after the printer module is loaded into the printer, the printer module periodically collects and records the average running time of each diagnostic program in the vehicle diagnostic device;

[0027] When executing a diagnostic program, the printer is automatically powered off within the diagnostic program running time recorded previously; before the diagnostic program running time expires, the printer is triggered to power on again;

[0028] Between the time when the printer is triggered to start and power on and the time when the diagnostic program runs, time is reserved for printer connection or preheating based on statistical or empirical calculations.

[0029] The present invention also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implements a printing preheating processing method for automobile diagnostic equipment as described in any one of the above items.

[0030] The present invention also provides a computer device 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, and the instructions are executed by the at least one processor to enable the processor to execute a print preheating processing method for automobile diagnostic equipment as described in any one of the above items.

[0031] Based on the above, the present invention provides a printing preheating processing method for automobile diagnostic equipment. The control module of the automobile diagnostic equipment sends a power-off command to the printer module. After receiving the power-off command, the printing module disconnects from the printer (powers off). The control module can also send a power-on command to the printing module. After receiving the power-on command, the printing module establishes a connection with the printer (powers on). This allows the printer to provide printing services to the automobile diagnostic equipment more accurately while reducing the power consumption of the automobile diagnostic equipment. At the same time, when the diagnostic equipment is about to perform printing work, it is connected to the printer in advance to preheat the printer, thereby improving the user experience.

[0032] Other features and beneficial effects of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The objectives and other beneficial effects of the present invention can be achieved and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work. The positional relationships described in the drawings in the following description are based on the directions of the components drawn in the diagrams, unless otherwise specified.

[0034] Figure 1 A schematic flow chart of the printing preheating treatment method for automobile diagnostic equipment provided by the present invention;

[0035] Figure 2 This is a schematic diagram of a printing preheating treatment device for automobile diagnostic equipment according to an embodiment of the present invention;

[0036] Figure 3 Schematic diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments; the technical features designed in different implementation modes of the present invention described below can be combined with each other as long as they do not conflict with each other; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0038] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood broadly. For example, they may refer to fixed connections, detachable connections, or integrally formed connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediary; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of these terms in the present invention based on the specific circumstances.

[0039] The terms used herein are intended only to describe specific embodiments and are not intended to limit exemplary embodiments. Unless the context clearly indicates otherwise, the singular forms "a", "an", "an item" used herein are also intended to include the plural. It should also be understood that the terms "comprise" and / or "include" used herein specify the presence of stated features, integers, steps, operations, units and / or components, and do not preclude the presence or addition of one or more other features, integers, steps, operations, units, components and / or combinations thereof.

[0040] To achieve at least one of the advantages or other advantages, such as Figure 1 As shown, the present invention provides a printing preheating treatment method for automobile diagnostic equipment, comprising the following steps:

[0041] S10: Establishing a communication connection with the newly added printer;

[0042] S20: Read the device ID of the newly added printer and match it with the local printer ID;

[0043] S30: If the match is successful, the corresponding internal printer module is directly dispatched to drive the newly added printer; otherwise, the corresponding backup printer driver is installed for the newly added printer module and loaded into the printer module;

[0044] S40: Control the newly added printer through the printer module and process the print data.

[0045] Compared with the prior art, the present invention realizes subsequent automatic connection by installing the corresponding printer program for the printer model of the non-local printer identification. The user does not need to actively install the printer driver, which is more convenient to use.

[0046] Specifically, the car diagnostic device in the above steps is connected to the printer via a USB port. The present invention does not impose any special restrictions on this, and this embodiment is described using a USB printer as an example.

[0047] Connect a USB printer to the car diagnostic device. When the car diagnostic device detects the USB printer, it communicates with the connected USB printer via the USB protocol, performs a protocol handshake, and establishes a communication connection. This completes the connection between the USB printer and the car diagnostic device. Once the communication connection is established, the car diagnostic device automatically reads the device ID of the newly added printer for comparison and matching.

[0048] After the printer module is loaded, it also includes:

[0049] Periodically statistically recording the average running time of each diagnostic program in the vehicle diagnostic device;

[0050] When executing a diagnostic program, the printer is automatically powered off within the diagnostic program running time recorded previously; before the diagnostic program running time is reached, the printer is triggered to start powering on.

[0051] During specific implementation, the detection status of the automobile diagnostic equipment is periodically detected, for example, the detection status of the automobile equipment is detected once every 1 minute. It should be understood that the detection period can be set according to actual needs, and the present invention does not make special limitations on this. If the current detection status is in the early or middle stage of the detection, it is considered that there is no need to print the diagnostic report at present, and the connection with the USB printer is disconnected. When the detection status reaches the late stage, for example, it is already in the process of generating a diagnostic report, it can be considered that there is a need to print the diagnostic report at present, and a connection with the USB printer is established.

[0052] The present invention also studies the timing of powering off or on. The time threshold can be set through statistical or empirical calculations. For example, if it generally takes at least 7 minutes from executing an operation to printing, then the connection can be established when the screen is on for more than 5 minutes. This allows time for the printer to connect or warm up, without affecting the printing experience.

[0053] In some embodiments, for a USB printer that is not successfully matched, since it is necessary to call and install a printer driver, the printer can be automatically powered on and connected directly when the screen is turned on, or the power-on and connection operation can be performed at the early stage of detection.

[0054] In some embodiments, after the printer module is loaded into the printer, the printer module further comprises:

[0055] The screen status of the vehicle diagnostic device is periodically monitored, for example, every 30 seconds. If the screen remains off for a predetermined period of time, the printer is automatically powered off. If the screen is detected to be on, the printer is automatically powered on. It should be understood that the monitoring period can be set based on actual needs and is not specifically limited in the present invention.

[0056] During specific implementation, the usage status of the car diagnostic device screen is monitored in real time. If the screen has been off for 5 minutes (the value can be preset arbitrarily and the present invention does not limit this), it can be determined that the current car diagnostic device is no longer in use, and the USB printer is controlled to disconnect; when the screen is on for more than 5 minutes, the connection is enabled.

[0057] According to the present invention, the control module of the automobile diagnostic device sends a power-off command to the printer module according to a set rule. After receiving the power-off command, the printing module disconnects from the USB printer (powers off). The control module can also send a power-on command to the printing module. After receiving the power-on command, the printing module establishes a connection with the USB printer (powers on). In this way, the USB printer can provide printing services to the automobile diagnostic device more accurately while reducing the power consumption of the automobile diagnostic device.

[0058] In some embodiments, in step S30, when the matching fails, that is, when it is found that the device identifier of the newly added printer is not in the local printer identifier record library, the corresponding backup printer driver is installed for the newly added printer. The backup printer driver comes from the local printer driver library, and the local printer driver library updates backup printer drivers of different models through the network.

[0059] Compared with the prior art, the printer module in the embodiment can be updated through the local printer driver library or the network to adapt to different models of connected USB printers, so as to avoid the inconvenience of existing available printers not being able to be used on the device host when printing is required.

[0060] The specific process of installing the corresponding printer driver for the newly added printer module is as follows: closing the communication connection between the vehicle diagnostic device and the printer, and the vehicle diagnostic device generates a diagnostic report based on the diagnostic results and caches the diagnostic report in the local memory; when the installation of the corresponding backup printer driver for the newly added printer module is completed, the communication connection between the vehicle diagnostic device and the printer is restarted, and the printer is directly driven to read the diagnostic report from the local memory for printing.

[0061] Since the printer driver needs to be installed, it takes a certain amount of time to connect to a printer that has not been successfully matched. At this time, on the one hand, by temporarily closing the communication connection between the printer and the automobile diagnostic equipment, the printer can be quickly installed without being interfered with by the network, and the hardware resources of the automobile diagnostic equipment can be saved. On the other hand, the diagnostic report of the automobile diagnostic equipment can be cached in the local storage after completion, and the diagnostic report in the cache can be directly called after the printing connection is established to save operation time.

[0062] In some embodiments, when the device identifier of the printer in step S30 is not a local printer identifier, after loading the printer through the printer module, the method further includes:

[0063] Control the printer to print test content to determine whether the printer is loaded successfully. If printing the test content fails, upload the test report to the server and turn off the power of the printer.

[0064] In specific implementation, for example, when a car diagnostic device uses a USB printer for the first time, the printer module controls the USB printer to automatically print a specified content as test content to ensure that the printer is working normally. The printer module records the first printing. When the USB printer is connected again, the printer module determines whether it is the first connection based on the record. If it is not the first connection, automatic printing will not be enabled to save paper.

[0065] In addition, after the external USB printer is connected, the USB printer uses the power of the car diagnostic device. If the USB printer continues to use power, the power consumption of the car diagnostic device will be too high, which will affect the normal operation of the car diagnostic device. Based on this, this paper solves the problem through the following method.

[0066] The present invention also provides a printing preheating treatment device for automobile diagnostic equipment, such as Figure 2 As shown, including:

[0067] A connection unit, used to establish a communication connection with a newly added printer;

[0068] A reading unit reads the device identification of the newly added printer and matches it with the local printer identification;

[0069] A judgment unit is used to directly dispatch the corresponding internal printer module to drive the newly added printer if the match is successful; otherwise, install the corresponding printer driver for the newly added printer module and load it into the printer module;

[0070] The operation unit is used to control the newly added printer through the printer module and operate the printing data.

[0071] The present invention also provides a computer-readable storage medium storing computer instructions, which, when executed by a computer processor, implements any of the above-described methods for printing preheating of automotive diagnostic equipment.

[0072] In a specific implementation, the computer-readable storage medium is a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the computer-readable storage medium may also include a combination of the above types of memory.

[0073] The present invention also provides a computer device, such as Figure 3As shown, it includes at least one processor and a memory in communication with the processor, wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the processor to perform any of the above-described methods for printing preheating processing of automobile diagnostic equipment.

[0074] In a specific implementation, the number of processors may be one or more, and the processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips. The general-purpose processor may be a microprocessor or any conventional processor.

[0075] The memory and the processor may be communicatively connected via a bus or other means. The memory stores instructions executable by at least one processor. The instructions are executed by at least one processor to enable the processor to execute any of the above-described methods for preheating a print of an automotive diagnostic device.

[0076] Based on the above, the present invention provides a printing preheating processing method for automobile diagnostic equipment. The control module of the automobile diagnostic equipment sends a power-off command to the printer module. After receiving the power-off command, the printing module disconnects from the printer (powers off). The control module can also send a power-on command to the printing module. After receiving the power-on command, the printing module establishes a connection with the printer (powers on). This allows the printer to provide printing services to the automobile diagnostic equipment more accurately while reducing the power consumption of the automobile diagnostic equipment. At the same time, when the diagnostic equipment is about to perform printing work, it is connected to the printer in advance to preheat the printer, thereby improving the user experience.

[0077] In addition, those skilled in the art should understand that, although there are many problems in the prior art, each embodiment or technical solution of the present invention may be improved in only one or several aspects, without having to simultaneously solve all the technical problems listed in the prior art or background art. Those skilled in the art should understand that any content not mentioned in a claim should not be construed as limiting the claim.

[0078] Although terms such as vehicle diagnostic device, local printer identifier, device identifier, printer driver, and printer module are frequently used herein, the use of other terms is not excluded. These terms are used merely to more conveniently describe and explain the essence of the present invention; interpreting them as any additional limitation is contrary to the spirit of the present invention.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A printing preheating treatment method for automobile diagnostic equipment, characterized in that: The following steps are involved: S10: Establishing a communication connection with the newly added printer; S20: Read the device identification of the newly added printer and match it with the local printer identification; S30: If the match is successful, directly dispatch the corresponding internal printer module to drive the newly added printer; Otherwise, installing a corresponding backup printer driver for the newly added printer and loading it into the printer module; S40: Controlling the newly added printer through the printer module to process print data; After the printer is loaded, the printer module periodically collects statistics and records the average running time of each diagnostic program in the vehicle diagnostic device; When executing a diagnostic program, the printer is automatically powered off within a previously recorded diagnostic program running time; Before the diagnostic program running time is reached, triggering the printer to start powering on; Between the time when the printer is triggered to start and power on and the time when the diagnostic program runs, time is reserved for printer connection or preheating based on statistical or empirical calculations.

2. The printing preheating treatment method for automobile diagnostic equipment according to claim 1, characterized in that: For printers that are not matched successfully, the printer is automatically powered on and connected directly when the screen turns on, or the power-on and connection operation is performed when it is detected that the diagnostic program is in the early stage of detection.

3. The printing preheating treatment method for automobile diagnostic equipment according to claim 1, characterized in that: After the printer module is loaded into the printer, the printer module further comprises: The screen status of the automobile diagnostic device is periodically detected. If the screen is in the off state after a preset time, the printer is controlled to automatically power off; if the screen is detected to be on, the printer is triggered to start powering on.

4. The printing preheating treatment method for automobile diagnostic equipment according to claim 1, characterized in that: In step S10, the vehicle diagnostic device establishes a connection with the printer via a USB port.

5. The printing preheating treatment method for automobile diagnostic equipment according to claim 1, characterized in that: In step S30, the standby printer driver comes from a local printer driver library, and the local printer driver library updates printer drivers of different models through a network.

6. The printing preheating method for automobile diagnostic equipment according to claim 5, characterized in that: In step S30, when the corresponding printer driver is installed for the newly added printer module, the communication connection between the vehicle diagnostic device and the printer is closed, and the vehicle diagnostic device generates a diagnostic report based on the diagnostic result and caches the diagnostic report in the local memory; when the installation of the corresponding backup printer driver for the newly added printer module is completed, the communication connection between the vehicle diagnostic device and the printer is restarted, and the printer is directly driven to read the diagnostic report from the local memory for printing.

7. The printing preheating method for automobile diagnostic equipment according to claim 1, characterized in that: When the device identifier of the printer in step S30 is not the local printer identifier, after loading the printer by the printer module, the method further includes: The printer is controlled to print test content to determine whether the printer is loaded successfully. If printing the test content fails, the test report is uploaded to the server and the power of the printer is turned off.

8. A printing preheating treatment device for automobile diagnostic equipment, characterized in that: include: A connection unit, used to establish a communication connection with a newly added printer; A reading unit, configured to read the device identification of the newly added printer and match it with the local printer identification; A judgment unit, configured to directly dispatch an internal corresponding printer module to drive the newly added printer if the match is successful; Otherwise, a corresponding printer driver is installed for the newly added printer module and loaded into the printer module; An operating unit is configured to control the newly added printer through the printer module to operate on the print data; after the printer module is loaded into the printer, the printer module periodically collects and records the average running time of each diagnostic program in the vehicle diagnostic device; When executing a diagnostic program, the printer is automatically powered off within a previously recorded diagnostic program running time; Before the diagnostic program running time is reached, triggering the printer to start powering on; Between the time when the printer is triggered to start and power on and the time when the diagnostic program runs, time is reserved for printer connection or preheating based on statistical or empirical calculations.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer is executed by a processor, the computer implements the printing preheating processing method of automobile diagnostic equipment according to any one of claims 1 to 7.

10. A computer device, characterized in that: The system comprises at least one processor and a memory in communication with the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the processor to perform a printing preheating processing method for automobile diagnostic equipment according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle inspection line remote intelligent diagnosis system

    CN110763487A