Production detection method, device and electronic equipment for vehicle locks
By implementing the self-inspection function in the vehicle lock and efficient self-inspection is carried out using the vehicle lock waiting time, the accumulation problem caused by long-term consumption in the vehicle lock production process is solved, and the detection efficiency and production line efficiency are significantly improved.
Patent Information
- Application Number
- CN202111054776.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2041-09-09
AI Technical Summary
During the production process of vehicle locks, some processes take a long time to accumulate vehicle locks, resulting in low production line efficiency. The existing technology optimizes the external environment but is not efficient.
By implementing the self-test function in the vehicle lock, when the vehicle lock is located in the target detection position and an abnormal state is detected, the self-test is automatically executed, and the self-test results are sent to the upper computer, and self-test is efficiently performed using the waiting time.
It significantly improves the vehicle lock detection efficiency, avoids the accumulation of vehicle locks, and optimizes the overall efficiency of the production line.
Smart Images

Figure CN113869561B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle lock production, and specifically relates to a production and detection method, device and electronic equipment for vehicle locks. Background Art
[0002] When the production line assembles and tests the locks, it needs to go through multiple assembly line processes. Each process requires different amounts of time due to its specific content. If one of the processes takes a long time, the locks will accumulate and become blocked at that process, and even the entire assembly line will become inefficient.
[0003] In the existing technology, although it can be alleviated by optimizing the external environment of the production line, such as requiring hardware products to undergo 2G network injection testing, or optimizing the production line network environment by adding signal amplifiers, the existing solutions all optimize the external environment of the production line, with limited optimization space, and the efficiency of solving the blocking problem is not high.
[0004] Application Contents
[0005] The purpose of the embodiments of the present application is to provide a method, device and electronic equipment for production detection of a vehicle lock, which can solve the problem of product blocking in existing production links.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a production detection method for a vehicle lock, the method comprising:
[0008] Determine a target lock according to the position of the lock in the production chain, wherein the target lock is a lock that is about to be located at a target detection position, wherein the target lock is in a detected state at the target detection position;
[0009] Acquiring the detection state of the target detection position, and in the case where the detection state is abnormal, controlling the target vehicle lock to perform a self-check, and obtaining a self-check result of the target vehicle lock;
[0010] When the target vehicle lock is in the target detection position, the target vehicle lock is controlled to receive the detection instruction sent by the host computer, and send the self-test result to the host computer.
[0011] Further, obtaining the detection state of the target detection position includes:
[0012] Acquire the number of the target vehicle locks, and when the number of the target vehicle locks is less than a first threshold, determine that the detection state of the target detection position is a normal state;
[0013] When the number of the target vehicle locks is greater than a first threshold, it is determined that the detection state of the target detection position is an abnormal state.
[0014] Optionally, after the target vehicle lock is located at the target detection position and before receiving a detection instruction sent by a host computer, the method further includes:
[0015] Detect whether a connection is established between the target vehicle lock and the host computer, so that the target vehicle lock receives the detection instruction.
[0016] Optionally, after receiving the detection instruction sent by the host computer, the method includes:
[0017] Detecting whether the target vehicle lock performs a self-check operation, and if the target vehicle lock does not perform a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer;
[0018] When the target vehicle lock has performed a self-check operation, the target vehicle lock is controlled to send a self-check result to the host computer.
[0019] Optionally, when the target vehicle lock has performed a self-check operation, the method includes:
[0020] Detecting whether the target vehicle lock has completed self-testing of all detection items, and when the target vehicle lock has completed self-testing of all detection items, controlling the target vehicle lock to send the self-testing result to the host computer;
[0021] In the case that the target vehicle lock has not completed the detection of all detection items, obtaining a first detection result of the target vehicle lock, and controlling the target vehicle lock to send the first detection result to the host computer; and
[0022] The target vehicle lock is controlled to perform self-inspection of the remaining detection items one by one according to the detection instruction sent by the host computer.
[0023] Optionally, the method further includes:
[0024] When it is determined according to the current position of the vehicle lock that the target vehicle lock has moved away from the target detection position, the self-test related data in the target vehicle lock is deleted.
[0025] According to a second aspect of the present disclosure, a production detection device for a vehicle lock is provided, the device comprising:
[0026] A vehicle lock determination module, used to determine a target vehicle lock according to the position of the vehicle lock in the production chain, wherein the target vehicle lock is a vehicle lock that is about to be located at a target detection position, wherein the target vehicle lock is in a detected state at the target detection position;
[0027] A self-check module, used to obtain the detection state of the target detection position, and when the detection state is abnormal, control the target vehicle lock to perform self-check to obtain the self-check result of the target vehicle lock;
[0028] The data processing module is used to control the target vehicle lock to receive the detection instruction sent by the host computer and send the self-test result to the host computer when the target vehicle lock is in the target detection position.
[0029] Optionally, the self-check module is further used for:
[0030] Detecting whether the target vehicle lock performs a self-check operation, and if the target vehicle lock does not perform a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer;
[0031] When the target vehicle lock has performed a self-check operation, the target vehicle lock is controlled to send a self-check result to the host computer.
[0032] Optionally, the data processing module is further used for:
[0033] Detecting whether the target vehicle lock has completed self-testing of all detection items, and when the target vehicle lock has completed self-testing of all detection items, controlling the target vehicle lock to send the self-testing result to the host computer;
[0034] In the case that the target vehicle lock has not completed the detection of all detection items, obtaining a first detection result of the target vehicle lock, and controlling the target vehicle lock to send the first detection result to the host computer; and
[0035] The target vehicle lock is controlled to perform self-inspection of the remaining detection items one by one according to the detection instruction sent by the host computer.
[0036] According to a third aspect of the present disclosure, an electronic device is also provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the method described in the first aspect of the present disclosure.
[0037] According to the production detection method for vehicle locks of the present embodiment, a target vehicle lock is determined according to the position of the vehicle lock in the production chain. When the detection state of the target detection position is abnormal, the target vehicle lock is controlled to perform a self-inspection to obtain a self-inspection result of the target vehicle lock, and the self-inspection result is sent to the host computer according to the detection instruction sent by the host computer. The time of the vehicle locks in the stacked queue state is utilized to perform self-inspection, which can significantly improve the vehicle lock detection efficiency in the production chain. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1is a flowchart of the steps of a production and detection method of a vehicle lock provided in this embodiment;
[0039] Figure 2 is another step flow chart of a production and detection method for a vehicle lock provided in this embodiment;
[0040] Figure 3 is a structural schematic diagram of a vehicle lock production detection device provided in this embodiment;
[0041] Figure 4 It is another structural schematic diagram of a production and detection device for a vehicle lock provided in this embodiment. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0044] In the following, in conjunction with the accompanying drawings, the production detection method, device and electronic device of the vehicle lock provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0045] <Method Example>
[0046] refer to Figure 1 , Figure 1 A flowchart of the steps of a production detection method for a vehicle lock provided in this embodiment is shown. The method may include steps S1100-S1300, which are described in detail below.
[0047] S1100, determining a target vehicle lock according to the position of the vehicle lock in the production chain.
[0048] The production chain includes some or all of the production processes of the lock during the production process, such as parts assembly, performance testing, and packaging. The position of the lock in the production chain can represent the production status of the lock in the production process. Since each process takes different time, for example, when the lock is installed and performance testing is required, the lock needs to be manually connected to the computer through the USB interface, and the computer sends test instructions one by one to test each test item of the lock. However, there may be a certain item in the test process that takes a long time or there are many test items, which will cause the lock to pile up in the test process, affecting the efficiency of the overall production line.
[0049] The target vehicle lock in this embodiment is the vehicle lock that is about to be located at the target detection position, and the target detection position is the above-mentioned detection process. Of course, in one embodiment, the target detection position can also be other processes, for example, the upgrade of the vehicle lock system, the detection of vehicle lock hardware, and other relatively time-consuming production processes.
[0050] This embodiment takes the target detection position as an example of a process of detecting a vehicle lock. Then, when the target vehicle lock is in the target detection position, the target vehicle lock is in a detected state.
[0051] S1200, obtaining the detection status of the target detection position, and in the case where the detection status is abnormal, controlling the target vehicle lock to perform a self-test to obtain a self-test result of the target vehicle lock.
[0052] The abnormal detection state of the target detection position is mainly manifested as the accumulation of vehicle locks that are about to enter the detection position. Therefore, this embodiment determines the detection state of the target detection position by obtaining the number of target vehicle locks. When the number of target vehicle locks is less than the first threshold, the detection state of the target detection position is determined to be a normal state; when the number of target vehicle locks is greater than the first threshold, the detection state of the target detection position is determined to be an abnormal state.
[0053] In this embodiment, the number of target vehicle locks can be obtained by the target vehicle reporting its position during the locking period, or by a sensor device installed on the production line, which is not specifically limited here.
[0054] In a feasible example, the value of the first threshold may be 2, 3 or 5, which may be set according to actual needs. For example, when the number of target locks is less than 3, if the locks on the target detection position are not piled up, the detection state of the target detection position is normal; when the number of target locks is greater than 3, if the locks on the target detection position are not piled up, the detection state of the target detection position is abnormal.
[0055] It can be understood that the vehicle lock of this embodiment is installed with self-test firmware before performing self-test. When the vehicle lock reaches the self-test condition during the production process, that is, when the detection state of the target detection position is abnormal, the target vehicle lock can be triggered by an external instruction to start self-test through the self-test firmware. The vehicle lock will be tested one by one according to the predetermined detection items and the detection standards of each item according to the self-test program in the self-test firmware. After any item is tested, the test result will be stored inside the vehicle lock.
[0056] This embodiment utilizes the target vehicle lock to automatically perform self-inspection, storage and other processes during the waiting time. Different target vehicle locks can perform their own self-inspections at the same time, comprehensively optimizing the detection process and maximizing the detection efficiency.
[0057] S1300, when the target vehicle lock is in the target detection position, control the target vehicle lock according to the detection instruction sent by the host computer, and send the self-test result to the host computer.
[0058] The position of the target vehicle lock is monitored in real time. When the position of the target vehicle lock indicates that the target vehicle lock is in the target detection position, a connection is established between the target vehicle lock and the host computer to obtain the detection data of the target vehicle lock. Therefore, this embodiment includes detecting whether a connection is established between the target vehicle lock and the host computer so that the target vehicle lock receives the detection instruction.
[0059] After the target vehicle lock receives the detection instruction sent by the host computer, this embodiment controls the interaction between the target vehicle lock and the host computer by detecting whether the target vehicle lock performs a self-check operation, including: when the target vehicle lock has not performed a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer; when the target vehicle lock has performed a self-check operation, controlling the target vehicle lock to send the self-check result to the host computer.
[0060] For example, when the target lock has just completed the previous process at the last moment and has not yet performed self-test, all test items are tested one by one according to the test instructions sent by the host computer, and each test is uploaded to the host computer. If the target lock has performed the self-test operation at this time, the interaction between the target lock and the host computer is controlled by detecting the completion of the self-test operation of the target lock, including: detecting whether the target lock has completed the self-test of all test items, and when the target lock has completed all test items, controlling the target lock to send the self-test results to the host computer. The self-test results may include data such as the software status, software version, and network connection status of the lock.
[0061] In the case that the target vehicle lock has not completed the detection of all detection items, the first detection result of the target vehicle lock is obtained, and the target vehicle lock is controlled to send the first detection result to the host computer, and the first detection result is the result of the detected item. In addition, after the target vehicle lock sends the first detection result to the host computer, the remaining detection items are self-checked one by one according to the detection instruction sent by the host computer.
[0062] This embodiment utilizes the time of the vehicle locks in the stacking queue state to perform self-inspection, and directly reads the self-inspection results after connecting to the host computer, which can significantly improve the vehicle lock detection efficiency in the production chain.
[0063] The self-test program can be burned into the controller of the vehicle lock. When it is determined that the target vehicle lock has moved away from the target detection position, that is, after the vehicle lock detection process is completed, the self-test related data in the target vehicle lock, including the self-test program and self-test results, is deleted, and the storage space of the vehicle lock will not be occupied.
[0064] The present embodiment is described below in conjunction with its application in actual scenarios. Figure 2 , Figure 2 The logic flow chart of this embodiment is shown, including the following steps S210 to S270:
[0065] S210, determining a target vehicle lock.
[0066] According to the position information of the vehicle lock in the production chain, the vehicle lock that is about to be located at the target detection position is obtained, and the target detection position is the above-mentioned detection process.
[0067] S220, detecting whether the target detection bit is in an abnormal state.
[0068] The number of target vehicle locks obtained in step S210 is obtained to determine the detection state of the target detection position. When the number of target vehicle locks is less than the first threshold, the detection state of the target detection position is determined to be a normal state; when the number of target vehicle locks is greater than the first threshold, the detection state of the target detection position is determined to be an abnormal state.
[0069] S230: When the detection state is abnormal, the target vehicle lock is controlled to perform a self-check.
[0070] Self-test firmware is installed in the car lock. When the car lock reaches the self-test condition during the production process, that is, when the detection status of the target detection position is abnormal, the target car lock is triggered by an external command to start self-test through the self-test firmware.
[0071] S240, detecting whether the target vehicle lock is in the target detection position.
[0072] When the position of the target vehicle lock indicates that the target vehicle lock is in the target detection position, the detection data of the target vehicle lock is acquired by establishing a connection between the target vehicle lock and the host computer.
[0073] S250, detecting whether the target vehicle lock connected to the host computer is self-checking.
[0074] Whether the target vehicle lock is self-checked can be determined by obtaining whether there is a detection result in the target vehicle lock. If yes, step S260 is executed, and if no, step S270 is executed.
[0075] S260, detecting whether the target vehicle lock connected to the host computer has completed self-test of all test items.
[0076] By obtaining the number and types of detection items included in the detection result of the target vehicle lock, it can be determined whether the target vehicle lock has completed self-inspection of all detection items. If so, step S280 is executed, otherwise step S290 is executed.
[0077] S270, according to the detection instruction issued by the host computer, each detection item is detected one by one.
[0078] S280, sending the detection result to the host computer.
[0079] S290, sending the first detection result to the upper computer, and then performing self-inspection of the remaining detection items one by one according to the detection instruction sent by the upper computer, until all the detection items have been detected.
[0080] This embodiment utilizes the time of the vehicle locks in the stacking queue state to perform self-inspection, and directly reads the self-inspection results after connecting to the host computer, which can significantly improve the vehicle lock detection efficiency in the production chain.
[0081] <Equipment Embodiment>
[0082] Figure 3 A production detection device 300 for a vehicle lock according to an embodiment, such as Figure 3 As shown, the device includes: a vehicle lock determination module 310 , a self-checking module 320 and a data processing module 330 .
[0083] The vehicle lock determination module 310 is used to determine a target vehicle lock according to the position of the vehicle lock in the production chain, wherein the target vehicle lock is a vehicle lock that is about to be located at a target detection position, wherein the target vehicle lock is in a detected state at the target detection position;
[0084] A self-check module 320, for obtaining the detection state of the target detection position, and when the detection state is abnormal, controlling the target vehicle lock to perform a self-check to obtain a self-check result of the target vehicle lock;
[0085] The data processing module 330 is used to control the target vehicle lock to receive the detection instruction sent by the host computer and send the self-test result to the host computer when the target vehicle lock is in the target detection position.
[0086] In one embodiment of the present disclosure, the self-check module is further used to:
[0087] Detecting whether the target vehicle lock performs a self-check operation, and if the target vehicle lock does not perform a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer;
[0088] When the target vehicle lock has performed a self-check operation, the target vehicle lock is controlled to send a self-check result to the host computer.
[0089] In one embodiment of the present disclosure, the data processing module is further used to:
[0090] Detecting whether the target vehicle lock has completed self-testing of all detection items, and when the target vehicle lock has completed self-testing of all detection items, controlling the target vehicle lock to send the self-testing result to the host computer;
[0091] In the case that the target vehicle lock has not completed the detection of all detection items, obtaining a first detection result of the target vehicle lock, and controlling the target vehicle lock to send the first detection result to the host computer; and
[0092] The target vehicle lock is controlled to perform self-inspection of the remaining detection items one by one according to the detection instruction sent by the host computer.
[0093] In another embodiment of the present disclosure, referring to Figure 4 A vehicle lock production detection device 300 may also include a processor 410, a memory 420, and a program or instruction stored in the memory 420 and executable on the processor 410, wherein the program or instruction is executed by the processor in any of the steps of a vehicle lock production detection method in the method embodiment.
[0094] Those skilled in the art should understand that the production detection device 300 of the vehicle lock can be implemented in various ways. For example, the production detection device 300 of the vehicle lock can be implemented by configuring the processor with instructions. For example, the instructions can be stored in a ROM, and when the device is started, the instructions are read from the ROM into a programmable device to implement the production detection device 300 of the vehicle lock. For example, the production detection device 300 of the vehicle lock can be solidified into a dedicated device (such as an ASIC). The production detection device 300 of the vehicle lock can be divided into independent units, or they can be combined together for implementation. The production detection device 300 of the vehicle lock can be implemented by one of the various implementations described above, or can be implemented by a combination of two or more of the various implementations described above.
[0095] In this embodiment, the production detection device 300 of the vehicle lock can have multiple implementation forms. For example, the production detection device 300 of the vehicle lock can be a functional module running in any software product or application that provides information display function, or it can be an external embedded component, plug-in, patch, etc. of these software products or applications, or it can also be these software products or applications themselves.
[0096] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0097] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical numbering device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0098] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0099] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0100] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0101] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0102] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0103] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and a part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0104] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A production and testing method for a vehicle lock, characterized in that: The method comprises: Determine a target lock according to the position of the lock in the production chain, wherein the target lock is a lock that is about to be located at a target detection position, wherein the target lock is in a detected state at the target detection position; Acquiring the detection state of the target detection position, and in the case where the detection state is abnormal, controlling the target vehicle lock to perform a self-check, and obtaining a self-check result of the target vehicle lock; When the target vehicle lock is in the target detection position, the target vehicle lock is controlled to receive the detection instruction sent by the host computer, and the self-test result is sent to the host computer. Wherein, obtaining the detection status of the target detection position includes: Acquire the number of the target vehicle locks, and when the number of the target vehicle locks is less than a first threshold, determine that the detection state of the target detection position is a normal state; When the number of the target vehicle locks is greater than a first threshold, it is determined that the detection state of the target detection position is an abnormal state.
2. A method for producing and testing a vehicle lock according to claim 1, characterized in that: After the target vehicle lock is located at the target detection position and before receiving a detection instruction sent by a host computer, the method further includes: Detect whether a connection is established between the target vehicle lock and the host computer, so that the target vehicle lock receives the detection instruction.
3. The method for producing and testing a vehicle lock according to claim 1, characterized in that: After receiving the detection instruction sent by the host computer, the method includes: Detecting whether the target vehicle lock performs a self-check operation, and if the target vehicle lock does not perform a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer; When the target vehicle lock has performed a self-check operation, the target vehicle lock is controlled to send a self-check result to the host computer.
4. A method for producing and testing a vehicle lock according to claim 3, characterized in that: In the case where the target vehicle lock has performed a self-check operation, the method includes: Detecting whether the target vehicle lock has completed self-testing of all detection items, and when the target vehicle lock has completed self-testing of all detection items, controlling the target vehicle lock to send the self-testing result to the host computer; In the case that the target vehicle lock has not completed the detection of all detection items, a first detection result of the target vehicle lock is obtained, and the target vehicle lock is controlled to send the first detection result to the host computer; and the target vehicle lock is controlled to perform self-inspection of the remaining detection items one by one according to the detection instruction sent by the host computer.
5. The method for producing and testing a vehicle lock according to claim 1, characterized in that: The method further comprises: When it is determined according to the current position of the vehicle lock that the target vehicle lock has moved away from the target detection position, the self-test related data in the target vehicle lock is deleted.
6. A production detection device for a vehicle lock, characterized in that: The device comprises: A vehicle lock determination module, used to determine a target vehicle lock according to the position of the vehicle lock in the production chain, wherein the target vehicle lock is a vehicle lock that is about to be located at a target detection position, wherein the target vehicle lock is in a detected state at the target detection position; A self-check module, used to obtain the detection state of the target detection position, and when the detection state is abnormal, control the target vehicle lock to perform self-check to obtain the self-check result of the target vehicle lock; A data processing module, used for controlling the target vehicle lock to receive a detection instruction sent by a host computer and sending the self-test result to the host computer when the target vehicle lock is in the target detection position; Wherein, obtaining the detection status of the target detection position includes: Acquire the number of the target vehicle locks, and when the number of the target vehicle locks is less than a first threshold, determine that the detection state of the target detection position is a normal state; When the number of the target vehicle locks is greater than a first threshold, it is determined that the detection state of the target detection position is an abnormal state.
7. A production and detection device for a vehicle lock according to claim 6, characterized in that: The self-check module is also used for: Detecting whether the target vehicle lock performs a self-check operation, and if the target vehicle lock does not perform a self-check operation, controlling the target vehicle lock to perform checks on all detection items one by one according to the detection instruction sent by the host computer; When the target vehicle lock has performed a self-check operation, the target vehicle lock is controlled to send a self-check result to the host computer.
8. A production and testing device for a vehicle lock according to claim 6, characterized in that: The data processing module is also used for: Detecting whether the target vehicle lock has completed self-testing of all detection items, and when the target vehicle lock has completed self-testing of all detection items, controlling the target vehicle lock to send the self-testing result to the host computer; When the target vehicle lock has not completed all detection items, obtaining a first detection result of the target vehicle lock, and controlling the target vehicle lock to send the first detection result to a host computer; And, controlling the target vehicle lock to perform self-inspection of the remaining detection items one by one according to the detection instruction sent by the host computer.
Citation Information
Patent Citations
Self-checking method of computer finished product production line
CN101634961A
Production line automatic detection method and detection device
CN105738723A