Data processing method, device, equipment and storage medium
By determining the storage address in the appliance, detecting the current startup method and cumulative times, the shortcomings of instrument data recording and analysis in the prior art are solved, and effective statistics and traceability analysis of the appliance startup method are realized, avoiding the omission of problems.
Patent Information
- Application Number
- CN202411611206.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art cannot effectively record and analyze the startup mode data of the appliance, resulting in possible missed operations or multiple operations, affecting the user service life of the appliance, and may lead to omissions of problems.
By determining the preconfigured storage address, detecting the current startup method of the appliance, and cumulatively cumulatively, storing the accumulated results to the corresponding storage address, realizing effective statistical records of different appliance startup methods.
Clearly distinguish statistical data from different instrument startup methods, ensure effective data recording and traceability analysis, avoid problem omissions, and improve the accuracy and reliability of data analysis.
Smart Images

Figure CN119759982A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a data processing method, device, equipment and storage medium. Background Art
[0002] During the manufacturing process of instruments, in order to meet the requirements of product quality control, they need to be tested according to the set standards using different instrument startup methods. When orders are concentrated and production capacity requirements are increased, the testing and inspection process is often prone to missed operations or multiple operations, which may even affect the user's service life of the instrument. It is impossible to effectively record and trace the data of the instrument, which makes it easy for problems to be missed. Summary of the invention
[0003] The embodiments of the present application provide a data processing method, device, equipment and storage medium to solve the problem that the prior art is unable to effectively record and trace the data of the device, and problems are easily missed.
[0004] A first aspect of an embodiment of the present application provides a data processing method, including:
[0005] Determine a preconfigured first storage address and a second storage address, wherein the first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode;
[0006] Detecting a current startup mode of the device and determining a target storage address that matches the current startup mode; the current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address;
[0007] The current startup mode is accumulated in number of times, and the accumulated result is stored in the target storage address.
[0008] A second aspect of an embodiment of the present application provides a data processing device, including:
[0009] A determination module, configured to determine a preconfigured first storage address and a second storage address, wherein the first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode;
[0010] a detection module, used for detecting a current startup mode of the device, and determining a target storage address matched by the current startup mode; the current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address;
[0011] The storage module is used to accumulate the number of times the current startup mode is used, and store the accumulated result to the target storage address.
[0012] A third aspect of an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0013] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0014] The fifth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, the processor in the electronic device executes the steps in the method described in the first aspect above.
[0015] The above scheme in the embodiment of the present application can clearly distinguish the statistical data of different appliance startup methods, store the statistical data of the number of times separately, and realize effective statistical recording of the appliance startup methods, which is beneficial to subsequent data analysis and processing and avoids the occurrence of problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:
[0017] Figure 1 The data processing method of some embodiments of the present application is as follows Figure 1 ;
[0018] Figure 2 The data processing method of some embodiments of the present application is as follows Figure 2 ;
[0019] Figure 3 The data processing method of some embodiments of the present application is as follows Figure 3 ;
[0020] Figure 4 is a structural diagram of a data processing device in some embodiments of the present application;
[0021] Figure 5 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0024] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0026] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0027] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0028] Combination Figure 1 As shown, in some embodiments, a data processing method is proposed, including:
[0029] Step 101: determine a preconfigured first storage address and a second storage address.
[0030] The first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode.
[0031] Optionally, the apparatus may be an aerosol generating device, such as a HNB (Heat Not Burning) apparatus.
[0032] The first storage address and the second storage address in the device may be pre-configured. To configure the storage addresses of the two heating modes, two corresponding storage paths need to be newly created for storing the two heating mode positions, which are respectively used for storing statistical data of different device startup modes, so as to distinguish the data.
[0033] Optionally, the device may have different starting modes, such as automatic starting mode, manual starting mode, etc.
[0034] In some optional embodiments, in the automatic start mode, the appliance can automatically control the appliance to start according to a set program. Optionally, in an appliance automatic start program, the appliance can be heated according to a set temperature, and the appliance can be stopped after the heating time is set or the number of puffs is set. After the interval is set, the above process can be continued to cycle and the next appliance automatic start process can be performed. The end condition of the cycle process can be set, such as setting the number of cycles to reach a set number, or the remaining power is insufficient. Each time the cycle is cycled, the number of times of the current appliance startup mode can be accumulated and added by 1.
[0035] In some optional embodiments, in manual start mode, when the appliance detects the user's appliance start operation, the appliance is controlled to start in response to the user's operation. The appliance heats according to the set temperature, and can be stopped based on the user's appliance stop operation, or the appliance automatically stops after the set heating time or the set number of puffs.
[0036] In the manual start mode, when the user's next appliance start operation is detected, the manual start process is cyclically executed to perform the next appliance heating process. Each time the cycle is repeated, the number of times of the current appliance start mode can be accumulated and added by 1.
[0037] Step 102, detecting the current startup mode of the device, and determining a target storage address that matches the current startup mode.
[0038] The current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address.
[0039] Optionally, the first device startup mode is an automatic startup mode, and the second device startup mode is a manual startup mode. In some embodiments, the automatic startup mode of the device is for the test phase before the device leaves the factory, which occurs before the product leaves the factory, for example, the device is automatically started to perform aging tests, battery life tests, battery performance tests, etc.
[0040] In some embodiments, the manual start method can also be used for the testing phase before the device leaves the factory, which occurs before the product leaves the factory. For example, the device can be manually started to perform aging tests, battery life tests, battery performance tests, etc.
[0041] In some embodiments, the manual start mode is for the user use stage after the appliance leaves the factory, which occurs after the product is sold and used. By collecting statistics on different appliance start modes, the operation status of the appliance at different stages can be obtained and recorded.
[0042] When the device is started, it is necessary to determine the current startup mode of the device, and then match the corresponding target storage address to realize the storage of statistical data on the number of times the device is currently started, and realize separate storage of data in different situations, which is convenient for data processing and data distinction.
[0043] In some optional implementations, in step 102, the current startup mode of the detection device may be:
[0044] When the appliance enters the automatic start mode based on the received test activation command, each time the appliance is automatically started, the current start mode of the appliance is determined to be the first appliance start mode.
[0045] In the automatic start mode, the appliance calls the pre-written program to start the appliance in an automatic start mode.
[0046] During the implementation process, the host computer can send the test activation command to the device through the protocol and serial port. After receiving the command, the device activates the automatic start function and enters the automatic start mode to automatically start the device for heating.
[0047] In this way, effective detection of the automatic starting mode of the appliance is achieved.
[0048] In some optional implementations, in step 102, the current startup mode of the detection device may be:
[0049] When an appliance startup command triggered by an appliance startup operation of a user is received, a current startup mode of the appliance is determined to be a second appliance startup mode.
[0050] Optionally, whether the current startup mode of the appliance is a manual startup mode may be determined by detecting a user's appliance startup operation such as a preset button pressing operation, a screen touch operation, or a voice control operation.
[0051] In an optional implementation process, the user can start the appliance by pressing a button or through a touch operation on the touch screen. For example, if the program in the appliance detects that the button is pressed for more than 2 seconds and the motor vibrates for 0.3 seconds, and the user lets go, it can be considered that the user operation is an appliance start operation, and the appliance is started to manually start the appliance for heating.
[0052] In this way, effective detection of the manual starting mode of the appliance is achieved.
[0053] Step 103, accumulate the number of times of the current startup mode, and store the accumulated number result in the target storage address.
[0054] Each time a different appliance startup mode occurs, the number of times is accumulated and added by 1. Each time the number of times is accumulated and updated, the accumulated result of the number of times is stored in the storage address corresponding to the current appliance startup mode.
[0055] In this way, the statistical data of different appliance startup methods can be clearly distinguished, and the number of statistical data can be stored separately, so as to achieve effective statistical recording of the appliance startup methods, which is conducive to subsequent data analysis and processing and avoids the omission of problems.
[0056] In some optional implementations, in step 102, the number of times of the current startup mode is accumulated and the accumulated number result is stored in the target storage address, which can be:
[0057] According to the target naming rule of the accumulated data of the current startup mode, the number of times of the current startup mode is accumulated, and the accumulated number result is stored in the target storage address.
[0058] Among them, the target naming rule is one of a first naming rule and a second naming rule, the first naming rule includes a first identification letter corresponding to a first device startup method, and the second naming rule includes a second identification letter corresponding to a second device startup method.
[0059] In an optional implementation, if the current startup mode is the automatic startup mode, the cumulative data can be named starting with F, and the specific cumulative data is F0000 (the value after F can be in the range of 0-9999), such as F0003 means that the cumulative number of automatic startups is 3 times. If the current startup mode is the manual startup mode, the cumulative data can be named starting with G, and the specific cumulative data is G0000 (the value after G can be in the range of 0-9999), such as G0005 means that the cumulative number of manual startups is 5 times.
[0060] In an optional implementation, if the current startup mode is a manual startup mode, the accumulated data of the corresponding naming rule beginning with G is accumulated and added by 1; if it is determined to be an automatic startup mode, the accumulated data of the corresponding naming rule beginning with F is accumulated and added by 1.
[0061] In this way, the accumulated data of the appliance startup mode can be effectively identified, which is convenient for subsequent data analysis and processing.
[0062] Further, in some optional embodiments, in combination Figure 2 As shown, the data processing method also includes:
[0063] Step 201, reading data based on a first storage address.
[0064] Here, reading the data in different storage addresses may occur when a failure occurs in the appliance, so as to analyze the cause of the failure of the appliance by accumulating data based on the number of times the appliance is started.
[0065] Alternatively, reading data from different storage addresses may occur when it is necessary to analyze usage statistics in a sample of appliances to improve or adjust appliance performance, and actual conditions of the appliances may be analyzed using accumulated data on the number of times the appliances are started.
[0066] Step 202: If the first accumulated value of the first number is read from the first storage address, the first accumulated value of the first number is compared with a first set threshold.
[0067] Here, the first set threshold is, for example, 3 times or other set values.
[0068] Step 203: If the first accumulated value reaches the first set threshold, it is determined that the device test is not missed.
[0069] Here, if the number of instrument tests reaches the standard, it is considered that the test process in the test phase is a normal number of times and no test omissions occur.
[0070] Step 204: If the first accumulated value does not reach the first set threshold, it is determined that there is a missing part in the instrument test.
[0071] There are omissions in the instrument testing here, specifically the omissions are caused by insufficient number of instrument tests.
[0072] In some cases, if the first accumulated value exceeds a first set threshold, it is determined that an overflow operation has occurred in the appliance test.
[0073] Step 205: If the first accumulated value is not read from the first storage address, it is determined that there is a missing part in the tool test.
[0074] There are omissions in the instrument testing here, specifically omissions caused by the instrument not being tested.
[0075] During the implementation process, the number of times the device is started is accumulated and counted, so as to analyze the cause of the device failure or the actual situation of the device and effectively trace whether there is any test omission.
[0076] In some optional embodiments, in combination Figure 3 As shown, the data processing method also includes:
[0077] Step 301, reading data based on a second storage address.
[0078] Here, reading the data in different storage addresses may occur when a failure occurs in the appliance, so as to analyze the cause of the failure of the appliance by accumulating data based on the number of times the appliance is started.
[0079] Alternatively, reading data from different storage addresses may occur when it is necessary to analyze usage statistics in a sample of appliances to improve or adjust appliance performance, and actual conditions of the appliances may be analyzed using accumulated data on the number of times the appliances are started.
[0080] Step 302: If the second accumulated value is read from the second storage address, the second accumulated value is compared with a second set threshold.
[0081] Here, the first set threshold is, for example, 1000 times or other set values.
[0082] Step 303: If the second accumulated value is less than the second set threshold, it is determined that the life of the device has not reached the expected value.
[0083] Step 304: If the second accumulated value is not less than the second set threshold, it is determined that the life of the device has reached the expected value.
[0084] During the implementation process, the number of times the device is started is accumulated and counted, so as to analyze the cause of the device failure or the actual situation of the device and effectively trace the service life of the device.
[0085] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0086] Based on the same inventive concept, the embodiment of the present application further provides a data processing device. The data processing device provided in the embodiment of the present application can implement each process of the embodiment of the above-mentioned data processing method and can achieve the same technical effect. Therefore, the specific limitations in one or more cargo loading device embodiments provided below can refer to the limitations on the data processing method above. To avoid repetition, it will not be repeated here.
[0087] In this embodiment, the computing side can be divided into functional modules according to the above method. For example, each function can be divided into functional modules, or two or more functions can be integrated into one processing module.
[0088] See also Figure 4 , Figure 4 This is a structural diagram of a data processing device provided in an embodiment of the present application. For the sake of convenience of explanation, only the parts related to the embodiment of the present application are shown.
[0089] The data processing device 400 includes:
[0090] A determination module 401, configured to determine a preconfigured first storage address and a second storage address, wherein the first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode;
[0091] A detection module 402 is used to detect a current startup mode of the device and determine a target storage address that matches the current startup mode; the current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address;
[0092] The storage module 403 is used to accumulate the number of times of the current startup mode and store the accumulated result to the target storage address.
[0093] Optionally, the first device startup mode is an automatic startup mode, and / or the second device startup mode is a manual startup mode.
[0094] Optionally, the detection module 402 is specifically configured to:
[0095] When the appliance enters the automatic start mode based on the received test activation command, each time the appliance is automatically started, the current start mode of the appliance is determined to be the first appliance start mode.
[0096] Optionally, the detection module 402 is specifically configured to:
[0097] When an appliance startup command triggered by an appliance startup operation of a user is received, the current startup mode of the appliance is determined to be the second appliance startup mode.
[0098] Optionally, the storage module 403 is specifically configured to:
[0099] According to the target naming rule of the accumulated data of the current startup mode, the number of times of the current startup mode is accumulated, and the accumulated number result is stored in the target storage address;
[0100] Among them, the target naming rule is one of a first naming rule and a second naming rule, the first naming rule includes a first identification letter corresponding to the first device startup method, and the second naming rule includes a second identification letter corresponding to the second device startup method.
[0101] Optionally, the device further comprises:
[0102] A determination module is used to:
[0103] Reading data based on the first storage address;
[0104] If the first accumulated value is read from the first storage address, the first accumulated value is compared with a first set threshold;
[0105] If the first accumulated value of the number of times reaches the first set threshold, it is determined that the device test is not missed;
[0106] If the first accumulated value does not reach the first set threshold or the first accumulated value is not read from the first storage address, it is determined that there is a missing in the appliance test.
[0107] Optionally, the determination module is further configured to:
[0108] Reading data based on the second storage address;
[0109] If a second accumulated value is read from the second storage address, the second accumulated value is compared with a second set threshold;
[0110] If the second accumulated value of the number of times is less than the second set threshold, it is determined that the life of the device has not reached the expected value;
[0111] If the second accumulated value of the number of times is not less than the second set threshold, it is determined that the life of the device has reached the expected value.
[0112] The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0113] It should be noted that the relevant contents of each step involved in the above method embodiment can all be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0114] In one embodiment, Figure 5 As shown, a computer device is provided. The computer device 5 of this embodiment includes: at least one processor 500 ( Figure 5 Only one is shown in the figure), a memory 501, and a computer program 502 stored in the memory 501 and executable on the at least one processor 500, wherein the processor 500 implements the steps of any of the above-mentioned method embodiments when executing the computer program 502.
[0115] The computer device 5 may be a computing device such as a desktop computer, a notebook, a palm computer, etc. The computer device 5 may include, but is not limited to, a processor 500 and a memory 501. Those skilled in the art will understand that Figure 5 It is only an example of the computer device 5 and does not constitute a limitation of the computer device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0116] The processor 500 may be a central processing unit (CPU), or 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, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0117] The memory 501 may be an internal storage unit of the computer device 5, such as a hard disk or memory of the computer device 5. The memory 501 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 5. Further, the memory 501 may also include both an internal storage unit and an external storage device of the computer device 5. The memory 501 is used to store the computer program and other programs and data required by the computer device. The memory 501 may also be used to temporarily store data that has been output or is to be output.
[0118] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0119] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0120] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0121] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which can be electrical, mechanical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0125] The present application implements all or part of the processes in the above-mentioned embodiment methods, and may also be implemented through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0126] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that: include: Determine a preconfigured first storage address and a second storage address, wherein the first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode; Detecting a current startup mode of the device and determining a target storage address that matches the current startup mode; the current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address; The current startup mode is accumulated in number of times, and the accumulated result is stored in the target storage address.
2. The method according to claim 1, characterized in that: The first device startup mode is an automatic startup mode, and / or the second device startup mode is a manual startup mode.
3. The method according to claim 2, characterized in that The current startup mode of the detection device includes: When the appliance enters the automatic start mode based on the received test activation command, each time the appliance is automatically started, the current start mode of the appliance is determined to be the first appliance start mode.
4. The method according to claim 2, characterized in that: The current startup mode of the detection device includes: When an appliance startup command triggered by an appliance startup operation of a user is received, the current startup mode of the appliance is determined to be the second appliance startup mode.
5. The method according to claim 1, characterized in that The step of accumulating the number of times of the current startup mode and storing the accumulated number result to the target storage address includes: According to the target naming rule of the accumulated data of the current startup mode, the number of times of the current startup mode is accumulated, and the accumulated number result is stored in the target storage address; Among them, the target naming rule is one of a first naming rule and a second naming rule, the first naming rule includes a first identification letter corresponding to the first device startup method, and the second naming rule includes a second identification letter corresponding to the second device startup method.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Reading data based on the first storage address; If the first accumulated value is read from the first storage address, the first accumulated value is compared with a first set threshold; If the first accumulated value of the number of times reaches the first set threshold, it is determined that the device test is not missed; If the first accumulated value does not reach the first set threshold or the first accumulated value is not read from the first storage address, it is determined that there is a missing in the appliance test.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Reading data based on the second storage address; If a second accumulated value is read from the second storage address, the second accumulated value is compared with a second set threshold; If the second accumulated value of the number of times is less than the second set threshold, it is determined that the life of the device has not reached the expected value; If the second accumulated value of the number of times is not less than the second set threshold, it is determined that the life of the device has reached the expected value.
8. A data processing device, characterized in that: include: a determination module, configured to determine a preconfigured first storage address and a second storage address, wherein the first storage address corresponds to a first device startup mode, and the second storage address corresponds to a second device startup mode; a detection module, used for detecting a current startup mode of the device, and determining a target storage address matched by the current startup mode; the current startup mode is one of the first device startup mode and the second device startup mode, and the target storage address is one of the first storage address and the second storage address; The storage module is used to accumulate the number of times the current startup mode is used, and store the accumulated result to the target storage address.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.