Clockless abnormal data recording method, maintenance method and clockless attendance machine
By setting usage counts and anomaly counts in modular products, and generating anomaly data frames to record anomalies, the problem of determining the time and content of anomaly data under clock-less conditions is solved, enabling accurate identification of faulty modules and product optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHENGZHOU THINK FREELY HI TECH
- Filing Date
- 2021-11-02
- Publication Date
- 2026-05-19
AI Technical Summary
The lack of a clock chip in modular electronic products makes it impossible to accurately determine when abnormal data occurs, affecting the accuracy and convenience of troubleshooting and maintenance.
By setting the number of uses and the number of anomalies in a single-chip microcontroller, anomaly data frames are generated to record the anomaly function. The anomaly is represented by the inverted data bits, and the time and module of the anomaly are calculated.
It enables accurate recording of abnormal data and identification of faulty modules even without a clock, supporting product optimization, upgrades, and repairs.
Smart Images

Figure CN116090499B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a clockless abnormal data recording method, maintenance method, and dispatch / departure machine, belonging to the field of equipment inspection and maintenance technology. Background Technology
[0002] With the advancement of technology and the rapid development of electronic products, some electronic products are becoming more modular. After a period of use, these products need to be returned to the factory for inspection and maintenance. Large products are inconvenient to transport, so returning the modularized core modules to the manufacturer for inspection and maintenance is a convenient method. However, the modularized core modules are generally small in size, highly versatile, and their functions are relatively more focused on core functions. Returning them to the factory makes it impossible to obtain information about the overall usage of the product, which is crucial data for inspection and maintenance. This leads to inaccuracies and inconveniences in inspection and maintenance.
[0003] At the same time, the core of a product is a small single-chip microcontroller with a very small storage area that can only store a small number of data records. The core module usually does not have a clock chip, which makes it impossible to determine when abnormal situations occur in the data. Summary of the Invention
[0004] The purpose of this invention is to provide a clockless abnormal data recording method, maintenance method, and duty departure / arrival machine to solve the problem that the core module cannot determine the time of abnormal data occurrence when there is no clock.
[0005] To achieve the above objectives, the present invention includes:
[0006] The present invention provides a clockless abnormal data recording method, comprising the following steps:
[0007] 1) Set the number of times the system is used within a set period based on the system's daily usage frequency; the system is a device that is operated or actively performed a fixed number of times within a set time period;
[0008] 2) Each time the device operates, the number of uses is counted; each time an abnormality occurs during operation, the number of abnormalities is also counted; whenever the number of uses reaches the set number of uses, the number of uses and the number of abnormalities for the next cycle are recorded; each time an abnormality occurs during operation, the function that caused the abnormality is also recorded sequentially.
[0009] This invention provides a clockless data recording method. The method sets the number of times a product is used based on its usage over a certain period. One set number of usage times constitutes one cycle. Within this cycle, if abnormal data occurs, it is recorded corresponding to the cycle. The method also records the specific function malfunction corresponding to the number of abnormal data occurrences.
[0010] Furthermore, the abnormal data recording method is as follows: the abnormal function recording method is as follows: an abnormal data frame is generated, each data bit in the data frame corresponds to a function of the device, and the data corresponding to the abnormal function is reversed.
[0011] When abnormal data occurs, the data bit corresponding to the abnormal function is output as 1, while the corresponding output for the other normally functioning functions is 0; or the data bit corresponding to the abnormal function is output as 0, while the corresponding output for the other normally functioning functions is 1. This method can determine which specific functional module malfunctioned when the fault occurred.
[0012] Furthermore, the usage count setting, the usage count for different periods, the number of abnormal events, and the abnormal data frames are all recorded on a single-chip microcontroller.
[0013] The present invention provides a clockless method for maintaining abnormal numbers, comprising the following steps:
[0014] 1) Set the number of times the system is used within a set period based on the system's daily usage frequency; the system is a device that is operated or actively performed a fixed number of times within a set time period;
[0015] 2) Each time the device operates, the usage count is recorded; each time an abnormality occurs during operation, the abnormality count is also recorded; whenever the usage count reaches the set usage count, the usage count and abnormality count for the next cycle are recorded; each time an abnormality occurs during operation, the function that malfunctioned is also recorded sequentially.
[0016] 3) During maintenance, determine the time of occurrence of an anomaly based on the cycle in which the anomaly occurs; find the function that experienced an anomaly after the corresponding number of occurrences based on the sum of the number of anomalies in the same and different cycles before the anomaly.
[0017] This invention provides a clockless method for maintaining abnormal data. It sets the number of times a product is used based on its usage over a certain period, with each set number of uses constituting a cycle. If abnormal data occurs within this cycle, it is recorded corresponding to the cycle. The number of times abnormal data occurs is also recorded, along with the specific function causing the abnormality. Based on the set number of uses, the time period in which the abnormality occurred can be calculated. Based on the number of uses and the abnormal data records, the time period and function causing the abnormality can be determined.
[0018] Furthermore, the abnormal data recording method is as follows: the abnormal function recording method is as follows: an abnormal data frame is generated, each data bit in the data frame corresponds to a function of the device, and the data corresponding to the abnormal function is reversed.
[0019] When abnormal data occurs, the data bit corresponding to the abnormal function is output as 1, while the corresponding output for the other normally functioning functions is 0; or the data bit corresponding to the abnormal function is output as 0, while the corresponding output for the other normally functioning functions is 1. This method can determine which specific functional module malfunctioned when the fault occurred.
[0020] Furthermore, the usage count setting, the usage count for different periods, the number of abnormal events, and the abnormal data frames are all recorded on a single-chip microcontroller.
[0021] All data is recorded on a single-chip microcontroller. During routine inspections or scheduled maintenance, the relevant records can be viewed. Functional modules with abnormal data are sent back to the factory for repair, and products with a large amount of abnormal data are optimized and upgraded.
[0022] Furthermore, the system is a dispatch and return machine.
[0023] An attendance machine according to the present invention includes a single-chip microcontroller, wherein the single-chip microcontroller executes a program to implement the following method:
[0024] 1) Set the number of times the system is used within a set period based on the system's daily usage frequency; the system is a device that is operated or actively performed a fixed number of times within a set time period;
[0025] 2) Each time the device operates, the usage count is recorded; each time an abnormality occurs during operation, the abnormality count is also recorded; whenever the usage count reaches the set usage count, the usage count and abnormality count for the next cycle are recorded; each time an abnormality occurs during operation, the function that malfunctioned is also recorded sequentially.
[0026] 3) During maintenance, determine the time of occurrence of an anomaly based on the cycle in which the anomaly occurs; find the function that experienced an anomaly after the corresponding number of occurrences based on the sum of the number of anomalies in the same and different cycles before the anomaly.
[0027] This invention provides an attendance tracking device that sets the number of times the device can be used based on its usage over a certain period. Each set number of usages constitutes a cycle. Within this cycle, any abnormal data is recorded corresponding to the cycle. The number of times abnormal data occurs is also recorded, specifying which function experienced the abnormality. Based on the set number of usages, the time period in which the abnormality occurred can be calculated. By combining the number of abnormal data occurrences with the abnormal data records, it is possible to determine which function experienced the abnormality during which time period.
[0028] Furthermore, the method for recording abnormal functions is as follows: an abnormal data frame is generated, in which each data bit corresponds to a function of the device, and the data corresponding to the abnormal function is reversed.
[0029] When abnormal data occurs, the data bit corresponding to the abnormal function is output as 1, while the corresponding output for the other normally functioning functions is 0; or the data bit corresponding to the abnormal function is output as 0, while the corresponding output for the other normally functioning functions is 1. This method can determine which specific functional module malfunctioned when the fault occurred.
[0030] Furthermore, the usage count setting, the usage count for different periods, the number of abnormal events, and the abnormal data frames are all recorded on a single-chip microcontroller.
[0031] All data is recorded on a single-chip microcontroller. During routine inspections or scheduled maintenance, the relevant records can be viewed. Functional modules with abnormal data are sent back to the factory for repair, and products with a large amount of abnormal data are optimized and upgraded. Attached Figure Description
[0032] Figure 1 This is a schematic diagram illustrating the record of abnormal data occurrences in this invention;
[0033] Figure 2 This is a schematic diagram of abnormal data recording in this invention. Detailed Implementation
[0034] The present invention will now be described in further detail with reference to the accompanying drawings.
[0035] Example of recording method:
[0036] This invention provides a clockless data recording method for recording data from the core module of a modular product. The recorded data includes the usage data of the entire product over a certain period of time. The core of a product is a small, single-chip microcontroller with a very small storage area, capable of storing only a small amount of data. The core module lacks a clock chip, making it impossible to determine when anomalies occur in the data. The data recording method proposed in this invention solves both the problem of the single-chip microcontroller's limited data storage capacity and the problems of determining the timing and content of abnormal data in a clockless core module.
[0037] The present invention provides a clockless data recording method. Based on the product's daily usage frequency, a set number of usage cycles is set. Each use counts once, and if the set number of usage cycles is exceeded, a new cycle of the set number of usage cycles begins. Within the set number of usage cycles, each instance of abnormal data is recorded after the corresponding usage cycle. The record includes the usage cycle and the content of the abnormal data. The abnormal data content indicates which function reported an error; if so, that function is marked as 1. Functions without abnormal data are not recorded. Based on the set number of usage cycles and daily usage volume, the time period in which the abnormality occurred can be calculated. Based on the corresponding number of abnormal data cycles and the recorded abnormal data, the time period and function that experienced the abnormality can be determined.
[0038] Taking the self-service check-in / check-out machine for flight attendants as an example, specifically, the self-service check-in / check-out machine for flight attendants includes: a core module, a functional module, an abnormality data recording module, and an abnormality data recording module. The self-service check-in / check-out machine for flight attendants is used to complete a series of tasks required for check-in / check-out operations, including: alcohol testing, photo taking, card reading, and data transfer.
[0039] The core module is a small single-chip microcontroller that uses multi-channel AD sampling to sample data from each functional module and compare it with the set parameter data to determine whether the data is abnormal.
[0040] The functional module is a product feature of the self-service check-in and check-out machine for flight attendants. It includes alcohol testing during check-in and check-out, photo capture for anti-cheating and record saving, card reading for verification, and audio and video transfer during check-out.
[0041] like Figure 1 As shown, the anomaly count data record is used to set the usage frequency based on the product's daily usage frequency, and also to record the number of times anomaly data occurs. The set usage frequency and the number of times anomaly data occurs combine to form a cycle. For example, if the usage volume is 500 times per week, the usage frequency is set to 500 times. If the number of anomaly data occurrences within these 500 times is 0, it means there is no anomaly; if the number of anomaly data occurrences is 1, it means there was 1 anomaly within 500 times. Using 500 times per week as a cycle, the week in which the anomaly count is not 0 indicates the week in which the malfunction occurred.
[0042] Exception data records are used to store data from modules that experience functional malfunctions, and each record corresponds one-to-one with the number of exceptions. For example, if the number of exceptions is 0 in the first week and 1 in the second week, then the first record in the exception data log corresponds to the first exception in the second week. Figure 2As shown, the self-service check-in / check-out machine for flight attendants performs checks such as alcohol testing, photo taking, card reading, and data transfer, forming a data frame. When the number of abnormal data occurrences is not zero, the output data for the function that is functioning correctly is 0, and the output data for the function that is malfunctioning is 1. For example, if the photo taking function malfunctions when abnormal data occurs, the corresponding function bit will output 1, and the other function bits will output 0.
[0043] When flight attendants complete their departure and arrival procedures on the integrated flight attendant departure and arrival machine, the number of times the flight attendants use the machine, the number of abnormalities, and abnormal data are all collected, processed, and stored on the core module. During inspections or scheduled maintenance, the relevant records can be viewed. Functional modules with abnormal data are sent back to the factory for repair, and products with a large amount of abnormal data are optimized and upgraded.
[0044] During maintenance, there is a one-to-one correspondence between abnormal data records and the number of abnormal data occurrences. If an abnormality is found to have occurred within a certain period, the calculation method for the specific abnormal data record number is as follows: starting from the beginning of the abnormal data recording of the entire all-in-one machine, the cumulative number of occurrences of all abnormal data within the same period or different periods, and the number of the data occurrence, then the specific abnormal data number in the corresponding abnormal data record is searched.
[0045] For example: If the cycle is set to one day and the number of uses is 10, and two anomalies occur on the third day—the first anomaly related to wine testing and the second to taking a photo—then the anomaly data will show 2 anomalies in the third cycle (10 uses). If no anomalies occur on the first day, but one on the second day, then a total of 2 anomalies will have occurred by the time the first anomaly occurs on the third day (0 on the first day + 1 on the second day + 1 on the third day). Querying the second data frame in the specific anomaly data record, if the wine testing data bit is displayed as 1, then the wine testing function is malfunctioning.
[0046] In addition to the self-service check-out machine for flight attendants in this embodiment, the present invention can also be applied to any product with a similar working mode to the self-service check-out machine for flight attendants.
[0047] Maintenance method example:
[0048] This invention also provides a clockless abnormal data maintenance method. The specific maintenance method has been clearly described in the recording method and will not be repeated here.
[0049] Example of a dispatch / departure machine:
[0050] The present invention also provides an attendance machine, which includes a single-chip microcontroller. The single-chip microcontroller executes corresponding instructions to implement a clockless data recording method, which has been clearly described in the method embodiments and will not be repeated here.
Claims
1. A clockless method for maintaining abnormal data, characterized in that, Includes the following steps: 1) Set the number of times the system is used within a set period based on the system's daily usage frequency; the system is a device that is operated or actively performed a fixed number of times within a set time period; 2) Each time the device operates, the usage count is recorded; each time an abnormality occurs during operation, the abnormality count is also recorded; whenever the usage count reaches the set usage count, the usage count and abnormality count for the next cycle are recorded; each time an abnormality occurs during the execution of an action within the set time, the function that caused the abnormality is also recorded sequentially. 3) During maintenance, determine the time of occurrence of an anomaly based on the cycle in which the anomaly occurs; find the function that experienced an anomaly after the corresponding number of occurrences based on the sum of the number of anomalies in the same and different cycles before the anomaly.
2. The clockless abnormal data maintenance method according to claim 1, characterized in that, The method for recording abnormal functions is as follows: generate an abnormal data frame, in which each data bit corresponds to a function of the device, and reverse the data corresponding to the abnormal function.
3. The clockless abnormal data maintenance method according to claim 2, characterized in that, The usage count setting, the usage count for different periods, the number of abnormalities, and the abnormal data frames are all recorded on the single-chip microcontroller.
4. The clockless abnormal data maintenance method according to claim 1, characterized in that, The system is a dispatch and return machine.
5. A dispatch and return machine, characterized in that, Includes a single-chip microcontroller, which executes a program to implement the following method: 1) Set the number of times the system is used within a set period based on the system's daily usage frequency; the system is a device that is operated or actively performed a fixed number of times within a set time period; 2) Each time the device operates, the usage count is recorded; each time an abnormality occurs during operation, the abnormality count is also recorded; whenever the usage count reaches the set usage count, the usage count and abnormality count for the next cycle are recorded; each time an abnormality occurs during the execution of an action within the set time, the function that caused the abnormality is also recorded sequentially. 3) During maintenance, determine the time of occurrence of an anomaly based on the cycle in which the anomaly occurs; find the function that experienced an anomaly after the corresponding number of occurrences based on the sum of the number of anomalies in the same and different cycles before the anomaly.
6. The attendance machine according to claim 5, characterized in that, The method for recording abnormal functions is as follows: generate an abnormal data frame, in which each data bit corresponds to a function of the device, and reverse the data corresponding to the abnormal function.
7. The attendance machine according to claim 6, characterized in that, The usage count setting, the usage count for different periods, the number of abnormalities, and the abnormal data frames are all recorded on the single-chip microcontroller.